@prefix dc: .
@prefix prov: .
@prefix skosxl: .
@prefix lvont: .
@prefix nif: .
@prefix itsrdf: .
@prefix marl: .
@prefix fise: .
@prefix dcterms: .
@prefix rdfs: .
@prefix oa: .
@prefix xsd: .
@prefix owl: .
@prefix rdf: .
@prefix skos: .
nif:RFC5147String a owl:Class ;
rdfs:comment "cf. http://tools.ietf.org/html/rfc5147 URIs of this class have to conform with the syntax of RFC 5147 in a way that the end on a valid identifier, if you remove the prefix. Note that unlike RFC 5147 NIF does not requrire '#' URIs. So valid URIs are http://example.org#char=0,28 , http://example.org/whatever/char=0,28 , http://example.org/nif?char=0,28\n Changelog:\n * 1.1.0 changed subclass to CString .\n * 1.1.1 typo in rdfs:label and extension of comment\n " ;
rdfs:label "RFC 5147 String"@en ;
rdfs:subClassOf nif:CString ;
owl:versionInfo "1.1.0" .
nif:before a owl:DatatypeProperty ;
rdfs:comment "For each string you can include a snippet (e.g. 10-40 characters of text), that occurs immediately before the subject string." ;
rdfs:domain nif:String ;
rdfs:label "before"@en ;
owl:versionInfo "0.1.0" .
nif:ContextOccurrence
a owl:Class .
nif:inter a owl:ObjectProperty ;
rdfs:comment "\n\t\tThis object property models a relation between two nif:Strings. The name \"inter\" is kept generic and can be used to express any kind of relation in between (inter) two nif:Strings. Extensions can create rdfs:subPropertyOf for \"head\", \"dependent\", nif:substring and nif:nextWord. \n\t\t\n\t\tChangelog: \n\t\t* 0.1.0 initial commit of property \"dependency\"\n\t\t* 0.2.0 changed name to \"inter\" which is more general than \"dependency\".\n "@en ;
rdfs:domain nif:String ;
rdfs:label "inter"@en ;
rdfs:range nif:String ;
owl:versionInfo "0.2.0" .
nif:posTag a owl:DatatypeProperty ;
rdfs:comment "To include the pos tag as it comes out of the NLP tool as RDF Literal. This property is discouraged to use alone, please use oliaLink and oliaCategory. We included it, because some people might still want it and will even create their own property, if the string variant is missing " ;
rdfs:domain nif:String ;
rdfs:label "Part of speech tag"@en ;
rdfs:range xsd:string ;
owl:versionInfo "discouraged" .
nif:previousWordTrans
a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Word ;
rdfs:range nif:Word ;
owl:versionInfo "0.1.1" .
nif:ContextCollection
a owl:Class ;
rdfs:comment "A collection of contexts used to create an unordered set of context via the nif:hasContext property. This can be compared to a document collection, but here it is a collection of nif:Context and therefore a collection of annotated strings, not documents. \n \n Open Issues\n Investigate ordered collections\n \n Changelog\n * 0.1.1 improved documentation\n "@en ;
rdfs:label "Context Collection"@en ;
owl:versionInfo "0.1.1" .
nif:Structure a owl:Class ;
rdfs:comment "A structure is a more or less arbitrary label for a partitioning of a string. We do not follow a strict approach for what a word, phrase, sentence, title, paragraph is. These labels enable the definition processes for tool chains, e.g. tool analyses nif:Paragraph and calculates term frequency. \n \n This is an abstract class and should not be serialized. \n \n Changelog\n 0.1.1 not to be serialized comment\n " ;
rdfs:label "Structure"@en ;
rdfs:subClassOf nif:String ;
owl:versionInfo "0.1.0" .
nif:endIndex a owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "The end index of a character range as defined in http://tools.ietf.org/html/rfc5147#section-2.2.1 and http://tools.ietf.org/html/rfc5147#section-2.2.2, measured as the gap between two characters, starting to count from 0 (the position before the first character of a text). \n Example: Index \"2\" is the postion between \"Mr\" and \".\" in \"Mr. Sandman\".\n Note: RFC 5147 is re-used for the definition of character ranges. RFC 5147 is assuming a text/plain MIME type. NIF builds upon Unicode and is content agnostic. \n Requirement (1): This property has the same value the \"Character position\" of RFC 5147 and it must therefore be an xsd:nonNegativeInteger . \n Requirement (2): The index of the subject string MUST be calculated relative to the nif:referenceContext of the subject. If available, this is the rdf:Literal of the nif:isString property." ;
rdfs:domain nif:String ;
rdfs:label "end index"@en ;
rdfs:range xsd:nonNegativeInteger ;
owl:versionInfo "1.0.2" .
nif:head a owl:DatatypeProperty ;
rdfs:comment "\n The first few chars of the nif:anchorOf. Typically used if the nif:anchorOf\n is to long for inclusion as RDF literal.\n "@en ;
rdfs:domain nif:String ;
rdfs:label "head"@en ;
owl:versionInfo "0.1.0" .
nif:sentimentValue a owl:DatatypeProperty ;
rdfs:comment "Between -1 negative and 1 positive "@en ;
rdfs:domain nif:String ;
rdfs:label "sentiment value" ;
rdfs:range xsd:decimal ;
owl:versionInfo "0.0.0" .
nif:dependency a owl:ObjectProperty ;
rdfs:comment "\n\t\tA dependency relation pointing from gov to dep.\n\t\tChangelog: \n\t\t* 0.1.0 initial commit of property \"dependency\"\n\t\t* 0.1.1 made the property subproperty of dependencyTrans\n "@en ;
rdfs:domain nif:String ;
rdfs:label "dependency"@en ;
rdfs:range nif:String ;
rdfs:subPropertyOf nif:dependencyTrans ;
owl:versionInfo "0.1.0" .
nif:tail rdfs:comment "\n The last few chars of the nif:anchorOf. Typically used if the nif:anchorOf\n is to long for inclusion as RDF literal.\n "@en ;
rdfs:domain nif:String ;
rdfs:label "tail"@en ;
owl:versionInfo "0.1.0" .
nif:previousSentence a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Sentence ;
rdfs:range nif:Sentence ;
rdfs:subPropertyOf nif:previousSentenceTrans ;
owl:versionInfo "0.1.1" .
nif:broaderContext a owl:ObjectProperty ;
rdfs:comment "This property should be used to express that one Context is contained in another Context, e.g. several sentences of a document are modelled indivudally and refer to the broader context of the whole document."@en ;
rdfs:domain nif:Context ;
rdfs:label "broader Context"@en ;
rdfs:range nif:Context ;
owl:versionInfo "0.1.0" .
nif:NormalizedContextOccurrence
a owl:Class .
nif:Context a owl:Class ;
rdfs:comment "The string that serves as a context for its substrings. The Unicode String given in the nif:isString property must be used to calculate the begin and endIndex for all nif:Strings that have a nif:referenceContext property to this URI. For further information, see http://svn.aksw.org/papers/2013/ISWC_NIF/public.pdf \n \n Changelog\n * 1.0.1. improved documentation\n * 1.0.2. merged inf model\n "@en ;
rdfs:label "Context"@en ;
rdfs:subClassOf nif:String ;
rdfs:subClassOf [ a owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty nif:isString
] ;
rdfs:subClassOf [ a owl:Restriction ;
owl:hasSelf true ;
owl:onProperty nif:referenceContext
] ;
owl:versionInfo "1.0.2" .
nif:oliaConf a owl:DatatypeProperty ;
rdfs:comment "The confidence is relative to the tool and can be between 0.0 and 1.0, it is for nif:oliaLink and therefore also for nif:oliaCategory.\n Changelog:\n 0.2.0 merged confidence for category and link\n "@en ;
rdfs:domain nif:String ;
rdfs:label "Confidence of OLiA tag" ;
rdfs:range xsd:decimal ;
owl:versionInfo "0.2.0" .
nif:stem a owl:DatatypeProperty ;
rdfs:comment "The stem(s) of the nif:String."@en ;
rdfs:domain nif:String ;
rdfs:label "stem"@en ;
rdfs:range xsd:string ;
owl:versionInfo "0.1.0" .
nif:String a owl:Class ;
rdfs:comment "Individuals of this class are a string, i.e. Unicode characters, who have been given a URI and are used in the subject of an RDF statement. \n This class is abstract and should not be serialized. \n \n NIF-Stanbol (nif-stanbol.ttl):\n subclassOf nifs:Annotation because it \"annotates\" strings for example with begin and end index. The class is similar to fise:TextAnnotation\n \n Changelog\n * 1.0.1. improved documentation\n * 1.0.2. merged inf and val model\n "@en ;
rdfs:label "String"@en ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty nif:referenceContext ;
owl:someValuesFrom nif:Context
] ;
owl:hasKey ( nif:referenceContext nif:beginIndex nif:endIndex ) ;
owl:subClassOf [ a owl:Restriction ;
owl:allValuesFrom nif:Context ;
owl:onProperty nif:referenceContext
] ;
owl:versionInfo "1.0.2" .
nif:nextWord a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Word ;
rdfs:range nif:Word ;
rdfs:subPropertyOf nif:nextWordTrans ;
owl:inverseOf nif:previousWord ;
owl:versionInfo "0.1.1" .
nif:taMsClassRef a owl:AnnotationProperty ;
rdfs:comment "This property marks the most specific class from itsrdf:taClassRef. The rule is: from the set S of itsrdf:taClassRef attached to this resource taMscRef points to the one that does not have any subclasses in the set S except itself. So if taClassRef is owl:Thing, dbo:Agent, dbo:Person, dbp:Actor taMsClassRef is dbo:Actor "@en ;
rdfs:label "most specific class reference"@en ;
owl:versionInfo "0.1.0" .
nif:CollectionOccurrence
a owl:Class .
nif:Paragraph a owl:Class ;
rdfs:comment "\n A paragraph.\n Changelog:\n * 0.1.1 fixed spelling, added language tag\n "@en ;
rdfs:label "Paragraph"@en ;
rdfs:subClassOf nif:Structure ;
owl:versionInfo "0.1.1" .
nif: a owl:Ontology ;
rdfs:comment "The NLP Interchange Format (NIF) is an RDF/OWL-based format that aims to achieve interoperability between Natural Language Processing (NLP) tools, language resources and annotations. NIF consists of specifications, ontologies and software, which are combined under the version identifier \"2.0\", but are versioned individually. This ontology is developed by the NLP2RDF project (http://nlp2rdf.org) and provided as part of NIF 2.0 under CC-BY license as well as Apache 2.0. The ontology contains seven core URIs (String, RFC5147String, Context, isString, referenceContext, beginIndex, endIndex) that provide the foundation to express NLP annotations effectively in RDF."@en ;
rdfs:isDefinedBy , , ;
rdfs:label "NIF 2.0 Core Ontology"@en ;
dc:contributor "Martin Brümmer" , "Navid Nourbakhsh" ;
dc:creator "Sebastian Hellmann" ;
dc:description "For a more concise description about NIF, we refer the reader to the ISWC 2013 in Use paper: Integrating NLP using Linked Data by Sebastian Hellmann, Jens Lehmann, Sören Auer, and Martin Brümmer available at: http://svn.aksw.org/papers/2013/ISWC_NIF/public.pdf Also the NLP2RDF project page (http://nlp2rdf.org) provides more general documentation and pointers.\n The NIF 2.0 Core Ontology (http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#) provides classes and properties to describe the relations between substrings, text, documents by assigning URIs to strings. These URIs can then be used as subjects in RDF triples and therefore they can be annotated easily. The NIF 2.0 Core Specification defines how such URIs are created and used: http://persistence.uni-leipzig.org/nlp2rdf/specification/core.html and it makes sense to read this document first, so you can understand the definitions in this ontology better. \n \n The main class in this ontology is nif:String, which is the class of all words over the alphabet of Unicode characters (sometimes called Σ∗). We built NIF upon the Unicode Normalization Form C, as this follows the recommendation of the RDF standard for rdf:Literal. Indices are to be counted in code units as is common in most programming language and SPARQL engines ( see 17.4.3.2 STRLEN and 17.4.3.3 SUBSTR on http://www.w3.org/TR/sparql11-query/). \n \n Each URI Scheme (nif:URIScheme) used to address strings is a subclass of nif:String and puts further restrictions over the syntax of the URIs. For example, instances of type nif:RFC5147String have to adhere to the Syntax and Semantics of RFC 5147 (http://tools.ietf.org/html/rfc5147). Users of NIF can create their own URI schemes by subclassing nif:String and providing documentation on the Web in the rdfs:comment field.\n \n Another important subclass of nif:String is the nif:Context OWL class. This class is assigned to the whole string of the text (i.e. all characters). The purpose of an individual of this class is special, because the string of this individual is used to calculate the indices for all substrings. Therefore, all substrings have to have a relation nif:referenceContext pointing to an instance of nif:Context. Furthermore, the datatype property nif:isString can be used to include the reference text as a literal within the RDF as is required for the web service scenario. An example of NIF Core can be seen on the top left of the example Figure. \n\t\n\tOntology models\n\tThis ontology is split in different complimentary parts:\n\t* a terminological model (containing rdfs:comment, rdfs:label, rdfs:subClassOf, rdfs:subPropertyOf, rdfs:range and rdfs:domain statements)\n\t* an inference model (containing owl:TransitiveProperty, owl:hasKey), see nif-core-inf.ttl\n\t* a validation model (containing owl:FunctionalProperty, owl:DisjointWith), see nif-core-val.ttl\n\t* a Stanford profile model (containing a more complex structure)\n\tAn overview is given at the bottom of: http://persistence.uni-leipzig.org/nlp2rdf/ \n\n\tFeedback\n\tIf you'd like to leave feedback, please open an issue on GitHub (https://github.com/NLP2RDF/ontologies/issues) and read the README (https://github.com/NLP2RDF/ontologies#readme) or write an email to the mailing list: http://lists.informatik.uni-leipzig.de/mailman/listinfo/nlp2rdf\n\n\tVersioning process is explained here: http://persistence.uni-leipzig.org/nlp2rdf/specification/version.html Changelog is written to rdfs:comment (resource level versioning).\n"@en ;
dc:description ;
dc:publisher "AKSW, University Leipzig" ;
dc:rights "This ontology is licensed under Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) and CC-BY (http://creativecommons.org/licenses/by/3.0/)"@en ;
dcterms:license , ;
dcterms:title "NIF 2.0 Core Ontology"@en ;
;
"nif" ;
"http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#" ;
owl:versionInfo "Versioning done on resource level. See https://github.com/NLP2RDF/ontologies/blob/master/nif-core/nif-core.ttl" .
nif:NormalizedCollectionOccurrence
a owl:Class .
nif:lemma a owl:DatatypeProperty ;
rdfs:comment "The lemma(s) of the nif:String."@en ;
rdfs:domain nif:String ;
rdfs:label "lemma"@en ;
rdfs:range xsd:string ;
owl:versionInfo "0.1.0" .
nif:lang a owl:ObjectProperty ;
rdfs:comment "\n\tDefines the language of a substring of the context. If the language for the nif:Context should be specified, nif:predominantLanguage must be used. \n\tsee nif:predominantLanguage for more info.\n\t"@en ;
rdfs:domain nif:String ;
rdfs:domain [ a owl:Class ;
owl:complementOf nif:Context
] ;
rdfs:label "language of the string" ;
rdfs:range lvont:Language ;
owl:versionInfo "0.0.0" .
nif:oliaProv a owl:ObjectProperty ;
rdfs:comment "Links to the URI describing the provenance"@en ;
rdfs:domain nif:String ;
rdfs:label "Provenance of OLiA tag" ;
rdfs:range xsd:decimal ;
owl:versionInfo "0.1.0" .
nif:previousSentenceTrans
a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Sentence ;
rdfs:range nif:Sentence ;
owl:versionInfo "0.1.1" .
nif:literalAnnotation
a owl:DatatypeProperty ;
rdfs:comment "\n see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf page 21 .\n Changelog:\n * 0.1.1 Fixed page number\n "@en ;
rdfs:label "literalAnnotation"@en ;
owl:versionInfo "0.1.1" .
nif:subStringTrans a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "transitive version of subString\n \n Inferences (nif-core-inf.ttl): \n Transitive definition kept in a different ontology\n \n Changelog:\n * 0.1.0: Initial version\n * 0.1.1: merged inf\n "@en ;
rdfs:domain nif:String ;
rdfs:label "transitive version of subString"@en ;
rdfs:range nif:String ;
owl:versionInfo "0.1.1" .
nif:nextSentenceTrans
a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Sentence ;
rdfs:range nif:Sentence ;
owl:versionInfo "0.1.1" .
nif:dependencyTrans a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "\n\t\tChangelog: \n\t\t* 0.1.0 initial commit of property\n\t\t* 0.1.1 merged inf model\n "@en ;
rdfs:domain nif:String ;
rdfs:label "transitive version of dependency"@en ;
rdfs:range nif:String ;
rdfs:subPropertyOf nif:inter ;
owl:versionInfo "0.1.1" .
nif:ContextHashBasedString
a owl:Class ;
rdfs:comment " cf. https://www.google.de/search?q=Linked-Data+Aware+URI+Schemes+for+Referencing+Text" ;
rdfs:label "Context Hash Based String"@en ;
rdfs:subClassOf nif:URIScheme ;
owl:versionInfo "1.0.0" .
nif:contextAsLiteral rdfs:comment "\n The string that the nif:anchorOf is embedded in. FILTER ( strlen (nif:referenceContext [ nif:isString ] ) ) \n "@en ;
rdfs:domain nif:String ;
rdfs:label "contextAsLiteral"@en ;
owl:versionInfo "0.1.0" .
nif:category a owl:AnnotationProperty ;
rdfs:comment "A simple annotation for machine learning purposes. The object can be anything, e.g. the literal \"A. PRESS: Reportage\" from Brown or any URI. \n\tChangeLog:\n\t* 0.2.0 changed nif:class to nif:category due to conflict with Java \n\t"@en ;
rdfs:label "category" ;
owl:versionInfo "0.2.0" .
nif:URIScheme a owl:Class ;
rdfs:comment "A URI Scheme for NIF, subclasses need to define guidelines on the URI Scheme as well as the text it refers to. This class is just to keep some order, and should not be serialized. \n \n This is an abstract class and should not be serialized. \n \n Changelog:\n * 0.1.1 changed comment\n "@en ;
rdfs:label "URI Scheme"@en ;
rdfs:subClassOf nif:String ;
owl:versionInfo "0.1.1" .
nif:superString a owl:ObjectProperty ;
rdfs:comment "see nif:subString"@en ;
rdfs:domain nif:String ;
rdfs:label "super String"@en ;
rdfs:range nif:String ;
rdfs:subPropertyOf nif:superStringTrans ;
owl:versionInfo "0.1.0" .
nif:sourceUrl a owl:ObjectProperty ;
rdfs:comment "The URL the context was extracted from, e.g. the blog or news article url. Doesn't matter whether it is HTML or XML or plain text. rdfs:range is foaf:Document. Subproperty of prov:hadPrimarySource. In case the string comes from another NIF String and gives the exact provenance, please use nif:wasConvertedFrom or a subProperty thereof.\n Changelog:\n * 0.2.0 added subPropertyOf prov:hadPrimarySource\n * 0.2.1 clarification\n "@en ;
rdfs:domain nif:Context ;
rdfs:label "source URL"@en ;
rdfs:subPropertyOf prov:hadPrimarySource ;
owl:versionInfo "0.2.0" .
nif:annotation a owl:ObjectProperty ;
rdfs:comment "\n see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf page 21 .\n Changelog:\n * 0.1.1 Fixed page number\n "@en ;
rdfs:label "annotation"@en ;
owl:versionInfo "0.1.1" .
nif:Phrase a owl:Class ;
rdfs:comment "A nif:Phrase can be a nif:String, that is a chunk of several words or a word itself (e.g. a NounPhrase as a Named Entity). The term is underspecified and can be compatible with many defintitions of phrase. Please subClass it to specify the meaning (e.g. for Chunking or Phrase Structure Grammar). Example: ((My dog)(also)(likes)(eating (sausage))) \n Changelog:\n * 0.1.1 fixed spelling\n " ;
rdfs:label "Phrase"@en ;
rdfs:subClassOf nif:Structure ;
owl:versionInfo "0.1.1" .
nif:beginIndex a owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "The begin index of a character range as defined in http://tools.ietf.org/html/rfc5147#section-2.2.1 and http://tools.ietf.org/html/rfc5147#section-2.2.2, measured as the gap between two characters, starting to count from 0 (the position before the first character of a text). \n Example: Index \"2\" is the postion between \"Mr\" and \".\" in \"Mr. Sandman\".\n Note: RFC 5147 is re-used for the definition of character ranges. RFC 5147 is assuming a text/plain MIME type. NIF builds upon Unicode and is content agnostic. \n Requirement (1): This property has the same value the \"Character position\" of RFC 5147 and it MUST therefore be castable to xsd:nonNegativeInteger, i.e. it MUST not have negative values. \n Requirement (2): The index of the subject string MUST be calculated relative to the nif:referenceContext of the subject. If available, this is the rdf:Literal of the nif:isString property.\n \n Changelog: \n * 1.0.0: Introduced stable version.\n * 1.0.1: merged val+inf, added range\n " ;
rdfs:domain nif:String ;
rdfs:label "begin index"@en ;
rdfs:range xsd:nonNegativeInteger ;
owl:versionInfo "1.0.1" .
nif:Title a owl:Class ;
rdfs:comment "\n A title within a text.\n Changelog:\n * 0.1.1 fixed spelling, added language tag\n "@en ;
rdfs:label "Title"@en ;
rdfs:subClassOf nif:Structure ;
owl:versionInfo "0.1.1" .
nif:oliaLink a owl:ObjectProperty ;
rdfs:comment "This property links a string to a URI from one of the OLiA Annotation model, e.g. http://purl.org/olia/penn.owl#NNP \n \n Changelog\n 0.1.1 - added subproperty of nif:annotation as per http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf page 21 \n "@en ;
rdfs:domain nif:String ;
rdfs:label "OLiA link"@en ;
rdfs:subPropertyOf nif:annotation ;
owl:versionInfo "0.1.1" .
nif:subString a owl:ObjectProperty ;
rdfs:comment "This property together with nif:subString, nif:superString, and their transitive extension can be used to express that one string is contained in another one. Examples: \"a\" nif:subString \"apple\" , \"apple\" nif:subString \"apple\". The transitivity axioms are included in nif-core-inf.ttl and need to be included separately to keep a low reasoning profile. They are modeled after skos:broader and skos:broaderTransitive"@en ;
rdfs:domain nif:String ;
rdfs:label "sub string"@en ;
rdfs:range nif:String ;
rdfs:subPropertyOf nif:subStringTrans ;
owl:inverseOf nif:superString ;
owl:versionInfo "0.1.1" .
nif:opinion a owl:ObjectProperty ;
rdfs:comment "This property is used to link to a marl:Opinion. We have not investigated marl, so it might be replaced. http://marl.gi2mo.org/?page_id=1#overview . InverseOf marl:extractedFrom"@en ;
rdfs:domain nif:String ;
rdfs:label "opinion" ;
rdfs:range marl:Opinion ;
owl:inverseOf marl:extractedFrom ;
owl:versionInfo "0.0.0" .
nif:narrowerContext a owl:ObjectProperty ;
rdfs:comment "The inverse of nif:narrowerContext"@en ;
rdfs:domain nif:Context ;
rdfs:label "narrower Context"@en ;
rdfs:range nif:Context ;
owl:versionInfo "0.1.0" .
nif:word a owl:ObjectProperty ;
rdfs:comment "This property links sentences to their words."@en ;
rdfs:domain nif:Sentence ;
rdfs:label "has word"@en ;
rdfs:range nif:Word ;
owl:versionInfo "0.2.0" .
nif:wasConvertedFrom a owl:ObjectProperty ;
rdfs:comment "This property should be used, when mapping one nif:String or nif:Context to another and is often confused with nif:sourceUrl. \n While nif:sourceUrl is built on PROV-O and is used to link the nif:Context to the document URL for provenance information, nif:convertedFrom is more precise and pinpoints exact locations where a certain NIF String \"wasConvertedFrom\".\n nif:wasConvertedFrom is therefore used to provide *exact* provenance during a conversion process, e.g. when removing tags from XHTML and then linking XPath URIs to NIF index based URIs (e.g. RFC 5147 with char=x,y). An example of the usage of this property can be found here: http://www.w3.org/TR/its20/#conversion-to-nif\n \n Example \n # \"Dublin\"\n \n nif:wasConvertedFrom\n .\n "@en ;
rdfs:domain nif:String ;
rdfs:label "was converted from"@en ;
rdfs:range nif:String ;
rdfs:subPropertyOf prov:wasDerivedFrom ;
owl:versionInfo "0.1.0" .
nif:Word a owl:Class ;
rdfs:comment "\n The Word class represents strings that are tokens or words. A string is a Word, if it is a word. We don't nitpic about whether it is a a pronoun, a name, a punctuation mark or an apostrophe or whether it is separated by white space from another Word or something else. The string 'He enters the room.' for example has 5 words. Words are assigned by a tokenizer NIF Implementation. Single word phrases might be tagged as nif:Word and nif:Phrase. \n \n Example 1: \"The White House\" are three Words separated by whitespace\n \n Comment 1: We adopted the definition style from foaf:Person, see here: http://xmlns.com/foaf/spec/#term_Person We are well aware that the world out there is much more complicated, but we are ignorant about it, for the following reasons:\n Comment 2: \n \n 1. NIF has a client-server and the client has the ability to dictate the tokenization to the server (i.e. the NIF Implementation) by sending properly tokenized NIF annotated with nif:Word. All NIF Implementations are supposed to honor and respect the current assignment of the Word class. Thus the client should decide which NIF Implementation should create the tokenization. Therefore this class is not descriptive, but prescriptive.\n 2. The client may choose to send an existing tokenization to a NIF Implementation, with the capability to change (for better or for worse) the tokenization. \n \n \n \n The class has not been named 'Token' as the NLP definition of 'token' is descriptive (and not well-defined), while the assignment of what is a Word and what not is prescriptive, e.g. \"can't\" could be described as one, two or three tokens or defined as being one, two or three words. For further reading, we refer the reader to: By all these lovely tokens... Merging conflicting tokenizations by Christian Chiarcos, Julia Ritz, and Manfred Stede. Language Resources and Evaluation 46(1):53-74 (2012) or the short form: http://www.aclweb.org/anthology/W09-3005\n There the task at hand is to merge two tokenization T_1 and T_2 which is normally not the case in the NIF world as tokenization is prescribed, i.e. given as a baseline (Note that this ideal state might not be achieved by all implementations.)\n \n Changelog:\n * 0.1.1 fixed spelling\n * 0.2.1 added a proper definition.\n * 0.2.3 added examples and clarifications\n "@en ;
rdfs:label "Word"@en ;
rdfs:subClassOf nif:Structure ;
owl:versionInfo "0.2.2" .
nif:confidence a owl:DatatypeProperty ;
rdfs:comment "The confidence of an annotation as decimal between 0 and 1\n Changelog:\n * 0.0.1 initial commit of property"@en ;
rdfs:domain nif:Annotation ;
rdfs:label "confidence of annotation" ;
rdfs:range xsd:decimal ;
owl:versionInfo "0.0.1" .
nif:keyword a owl:DatatypeProperty ;
rdfs:comment "A general keyword associated with a string\n Changelog:\n * 0.0.1 initial commit of property"@en ;
rdfs:domain nif:String ;
rdfs:label "keyword" ;
rdfs:range xsd:string ;
owl:versionInfo "0.0.1" .
nif:CStringInst a owl:Class ;
rdfs:comment "An abitrary URI (e.g. a URN) for an arbitrary string of the context. This is roughly the same as TextAnnotations are currently implemented in Stanbol."@en ;
rdfs:label "Consecutive String Instantiation"@en ;
rdfs:subClassOf nif:CString ;
owl:versionInfo "0.0.0" .
nif:oliaCategory a owl:AnnotationProperty ;
rdfs:comment "This property links a string URI to classes of the OLiA Reference model. It provides a direct link for querying, thus it is a redundant optimization. \n Changelog:\n 0.1.1 - added subproperty of nif:classAnnotation as per http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf page 21 \n 0.1.2 - removed domain axiom for annotationproperty\n 0.1.3 - improved documentation\n "@en ;
rdfs:label "OLiA Category"@en ;
rdfs:subPropertyOf nif:classAnnotation ;
owl:versionInfo "0.1.3" .
nif:firstWord a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "This property links sentences to their first word.\n Changelog:\n * 0.1.1 merged inf+val\n "@en ;
rdfs:domain nif:Sentence ;
rdfs:label "has first word"@en ;
rdfs:range nif:Word ;
rdfs:subPropertyOf nif:word ;
owl:versionInfo "0.1.1" .
nif:classAnnotation a owl:AnnotationProperty ;
rdfs:comment "\n see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf page 12 .\n Changelog:\n * 0.1.1 Fixed page number\n "@en ;
rdfs:label "classAnnotation"@en ;
owl:versionInfo "0.1.1" .
nif:anchorOf a owl:DatatypeProperty ;
rdfs:comment "The string, which the URI is representing as an RDF Literal. Some use cases require this property, as it is necessary for certain sparql queries. " ;
rdfs:domain nif:String ;
rdfs:label "anchor of"@en ;
owl:versionInfo "1.0.0" .
nif:predLang a owl:ObjectProperty ;
rdfs:comment "\n\tDefines the predominant language of the text. If this annotation is given on a nif:Context, all NIF tools have to treat the text to be in this language unless specified differently for a subpart. To change the language for a smaller substring nif:lang must be used.\n\t\n\tThis property requires a uri as an argument. We expect this to be a URI from the lexvo.org namespace, e.g. http://lexvo.org/id/iso639-3/eng using ISO639-3 \n\t\n\t\n\tExamples\n\t\"The dealer says: \"Rien ne va plus!\" \"\n\thas nif:predomintLanguage http://lexvo.org/id/iso639-3/eng and nif:lang http://www.lexvo.org/page/iso639-3/fra\n\t\n\tsee also: http://www.w3.org/TR/its20/#selection-local\n\t\n\tTests for RDFUnit (not written yet):\n\t- write a test for RDFUnit, so people do not use http://www.lexvo.org/page/iso639-3/eng \n\t\n\t"@en ;
rdfs:domain nif:Context ;
rdfs:label "predominant language" ;
rdfs:range lvont:Language ;
owl:versionInfo "0.0.0" .
nif:topic a owl:DatatypeProperty ;
rdfs:comment "The topic of a string\n Changelog:\n * 0.0.1 initial commit of property"@en ;
rdfs:domain nif:String ;
rdfs:label "topic" ;
rdfs:range nif:Annotation ;
owl:versionInfo "0.0.1" .
nif:superStringTrans a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "see nif:subStringTrans" ;
rdfs:domain nif:String ;
rdfs:label "transitive version of superString"@en ;
rdfs:range nif:String ;
owl:versionInfo "0.1.1" .
[ a owl:AllDisjointClasses ;
owl:members nif:CStringInst , nif:OffsetBasedString , nif:ContextHashBasedString , nif:RFC5147String
] .
nif:after a owl:DatatypeProperty ;
rdfs:comment "For each string you can include a snippet (e.g. 10-40 characters of text), that occurs immediately after the subject string." ;
rdfs:domain nif:String ;
rdfs:label "after"@en ;
owl:versionInfo "0.1.0" .
nif:dependencyRelationType
a owl:DatatypeProperty ;
rdfs:comment "String denoting the kind of dependency relation"@en ;
rdfs:domain nif:String ;
rdfs:label "dependency relation type" ;
rdfs:range xsd:string ;
owl:versionInfo "0.0.1" .
nif:previousWord a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Word ;
rdfs:range nif:Word ;
rdfs:subPropertyOf nif:previousWordTrans ;
owl:versionInfo "0.1.1" .
nif:nextWordTrans a owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:comment "see nif:nextSentence"@en ;
rdfs:domain nif:Word ;
rdfs:range nif:Word ;
owl:versionInfo "0.1.1" .
nif:CString a owl:Class ;
rdfs:comment "A URI Scheme for NIF which is able to refer to a single, consecutive string in a context. Note that any scheme subclassing this class, requires the existence of beginIndex, endIndex and referenceContext . \n This is an abstract class and should not be serialized. \n "@en ;
rdfs:label "Consecutive String"@en ;
rdfs:subClassOf nif:URIScheme ;
rdfs:subClassOf [ a owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty nif:beginIndex
] ;
rdfs:subClassOf [ a owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty nif:endIndex
] ;
owl:versionInfo "0.1.0" .
nif:Sentence a owl:Class ;
rdfs:comment "\n A sentence.\n Changelog:\n * 0.1.1 fixed spelling, added language tag\n "@en ;
rdfs:label "Sentence"@en ;
rdfs:subClassOf nif:Structure ;
owl:versionInfo "0.1.1" .
nif:Annotation a owl:Class ;
rdfs:comment "Individuals of this class are annotations of strings. This class can be used if an annotation statement has to be annotated with further information, like confidence or annotation provenance (like which tool produced the annotation). \n Changelog:\n * 0.0.1 initial commit of class"@en ;
rdfs:label "Annotation" ;
owl:versionInfo "0.0.1" .
nif:sentence a owl:ObjectProperty ;
rdfs:comment "This property links words and other structures to their sentence.\n Changelog:\n * 0.2.0 Changed domain from nif:Word to nif:Structure, not longer inverseOf nif:word"@en ;
rdfs:domain nif:Structure ;
rdfs:range nif:Sentence ;
owl:versionInfo "0.2.0" .
nif:OffsetBasedString
a owl:Class ;
rdfs:comment "cf. Linked-Data Aware URI Schemes for Referencing Text Fragments by Sebastian Hellmann, Jens Lehmann und Sören Auer in EKAW 2012 http://jens-lehmann.org/files/2012/ekaw_nif.pdf\n\t\n\trequires the existence of begin, endIndex and referenceContext\n\t\n\tChangelog: \n\t* 1.0.0 originally a plain text string was attached to this uri scheme, but this was removed later, because of complaints and complexity. \n\t* 1.1.0 subclassing of nif:CString\n "@en ;
rdfs:label "Offset-based String"@en ;
rdfs:subClassOf nif:CString ;
owl:versionInfo "1.1.0" .
nif:lastWord a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "This property links sentences to their last word.\n\t Changelog:\n\t * 0.1.1 fixed label\n\t * 0.1.2 merged inf+val\n "@en ;
rdfs:domain nif:Sentence ;
rdfs:label "has last word"@en ;
rdfs:range nif:Word ;
rdfs:subPropertyOf nif:word ;
owl:versionInfo "0.1.2" .
nif:nextSentence a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "This property (and nif:previousSentence, nif:nextWord, nif:previousWord and their transitive extension) can be used to make resources of nif:Sentence and nif:Word traversable, it can not be assumed that no gaps or whitespaces between sentences or words exist, i.e. string adjacency is not mandatory. The transitivity axioms are included in nif-core-inf.ttl and need to be included separately to keep a low reasoning profile. They are modeled after skos:broader and skos:broaderTransitive\n "@en ;
rdfs:domain nif:Sentence ;
rdfs:range nif:Sentence ;
rdfs:subPropertyOf nif:nextSentenceTrans ;
owl:inverseOf nif:previousSentence ;
owl:versionInfo "0.1.1" .
nif:hasContext a owl:ObjectProperty ;
rdfs:comment "Links a nif:ContextCollection to its contexts. \n \n Changelog\n * 0.2.0. renamed property since a lot of people where too confused by nif:context\n "@en ;
rdfs:domain nif:ContextCollection ;
rdfs:label "has context"@en ;
rdfs:range nif:Context ;
owl:versionInfo "0.2.0" .
nif:isString a owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "The reference text as rdf:Literal for this nif:Context resource. \n NIF requires that the reference text (i.e. the context) is always included in the RDF as an rdf:Literal.\n Note, that the isString property is *the* place to keep the string itself in RDF.\n All other nif:Strings and nif:URISchemes relate to the text of this property to calculate character position and indices. \n \n Changelog\n * 1.0.0: Introduced stable version.\n * 1.0.1 improved documentation\n * 1.0.2: merged val+inf\n "@en ;
rdfs:domain nif:Context ;
rdfs:label "is string"@en ;
rdfs:subPropertyOf nif:anchorOf ;
owl:versionInfo "1.0.2" .
nif:referenceContext a owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "Links a URI of a string to its reference context of type nif:Context. The reference context determines the calculation of begin and end index\n Each String that is not an instance of nif:Context MUST have exactly one reference context. \n \n Inferences (nif-core-inf.ttl): \n Instances of nif:Context do have itself as reference context, this is inferred automatically, MAY be materialized, as well. \n \n OWL validation (nif-core-val.ttl): \n This property is functional.\n \n Changelog:\n * 1.0.0: Introduced stable version.\n * 1.0.1: merged val model\n "@en ;
rdfs:domain nif:String ;
rdfs:label "reference context"@en ;
rdfs:range nif:Context ;
owl:versionInfo "1.0.0" .