query-e6cc4dd79c007969097db70671f385f9

rq turtle/ttl

Psiĥedelisto

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?property ?propertyLabel ?refURL
WHERE
{

{
  SELECT ?item ?property ?refURL
  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 "*.philatlas.com" .
      bd:serviceParam mwapi:geulimit "max" .
      ?item wikibase:apiOutputItem mwapi:title .
    }


    ?item ?claim ?statement .
    ?property wikibase:claim ?claim .
    ?statement prov:wasDerivedFrom ?reference .
    ?reference pr:P854 ?refURL .
    FILTER CONTAINS(STR(?refURL),'philatlas.com') .
  }
}  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en"  }  
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?claim") v2("?item"):::projected v5("?property"):::projected v1("?refURL"):::projected v6("?reference") v4("?statement") c11(["title"]):::literal c3(["bd:serviceParam"]):::iri c15(["https"]):::literal c5(["www.wikidata.org"]):::literal c19(["max"]):::literal c13(["0"]):::literal c17(["*.philatlas.com"]):::literal c9(["exturlusage"]):::literal c27(["#91;AUTO_LANGUAGE#93;,en"]):::literal c21(["mwapi:title"]):::iri c7(["Generator"]):::literal f0[["contains(str(?refURL),'philatlas.com')"]] 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"--> c17 c3 --"mwapi:geulimit"--> c19 v2 --"mwapi:apiOutputItem"--> c21 end v2 -->v3--> v4 v5 --"mwapi:claim"--> v3 v4 --"prov:wasDerivedFrom"--> v6 v6 --"pr:P854"--> v1 subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c3 --"mwapi:language"--> c27 end