json-ld - playground
sandroacoelho opened this issue · comments
Sandro commented
_:b0 http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext _:b1 .
_:b1 http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#hasContext "http://freme-project.eu#offset_0_33" .
_:b1 http://purl.org/dc/terms/conformsTo "http://persistence.uni-leipzig.org/nlp2rdf/ontologies/org.unileipzig.persistence.nif-core/2.1" . (edited)
this is the only output generated by http://json-ld.org/playground/
so I can't reproduce
by @kurzum
Sandro commented
- "annotationUnit" was not properly mapped in our context
It was fixed. So the current output will be:
{
"@context": "http://www.jsonld-context.io/api/v1?ontology=http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core&ontology=http://www.w3.org/2005/11/its/rdf",
"@graph": [{
"@id": "b4ac3c64c1ac9b5d3178d2ec3ba101c7",
"@type": ["Context", "OffsetBasedString"],
"beginIndex": 0,
"endIndex": 33,
"isString": "Diego Maradona is from Argentina."
}, {
"@id": "b4a3fc77148b17cd21face1c1169353f",
"@type": "Annotation",
"taAnnotatorsRef": "http://freme-project.eu/tools/freme-ner",
"taClassRef": ["http://dbpedia.org/ontology/Place", "http://dbpedia.org/ontology/Location", "http://dbpedia.org/ontology/PopulatedPlace", "http://nerd.eurecom.fr/ontology#Location", "http://dbpedia.org/ontology/Country"],
"taConfidence": 0.9804963628413852,
"taIdentRef": "http://dbpedia.org/resource/Argentina",
"referenceContext": "b4ac3c64c1ac9b5d3178d2ec3ba101c7"
}, {
"@id": "ca6e4dcf014c81a0ced8b01d849a29c9",
"@type": "Annotation",
"taAnnotatorsRef": "http://freme-project.eu/tools/freme-ner",
"taClassRef": ["http://dbpedia.org/ontology/Person", "http://dbpedia.org/ontology/SportsManager", "http://dbpedia.org/ontology/SoccerManager", "http://nerd.eurecom.fr/ontology#Person"],
"taConfidence": 0.9869992701528016,
"taIdentRef": "http://dbpedia.org/resource/Diego_Maradona",
"referenceContext": "b4ac3c64c1ac9b5d3178d2ec3ba101c7",
"taMsClassRef": ["http://dbpedia.org/ontology/SoccerManager"]
}]
}