query-a42a758ddfb60a631d4215d7278f1bcb

rq turtle/ttl

Syced(P1259)coordinates of the point of view Tagishsimon(Q6172932)Jeep Wrangler Unlimited

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?P180 ?file
WHERE
{

{
  SELECT ?P180 ?file
  WHERE 
  {
    ?file wdt:P180 ?P180 .
    SERVICE wikibase:box
    {
      ?file wdt:P1259 ?location .
      bd:serviceParam wikibase:cornerWest "Point(-121.872777777 37.304166666)"^^geo:wktLiteral .
      bd:serviceParam wikibase:cornerEast "Point(-121.486111111 38.575277777)"^^geo:wktLiteral .
    }
  }
}  SERVICE <https://query.wikidata.org/sparql>
  {
    OPTIONAL { ?P180 wdt:P18 ?img }
    FILTER (!BOUND(?img))
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?P180"):::projected v1("?file"):::projected v4("?img") v3("?location") c6([sPoint(-121.872777777 37.304166666)^^<http://www.opengis.net/ont/geosparql#wktLiteral>"]):::literal c4(["bd:serviceParam"]):::iri c8([sPoint(-121.486111111 38.575277777)^^<http://www.opengis.net/ont/geosparql#wktLiteral>"]):::literal v1 --"wdt:P180"--> v2 subgraph s1["http://wikiba.se/ontology#box"] style s1 stroke-width:4px; v1 --"wdt:P1259"--> v3 c4 --"wikibase:cornerWest"--> c6 c4 --"wikibase:cornerEast"--> c8 end subgraph s2["https://query.wikidata.org/sparql"] style s2 stroke-width:4px; f0[["not bound(?img)"]] f0 --> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v4 end end