dbpedia-spotlight/dbpedia-spotlight — pull request #130 by kenda (2012-12-27 23:43:20+00:00)
Title: Update NIF output to NIF2.0

This pull request includes two changes:
* Finishing the context-hash uri method
* Updating the NIF output according to the NIF2.0 spec which is described in this [paper](http://svn.aksw.org/papers/2012/PeoplesWeb/public_preprint.pdf)

Example of the NIF2.0 output:
Input: `The oil giant Petrobras and U.S. oilfield service company Halliburton trade oil.`
Output:
```
@prefix rdf: .
@prefix itsrdf: .
@prefix str: .

str:isString "The oil giant Petrobras and U.S. oilfield service company Halliburton trade oil." ;
a str:OffsetBasedString , str:Context .

itsrdf:disambigIdentRef ;
a str:OffsetBasedString , str:String ;
str:referenceContext .

itsrdf:disambigIdentRef ;
a str:OffsetBasedString , str:String ;
str:referenceContext .

itsrdf:disambigIdentRef ;
a str:OffsetBasedString , str:String ;
str:referenceContext .
```
/cc @kurzum