query-d69350b39ea540a5fe76e45ce4e7d528

rq turtle/ttl

VIAF identifiers where VIAF is not a referenceExample: (as of writing) the VIAF identifier has no explicit reference to the VIAF catalogueHere in Q1009 the VIAF identifier has an explicit reference in the VIAF catalogueHere in Q3951I obtain currently (7 December 2017) 778 000 results, the request takes 50s; and there are currently 361 316 VIAF identifiers with an explicit reference to the VIAF catalogue.

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?concept
WHERE {
  ?concept p:P214 ?v .
  FILTER NOT EXISTS {
    ?v prov:wasDerivedFrom ?ref .
    ?ref pr:P248 wd:Q54919 .
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?concept"):::projected v2("?ref") v1("?v") c3(["wd:Q54919"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"prov:wasDerivedFrom"--> e0v2 e0v2 --"p:reference/P248"--> e0c3 e0v2("?ref"):::projected e0v1("?v"):::projected e0c3(["wd:Q54919"]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 v1 --"prov:wasDerivedFrom"--> v2 v2 --"p:reference/P248"--> c3 v3 --"p:P214"--> v1