...
Code Block | ||||
---|---|---|---|---|
| ||||
@prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix dcterms: <http://purl.org/dc/terms> . <http://localhost:3000/individual/vc155> dcterms:title "My Virtual Collection" ; dcterms:description "These are resources I am gathering together for personal use." ; dc:creator <http://vivo.cornell.edu/individual/individual24416> . |
NOTE: Potential alternatives... Waiting for ontology group to weigh in and tell me which to use.
- rdfs:label – dc:title
- rdfs:comment – dc:description
- dc:creator – dct:creator
QUESTIONS:
- dc:creator is being used to identify the "owner" of the virtual collection. Should the owner relationship be more explicit? See Access Thoughts below for more info on what it means to be an owner. Consensus: For now, we will go with just dct:creator. When we have a use case requiring more complex (e.g. multiple creators) creator - owner relationships, we can revisit.
...
QUESTIONS:
What properties should be used to express the virtual collection metadata? Possibilities and answer as Selected Property…
Concept Potential Properties Selected Property Comments Title rdfs:label, dc:title, dcterms:title dcterms:title Based on ORE ontology specification Description rdfs:comment, dc:description, dcterms:description dcterms:description Based on ORE ontology specification Owner dc:creator, dcterms:creator dc:creator Based on ORE ontology specification
Virtual Collection's list of items
Two ontologies have been identified as potential candidates for representing a list of items. The pros and cons are listed below for each ontology.
co.List | ore.Aggregation | ||
---|---|---|---|
– | unordered and ordered collections are represented by two separate class constructs, Bag and List respectively | + | unordered and ordered collections are represented by the same class construct, Aggregation |
+ | item property names are easy to understand (e.g., index, itemContent, nextItem) | – | item property names are cryptic (e.g., proxyFor, proxyIn, next) |
– | order is determined by an item property pointing to the next item, i.e., nextItem | – | order is determined by an item property pointing to the next item, i.e., next |
Example 1: A Virtual Collection as a Collection Ontology's List with one Item
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Code Block | |||
---|---|---|---|
| |||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix co: <http://purl.org/co> . <http://localhost:3000/individual/vc155> a co:List ; co:size "1"^^xsd:nonNegativeInteger ; co:firstItem <http://localhost:3000/individual/vci162> ; co:item <http://localhost:3000/individual/vci162> ; co:lastItem <http://localhost:3000/individual/vci162> . <http://localhost:3000/individual/vci162> a co:ListItem co:index "1"^^xsd:positiveInteger ; co:itemContent <http://da-rdf.library.cornell.edu/individual/b3652730> . |
...