axiothOntology Hub

本体 / nif

NLP Interchange Format

原文(英语),来源:LOV 目录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.

命名空间 IRI
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#
类型
词表
领域
元数据与数据目录
版本
Versioning done on resource level. See https://github.com/NLP2RDF/ontologies/blob/master/nif-core/nif-core.ttl
许可证声明
This ontology is licensed under Apache 2.0 (http://www.apache.org/licenses/LICEN (定义文件)
标准或联系人
未登记
定义文件检查
文件已解析 · 2026年11月30日 UTC
采集来源
Linked Open Vocabularies (LOV)

速览

由已解析的定义文件自动得出,非人工撰写。

类
20
属性
52
文件中的三元组
468
关联
7
论文与标准
0

按定义文件中在自身命名空间内直接声明的术语统计,不含导入和推理。文件另声明了 0 个其他命名空间的术语。

核心类

子类关系和属性连接最多的类。

StringSentenceWordContextStructureConsecutive String

层级顶端

有子类、但在本文件中没有父类的类。

String

可以表达的内容

按“定义域—属性→值域”读取的属性。

  • StringinterString
  • Stringreference contextContext
  • SentencepreviousSentenceSentence
  • Sentencehas wordWord
  • WordpreviousWordTransWord
  • StringtopicAnnotation
  • StructuresentenceSentence
  • Contextbroader ContextContext

类层级

展开某个类即可逐层查看其子类。数字表示直接子类的数量。

  • String3
    • Structure5
      • Paragraph
      • Phrase
      • Sentence
      • Title
      • Word
    • URI Scheme2
      • Consecutive String3
        • Consecutive String Instantiation
        • Offset-based String
        • RFC 5147 String
      • Context Hash Based String
    • Context

类图

点击某个类可查看其原文定义和相关属性。拖动可平移,滚轮可缩放。

子类关系(子类指向父类)属性(定义域指向值域)

全部 20 个类
术语原文定义
String
nif:String
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. This class is abstract and should not be serialized. NIF-Stanbol (nif-stanbol.ttl): subclassOf nifs:Annotation because it "annotates" strings for example with begin and end index.
Sentence
nif:Sentence
A sentence. Changelog: * 0.1.1 fixed spelling, added language tag
Word
nif:Word
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
Context
nif:Context
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 Chang
Structure
nif:Structure
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. This is an abstract class
Consecutive String
nif:CString
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 . This is an abstract class and should not be serialized.
URI Scheme
nif:URIScheme
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. This is an abstract class and should not be serialized. Changelog: * 0.1.1 changed comment
Annotation
nif:Annotation
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). Changelog: * 0.0.1 initial commit of class
RFC 5147 String
nif:RFC5147String
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 ,
Context Collection
nif:ContextCollection
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. Open Issues Investigate ordered collections Changelog * 0.1.1 imp
Paragraph
nif:Paragraph
A paragraph. Changelog: * 0.1.1 fixed spelling, added language tag
Context Hash Based String
nif:ContextHashBasedString
cf. https://www.google.de/search?q=Linked-Data+Aware+URI+Schemes+for+Referencing+Text
Phrase
nif:Phrase
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
Title
nif:Title
A title within a text. Changelog: * 0.1.1 fixed spelling, added language tag
Consecutive String Instantiation
nif:CStringInst
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.
Offset-based String
nif:OffsetBasedString
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 requires the existence of begin, endIndex and referenceContext Changelog: * 1.0.0 originally a plain text string was attached to this uri schem
ContextOccurrence
nif:ContextOccurrence
未登记
NormalizedContextOccurrence
nif:NormalizedContextOccurrence
未登记
CollectionOccurrence
nif:CollectionOccurrence
未登记
NormalizedCollectionOccurrence
nif:NormalizedCollectionOccurrence
未登记
全部 52 个属性
术语原文定义
before
nif:before
For each string you can include a snippet (e.g. 10-40 characters of text), that occurs immediately before the subject string.
inter
nif:inter
This 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. Changelog: * 0.1.0 initial commit of prop
Part of speech tag
nif:posTag
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
previousWordTrans
nif:previousWordTrans
see nif:nextSentence
end index
nif:endIndex
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). Example: Index "2" is the postion between "Mr"
head
nif:head
The first few chars of the nif:anchorOf. Typically used if the nif:anchorOf is to long for inclusion as RDF literal.
sentiment value
nif:sentimentValue
Between -1 negative and 1 positive
dependency
nif:dependency
A dependency relation pointing from gov to dep. Changelog: * 0.1.0 initial commit of property "dependency" * 0.1.1 made the property subproperty of dependencyTrans
previousSentence
nif:previousSentence
see nif:nextSentence
broader Context
nif:broaderContext
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.
Confidence of OLiA tag
nif:oliaConf
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. Changelog: 0.2.0 merged confidence for category and link
stem
nif:stem
The stem(s) of the nif:String.
nextWord
nif:nextWord
see nif:nextSentence
most specific class reference
nif:taMsClassRef
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:Acto
lemma
nif:lemma
The lemma(s) of the nif:String.
language of the string
nif:lang
Defines the language of a substring of the context. If the language for the nif:Context should be specified, nif:predominantLanguage must be used. see nif:predominantLanguage for more info.
Provenance of OLiA tag
nif:oliaProv
Links to the URI describing the provenance
previousSentenceTrans
nif:previousSentenceTrans
see nif:nextSentence
literalAnnotation
nif:literalAnnotation
see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf‎ page 21 . Changelog: * 0.1.1 Fixed page number
transitive version of subString
nif:subStringTrans
transitive version of subString Inferences (nif-core-inf.ttl): Transitive definition kept in a different ontology Changelog: * 0.1.0: Initial version * 0.1.1: merged inf
nextSentenceTrans
nif:nextSentenceTrans
see nif:nextSentence
transitive version of dependency
nif:dependencyTrans
Changelog: * 0.1.0 initial commit of property * 0.1.1 merged inf model
category
nif:category
A simple annotation for machine learning purposes. The object can be anything, e.g. the literal "A. PRESS: Reportage" from Brown or any URI. ChangeLog: * 0.2.0 changed nif:class to nif:category due to conflict with Java
super String
nif:superString
see nif:subString
source URL
nif:sourceUrl
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 subP
annotation
nif:annotation
see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf‎ page 21 . Changelog: * 0.1.1 Fixed page number
begin index
nif:beginIndex
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). Example: Index "2" is the postion between "M
OLiA link
nif:oliaLink
This property links a string to a URI from one of the OLiA Annotation model, e.g. http://purl.org/olia/penn.owl#NNP Changelog 0.1.1 - added subproperty of nif:annotation as per http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf‎ page 21
sub string
nif:subString
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
opinion
nif:opinion
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
narrower Context
nif:narrowerContext
The inverse of nif:narrowerContext
has word
nif:word
This property links sentences to their words.
was converted from
nif:wasConvertedFrom
This property should be used, when mapping one nif:String or nif:Context to another and is often confused with nif:sourceUrl. 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
confidence of annotation
nif:confidence
The confidence of an annotation as decimal between 0 and 1 Changelog: * 0.0.1 initial commit of property
keyword
nif:keyword
A general keyword associated with a string Changelog: * 0.0.1 initial commit of property
OLiA Category
nif:oliaCategory
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. Changelog: 0.1.1 - added subproperty of nif:classAnnotation as per http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf‎ page 21 0.1.2 - removed domain axiom fo
has first word
nif:firstWord
This property links sentences to their first word. Changelog: * 0.1.1 merged inf+val
classAnnotation
nif:classAnnotation
see Towards Web-Scale Collaborative Knowledge Extraction http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf‎ page 12 . Changelog: * 0.1.1 Fixed page number
anchor of
nif:anchorOf
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.
predominant language
nif:predLang
Defines 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. This property requires a uri as an argument. We expect
topic
nif:topic
The topic of a string Changelog: * 0.0.1 initial commit of property
transitive version of superString
nif:superStringTrans
see nif:subStringTrans
after
nif:after
For each string you can include a snippet (e.g. 10-40 characters of text), that occurs immediately after the subject string.
dependency relation type
nif:dependencyRelationType
String denoting the kind of dependency relation
previousWord
nif:previousWord
see nif:nextSentence
nextWordTrans
nif:nextWordTrans
see nif:nextSentence
sentence
nif:sentence
This property links words and other structures to their sentence. Changelog: * 0.2.0 Changed domain from nif:Word to nif:Structure, not longer inverseOf nif:word
has last word
nif:lastWord
This property links sentences to their last word. Changelog: * 0.1.1 fixed label * 0.1.2 merged inf+val
nextSentence
nif:nextSentence
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 axi
has context
nif:hasContext
Links a nif:ContextCollection to its contexts. Changelog * 0.2.0. renamed property since a lot of people where too confused by nif:context
is string
nif:isString
The reference text as rdf:Literal for this nif:Context resource. NIF requires that the reference text (i.e. the context) is always included in the RDF as an rdf:Literal. Note, that the isString property is *the* place to keep the string itself in RDF. All other nif:Strings and nif:URISchemes relate to the text of this
reference context
nif:referenceContext
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 Each String that is not an instance of nif:Context MUST have exactly one reference context. Inferences (nif-core-inf.ttl): Instances of nif:Context do have itself as reference co

关联

定义文件或官方注册表中声明的关系。每行均标明依据。

rdfxsddcedctermsvannlvontprovNIF_CELLNIF_DYSFUNCTIONsdoworldavatar.changelogmarlnif

有明确关系的本体论文或标准代码仓库相似候选(自动计算)

查看依据表(7 行)
方向本体关系依据
本项 → 对方The RDF Concepts Vocabulary复用术语 (4 个术语)定义文件
type, first, rest
本项 → 对方XML Schema复用术语 (3 个术语)定义文件
string, nonNegativeInteger, decimal
本项 → 对方Dublin Core Metadata Element Set复用术语 (5 个术语)定义文件
contributor, creator, description
本项 → 对方DCMI Metadata Terms复用术语 (2 个术语)定义文件
license, title
本项 → 对方VANN: A vocabulary for annotating vocabulary descriptions复用术语 (3 个术语)定义文件
changes, preferredNamespacePrefix, preferredNamespaceUri
本项 → 对方Lexvo.org Ontology复用术语 (1 个术语)定义文件
Language
本项 → 对方PROV-O: The PROV Ontology复用术语 (2 个术语)定义文件
hadPrimarySource, wasDerivedFrom

相似候选

候选项按说明和术语标签中的共同词语排序,仅供进一步核查参考,不代表等价、兼容或官方关系。

相似本体

相似论文与标准

论文与标准

尚未关联论文或标准。没有论文并非缺陷,官方规范同样可以作为依据。

文件与代码仓库

检查记录

  1. 获取文件已完成
  2. 解析 RDF已完成
  3. 提取术语已完成

“已解析”仅表示文件可读,不保证逻辑一致性或建模质量。

定义文件检查
文件已解析
检查时间
2026年11月30日 UTC
格式
Turtle
解析器
n3
大小
43,788 B
SHA-256
208619e2593f36675869f1afe200d19b12161c3d0677a8e2c89c4e3ca41b12d6
备注
这是 LOV 存档的最新版本,并非直接从发布方获取的文件。

此词表的 LOV 页面