Revision: a77d99257100
Author: Sebastian Hellmann <
kur...@googlemail.com>
Date: Fri Aug 10 07:05:45 2012
Log: [No log message]
http://code.google.com/p/nlp2rdf/source/detail?r=a77d99257100
Modified:
/
nlp2rdf.lod2.eu/schema/frag/fragment.ttl
=======================================
--- /
nlp2rdf.lod2.eu/schema/frag/fragment.ttl Fri Aug 10 06:45:04 2012
+++ /
nlp2rdf.lod2.eu/schema/frag/fragment.ttl Fri Aug 10 07:05:45 2012
@@ -41,9 +41,9 @@
rdfs:seeAlso <
http://nlp2rdf.org/nif-2-0-draft> ;
rdfs:definedBy <> .
-<OffsetbasedString> a owl:Class ;
+<
http://nlp2rdf.lod2.eu/schema/string/OffsetBasedString> a owl:Class ;
rdfs:subClassOf <Text/PlainFragment> .
-<ContextHashbasedString> a owl:Class ;
+<
http://nlp2rdf.lod2.eu/schema/string/ContextHashBasedString> a
owl:Class ;
rdfs:subClassOf <Text/PlainFragment> .
<draft-hausenblas-csv-fragment-00Selection> a owl:Class ;
@@ -52,14 +52,20 @@
rdfs:definedBy <> .
#### Object properties
-<referenceContext> a owl:ObjectProperty .
+<referenceContext> a owl:ObjectProperty ;
+rdfs:comment "the context the selection is to be interpreted in" .
+<occursIn> a owl:ObjectProperty ;
+rdfs:comment "this links a fragment selection to the information resource
it occurs in" .
-#### Object properties
-<mediatype> a owl:DatatypeProperty .
-<anchorOf> a owl:DatatypeProperty .
+#### Datatype properties
+<mediatype> a owl:DatatypeProperty ;
+rdfs:comment "an identifier for the media type" .
+<anchorOf> a owl:DatatypeProperty ;
+rdfs:comment "the mediatype fragment selected by the fragment identifier,
note this can only be Literal, XMLLiteral, HTML5Literal, images are not
included, yet" .
<beginIndex> a owl:DatatypeProperty .
<endIndex> a owl:DatatypeProperty .
+
############
#### example
############
@@ -68,6 +74,7 @@
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> a
<rfc5147Selection> ;
<beginIndex> "0"^^xsd:int ;
<endIndex> "1765"^^xsd:int ;
+ <occursIn> <
http://nlp2rdf.lod2.eu/usecases/plaintext.txt> ;
<referenceContext>
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
##
@@ -77,7 +84,7 @@
<anchorOf> "Mexico" ;
itsrdf:disambigIdentRef <
http://dbpedia.org/resource/Mexico> ;
# partofspeech tagging
- <
http://nlp2rdf.lod2.eu/schema/oliaLink>
<
http://purl.org/olia/penn.owl#NNP> ;
+ <
http://nlp2rdf.lod2.eu/schema/sso/oliaLink>
<
http://purl.org/olia/penn.owl#NNP> ;
<referenceContext>
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
## is this correct?