Versions Compared

Key

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

...

Expand
titleExpand to see n-triples...
Code Block
languagenone
titlen-triples
<http://localhost:3000/individual/vc255> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#List>co#Bag> .
<http://localhost:3000/individual/vc255> <http://purl.org/co#size> "4"^^xsd:nonNegativeInteger .
<http://localhost:3000/individual/vc255> <http://purl.org/co#firstItem>co#item> <http://localhost:3000/individual/vci262> .
<http://localhost:3000/individual/vc255> <http://purl.org/co#item> <http://localhost:3000/individual/vci262>vci263> .
<http://localhost:3000/individual/vc255> <http://purl.org/co#item> <http://localhost:3000/individual/vci263>vci264> .
<http://localhost:3000/individual/vc255> <http://purl.org/co#item> <http://localhost:3000/individual/vci264>vci265> .

<http://localhost:3000/individual/vc255>vci262> <http://purlwww.w3.org/co#item>/1999/02/22-rdf-syntax-ns#type> <http://localhost:3000/individual/vci265>purl.org/co#Item> .
<http://localhost:3000/individual/vc255>vci262> <http://purl.org/co#lastItem>co#itemContent> <http://localhost:3000da-rdf.library.cornell.edu/individual/vci265>b3652730> .

<http://localhost:3000/individual/vci262>vci263> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>co#Item> .
<http://localhost:3000/individual/vci262>vci263> <http://purl.org/co#index> "1"^^xsd:positiveInteger
co#itemContent> <http://localhost:3000da-rdf.library.cornell.edu/individual/b3652234> .

<http://localhost:3000/individual/vci262>vci264> <http://purlwww.w3.org/co#itemContent>/1999/02/22-rdf-syntax-ns#type> <http://da-rdf.library.cornell.edu/individual/b3652730>purl.org/co#Item> .
<http://localhost:3000/individual/vci262>vci264> <http://purl.org/co#nextItem>co#itemContent> <http://localhost:3000da-rdf.library.cornell.edu/individual/vci263>b3652543> .

<http://localhost:3000/individual/vci263>vci265> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>co#Item> .
<http://localhost:3000/individual/vci263>vci265> <http://purl.org/co#index> "2"^^xsd:positiveInteger
co#itemContent> <http://localhost:3000/individual/vci263>da-rdf.library.cornell.edu/individual/b3652884> .

Code Block
titleTurtle using Collection ontology's Bag class
@prefix rdf:     <http://
purl
www.w3.org/
co#itemContent> <http:
1999/02/
da
22-rdf
.library.cornell.edu/individual/b3652234> <http://localhost:3000/individual/vci263>
-syntax-ns#> .
@prefix co:      <http://purl.org/
co#nextItem> <http://localhost:3000/individual/vci264>
co> .

<http://localhost:3000/individual/
vci264> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
vc255> a co:Bag ;
  co:size       "4"^^xsd:nonNegativeInteger ;
  co:item       <http://localhost:3000/individual/
vci264> <http://purl.org/co#index> "3"^^xsd:positiveInteger
vci262> ;
  co:item       <http://localhost:3000/individual/
vci264> <http://purl.org/co#itemContent> <http://da-rdf.library.cornell.edu/individual/b3652543>
vci263> ;
  co:item       <http://localhost:3000/individual/vci264> ;
  
<http://purl.org/co#nextItem>
co:item       <http://localhost:3000/individual/vci265> .
 
<http://localhost:3000/individual/
vci265>
vci262> a co:ListItem ;
  co:itemContent  <http://
www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/co#ListItem>
da-rdf.library.cornell.edu/individual/b3652730> .

<http://localhost:3000/individual/
vci265>
vci263> a co:ListItem ;
  co:itemContent  <http://
purl.org/co#index> "4"^^xsd:positiveInteger
da-rdf.library.cornell.edu/individual/b3652234> .

<http://localhost:3000/individual/
vci265> <http://purl.org/co#itemContent>
vci264> a co:ListItem ;
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/
b3652884>
Code Block
languagenone
titleTurtle using Collection ontology's List class
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix co:      <http://purl.org/co> .

<http://localhost:3000/individual/vc255>b3652543> .

<http://localhost:3000/individual/vci265> a co:ListListItem ;
  co:size       "4"^^xsd:nonNegativeInteger ;
  co:firstItem  <http://localhost:3000/individual/vci262> ;
  co:item       <http://localhost:3000/individual/vci262> ;
  co:item       <http://localhost:3000/individual/vci263> ;
  co:item       <http://localhost:3000/individual/vci264> ;
  co:item       <http://localhost:3000/individual/vci265> ;
  co:lastItem   <http://localhost:3000/individual/vci265> .
 
<http://localhost:3000/individual/vci262> a co:ListItem ;
  co:index        "1"^^xsd:positiveInteger ;
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652730> ;
  co:nextItem     <http://localhost:3000/individual/vci263> .

<http://localhost:3000/individual/vci263> a co:ListItem ;
  co:index        "2"^^xsd:positiveInteger ;
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652234> ;
  co:nextItem     <http://localhost:3000/individual/vci264> .

<http://localhost:3000/individual/vci264> a co:ListItem ;
  co:index        "3"^^xsd:positiveInteger ;
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652543> ;
  co:nextItem     <http://localhost:3000/individual/vci265> .

<http://localhost:3000/individual/vci265> a co:ListItem ;
  co:index        "4"^^xsd:positiveInteger ;
  co:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652884> .

 

Example 4-ore:  A Virtual Collection as an unordered collection of items using ORE Ontology's Aggregation with multiple unordered items
:itemContent  <http://da-rdf.library.cornell.edu/individual/b3652884> .

 

Example 4-ore:  A Virtual Collection as an unordered collection of items using ORE Ontology's Aggregation with multiple unordered items
<http://localhost:3000/individual/vc255> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openarchives.org/ore/terms/Aggregation> . <http://localhost:3000/individual/vc255> <http://www.openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/b3652730> . <http://localhost:3000/individual/vc255> <http://www.openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/b3652234> . <http://localhost:3000/individual/vc255> <http://www.openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/b3652543> . <http://localhost:3000/individual/pxy262> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openarchives.org/ore/terms/Proxy> . <http://localhost:3000/individual/pxy262> <http://www.openarchives.org/ore/terms/proxyFor> <http://da-rdf.library.cornell.edu/individual/b3652730> . <http://localhost:3000/individual/pxy262> <http://www.openarchives.org/ore/terms/proxyIn> <http://localhost:3000/individual/vc255> . <http://localhost:3000/individual/pxy262> <http://www.iana.org/assignments/relation/next> <http://localhost:3000/individual/pxy263> . <http://localhost:3000/individual/pxy263> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openarchives.org/ore/terms/Proxy> . <http://localhost:3000/individual/pxy263> <http://www.openarchives.org/ore/terms/proxyFor> <http://da-rdf.library.cornell.edu/individual/b3652234> . <http://localhost:3000/individual/pxy263> <http://www.openarchives.org/ore/terms/proxyIn> <http://localhost:3000/individual/vc255> . <http://localhost:3000/individual/pxy263> <http://www.iana.org/assignments/relation/next> <http://localhost:3000/individual/pxy264> . <http://localhost:3000/individual/pxy264> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openarchives.org/ore/terms/Proxy> . <http://localhost:3000/individual/pxy264> <http://www.openarchives.org/ore/terms/proxyFor> <http://da-rdf.library.cornell.edu/individual/b3652543> . <http://localhost:3000/individual/pxy264> <http://www.openarchives.org/ore/terms/proxyIn> <http://localhost:3000/individual/vc255> .
Expand
titleExpand to see n-triples...
Expand
titleExpand to see n-triples...
Code Block
languagenone
titlen-triples
Code Block
languagenone
title
Turtle using ORE ontology's Aggregation class
n-triples
<http://localhost:3000/individual/vc255> 
@prefix ore:
<http://www.
openarchives
w3.org/
ore
1999/
terms/> . @prefix iana:
02/22-rdf-syntax-ns#type> <http://www.
iana
openarchives.org/
assignments
ore/
relation
terms/
>
Aggregation> .

<http://localhost:3000/individual/vc255> 
a ore:Aggregation ; ore:aggregates
<http://www.openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/b3652730> 
; ore:aggregates
.
<http://localhost:3000/individual/vc255> <http://
da-rdf
www.
library.cornell.edu/individual/b3652234> ; ore:aggregates
openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/
b3652543>
b3652234> .

<http://localhost:3000/individual/
pxy262>
vc255> 
a ore:Proxy ; ore:proxyFor
<http://www.openarchives.org/ore/terms/aggregates> <http://da-rdf.library.cornell.edu/individual/
b3652730>
b3652543> .
Code Block
languagenone
titleTurtle using ORE ontology's Aggregation class
@prefix;
  ore:proxyIn     <http:///localhost:3000/individual/vc255> ;
  iana:nextwww.openarchives.org/ore/terms/> .
@prefix iana:    <http:///localhost:3000/individual/pxy263>www.iana.org/assignments/relation/> .
 
<http://localhost:3000/individual/pxy263>vc255> a ore:ProxyAggregation ;
  ore:proxyForaggregates <http://da-rdf.library.cornell.edu/individual/b3652234>b3652730> ;
  ore:proxyInaggregates <http://localhost:3000/individual/vc255> ;
  iana:next <http://localhost:3000/individual/pxy264> .
 
<http://localhost:3000/individual/pxy264> a ore:Proxyda-rdf.library.cornell.edu/individual/b3652234> ;
  ore:proxyForaggregates <http://da-rdf.library.cornell.edu/individual/b3652543> ;
  ore:proxyIn <http://localhost:3000/individual/vc255> .

...

QUESTIONS:

  • Should Virtual Collection's type be a subclass of co:List instead of a co:List?
    • If so, what is the type?  Consensus:   Subclass of co:List  Ontology to be defined by ontology group.
    • Is it LD4L specific?  Consensus:  YES to be defined by ontology group.
    • How is LD4L defining new types?  Naming convention, namespace, etc.?  Final definitions by ontology group.
      • For now, use namespace=LD4L in Ruby with link <http://ld4l.org/ontology/...  – to be defined by ontology group
      • Class name=ld4l:VirtualCollection
      • type URI=<http://ld4l.org/ontology/VirtualCollection>
      • instance URI=<http://localhost:3000/individual/vc123> –
        • what ever I want for now
        • suggest use of individual in URI meaning an instance of a class (used by VIVO too)
        • id starts with alpha because syntax something:vc123 – cannot have number directly after :

...