Question: Official website of Nordic Regional Airlines and its English and German Wikipedia pages

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?airline ?airlineLabel ?wikipediaPage WHERE {
  ?airline wdt:P856 <http://flynorra.com/> .
  ?wikipediaPage schema:about ?airline ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) .
  ?airline rdfs:label ?airlineLabel .
  FILTER ( LANG( ?airlineLabel ) = "en" )
}

What are the English and German Wikipedia pages about the airline with official website flynorra.com?

Show me the English label of the airline that uses flynorra.com as its official website, along with its English and German Wikipedia pages.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flynorra.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flynorra.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flynorra.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flynorra.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flynorra.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flynorra.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Official website of Saudia and its English and German Wikipedia pages.

SELECT ?company ?companyLabel ?wikipedia_article WHERE { ?company wdt:P856 <https://www.saudia.com/> . ?wikipedia_article schema:about ?company ; schema:inLanguage ?lang . FILTER(?lang IN ("en", "de")) OPTIONAL { ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") } }

What are the English and German Wikipedia articles about Saudia, and what is its official website?

Show me the official website of Saudia and the corresponding English and German Wikipedia pages.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.saudia.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.saudia.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://saudia.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://saudia.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://saudia.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://saudia.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Official website of SKYbrary and its English and German Wikipedia pages.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?wikipediaPage WHERE {
  ?item wdt:P856 <https://www.skybrary.aero/> .
  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang ; schema:name ?itemLabel .
  FILTER(?lang = "en" || ?lang = "de")
}

What are the English and German Wikipedia articles about SKYbrary, and what is its official website?

Show me the English and German Wikipedia pages for SKYbrary along with its official website URL.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.skybrary.aero> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.skybrary.aero> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skybrary.aero> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skybrary.aero> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://skybrary.aero/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://skybrary.aero/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: West Air official website, English and German labels and descriptions

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?company ?companyLabel ?description WHERE {
  ?company wdt:P856 <http://www.chinawestair.com> .
  ?company rdfs:label ?companyLabel .
  FILTER(LANG(?companyLabel) = "en" || LANG(?companyLabel) = "de")
  .
  ?description schema:about ?company ; schema:inLanguage ?lang .
  FILTER(?lang = "en" || ?lang = "de")
}

What are the English and German labels and descriptions for the airline with the official website www.chinawestair.com?

Show me the English and German labels and descriptions for the airline that has www.chinawestair.com as its official website.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.westair.cn> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.westair.cn> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://westair.cn> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://westair.cn> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://westair.cn/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://westair.cn/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: People who died in Sucre and their dates of death

SELECT ?person ?personLabel ?deathDate ?deathPlace WHERE { ?person wdt:P570 ?deathDate . ?person wdt:P20 ?deathPlace . FILTER(?deathPlace = wd:Q2907) OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } } ORDER BY ?personLabel LIMIT 20

Who are the people that died in Sucre, and when did they die?

List the names and death dates of people who died in Sucre, in English.

SELECT ?var1 ?var2 ( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/statement/P20> <http://www.wikidata.org/entity/Q2907> . ?var1 <http://www.wikidata.org/prop/P20> ?var2 . } LIMIT 101 } OPTIONAL { ?var2 ?var3 ?var5 . ?var6 <http://wikiba.se/ontology#qualifier> ?var3 . } } GROUP BY ?var1 ?var2


Question: YouTube official website, English and German Wikipedia pages with labels

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?var1 ?var1Label ?var2 WHERE {
  ?var1 wdt:P856 <https://www.youtube.com/> .
  ?var2 schema:about ?var1 .
  {
    ?var2 schema:inLanguage "en" .
    BIND("YouTube" @en AS ?var1Label)
  } UNION {
    ?var2 schema:inLanguage "de" .
    BIND("YouTube" @de AS ?var1Label)
  }
}

What are the English and German Wikipedia pages about YouTube, and what are their labels in those languages?

Show me the English and German Wikipedia pages linked to YouTube's official website, along with the label for YouTube in each language.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/user/sueddeutsche/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the English and German labels of entities with official websites containing "entwickler.de"?

SELECT ?item ?itemLabel WHERE { ?item wdt:P856 ?url . FILTER(CONTAINS(STR(?url), "entwickler.de")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en" || LANG(?itemLabel) = "de") }

Show me the names of websites and their labels in English or German that have "entwickler.de" in their URL.

Which publications have a website related to entwickler.de, and what are their names in English and German?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entwickler.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://entwickler.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entwickler.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://entwickler.de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://entwickler.de/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://entwickler.de/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the English and German Wikipedia pages about YouTube, and what are their labels?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?var1 ?var1Label ?var2 WHERE {
  ?var1 wdt:P856 <https://www.youtube.com/> .
  ?var2 <http://schema.org/about> ?var1 .
  FILTER(REGEX(STR(?var2), "^https://(en|de)\\.wikipedia\\.org"))
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en" || LANG(?var1Label) = "de")
}

Which English and German Wikipedia articles discuss YouTube, and what are their labels in English and German?

Show me the English and German Wikipedia pages about YouTube along with their corresponding labels in English and German.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/channel/UC0GP1HDhGZTLih7B89z_cTg/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the date of birth and date of death of William Leigh, 2nd Baron Leigh?

SELECT ?personLabel ?birthDate ?deathDate WHERE { wd:Q27086914 rdfs:label ?personLabel . OPTIONAL { wd:Q27086914 wdt:P569 ?birthDate . } OPTIONAL { wd:Q27086914 wdt:P570 ?deathDate . } FILTER(LANG(?personLabel) = "en")}

Birth and death dates of William Leigh, 2nd Baron Leigh

Can you tell me when William Leigh, 2nd Baron Leigh was born and when he died?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q27086914> AS ?var1 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Official website of Der Farang and its English or German Wikipedia pages

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P856 <https://der-farang.com/> . ?var2 schema:about ?var1 ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en" || LANG(?var1Label) = "de") }

What is the official website of Der Farang, and which English or German Wikipedia pages are about it?

Show me the label and associated English or German Wikipedia pages for the entity with the official website der-farang.com.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-farang.com/de> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.der-farang.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.der-farang.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-farang.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-farang.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-farang.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-farang.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-farang.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-farang.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://der-farang.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://der-farang.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Wikipedia pages about YouTube in English or German

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?youtube ?wikipediaPage WHERE {
  ?youtube wdt:P856 <https://www.youtube.com/> .
  ?wikipediaPage schema:about ?youtube .
  ?wikipediaPage schema:inLanguage ?lang .
  FILTER ( ?lang IN ( "en" , "de" ) )
}

What Wikipedia and Wikimedia pages in English or German are about YouTube?

Show me all English and German Wikipedia pages that discuss YouTube, given that YouTube’s official website is youtube.com.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/user/sunnexdesk/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What Wikipedia and Wikinews pages in English or German are about YouTube, and what is YouTube’s official website?

SELECT ?var1 ?var1Label ?var2 WHERE { VALUES ?officialSite { <https://www.youtube.com/> <https://youtube.com/> <http://www.youtube.com/> <http://youtube.com/> } ?var1 wdt:P856 ?officialSite . ?var2 schema:about ?var1 . ?var2 schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en" || LANG(?var1Label) = "de") }

Which English and German-language Wikimedia pages discuss YouTube, and what is YouTube’s official URL?

List all English and German Wikipedia, Wikinews, and other Wikimedia pages that are about YouTube, along with YouTube’s official website and its labels in English or German.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/user/businessinsider/videos> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://youtube.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://youtube.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Shutterstock official website and its English and German Wikipedia pages

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel ?wikipediaArticle WHERE {
  ?entity wdt:P856 <http://www.shutterstock.com/> .
  ?wikipediaArticle schema:about ?entity ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) ?entity rdfs:label ?entityLabel .
  FILTER ( LANG( ?entityLabel ) = "en" )
}

What are the English and German Wikipedia articles about Shutterstock, and what is its official website?

Show me the official website of Shutterstock and its corresponding Wikipedia articles in English and German.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.shutterstock.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.shutterstock.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://shutterstock.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://shutterstock.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://shutterstock.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://shutterstock.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Wikipedia articles in English or German about Flickr

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage WHERE {
  VALUES ?officialSite {
    <https://www.flickr.com> <https://flickr.com> <http://www.flickr.com> <http://flickr.com>
  }
  ?item wdt:P856 ?officialSite .
  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang ;
  FILTER ( STRSTARTS( STR( ?wikipediaPage ) , "https://en.wikipedia.org/" ) || STRSTARTS( STR( ?wikipediaPage ) , "https://de.wikipedia.org/" ) )
}

What are the English and German Wikipedia pages about the entity with the official website flickr.com?

Show me the English and German Wikipedia articles linked to Flickr’s official website.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flickr.com/services/api/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.flickr.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.flickr.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flickr.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flickr.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.flickr.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.flickr.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flickr.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flickr.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://flickr.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://flickr.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Show all places associated with Michael S. Engel, their coordinates, images, and the nature of their relationship to him in English.

SELECT DISTINCT ?image ?place ?placeLabel ?coordinates ?relationshipLabel WHERE { wd:Q2348034 ?prop ?place . OPTIONAL { ?place wdt:P18 ?image . } { ?place p:P159 / pq:P625 ?coordinates . } UNION { ?place wdt:P276 ?location . ?location wdt:P625 ?coordinates . } UNION { ?place wdt:P625 ?coordinates . } ?propertyEntity wikibase:directClaim ?prop . ?propertyEntity rdfs:label ?relationshipLabel . FILTER(LANG(?relationshipLabel) = "en") }

What are the locations linked to Michael S. Engel, their geographic coordinates, and what type of relationship do they have with him (e.g., employer, educated at)?

Please list all institutions and places connected to Michael S. Engel, including their coordinates and images where available, along with the English labels of the relationships (like “educated at” or “employer”).

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q2348034> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . }


Question: What are the English names of all countries in Wikidata?

SELECT ?country ?countryLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } LIMIT 100

List the English labels for entities classified as countries.

Show me the names of countries in English.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } LIMIT 100


Question: EU member states by population, with capital cities and coordinates

SELECT ?country ?countryLabel ?population ?capital ?capitalCoordinates WHERE { ?country wdt:P463 wd:Q458 . OPTIONAL { ?country wdt:P1082 ?population . } OPTIONAL { ?country wdt:P36 ?capital . } OPTIONAL { ?capital wdt:P625 ?capitalCoordinates . } ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } ORDER BY DESC(?population)

Which countries are members of the European Union, and what are their populations and capital city coordinates, sorted from most to least populous?

Show me the list of European Union member states, their populations, and the geographic coordinates of their capitals, ordered by population in descending order.

SELECT ?var1 ?var1Label ( MAX ( ?var2 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var5 )( MAX ( ?var6 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q185441> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P36> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P625> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )


Question: Spanish names of all countries.

SELECT ?country ?label WHERE { ?country wdt:P31 wd:Q6256 . ?country rdfs:label ?label . FILTER (LANG(?label) = "es") }

What are the Spanish-language labels for all countries in Wikidata?

List all countries along with their names in Spanish.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . }


Question: What are the top 10 acting-related occupations among humans on Wikidata, ranked by how many people have them?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?occupation ?occupationLabel ( COUNT( ?human ) AS ?count ) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER ( LANG( ?occupationLabel ) = "en" ) FILTER ( CONTAINS( STR( LCASE( ?occupationLabel ) ) , "actor" ) )
}
GROUP BY ?occupation ?occupationLabel
ORDER BY DESC ( ?count )
LIMIT 10

Which occupations with "actor" in their English label are the most common among humans, and how many people have each?

Show me the most popular actor professions, like film actor or voice actor, along with their counts, based on Wikidata entries.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT ( ?var3 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P106> ?var1 . FILTER ( ( ( ?var1Label = "actor" ) ) ) . } GROUP BY ?var1 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY DESC( ?var2 ) LIMIT 10


Question: Subtypes of cache up to 4 levels deep with their parent types

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?subclass ?subclassLabel ?parent WHERE {
  {
    ?subclass wdt:P279 wd:Q165596 .
    OPTIONAL {
      ?subclass wdt:P279 ?parent
    }
  } UNION {
    ?subclass wdt:P279 ?level1 .
    ?level1 wdt:P279 wd:Q165596 .
    OPTIONAL {
      ?subclass wdt:P279 ?parent
    }
  } UNION {
    ?subclass wdt:P279 ?level2 .
    ?level2 wdt:P279 ?level1 .
    ?level1 wdt:P279 wd:Q165596 .
    OPTIONAL {
      ?subclass wdt:P279 ?parent
    }
  } UNION {
    ?subclass wdt:P279 ?level3 .
    ?level3 wdt:P279 ?level2 .
    ?level2 wdt:P279 ?level1 .
    ?level1 wdt:P279 wd:Q165596 .
    OPTIONAL {
      ?subclass wdt:P279 ?parent
    }
  }
  ?subclass rdfs:label ?subclassLabel .
  FILTER(LANG(?subclassLabel) = "en")
}

What are the different types of cache and their immediate parent categories, up to four levels of hierarchy?

List all cache types and their direct parent classes within four levels of subclass relationships, in English.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q165596> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1039> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1039> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are all the parent categories (direct and indirect) of a catalogue in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?ancestor ?ancestorLabel WHERE {
  wd:Q2352616 wdt:P279 * ?ancestor .
  ?ancestor rdfs:label ?ancestorLabel .
  FILTER(LANG(?ancestorLabel) = "en")
}
LIMIT 100

Can you list all the classes that a catalogue belongs to, including broader categories like written work and reference work?

Show me the full hierarchy of classes above "catalogue" in Wikidata, up to the most general categories.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q2352616> AS ?var2 ). ?var2 <http://www.wikidata.org/prop/direct/P279> * ?var1 . }


Question: Who are some humans that work as actors, film directors, screenwriters, or other film and television professionals?

SELECT ?person ?personLabel WHERE { VALUES ?occupation { wd:Q33999 wd:Q10800557 wd:Q2405480 wd:Q2259451 wd:Q3455803 wd:Q2526255 wd:Q3282637 wd:Q28389 wd:Q578109 wd:Q10798782 wd:Q36180 wd:Q482980 wd:Q6625963 wd:Q1053574 } ?person wdt:P31 wd:Q5 . ?person wdt:P106 ?occupation . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 10

List 10 people who are humans and have occupations such as actor, film producer, writer, or executive producer.

Can you show me names of people whose professions include any of these: actor, director, screenwriter, or film producer?

SELECT ?var1 ?var1Label WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q33999> ) ( <http://www.wikidata.org/entity/Q10800557> ) ( <http://www.wikidata.org/entity/Q2405480> ) ( <http://www.wikidata.org/entity/Q2259451> ) ( <http://www.wikidata.org/entity/Q3455803> ) ( <http://www.wikidata.org/entity/Q2526255> ) ( <http://www.wikidata.org/entity/Q3282637> ) ( <http://www.wikidata.org/entity/Q28389> ) ( <http://www.wikidata.org/entity/> ) ( <http://www.wikidata.org/entity/Q578109> ) ( <http://www.wikidata.org/entity/Q10798782> ) ( <http://www.wikidata.org/entity/Q36180> ) ( <http://www.wikidata.org/entity/Q6625963> ) ( <http://www.wikidata.org/entity/Q482980> ) ( <http://www.wikidata.org/entity/Q1053574> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . } LIMIT 10


Question: List 100 humans with their Chinese labels.

SELECT DISTINCT ?human ?label WHERE { ?human wdt:P31 wd:Q5 . ?human rdfs:label ?label . FILTER (LANG(?label) = "zh") } LIMIT 100

Who are some humans, and what are their names in Chinese?

Show me up to 100 human individuals along with their Chinese-language names.

SELECT DISTINCT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( LANG ( ?var2Label ) = "zh" ) ) ) . } LIMIT 100


Question: English label, description, and image of Paris

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label ?description ?image WHERE {
  OPTIONAL {
    wd:Q90 rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" )
  }
  OPTIONAL {
    wd:Q90 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q90 schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the English name, description, and image of Paris?

Show me the English label, description, and Wikimedia Commons image for Paris.

SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q90> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q90> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q90> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } }


Question: Populations of cities in Wikidata

SELECT ?population WHERE { ?city wdt:P31 wd:Q515 . OPTIONAL { ?city wdt:P1082 ?population . } } LIMIT 100

What are the populations of 100 cities listed in Wikidata?

Show me the population values for 100 cities, using Wikidata’s data on human population.

SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,bg,en". } ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1082> ?var2 . } } LIMIT 100


Question: Labels for Antonio I of Monaco in Italian, English, German, and French, along with his image and Italian Wikipedia page.

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?label ?image ?coordinates ?wikipediaArticle WHERE {
  VALUES ( ?lang ?priority ) {
    ( "it" 1 ) ( "en" 2 ) ( "de" 3 ) ( "fr" 4 )
  }
  wd:Q586426 rdfs:label ?label .
  FILTER ( LANG( ?label ) = ?lang ) OPTIONAL {
    wd:Q586426 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q586426 wdt:P625 ?coordinates .
  }
  OPTIONAL {
    ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q586426 ; schema:inLanguage "it" ; schema:isPartOf <https://it.wikipedia.org/> .
  }
}
ORDER BY ?priority

What are the names of Antonio I, Prince of Monaco, in Italian, English, German, and French, and what is his image and Italian Wikipedia article?

Show me the multilingual labels (in Italian, English, German, French) for Antonio I of Monaco, his image from Wikimedia Commons, and the link to his Italian Wikipedia page, sorted by language priority.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q586426> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( "it""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q586426> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q586426> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q586426> ; <http://schema.org/inLanguage> "it"; <http://schema.org/isPartOf> <https://it.wikipedia.org/> . } } ORDER BY ASC( ?var6 )


Question: What properties are most commonly used to link items to dolmens in Wikidata, and how many times are they used?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q101659 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which relationships connect other entities to the dolmen (Q101659), and which ones appear more than once?

Show me the top properties that reference dolmens, ordered by frequency, excluding those used only once.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q101659> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: Places in southern Europe with coordinates between 5°E–14°E and 39°N–43°N, their images, and Wikimedia Commons categories.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?location ?image ?commonsCategory WHERE {
  ?item wdt:P625 ?location .
  BIND(STRBEFORE(SUBSTR(STR(?location) , 7) , " ") AS ?lonStr)
  BIND(STRBEFORE(SUBSTR(STR(?location) , STRLEN(?lonStr) + 8) , ")") AS ?latStr)
  BIND(xsd:double(?lonStr) AS ?lon)
  BIND(xsd:double(?latStr) AS ?lat)
  FILTER(?lon >= 5 && ?lon <= 14 && ?lat >= 39 && ?lat <= 43)
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  OPTIONAL {
    ?item wdt:P373 ?commonsCategory .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
LIMIT 3000

What are the named locations in the region bounded by longitude 5 to 14 and latitude 39 to 43, along with their images and associated Wikimedia Commons categories?

List all places in Italy and nearby areas within the coordinates 5–14°E and 39–43°N, including their photos and Commons categories if available.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(5 39)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(14 43)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: What entities are subclasses of first-degree relatives, and what qualifiers are used on those statements?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?entity ?statement(SAMPLE(?qualifier) AS ?qualifierProperty) WHERE {
  ?entity p:P279 ?statement .
  ?statement ps:P279 wd:Q25098571 .
  OPTIONAL {
    ?statement ?qualifier ?value .
    ?qualifier wikibase:qualifier p:P279 .
  }
}
GROUP BY ?entity ?statement

Which entities are classified as subclasses of first-degree relatives in Wikidata, and are there any qualifier properties attached to those classifications?

List all entities that are subclasses of first-degree relatives along with any qualifier properties used in their statements.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q25098571> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: Which biological pathway in Wikidata has the ID WP2596 and is associated with humans?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?pathway WHERE {
  ?pathway wdt:P2410 "WP2596" ; wdt:P703 wd:Q15978631 .
}

What is the Wikidata item for the WikiPathways pathway WP2596 in Homo sapiens?

Find the Wikidata entry for the human gastric acid production pathway identified by WP2596.

SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP2596_r87520> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }


Question: How many Boijmans artists have exactly 4 statements, 5 statements, etc., in Wikidata?

SELECT ?statementCount (COUNT(*) AS ?itemsWithThatCount)
WHERE {
  {
    SELECT ?artist (COUNT(?p) AS ?statementCount)
    WHERE {
      ?artist wdt:P3888 ?id .
      ?artist ?p ?value .
      FILTER(STRSTARTS(STR(?p), "http://www.wikidata.org/prop/direct/"))
    }
    GROUP BY ?artist
  }
}
GROUP BY ?statementCount
ORDER BY ?statementCount

Can you show the distribution of the number of statements among artists with a Boijmans artist ID?

For artists in the Museum Boijmans Van Beuningen collection, how many have 1 statement, 2 statements, and so on?

SELECT ?var1 ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P3888> ?var4 ; <http://wikiba.se/ontology#statements> ?var1 . } GROUP BY ?var1 ORDER BY ASC( ?var1 )


Question: Locations of terrorist attacks in Europe classified as Islamic terrorism.

SELECT DISTINCT ?incident ?location WHERE { ?incident wdt:P361 wd:Q28220071 . ?incident wdt:P625 ?location .}

Where did incidents of Islamic terrorism occur in Europe?

Show me the geographic coordinates of all terrorist incidents in Europe that are categorized under Islamic terrorism.

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q28220071> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . }


Question: Administrative regions containing El Masnou

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?administrativeEntity ?administrativeEntityLabel WHERE {
  wd:Q12039 wdt:P131 * ?administrativeEntity .
  OPTIONAL {
    ?administrativeEntity rdfs:label ?administrativeEntityLabel .
    FILTER ( LANG( ?administrativeEntityLabel ) = "en" )
  }
}

What are the administrative areas that El Masnou belongs to, including itself?

List the English names of all administrative territories that El Masnou is part of, from the municipality up to the country level.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q12039> <http://www.wikidata.org/prop/direct/P131> * ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ca, en, es, ca". } }


Question: List of artists and institutions with Museum of Modern Art (MoMA) artist IDs and their English labels.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?itemLabel ?item ?momaId WHERE {
  ?item wdt:P2174 ?momaId .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}
LIMIT 100

Which artists and cultural entities have a Museum of Modern Art artist ID, and what are their English names?

Show me up to 100 entities that have a MoMA artist ID, along with their English labels and the corresponding MoMA ID numbers.

SELECT DISTINCT ?var1Label ?var2Label ?var1 ?var3 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2174> ?var3 . } } LIMIT 100


Question: Administrative regions containing the ABC Regional Radio Studio in Wagin.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?administrativeEntity ?administrativeEntityLabel WHERE {
  wd:Q38165593 ( wdt:P276 / wdt:P131 * ) ?administrativeEntity .
  ?administrativeEntity rdfs:label ?administrativeEntityLabel .
  FILTER ( LANG( ?administrativeEntityLabel ) = "en" )
}

What are all the administrative areas, from local to national, that include the ABC Regional Radio Studio?

List all the places, starting from Wagin up to Australia, that the ABC Regional Radio Studio is located within.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q38165593> ( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl, en, en". } }


Question: What are the administrative locations (from immediate to country level) where the Broletto in Brescia is located?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?location ?label WHERE {
  wd:Q3645259 ( wdt:P276 / wdt:P131 * ) ?location .
  ?location rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}

List the English names of all places that the Broletto in Brescia is part of, including its direct location and higher-level administrative divisions.

Where is the Broletto located? Show its location hierarchy up to Italy in English.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q3645259> ( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P131> *) ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl, en, it". } }


Question: Guadalupe places with GeoNames IDs or coordinates in English

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?label ?geonamesId ?coordinates WHERE {
  VALUES ?item {
    wd:Q24335 wd:Q695504 wd:Q938835 wd:Q985305 wd:Q1961298 wd:Q2315211 wd:Q2104157 wd:Q1525875 wd:Q2432014 wd:Q1552608
  }
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?item wdt:P1566 ?geonamesId .
  }
  OPTIONAL {
    ?item wdt:P625 ?coordinates .
  }
  FILTER ( BOUND( ?geonamesId ) || BOUND( ?coordinates ) )
}
LIMIT 200

Which cities named Guadalupe in English have either a GeoNames ID or geographic coordinates?

List the English-labeled Guadalupe cities along with their GeoNames IDs and coordinates.

SELECT DISTINCT ?var1 ?var2 ?var3Label ?var4 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var5 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . } FILTER ( ( !( isBLANK ( ?var5 ) ) || !( isBLANK ( ?var6 ) ) ) ) . VALUES ( ?var7 ) { ( "Guadalupe"@en ) ( "string1"@en ) ( "string2"@en ) ( "string3"@en ) } ?var1 ?var8 ?var7 . FILTER ( ( ?var8 IN ( <http://www.w3.org/2000/01/rdf-schema#label> , <http://www.w3.org/2004/02/skos/core#altLabel> , <http://www.wikidata.org/prop/direct/P1559> ) ) ) . { ?var1 ?var2 ?var4 . FILTER ( ( ?var2 IN ( <http://www.w3.org/2004/02/skos/core#altLabel> , <http://www.w3.org/2000/01/rdf-schema#label> , <http://www.wikidata.org/prop/direct/P373> , <http://schema.org/description> , <http://www.wikidata.org/prop/direct/P646> ) ) ) . FILTER ( ( isLITERAL ( ?var4 ) && ( LANG ( ?var4 ) = "" ) || LANGMATCHES ( LANG ( ?var4 ) , "EN" ) ) ) . OPTIONAL { ?var3 <http://wikiba.se/ontology#directClaim> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } } UNION { ?var1 ?var2 ?var9 . ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( !( isLITERAL ( ?var9 ) ) ) ) . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . OPTIONAL { ?var3 <http://wikiba.se/ontology#directClaim> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } } } LIMIT 2000


Question: Humans with Chinese labels and their English names

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?var1 ?var2Label ?var3Label WHERE {
  ?var1(wdt:P31 / wdt:P279 *) wd:Q5 .
  ?var1 rdfs:label ?var2Label .
  FILTER(LANG(?var2Label) = "zh")
  OPTIONAL {
    ?var1 rdfs:label ?var3Label .
    FILTER(LANG(?var3Label) = "en")
  }
}
LIMIT 100

Which humans have Chinese-language labels, and what are their English names?

Show me a list of humans with Chinese labels along with their English equivalents.

SELECT DISTINCT ?var1 ?var2Label ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var2Label ) = "zh" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: What is the label of the Wikidata item Q17140969, and in which language is it written?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?label ?language WHERE {
  wd:Q17140969 rdfs:label ?label .
  BIND(LANG(?label) AS ?language)
  FILTER(?language != "")
}

Can you tell me the name of the concept represented by Q17140969 and its language?

What is the French term for "gray literature" in Wikidata?

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q17140969> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "EN" ) ) ) . } LIMIT 1


Question: Image of Alice Spencer with SNAC ARK ID w6wh43cr

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?image WHERE {
  ?item wdt:P3430 "w6wh43cr" .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
}

What is the image associated with the SNAC ARK ID w6wh43cr?

Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w6wh43cr.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P3430> "w6wh43cr". OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } }


Question: Pinterest official website and its English and German Wikipedia descriptions.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel ?description ?language WHERE {
  ?entity wdt:P856 <https://www.pinterest.com/> .
  ?entity rdfs:label ?entityLabel .
  ?description schema:about ?entity .
  ?description schema:inLanguage ?language .
  FILTER(LANG(?entityLabel) IN("en" , "de"))
  FILTER(?language IN("en" , "de"))
}

What are the English and German labels and associated Wikipedia pages for Pinterest’s official website?

Show me the labels in English and German for Pinterest, along with the Wikipedia pages in those languages that describe it.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.pinalove.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.pinalove.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pinalove.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pinalove.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://pinalove.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://pinalove.com/> . } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE4737b, and what is their description?

SELECT ?item ?label ?description WHERE { ?item wdt:P4186 "AWE4737b" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the name and English description of the person identified by the Australian Women's Register ID AWE4737b?

Find the English label and description of the individual in the Australian Women's Register with ID AWE4737b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE4737b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the Australian Women's Register ID PR00599b, and what is their English description?

SELECT ?item ?label ?description WHERE { ?item wdt:P4186 "PR00599b" . ?item rdfs:label ?label . FILTER (LANG(?label) = "en") . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") . } }

What is the name and English description of the person with Australian Women's Register ID PR00599b?

Show me the English name and description of the individual listed in the Australian Women's Register with ID PR00599b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "PR00599b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE5258b, and what is their profession?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label ?description WHERE {
  ?item wdt:P4186 "AWE5258b" .
  OPTIONAL {
    ?item rdfs:label ?label .
    FILTER ( LANG( ?label ) = "en" )
  }
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}

What is the name and English description of the individual identified by the Australian Women's Register ID AWE5258b?

Please provide the English label and description of the person listed in the Australian Women's Register with ID AWE5258b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE5258b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the English label and description of the person with Australian Women's Register ID AWE5429b?

SELECT ?item ?label ?description WHERE { ?item wdt:P4186 "AWE5429b" . OPTIONAL { ?item rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

Who is Elizabeth Bolton, and what is her role according to the Australian Women's Register?

Please provide the English name and description of the individual identified by AWE5429b in the Australian Women's Register.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE5429b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE0129b, and what is their English description?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?person ?label ?description WHERE {
  ?person wdt:P4186 "AWE0129b" .
  OPTIONAL {
    ?person rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  OPTIONAL {
    ?person schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the person identified by AWE0129b in the Australian Women's Register?

Please provide the English name and description of the individual listed in the Australian Women's Register with ID AWE0129b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE0129b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: English label and description of Mavis Jackson in the Australian Women's Register

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?person ?label ?description WHERE {
  ?person wdt:P4186 "AWE0035b" .
  OPTIONAL {
    ?person schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
  ?person rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}

Who is the person with Australian Women's Register ID AWE0035b, and what is their English description?

Show me the English name and description of the person identified as AWE0035b in the Australian Women's Register.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE0035b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Rivers in Russia with Russian and Cebuano labels, their federal subjects, coordinates, and links to Russian and Cebuano Wikipedia pages.

SELECT ?river ?label_ru ?label_ceb ?has_ceb_wiki ?wiki_ru ?admin ?coord WHERE { ?river wdt:P31 wd:Q4022 . ?river wdt:P17 wd:Q159 . OPTIONAL { ?river wdt:P131 ?admin . ?admin (wdt:P31/wdt:P279*) wd:Q43263 . } OPTIONAL { ?river wdt:P625 ?coord . } OPTIONAL { ?river rdfs:label ?label_ru . FILTER ( LANG(?label_ru) = "ru" ) } OPTIONAL { ?river rdfs:label ?label_ceb . FILTER ( LANG(?label_ceb) = "ceb" ) } OPTIONAL { ?wiki_ceb schema:about ?river ; schema:isPartOf <https://ceb.wikipedia.org/> . BIND( BOUND(?wiki_ceb) AS ?has_ceb_wiki ) } OPTIONAL { ?wiki_ru schema:about ?river ; schema:isPartOf <https://ru.wikipedia.org/> . } } LIMIT 10

Which rivers in Russia have labels in both Russian and Cebuano, and what are their coordinates, federal subjects, and corresponding Wikipedia pages in Russian and Cebuano?

Show me a list of rivers in Russia, including their Russian and Cebuano names, the federal subject they’re located in, their geographic coordinates, and whether they have a Cebuano Wikipedia page, along with their Russian Wikipedia links.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q159> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var6 . ?var6 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43263> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var7 . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "ceb" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "ru" ) ) ) . } OPTIONAL { BIND ( ( ?var8 != "" ) AS ?var4 ). ?var8 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ceb.wikipedia.org/> . } OPTIONAL { ?var5 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://ru.wikipedia.org/> . } } LIMIT 10


Question: What is the English label and description of the person with Australian Women's Register ID AWE2960b?

SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4186 "AWE2960b" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = "en") } }

Who is identified by the ID AWE2960b in the Australian Women's Register, and what is their profession according to their English Wikipedia description?

Find the name and English description of the Australian woman registered in the Australian Women's Register with ID AWE2960b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE2960b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the most frequently used properties linking entities to Slovenia in Wikidata?

SELECT ?property (COUNT(?item) AS ?count) WHERE { ?item ?property wd:Q215 . } GROUP BY ?property HAVING (?count > 1) ORDER BY DESC(?count)

Which properties connect more than one item to Slovenia, and how many times are they used?

Can you list the properties that associate multiple entities with Slovenia, sorted by how often they’re used?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q215> . OPTIONAL { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . } } GROUP BY ?var1 HAVING ( ( ?var3 > "1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ORDER BY DESC( ?var3 )


Question: What is the birth date of Beat Takeshi?

SELECT ?birthDate WHERE { wd:Q26372 wdt:P569 ?birthDate . }

When was Takeshi Kitano, also known as Beat Takeshi, born?

Can you tell me the date of birth of the Japanese entertainer Beat Takeshi?

SELECT ?var1 WHERE { <http://ja.dbpedia.org/resource/ビートたけし> <http://dbpedia.org/ontology/birthDate> ?var1 . }


Question: List 10 American citizens with Hebrew labels and their English names.

SELECT ?person ?enLabel ?heLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P27 wd:Q30 . ?person rdfs:label ?enLabel . FILTER (LANG(?enLabel) = "en") . ?person rdfs:label ?heLabel . FILTER (LANG(?heLabel) = "he") . } LIMIT 10

Who are 10 U.S. citizens who have both an English and a Hebrew Wikipedia label?

Show me the English and Hebrew names of 10 people who are citizens of the United States.

SELECT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "he" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: French labels and descriptions of properties used to link entities to France.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?propertyItem ?label ?description WHERE {
  {
    SELECT DISTINCT ?property WHERE {
      ?item ?property wd:Q142 .
      FILTER(isIRI(?property))
    }
    LIMIT 100
  }
  BIND(IRI(REPLACE(STR(?property) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?propertyItem)
  .
  ?propertyItem rdfs:label ?label .
  ?propertyItem schema:description ?description .
  FILTER(LANG(?label) = "fr")
  FILTER(LANG(?description) = "fr")
}
LIMIT 100

Which properties in Wikidata are used to associate entities with France, and what are their French labels and descriptions?

Show me the French names and descriptions of all Wikidata properties that connect items to France.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <_:b0> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "fr" ) ) ) . } LIMIT 100


Question: Software that use path tracing algorithm

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1 ?var1Label ?var3 WHERE {
  ?var1 wdt:P2283 wd:Q72948 .
  OPTIONAL {
    ?var1 rdfs:label ?var1Label .
    FILTER(LANG(?var1Label) = "en")
  }
  OPTIONAL {
    ?var1 wdt:P18 ?var3 .
  }
}
LIMIT 100

Which software uses the path tracing method in computer graphics?

List the names of software that implement path tracing, along with their images if available.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2283> <http://www.wikidata.org/entity/Q72948> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: Who is the person with Australian Women's Register ID AWE5794b, and what is their description?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?person ?label ?description WHERE {
  ?person wdt:P4186 "AWE5794b" .
  OPTIONAL {
    ?person rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  OPTIONAL {
    ?person schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the person identified by AWE5794b in the Australian Women's Register?

Please provide the English name and description of the individual listed in the Australian Women's Register with ID AWE5794b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE5794b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE2650b, and what is their English description?

SELECT ?person ?personLabel ?description WHERE { ?person wdt:P4186 "AWE2650b" . OPTIONAL { ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") } OPTIONAL { ?person schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the name and English description of the person identified by the Australian Women's Register ID AWE2650b?

Please provide the English name and description of the individual registered in the Australian Women's Register with ID AWE2650b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE2650b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the names of "prefecture-level city" in English, German, French, and Italian, along with its image and Wikipedia link?

SELECT ?label ?image ?wikipediaArticle WHERE { OPTIONAL { wd:Q748149 rdfs:label ?label . FILTER (LANG(?label) = "en" || LANG(?label) = "de" || LANG(?label) = "fr" || LANG(?label) = "it") } OPTIONAL { wd:Q748149 wdt:P18 ?image . } OPTIONAL { ?wikipediaArticle rdf:type schema:Article ; schema:about wd:Q748149 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } VALUES (?lang ?order) { ("en" 1) ("de" 2) ("fr" 3) ("it" 4) } FILTER (LANG(?label) = ?lang) } ORDER BY ?order

Can you show me the labels for the administrative term "prefecture-level city" in four languages, its Wikimedia Commons image, and its English Wikipedia page?

For the Chinese administrative division "prefecture-level city", what are its translations in German, French, Italian, and English, and where can I find its image and English Wikipedia article?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q748149> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var5 ) ) ) . VALUES ( ?var5 ?var6 ) { ( "en""1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "en""2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "de""3"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "fr""4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ( "it""5"^^<http://www.w3.org/2001/XMLSchema#integer> ) } } OPTIONAL { <http://www.wikidata.org/entity/Q748149> <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { <http://www.wikidata.org/entity/Q748149> <http://www.wikidata.org/prop/direct/P625> ?var3 . } OPTIONAL { ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q748149> ; <http://schema.org/inLanguage> "en"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var6 )


Question: Who is the person with Australian Women's Register ID PR00136b, and what is their occupation?

SELECT ?person ?label ?description WHERE { ?person wdt:P4186 "PR00136b" . OPTIONAL { ?person rdfs:label ?label . FILTER(LANG(?label) = "en") } OPTIONAL { ?person schema:description ?description . FILTER(LANG(?description) = "en") } }

What is the name and description in English of the person identified by PR00136b in the Australian Women's Register?

Please provide the English name and description of the individual listed in the Australian Women's Register with ID PR00136b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "PR00136b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Humans born in Chile

SELECT ?human WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P19 ?birthplace . ?birthplace wdt:P17 wd:Q298 . }

List all humans whose place of birth is located in Chile.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P19> <http://www.wikidata.org/entity/Q298> . }


Question: What is the English description and geographic coordinates of the town of Dumfries in Scotland?

SELECT ?item ?itemLabel ?desc ?coord WHERE { VALUES ?item { wd:Q652035 } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") OPTIONAL { ?item schema:description ?desc . FILTER(LANG(?desc) = "en") } ?item wdt:P625 ?coord . }

Show me the location and description of Dumfries, UK.

Where is Dumfries located, and what is its description in English?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q652035> ) ( <http://www.wikidata.org/entity/Q1375743> ) ( <http://www.wikidata.org/entity/Q1264978> ) ( <http://www.wikidata.org/entity/Q18352792> ) ( <http://www.wikidata.org/entity/Q1264977> ) ( <http://www.wikidata.org/entity/Q126514> ) ( <http://www.wikidata.org/entity/Q1247384> ) ( <http://www.wikidata.org/entity/Q3336059> ) ( <http://www.wikidata.org/entity/Q3336017> ) ( <http://www.wikidata.org/entity/Q24679896> ) ( <http://www.wikidata.org/entity/Q597956> ) ( <http://www.wikidata.org/entity/Q5313791> ) ( <http://www.wikidata.org/entity/Q5313806> ) ( <http://www.wikidata.org/entity/Q18352788> ) ( <http://www.wikidata.org/entity/Q16833962> ) ( <http://www.wikidata.org/entity/Q25171934> ) ( <http://www.wikidata.org/entity/Q17505244> ) ( <http://www.wikidata.org/entity/Q26320927> ) ( <http://www.wikidata.org/entity/Q5313797> ) ( <http://www.wikidata.org/entity/Q16928128> ) ( <http://www.wikidata.org/entity/Q17514889> ) ( <http://www.wikidata.org/entity/Q16974250> ) ( <http://www.wikidata.org/entity/Q29587190> ) ( <http://www.wikidata.org/entity/Q28528309> ) ( <http://www.wikidata.org/entity/Q5313802> ) ( <http://www.wikidata.org/entity/Q16833967> ) ( <http://www.wikidata.org/entity/Q18150095> ) ( <http://www.wikidata.org/entity/Q14875588> ) ( <http://www.wikidata.org/entity/Q18352796> ) ( <http://www.wikidata.org/entity/Q16833969> ) ( <http://www.wikidata.org/entity/Q16833974> ) ( <http://www.wikidata.org/entity/Q5313813> ) ( <http://www.wikidata.org/entity/Q18160193> ) ( <http://www.wikidata.org/entity/Q5313787> ) ( <http://www.wikidata.org/entity/Q5313789> ) ( <http://www.wikidata.org/entity/Q5313792> ) ( <http://www.wikidata.org/entity/Q5313794> ) ( <http://www.wikidata.org/entity/Q5313795> ) ( <http://www.wikidata.org/entity/Q17792881> ) ( <http://www.wikidata.org/entity/Q17792868> ) ( <http://www.wikidata.org/entity/Q17572067> ) ( <http://www.wikidata.org/entity/Q17792906> ) ( <http://www.wikidata.org/entity/Q17792854> ) ( <http://www.wikidata.org/entity/Q17568656> ) ( <http://www.wikidata.org/entity/Q17792893> ) ( <http://www.wikidata.org/entity/Q5313796> ) ( <http://www.wikidata.org/entity/Q5313798> ) ( <http://www.wikidata.org/entity/Q3365815> ) ( <http://www.wikidata.org/entity/Q5313800> ) ( <http://www.wikidata.org/entity/Q17795990> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var4 . } FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q145> ) ) ) . OPTIONAL { ?var1 <http://schema.org/description> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . }


Question: What is the English label and description of the person in the Australian Women's Register with ID AWE4987b?

SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P4186 "AWE4987b" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } ?item rdfs:label ?itemLabel . FILTER (LANG(?itemLabel) = "en") }

Who is the Australian woman registered in the Australian Women's Register with ID AWE4987b, and what is her English description?

Please provide the name and English description of the individual identified by AWE4987b in the Australian Women's Register.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE4631b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who is the person with Australian Women's Register ID AWE4234b, and what is their English description?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?person ?personLabel ?description WHERE {
  ?person wdt:P4186 "AWE4234b" .
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER(LANG(?personLabel) = "en")
  }
  OPTIONAL {
    ?person schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

What is the name and English description of the person identified by the Australian Women's Register ID AWE4234b?

Please provide the English label and description of the individual listed in the Australian Women's Register with ID AWE4234b.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4186> "AWE4234b". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Administrative hierarchy of Colorado, excluding dissolved entities, with labels and parent regions.

SELECT ?ancestor ?ancestorLabel ?parent ?parentLabel WHERE { VALUES ?ancestor { wd:Q1261 wd:Q30 } MINUS { ?ancestor (wdt:P576|wdt:P582) [] . } OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = "en") } OPTIONAL { ?ancestor wdt:P131 ?parent . MINUS { ?parent (wdt:P576|wdt:P582) [] . } OPTIONAL { ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = "en") } } }

What are the active administrative regions that include Colorado, and what is each one’s direct parent?

List all active administrative entities above Colorado, including Colorado itself, and show their English labels and immediate parent regions if they exist.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". <http://www.wikidata.org/entity/Q1261> <http://www.wikidata.org/prop/direct/P131> * ?var1 . MINUS { ?var1 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/direct/P576> | <http://www.wikidata.org/prop/direct/P582> ) [] . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en, en, en". } }


Question: People born in April 2016

SELECT DISTINCT ?person WHERE { ?person wdt:P569 ?birthDate . FILTER ( ?birthDate >= "2016-04-01T00:00:00Z"^^xsd:dateTime && ?birthDate <= "2016-04-30T23:59:59Z"^^xsd:dateTime ) }

Who were born between April 1 and April 30, 2016?

List all individuals and entities with a recorded date of birth in April 2016.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 >= "2016-04-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "2016-04-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Who is the father of Pierre Trudeau?

SELECT ?father ?fatherLabel WHERE { wd:Q8619 wdt:P22 ?father . ?father rdfs:label ?fatherLabel . FILTER(LANG(?fatherLabel) = 'en') }

What is the name of Pierre Trudeau’s biological father?

Can you tell me who the father of the former Canadian Prime Minister Pierre Trudeau is?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P22> <http://www.wikidata.org/entity/Q133> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Capitals of administrative divisions of countries on each continent, along with their population, head of government, twin cities, etc.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?continent ?continentLabel ?country ?countryLabel ?division ?divisionLabel ?capital ?capitalLabel ?property ?propertyLabel ?value ?valueLabel WHERE {
  ?continent wdt:P31 wd:Q5107 .
  ?country wdt:P30 ?continent ; wdt:P31 wd:Q6256 .
  ?division wdt:P150 ?country .
  ?division wdt:P36 ?capital .
  ?capital wdt:P31 wd:Q515 .
  VALUES ?property {
    wdt:P1082 wdt:P6 wdt:P190 wdt:P571 wdt:P206 wdt:P527
  }
  ?capital ?property ?value .
  OPTIONAL {
    ?continent rdfs:label ?continentLabel .
    FILTER(LANG(?continentLabel) = "en")
  }
  OPTIONAL {
    ?country rdfs:label ?countryLabel .
    FILTER(LANG(?countryLabel) = "en")
  }
  OPTIONAL {
    ?division rdfs:label ?divisionLabel .
    FILTER(LANG(?divisionLabel) = "en")
  }
  OPTIONAL {
    ?capital rdfs:label ?capitalLabel .
    FILTER(LANG(?capitalLabel) = "en")
  }
  OPTIONAL {
    ?value rdfs:label ?valueLabel .
    FILTER(LANG(?valueLabel) = "en")
  }
  OPTIONAL {
    ?property rdfs:label ?propertyLabel .
    FILTER(LANG(?propertyLabel) = "en")
  }
}
LIMIT 10

What are the capitals of administrative regions of countries, and what properties like population, head of government, or twin cities are associated with them, grouped by continent?

Show me the capitals of administrative divisions of countries, along with their population, head of government, twin cities, inception date, adjacent water bodies, and parts — organized by continent and labeled in English.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT * WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5107> . ?var4 <http://www.wikidata.org/prop/direct/P30> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var4 <http://www.wikidata.org/prop/direct/P150> ?var5 . OPTIONAL { } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P36> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q515> . OPTIONAL { VALUES ( ?var7 ) { ( <http://www.wikidata.org/prop/direct/P1082> ) ( <http://www.wikidata.org/prop/direct/P6> ) ( <http://www.wikidata.org/prop/direct/P190> ) ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P571> ) ( <http://www.wikidata.org/prop/direct/P150> ) ( <http://www.wikidata.org/prop/direct/P206> ) ( <http://www.wikidata.org/prop/direct/P527> ) } ?var6 ?var7 ?var2 . ?var1 ?var8 ?var7 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } } } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: German Bundestag members and their German-language political party abbreviations

SELECT ?person ?personLabel ?partyAbbreviation ?party WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P39 wd:Q1939555 . OPTIONAL { ?person wdt:P102 ?party . ?party wdt:P1813 ?partyAbbreviation . FILTER (LANG(?partyAbbreviation) = "de") } }

Who are the members of the German Bundestag who belong to a political party with a German abbreviation?

List the names of German Bundestag members along with the German short names of their political parties.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q19362169> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P102> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P1813> ?var2 . } FILTER ( ( ( LANG ( ?var2 ) = "de" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } }


Question: What is the English label and description of the institution with Athenaeum museum ID 1660?

SELECT ?university ?label ?description WHERE { ?university wdt:P4146 "1660" . OPTIONAL { ?university rdfs:label ?label . FILTER(LANG(?label) = "en") } OPTIONAL { ?university schema:description ?description . FILTER(LANG(?description) = "en") } }

Which university has the Athenaeum museum ID 1660, and what is its English name and description?

Please provide the English name and description of the institution identified by the Athenaeum museum ID 1660.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4146> "1660". OPTIONAL { ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What films directed by Clarence Brown are not listed in the Lexikon des Internationalen Films?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?film ?filmLabel ?publicationDate WHERE {
  ?film wdt:P57 wd:Q435029 .
  OPTIONAL {
    ?film wdt:P3107 ?ldifId .
  }
  OPTIONAL {
    ?film wdt:P577 ?publicationDate .
  }
  FILTER ( ! BOUND( ?ldifId ) ) .
  ?film rdfs:label ?filmLabel .
  FILTER ( LANG( ?filmLabel ) = "en" )
}
ORDER BY ASC ( ?filmLabel )

Show me the English titles and release dates of all movies directed by Clarence Brown that don't have an identifier in the Lexikon des Internationalen Films.

List Clarence Brown's films that are missing from the Lexikon des Internationalen Films database, along with their publication years.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q435029> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3107> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P57> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . } ORDER BY ASC( ?var1Label )


Question: What are the cultural heritage sites in Finland with coordinates between longitude 11–71 and latitude 39–56, and what are their images and Wikimedia Commons categories?

SELECT DISTINCT ?site ?siteLabel ?coord ?image ?commonsCat WHERE {
  VALUES ?designation { wd:Q29966257 wd:Q9259 }
  ?site wdt:P1435 ?designation .
  ?site wdt:P17 wd:Q33 .
  ?site wdt:P625 ?coord .
  FILTER(geof:longitude(?coord) >= 11 && geof:longitude(?coord) <= 71)
  FILTER(geof:latitude(?coord) >= 39 && geof:latitude(?coord) <= 56)
  OPTIONAL { ?site wdt:P18 ?image . }
  OPTIONAL { ?site wdt:P373 ?commonsCat . }
  ?site rdfs:label ?siteLabel .
  FILTER(langMatches(lang(?siteLabel), "en"))
} LIMIT 3000

Show me the World Heritage Sites and Finnish National Heritage Sites in Finland within the geographic bounds of 11°E to 71°E and 39°N to 56°N, along with their images and Commons categories.

List all heritage-designated sites in Finland located in the specified bounding box, including their English names, coordinates, images, and associated Wikimedia Commons categories.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(11 39)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(71 56)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q29966257> ) ( <http://www.wikidata.org/entity/Q9259> ) } ?var8 <http://www.wikidata.org/prop/direct/P1435> ?var7 . ?var8 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q33> . ?var1 (( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P276> / <http://www.wikidata.org/prop/direct/P279> *)|( <http://www.wikidata.org/prop/direct/P361> / <http://www.wikidata.org/prop/direct/P279> *)) ?var8 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


Question: People who are human and were educated at Harvard University

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P69 wd:Q13371 .
}

Who are the humans that attended Harvard University?

List all individuals who graduated from Harvard University.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q13371> . }


Question: List all scholarly works by Jesper Løve Hinrich, including publication date, venue, number of pages, types, and co-authors, sorted by newest first.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(MIN(?pubDate) AS ?earliestPubDate) ?work ?workLabel(GROUP_CONCAT(DISTINCT ?typeLabel ; SEPARATOR = ", ") AS ?types)(SAMPLE(?pages) AS ?sampledPages) ?venue ?venueLabel(GROUP_CONCAT(DISTINCT ?authorLabelFinal ; SEPARATOR = ", ") AS ?allAuthors) WHERE {
  ?work wdt:P50 wd:Q28948867 .
  ?work wdt:P50 ?author .
  ?work rdfs:label ?workLabel .
  FILTER(LANG(?workLabel) = "en")
  OPTIONAL {
    ?work wdt:P1433 ?venue .
    ?venue rdfs:label ?venueLabel .
    FILTER(LANG(?venueLabel) = "en")
  }
  OPTIONAL {
    ?author rdfs:label ?authorLabel .
    FILTER(LANG(?authorLabel) = "en")
  }
  BIND(COALESCE(?authorLabel , SUBSTR(STR(?author) , 32)) AS ?authorLabelFinal)
  OPTIONAL {
    ?work wdt:P31 ?type .
    ?type rdfs:label ?typeLabel .
    FILTER(LANG(?typeLabel) = "en")
  }
  OPTIONAL {
    ?work wdt:P577 ?pubDateRaw .
    BIND(xsd:date(?pubDateRaw) AS ?pubDate)
  }
  OPTIONAL {
    ?work wdt:P1104 ?pages .
  }
}
GROUP BY ?work ?workLabel ?venue ?venueLabel
ORDER BY DESC(?earliestPubDate)

What are Jesper Løve Hinrich’s publications, their publication venues, co-authors, types, and page counts, ordered from most recent to oldest?

Please provide a comprehensive list of Jesper Løve Hinrich’s academic publications, showing for each: the title, publication date, journal or conference, number of pages, category (e.g., scholarly article), and all contributing authors.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = ", " ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = ", " ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28948867> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = "en" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,"32"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )


Question: English label, description, and image of glass

SELECT ?label ?description ?image WHERE { OPTIONAL { wd:Q11469 rdfs:label ?label . FILTER (LANG(?label) = "en") } OPTIONAL { wd:Q11469 wdt:P18 ?image . } OPTIONAL { wd:Q11469 schema:description ?description . FILTER (LANG(?description) = "en") } }

What is the English name, description, and image of glass?

Show me the English label, description, and associated image for the material glass.

SELECT ?var1Label ?var2 ?var3 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q11469> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q11469> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q11469> <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } }


Question: Works and the publications they were published in on Wikidata.

SELECT ?var1Label ?var2Label WHERE { ?var2 wdt:P1433 ?var1 . FILTER(isIRI(?var1)) . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = "en") . FILTER(LANG(?var2Label) = "en") } LIMIT 10

Which works have been published in which journals or books, according to Wikidata?

Show me a list of English-language works and the publications they appeared in.

SELECT ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 10


Question: What are the identifiers (ISNI, VIAF, ORCID, IPNI, ZooBank) and image for the zoologist George Willett?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?label ?isni ?viaf ?image ?orcid ?ipni ?zoobank WHERE {
  VALUES ?item {
    wd:Q115231673
  }
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?item wdt:P213 ?isni
  }
  OPTIONAL {
    ?item wdt:P214 ?viaf
  }
  OPTIONAL {
    ?item wdt:P18 ?image
  }
  OPTIONAL {
    ?item wdt:P496 ?orcid
  }
  OPTIONAL {
    ?item wdt:P586 ?ipni
  }
  OPTIONAL {
    ?item wdt:P2006 ?zoobank
  }
}

Can you find George Willett’s biographical data including his author IDs and image from Wikidata?

Is there any public information available for George Willett, such as his ISNI, ORCID, or image, in Wikidata?

SELECT * WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "G Willett"@en . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://species.wikimedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P213> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P586> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2006> ?var8 . } }