Wednesday 30 September 2020

 Querey

SELECT ?image 

WITH

{

  SELECT ?item

  WHERE

  {

    SERVICE <https://query.wikidata.org/sparql>

    {

      ?item wdt:P39 wd:Q11696 .  # position held: President of the United States

    }

  } 

} AS %get_items

WHERE

{

  INCLUDE %get_items

  ?image wdt:P180 ?item .

  FILTER NOT EXISTS { ?image rdfs:label ?label. FILTER (LANG(?label) = "ml") }

}

0 comments:

Post a Comment