Retrieve all NamedEntities that have a corresponding NNE

Documentation: 

Returns all NamedEntities that have a corresponding NNE.

Statement: 

Limit: $limit$

Query: 
PREFIX ao: <http://purl.org/ao/> PREFIX w3: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX pao: <http://www.scai.fraunhofer.de/prominer/vocabular/pao#> PREFIX entity: <http://www.scai.fraunhofer.de/rdf/entity/> PREFIX prov: <http://www.w3.org/ns/prov#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX dc-term: <http://purl.org/dc/terms/> SELECT ?title ?namedEntity ?Tool WHERE { ?hit2 ao:context ?chemistry_ProMiner . ?chemistry_ProMiner <http://nlp2rdf.lod2.eu/schema/string/beginIndex> ?begin2 . ?chemistry_ProMiner <http://nlp2rdf.lod2.eu/schema/string/endIndex> ?end2 . ?hit2 w3:type pao:NamedEntity . ?run2 ao:item ?hit2 . ?run2 ao:item ?chemistry_ProMiner . ?hit2 ao:onSourceDocument ?document . ?document dc-term:title ?title . ?chemistry_ProMiner <http://purl.org/ao/selectors/exact> ?namedEntity . ?hit1 ao:context ?chemistry_ProMiner1 . ?chemistry_ProMiner1 <http://nlp2rdf.lod2.eu/schema/string/beginIndex> ?begin1 . ?chemistry_ProMiner1 <http://nlp2rdf.lod2.eu/schema/string/endIndex> ?end1 . ?hit1 w3:type pao:NormalizedNamedEntity . ?run1 ao:item ?hit1 . ?run1 ao:item ?chemistry_ProMiner1 . ?hit1 ao:onSourceDocument ?document . ?run1 prov:wasGeneratedBy ?Tool . FILTER (?begin1=?begin2 && ?end1=?end2) } LIMIT ??limit