-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1374 from dkpro/bugfix/1362-NifWriter-does-not-wr…
…ite-out-NE-identifier #1362 - NifWriter does not write out NE identifier
- Loading branch information
Showing
7 changed files
with
1,627 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
dkpro-core-io-nif-asl/src/test/resources/nif/freme/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Resource: https://github.com/freme-project/e-Entity/issues/56 | ||
|
32 changes: 32 additions & 0 deletions
32
dkpro-core-io-nif-asl/src/test/resources/nif/freme/freme-cooked.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@prefix dbc: <http://dbpedia.org/resource/Category:> . | ||
@prefix dbpedia-fr: <http://fr.dbpedia.org/resource/> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix dbpedia-es: <http://es.dbpedia.org/resource/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix itsrdf: <http://www.w3.org/2005/11/its/rdf#> . | ||
@prefix nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#> . | ||
@prefix dbpedia: <http://dbpedia.org/resource/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix dbpedia-de: <http://de.dbpedia.org/resource/> . | ||
@prefix dbpedia-ru: <http://ru.dbpedia.org/resource/> . | ||
@prefix freme-onto: <http://freme-project.eu/ns#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix dbpedia-nl: <http://nl.dbpedia.org/resource/> . | ||
@prefix dcterms: <http://purl.org/dc/terms/> . | ||
@prefix dbpedia-it: <http://it.dbpedia.org/resource/> . | ||
|
||
<http://freme-project.eu/#char=0,140> | ||
a nif:RFC5147String , nif:Context , nif:String ; | ||
nif:beginIndex "0"^^xsd:int ; | ||
nif:endIndex "140"^^xsd:int ; | ||
nif:isString "This meant the Aos Sí (pronounced ees shee), the 'spirits' or 'fairies', could more easily come into our world and were particularly active." . | ||
|
||
<http://freme-project.eu/#char=15,21> | ||
a nif:RFC5147String , nif:String , nif:Word , nif:Phrase ; | ||
nif:anchorOf "Aos Sí" ; | ||
nif:beginIndex "15"^^xsd:int ; | ||
nif:endIndex "21"^^xsd:int ; | ||
nif:referenceContext <http://freme-project.eu/#char=0,140> ; | ||
itsrdf:taClassRef owl:Thing ; | ||
itsrdf:taConfidence "0.4859081423223223"^^xsd:double ; | ||
itsrdf:taIdentRef <http://dbpedia.org/resource/Aos_S%25C3%25AD> . |
30 changes: 30 additions & 0 deletions
30
dkpro-core-io-nif-asl/src/test/resources/nif/freme/freme.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@prefix dbpedia-fr: <http://fr.dbpedia.org/resource/> . | ||
@prefix dbc: <http://dbpedia.org/resource/Category:> . | ||
@prefix dbpedia-es: <http://es.dbpedia.org/resource/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix itsrdf: <http://www.w3.org/2005/11/its/rdf#> . | ||
@prefix dbpedia: <http://dbpedia.org/resource/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#> . | ||
@prefix dbpedia-de: <http://de.dbpedia.org/resource/> . | ||
@prefix dbpedia-ru: <http://ru.dbpedia.org/resource/> . | ||
@prefix freme-onto: <http://freme-project.eu/ns#> . | ||
@prefix dbpedia-nl: <http://nl.dbpedia.org/resource/> . | ||
@prefix dcterms: <http://purl.org/dc/terms/> . | ||
@prefix dbpedia-it: <http://it.dbpedia.org/resource/> . | ||
|
||
<http://freme-project.eu/#char=0,140> | ||
a nif:String , nif:Context , nif:RFC5147String ; | ||
nif:beginIndex "0"^^xsd:int ; | ||
nif:endIndex "140"^^xsd:int ; | ||
nif:isString "This meant the Aos Sí (pronounced ees shee), the 'spirits' or 'fairies', could more easily come into our world and were particularly active."^^xsd:string . | ||
|
||
<http://freme-project.eu/#char=15,21> | ||
a nif:RFC5147String , nif:String , nif:Word , nif:Phrase ; | ||
nif:anchorOf "Aos Sí"^^xsd:string ; | ||
nif:beginIndex "15"^^xsd:int ; | ||
nif:endIndex "21"^^xsd:int ; | ||
nif:referenceContext <http://freme-project.eu/#char=0,140> ; | ||
itsrdf:taClassRef <http://www.w3.org/2002/07/owl#Thing> ; | ||
itsrdf:taConfidence "0.4859081423223223"^^xsd:double ; | ||
itsrdf:taIdentRef <http://dbpedia.org/resource/Aos_S%25C3%25AD> . |
118 changes: 118 additions & 0 deletions
118
dkpro-core-io-nif-asl/src/test/resources/nif/freme/ref.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix itsrdf: <http://www.w3.org/2005/11/its/rdf#> . | ||
@prefix nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
rdf:rest a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:List ; | ||
rdfs:range rdf:List ; | ||
rdfs:subPropertyOf rdf:rest . | ||
|
||
rdf:List a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource , rdf:List . | ||
|
||
rdf:predicate a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Statement ; | ||
rdfs:subPropertyOf rdf:predicate . | ||
|
||
rdf:Property a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource , rdf:Property . | ||
|
||
rdfs:label a rdf:Property , rdfs:Resource ; | ||
rdfs:range rdfs:Literal . | ||
|
||
rdf:Statement a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource , rdf:Statement . | ||
|
||
rdfs:Class a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource , rdfs:Class . | ||
|
||
rdf:type a rdf:Property , rdfs:Resource ; | ||
rdfs:range rdfs:Class . | ||
|
||
rdfs:Resource a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource . | ||
|
||
rdf:subject a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Statement ; | ||
rdfs:subPropertyOf rdf:subject . | ||
|
||
rdf:XMLLiteral a rdfs:Datatype , rdfs:Resource , rdfs:Class . | ||
|
||
rdfs:comment a rdf:Property , rdfs:Resource ; | ||
rdfs:range rdfs:Literal . | ||
|
||
rdfs:range a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Property ; | ||
rdfs:range rdfs:Class . | ||
|
||
rdfs:subPropertyOf a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Property ; | ||
rdfs:range rdf:Property . | ||
|
||
rdf:object a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Statement ; | ||
rdfs:subPropertyOf rdf:object . | ||
|
||
rdf:nil a rdf:List , rdfs:Resource . | ||
|
||
rdfs:domain a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:Property ; | ||
rdfs:range rdfs:Class . | ||
|
||
rdfs:Literal a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Resource , rdfs:Literal . | ||
|
||
rdf:first a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdf:List ; | ||
rdfs:subPropertyOf rdf:first . | ||
|
||
rdfs:subClassOf a rdf:Property , rdfs:Resource ; | ||
rdfs:domain rdfs:Class ; | ||
rdfs:range rdfs:Class . | ||
|
||
<urn:freme-cooked.ttl#offset_0_140> | ||
a nif:Context ; | ||
nif:beginIndex "0"^^xsd:nonNegativeInteger ; | ||
nif:endIndex "140"^^xsd:nonNegativeInteger ; | ||
nif:isString "This meant the Aos Sí (pronounced ees shee), the 'spirits' or 'fairies', could more easily come into our world and were particularly active." . | ||
|
||
<urn:freme-cooked.ttl#offset_15_21> | ||
a nif:EntityOccurrence ; | ||
nif:anchorOf "Aos Sí" ; | ||
nif:beginIndex "15"^^xsd:nonNegativeInteger ; | ||
nif:endIndex "21"^^xsd:nonNegativeInteger ; | ||
nif:referenceContext <urn:freme-cooked.ttl#offset_0_140> ; | ||
itsrdf:taClassRef owl:Thing ; | ||
itsrdf:taIdentRef <http://dbpedia.org/resource/Aos_S%25C3%25AD> . | ||
|
||
rdf:Bag a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdf:Bag , rdfs:Container . | ||
|
||
rdf:Seq a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdf:Seq , rdfs:Container . | ||
|
||
rdfs:Datatype a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Datatype , rdfs:Resource , rdfs:Class . | ||
|
||
rdf:Alt a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdf:Alt , rdfs:Container . | ||
|
||
rdfs:Container a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:Container . | ||
|
||
rdfs:ContainerMembershipProperty | ||
a rdfs:Class , rdfs:Resource ; | ||
rdfs:subClassOf rdfs:ContainerMembershipProperty , rdfs:Resource , rdf:Property . | ||
|
||
rdfs:isDefinedBy a rdf:Property , rdfs:Resource ; | ||
rdfs:subPropertyOf rdfs:isDefinedBy , rdfs:seeAlso . | ||
|
||
rdfs:seeAlso a rdf:Property , rdfs:Resource ; | ||
rdfs:subPropertyOf rdfs:seeAlso . | ||
|
||
nif:EntityOccurrence a rdfs:Class , rdfs:Resource . | ||
|
||
nif:Context a rdfs:Class , rdfs:Resource . |
Oops, something went wrong.