query-dc7964833a26dd2b7a64305fae250424
Epìdosis
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
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/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?p ?db
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "exturlusage" .
bd:serviceParam mwapi:geuprop "title" .
bd:serviceParam mwapi:geunamespace "0" .
bd:serviceParam mwapi:geuprotocol "https" .
bd:serviceParam mwapi:geuquery "viaf.org/viaf/" .
bd:serviceParam mwapi:geulimit "max" .
?p wikibase:apiOutputItem mwapi:title .
}
?p p:P569 [ps:P569 ?db; prov:wasDerivedFrom [pr:P854 ?site] ].
MINUS { ?p wdt:P570 ?dd . }
FILTER(CONTAINS(STR(?site),"viaf.org/viaf/"))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?db"):::projected
v4("?dd")
v2("?p"):::projected
v1("?site")
a1((" "))
a2((" "))
c1(["viaf.org/viaf/"]):::literal
c11(["title"]):::literal
c3(["bd:serviceParam"]):::iri
c15(["https"]):::literal
c5(["www.wikidata.org"]):::literal
c18(["max"]):::literal
c13(["0"]):::literal
c9(["exturlusage"]):::literal
c20(["mwapi:title"]):::iri
c7(["Generator"]):::literal
f0[["contains(str(?site),'viaf.org/viaf/')"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:endpoint"--> c5
c3 --"mwapi:api"--> c7
c3 --"mwapi:generator"--> c9
c3 --"mwapi:geuprop"--> c11
c3 --"mwapi:geunamespace"--> c13
c3 --"mwapi:geuprotocol"--> c15
c3 --"mwapi:geuquery"--> c1
c3 --"mwapi:geulimit"--> c18
v2 --"mwapi:apiOutputItem"--> c20
end
a1 --"p:statement/P569"--> v3
a2 --"p:reference/P854"--> v1
a1 --"prov:wasDerivedFrom"--> a2
v2 --"p:P569"--> a1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"p:direct/P570"--> v4
end