Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
titleTurtle
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#>.
@prefix dc:      <http://purl.org/dc/elements/1.1/>
@prefix dcterms: <http://purl.org/dc/terms>
 
<http://localhost:3000/virtualcollection/changeme:155>
  rdfsrefs:label    "My Virtual Collection" ;
  rdfs:comment  "These are resources I am gathering together for personal use." ;
  dc:creator    ??? TODO DEFINE FOAF PERSON AND USE URI HERE ??? .

...

Example 1:  A Virtual Collection as a List with one Item

...

Code Block
languagenone
titlen-triples
<http://localhost:3000/virtualcollection/changeme:155> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#List>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#size> "1"^^xsd:nonNegativeInteger
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#firstItem> <http://localhost:3000/virtualcollection/item/changeme:156>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#item> <http://localhost:3000/virtualcollection/item/changeme:156>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#lastItem> <http://localhost:3000/virtualcollection/item/changeme:156>

<http://localhost:3000/virtualcollection/item/changeme:156> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
<http://localhost:3000/virtualcollection/item/changeme:156> <http://purl.org/co#index> "1"^^xsd:positiveInteger
<http://localhost:3000/virtualcollection/item/changeme:156> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652730>
Code Block
languagenone
titleTurtle
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#>.
@prefix dc:      <http://purl.org/dc/elements/1.1/>
@prefix dcterms: <http://purl.org/dc/terms>
@prefix co:      <http://purl.org/co>
 
<http://localhost:3000/virtualcollection/changeme:155> a co:List
  co:size       "1"^^xsd:nonNegativeInteger ;
  co:firstItem  <http://localhost:3000/virtualcollection/item/changeme:156> ;
  co:item       <http://localhost:3000/virtualcollection/item/changeme:156> ;
  co:lastItem   <http://localhost:3000/virtualcollection/item/changeme:156> .
 
<http://localhost:3000/virtualcollection/item/changeme:156> a co:ListItem
  co:index        "1"^^xsd:positiveInteger
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652730>

...

Example 2: A Virtual Collection as a List with multiple ordered Items
Code Block
languagenone
titlen-triples
<http://localhost:3000/virtualcollection/changeme:155> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#List>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#size> "4"^^xsd:nonNegativeInteger
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#firstItem> <http://localhost:3000/virtualcollection/item/changeme:156>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#item> <http://localhost:3000/virtualcollection/item/changeme:156>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#item> <http://localhost:3000/virtualcollection/item/changeme:157>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#item> <http://localhost:3000/virtualcollection/item/changeme:158>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#item> <http://localhost:3000/virtualcollection/item/changeme:159>
<http://localhost:3000/virtualcollection/changeme:155> <http://purl.org/co#lastItem> <http://localhost:3000/virtualcollection/item/changeme:159>

<http://localhost:3000/virtualcollection/changeme:155/item/changeme:156> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:156> <http://purl.org/co#index> "1"^^xsd:positiveInteger
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:156> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652730>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:156> <http://purl.org/co#nextItem> <http://localhost:3000/virtualcollection/item/changeme:157>

<http://localhost:3000/virtualcollection/changeme:155/item/changeme:157> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:157> <http://purl.org/co#index> "2"^^xsd:positiveInteger
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:157> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652234>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:157> <http://purl.org/co#nextItem> <http://localhost:3000/virtualcollection/item/changeme:158>

<http://localhost:3000/virtualcollection/changeme:155/item/changeme:158> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:158> <http://purl.org/co#index> "3"^^xsd:positiveInteger
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:158> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652543>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:158> <http://purl.org/co#nextItem> <http://localhost:3000/virtualcollection/item/changeme:159>

<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159> <http://purl.org/co#index> "4"^^xsd:positiveInteger
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652884>

Code Block
languagenone
titleTurtle
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#>.
@prefix dc:      <http://purl.org/dc/elements/1.1/>
@prefix dcterms: <http://purl.org/dc/terms>
@prefix co:      <http://purl.org/co>






 

Comments

Comments as Free Form Text Annotation

Code Block
languagenone
titlen-triples
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/oa#Annotation> .
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93> <http://www.w3.org/ns/oa#hasTarget> <http://localhost:3000/virtualcollection/item/changeme:156> .
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93> <http://www.w3.org/ns/oa#hasBody> <http://localhost:3000/annotations/bodies/3652730_changeme:93> .
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93> <http://www.w3.org/ns/oa#motivatedBy> <http://www.w3.org/ns/oa#Comments> .

<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93/body> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/dcmitype/Text> .
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93/body> <http://www.w3.org/2011/content#chars> "This is my favorite book." .
<http://localhost:3000/virtualcollection/changeme:155/item/changeme:159/comment/changeme:93/body> <http://purl.org/dc/terms/format> "text/plain" .


<http://localhost:3000/annotations/bodies/3652730_changeme:93> <http://www.w3.org/1999/02/22-rdf-syntax-ns#seeAlso> <http://localhost:3000/works/3652730/annotations/changeme:93> .
 
Code Block
languagenone
titleTurtle
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#>.
@prefix dc:      <http://purl.org/dc/elements/1.1/>
@prefix dcterms: <http://purl.org/dc/terms>