query-8fd8c2feb45a81a6c41e1b7c8a7a8a3a

rq turtle/ttl

URL contains SELECT ?p ?db WHERE { ?p p:P569 [ps:P569 ?db; prov:wasDerivedFrom [pr:P854 ?site] ]. MINUS { ?p wdt:P570 ?dd . } FILTER(CONTAINS(STR(?site),"viaf.org/viaf/")) } LIMIT 10

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
#URL contains
SELECT ?p ?db
WHERE {
  ?p p:P569 [ps:P569 ?db; prov:wasDerivedFrom [pr:P854 ?site] ].
  MINUS { ?p wdt:P570 ?dd . }
  FILTER(CONTAINS(STR(?site),"viaf.org/viaf/"))
}
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?db"):::projected v4("?dd") v3("?p"):::projected v1("?site") a1((" ")) a2((" ")) f0[["contains(str(?site),'viaf.org/viaf/')"]] f0 --> v1 a1 --"p:statement/P569"--> v2 a2 --"p:reference/P854"--> v1 a1 --"prov:wasDerivedFrom"--> a2 v3 --"p:P569"--> a1 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v3 --"p:direct/P570"--> v4 end