Revision: 38c0ffd8b8a0
Author: Sebastian Hellmann <
kur...@googlemail.com>
Date: Fri Aug 10 00:53:34 2012
Log: [No log message]
http://code.google.com/p/nlp2rdf/source/detail?r=38c0ffd8b8a0
Modified:
/
nlp2rdf.lod2.eu/schema/frag/fragment-inf.ttl
/
nlp2rdf.lod2.eu/schema/frag/fragment-val.ttl
/
nlp2rdf.lod2.eu/schema/frag/fragment.ttl
=======================================
--- /
nlp2rdf.lod2.eu/schema/frag/fragment-inf.ttl Fri Aug 10 00:43:02 2012
+++ /
nlp2rdf.lod2.eu/schema/frag/fragment-inf.ttl Fri Aug 10 00:53:34 2012
@@ -1,4 +1,4 @@
-@base <
http://nlp2rdf.lod2.eu/schema/frag/frament.owl#> .
+@base <
http://nlp2rdf.lod2.eu/schema/frag/fragment.ttl#> .
@prefix rdf: <
http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <
http://www.w3.org/2002/07/owl#> .
@@ -6,7 +6,7 @@
<> a owl:Ontology ;
rdfs:label "Fragment Ontology Axioms for Inference" ;
- owl:imports <
http://nlp2rdf.lod2.eu/schema/frag/frament.owl>
+ owl:imports <
http://nlp2rdf.lod2.eu/schema/frag/frament.ttl> ;
rdfs:comment """ see also
http://nlp2rdf.lod2.eu/schema/frag/frament-val.owl and
http://nlp2rdf.lod2.eu/schema/frag/frament-inf.owl """ .
<Fragment>
@@ -45,9 +45,6 @@
[] a owl:AllDisjointClasses ;
owl:members <rfc5147Selection>,
<draft-hausenblas-csv-fragment-00Selection> ;
-#### properties
-<referenceContext> a owl:FunctionalProperty .
-<mediatype> a owl:FunctionalProperty .
=======================================
--- /
nlp2rdf.lod2.eu/schema/frag/fragment-val.ttl Fri Aug 10 00:43:02 2012
+++ /
nlp2rdf.lod2.eu/schema/frag/fragment-val.ttl Fri Aug 10 00:53:34 2012
@@ -1,4 +1,4 @@
-@base <
http://nlp2rdf.lod2.eu/schema/frag/frament.owl#> .
+@base <
http://nlp2rdf.lod2.eu/schema/frag/fragment.ttl#> ..
@prefix rdf: <
http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <
http://www.w3.org/2002/07/owl#> .
@@ -6,8 +6,8 @@
<> a owl:Ontology ;
rdfs:label "Fragment Ontology Axioms for Validation" ;
- owl:imports <
http://nlp2rdf.lod2.eu/schema/frag/frament-inf.owl>
- rdfs:comment """ see also
http://nlp2rdf.lod2.eu/schema/frag/frament.owl
and
http://nlp2rdf.lod2.eu/schema/frag/frament-inf.owl """ .
+ owl:imports <
http://nlp2rdf.lod2.eu/schema/frag/frament-inf.ttl> ;
+ rdfs:comment """ see also
http://nlp2rdf.lod2.eu/schema/frag/framgent.owl
and
http://nlp2rdf.lod2.eu/schema/frag/framgent-inf.owl """ .
<rfc5147Selection>
# referenceContext need to be of the same type
@@ -35,14 +35,15 @@
] .
[] a owl:AllDisjointClasses ;
- owl:members <rfc5147Selection>, <rfc5147ExtendedSelection> ,
<draft-hausenblas-csv-fragment-00Selection> ;
+ owl:members <rfc5147Selection>, <rfc5147ExtendedSelection> ,
<draft-hausenblas-csv-fragment-00Selection> .
#### properties
<referenceContext> a owl:FunctionalProperty .
+
<mediatype> a owl:FunctionalProperty .
<beginIndex> a owl:FunctionalProperty .
-
-
+<endIndex> a owl:FunctionalProperty .
+<anchorOf> a owl:FunctionalProperty .
=======================================
--- /
nlp2rdf.lod2.eu/schema/frag/fragment.ttl Fri Aug 10 00:43:02 2012
+++ /
nlp2rdf.lod2.eu/schema/frag/fragment.ttl Fri Aug 10 00:53:34 2012
@@ -1,4 +1,4 @@
-@base <
http://nlp2rdf.lod2.eu/schema/frag/frament.owl#> .
+@base <
http://nlp2rdf.lod2.eu/schema/frag/fragment.ttl#> .
@prefix rdf: <
http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <
http://www.w3.org/2002/07/owl#> .
@@ -16,7 +16,8 @@
<TextFragment> a owl:Class ;
- rdfs:subClassOf <Fragment> ;
+ rdfs:subClassOf <Fragment> .
+
<Text/PlainFragment> a owl:Class ;
rdfs:subClassOf <TextFragment> .
@@ -51,26 +52,30 @@
<beginIndex> a owl:DatatypeProperty .
<endIndex> a owl:DatatypeProperty .
+############
#### example
-<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,>
- a <rfc5147Selection> ;
+############
+
+## mandatory:
+<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> a
<rfc5147Selection> ;
<beginIndex> "0"^^xsd:int ;
<endIndex> "1765"^^xsd:int ;
- referenceContext
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
+ <referenceContext>
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
+
-
+## inferable with OWL or rules:
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,6> a
<rfc5147Selection> ;
<beginIndex> "0"^^xsd:int ;
<endIndex> "6"^^xsd:int ;
<anchorOf> "Mexico" ;
- <referenceContext>
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
-
+ <referenceContext>
<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> .
+
# this is optional:
-<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,> anchorOf """Mexico
expects the U.S. to accelerate the disbursement of aid to strengthen its
fight against drug gangs and put back on track a $1.4 billion program that
has been hamstrung by delays in recent years, Foreign Affairs Minister
Patricia Espinosa said.
+<
http://nlp2rdf.lod2.eu/usecases/plaintext.txt#char=0,>
<anchorOf> """Mexico expects the U.S. to accelerate the disbursement of aid
to strengthen its fight against drug gangs and put back on track a $1.4
billion program that has been hamstrung by delays in recent years, Foreign
Affairs Minister Patricia Espinosa said.
Espinosa, in an interview yesterday, said both U.S. President Barack Obama
and Secretary of State Hillary Clinton promised to disburse $500 million
this year in equipment and aid for police training as part of the bilateral
Merida Initiative. Mexico expects to receive complete financing of the
multi-year program by next year, she said.
"We got off to a slow start in part because this is a completely new
cooperation plan," Espinosa, 52, said at Bloomberg's offices in Mexico
City. "We now see that it's advancing more quickly."
(It would boring without special characters such as äöüßéèâä) .