Question: Female Argentine painters with Spanish Wikipedia pages, ranked by number of Wikipedia articles about them.

SELECT ?painter ?painterLabel ( COUNT( DISTINCT ?wikipediaPage ) AS ?wikipediaCount ) WHERE { ?painter wdt:P31 wd:Q5 . ?painter wdt:P21 wd:Q6581072 . ?painter wdt:P106 wd:Q1028181 . ?painter wdt:P27 wd:Q414 . ?wikipediaPage schema:about ?painter . ?painter rdfs:label ?painterLabel . FILTER (lang(?painterLabel) = "en") . FILTER ( EXISTS { ?spanishArticle schema:about ?painter . ?spanishArticle schema:inLanguage "es" . ?spanishArticle schema:isPartOf <https://es.wikipedia.org/> . } ) } GROUP BY ?painter ?painterLabel ORDER BY DESC ( ?wikipediaCount )

Who are the female Argentine painters with the most Wikipedia pages in Spanish, and how many are there for each?

List the English-named female painters from Argentina who are known for painting and have at least one Spanish Wikipedia article, sorted by how many Wikipedia pages exist about them.

SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . ?var2 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es". } FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "es". ?var4 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . } ) ) . } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )


Question: Female Canadian actors born after 1993 with English labels

SELECT DISTINCT ?actor ?actorLabel WHERE { ?actor wdt:P31 wd:Q5 . ?actor wdt:P106 wd:Q33999 . ?actor wdt:P27 wd:Q16 . ?actor wdt:P21 wd:Q6581072 . ?actor wdt:P569 ?dateOfBirth . FILTER ( ?dateOfBirth > "1993-01-01T00:00:00"^^xsd:dateTime ) ?actor rdfs:label ?actorLabel . FILTER (LANG(?actorLabel) = "en") }

Who are the female Canadian actresses born after 1993, and what are their English names?

List the English names of all female Canadian actors born after January 1, 1993.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q16> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 > "1993-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( NOT EXISTS { <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label [] . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: List active church buildings in the Czech Republic with their English/Czech names and Czech Wikipedia links.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P17 wd:Q213 . ?var1 wdt:P31 wd:Q16970 . OPTIONAL { ?var1 rdfs:label ?var1Label . } OPTIONAL { ?var2 schema:about ?var1 . ?var2 schema:inLanguage "cs" . } MINUS { ?var1 wdt:P31 wd:Q19899465 . } }

What are the names of current church buildings in the Czech Republic, and which ones have Czech-language Wikipedia pages?

Show me all church buildings in the Czech Republic that are still in use, along with their labels in any language and their corresponding Czech Wikipedia articles.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q213> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16970> . FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "cs". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs". } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19899465> . } }


Question: What Wikipedia articles are about Orient Thai Airlines, based on its official website flyorientthai.com?

SELECT ?airline ?airlineLabel ?wikipediaPage WHERE { ?airline wdt:P856 ?website . FILTER regex(STR(?website), "^(https?://)?(www\\.)?flyorientthai\\.com(/)?$", "i") . ?airline rdfs:label ?airlineLabel . ?wikipediaPage schema:about ?airline . FILTER(STRSTARTS(STR(?wikipediaPage), "https://") && CONTAINS(STR(?wikipediaPage), ".wikipedia.org/")) }

Which language versions of Wikipedia have articles about Orient Thai Airlines, given that its official website is flyorientthai.com?

Show me all Wikipedia pages linked to Orient Thai Airlines through its official website, www.flyorientthai.com.

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


Question: Female humans in Wikidata with English labels

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P21 wd:Q6581072 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") }

Who are the female humans listed in Wikidata with their English names?

List all female humans from Wikidata along with their English labels.

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


Question: Economists from Argentina with Spanish Wikipedia pages

SELECT ?personLabel ?wikipediaPage (STRAFTER(STR(?wikipediaPage), "https://es.wikipedia.org/wiki/") AS ?wikipediaPageLabel) WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P106 wd:Q188094 . ?person wdt:P27 wd:Q414 . ?wikipediaPage schema:about ?person . ?wikipediaPage schema:isPartOf <https://es.wikipedia.org/> . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en" || LANG(?personLabel) = "es") }

Who are the economists from Argentina that have articles on the Spanish Wikipedia, and what are the titles of those articles?

List the names of Argentine economists and their corresponding Spanish Wikipedia page titles.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var4Label WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q188094> . ?var3 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . ?var4 <http://schema.org/about> ?var6 . ?var4 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . }


Question: Argentine humans with occupations and gender, excluding those with Arabic descriptions.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?gender ?occupation ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q414 .
  OPTIONAL {
    ?person wdt:P21 ?gender .
  }
  OPTIONAL {
    ?person wdt:P106 ?occupation .
  }
  FILTER(NOT EXISTS {
    ?person schema:description ?desc .
    FILTER(LANG(?desc) = "ar")
  })
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Who are the Argentine citizens who have known occupations and gender, and do not have an Arabic-language description on Wikidata?

List all humans from Argentina, including their gender and occupation, but only if they don’t have a description in Arabic, and show their English names.

SELECT ?var1 ?var2 ?var3 ?var4 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . FILTER ( ( NOT EXISTS { ?var1 <http://schema.org/description> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "ar" ) ) ) . } ) ) . }


Question: Church buildings in Slovakia with images

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

What are the church buildings in Slovakia, and what are their images and English names?

List the English names and images of all church buildings located in Slovakia.

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


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt3835080?

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt3835080" . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Show me the Wikipedia articles in English and German about the film "31".

Which language versions of Wikipedia have articles about the movie identified by tt3835080?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3835080". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What Wikipedia pages are about Carto, the company with official website carto.com?

SELECT DISTINCT ?company ?companyLabel ?wikipediaPage WHERE { { ?company wdt:P856 <https://carto.com> . } UNION { ?company wdt:P856 <http://carto.com> . } UNION { ?company wdt:P856 <https://carto.com/> . } UNION { ?company wdt:P856 <http://carto.com/> . } ?wikipediaPage schema:about ?company . ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") FILTER(STRSTARTS(STR(?wikipediaPage), "https://") && CONTAINS(STR(?wikipediaPage), "wikipedia.org")) }

Which language versions of Wikipedia have articles about the company Carto, whose official website is carto.com?

List all Wikipedia articles linked to Carto, the geospatial platform that uses carto.com as its official website.

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


Question: Female physicians from Argentina with Spanish Wikipedia pages and images on Wikimedia Commons.

SELECT ?physician ?wikipediaArticle ?image WHERE { ?physician wdt:P106 wd:Q39631 . ?physician wdt:P27 wd:Q414 . ?physician wdt:P21 wd:Q6581072 . OPTIONAL { ?wikipediaArticle schema:about ?physician ; schema:inLanguage "es" ; schema:isPartOf <https://es.wikipedia.org/> . } OPTIONAL { ?physician wdt:P18 ?image . } }

Who are the female physicians from Argentina who have a Spanish-language Wikipedia article and a photo on Wikimedia Commons?

List all female Argentine physicians, along with their Spanish Wikipedia links and associated images from Wikimedia Commons, if available.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q39631> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "es" ) ) ) . } OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> "es". ?var3 <http://schema.org/isPartOf> <https://es.wikipedia.org/> . } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . } }


Question: Is Random Agent Spoofer classified as software?

Does the Firefox extension "Random Agent Spoofer" belong to the category of software through its type hierarchy?

Is "Random Agent Spoofer" an instance of a class that is a subclass of software?

ASK WHERE { <http://www.wikidata.org/entity/Q21996240> ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7397> . <http://www.bigdata.com/queryHints#Prior> <http://www.bigdata.com/queryHints#gearing> "forwards". }


Question: Rheinische Post official website and related Wikipedia articles

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?entity ?entityLabel ?page WHERE {
  ?entity wdt:P856 <http://www.rp-online.de/> .
  ?page schema:about ?entity .
  ?entity rdfs:label ?entityLabel .
  FILTER(LANG(?entityLabel) = "en")
}

What Wikipedia pages are about the German newspaper Rheinische Post, which has the official website rp-online.de?

Show me the English-language labels of the newspaper Rheinische Post and the Wikimedia pages that discuss it.

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


Question: Female British actors born before 1988

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?actor ?actorLabel WHERE {
  ?actor wdt:P31 wd:Q5 .
  ?actor wdt:P106 wd:Q33999 .
  ?actor wdt:P27 wd:Q145 .
  ?actor wdt:P21 wd:Q6581072 .
  ?actor wdt:P569 ?birthDate .
  FILTER(?birthDate < "1988-01-01T00:00:00" ^^ xsd:dateTime)
  .
  ?actor rdfs:label ?actorLabel .
  FILTER(LANG(?actorLabel) = "en")
  .
}

Who are the female actors from the United Kingdom who were born before 1988?

List the names of British women who are actors and were born before 1988.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q145> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( ?var2 < "1988-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var2 != "2000-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt0307089?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?wikipediaPage WHERE {
  ?item wdt:P345 "tt0307089" .
  ?wikipediaPage schema:about ?item .
  VALUES ?lang {
    "en" "de"
  }
  ?wikipediaPage schema:inLanguage ?lang .
}

Show me the Wikipedia articles in English and German about the film Lex the Impaler.

Which language versions of Wikipedia have articles about the movie identified by tt0307089?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0307089". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Organizations with "tourismus" in their official website and related articles

SELECT ?organization ?organizationLabel ?article WHERE { ?organization wdt:P856 ?website . FILTER(CONTAINS(STR(?website), "tourismus")) . ?article schema:about ?organization . ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = "en") }

Which tourism organizations have websites containing "tourismus", and what articles are about them?

Show me the English-labeled tourism organizations whose official website includes "tourismus", along with the webpages that mention them.

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


Question: Belgian citizens who have died

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P27 wd:Q31 .
  ?person wdt:P570 ?deathDate .
}
LIMIT 200

Who are some Belgian citizens with a recorded date of death?

List up to 200 Belgian citizens who are deceased.

SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q31> . ?var1 <http://www.wikidata.org/prop/direct/P3415> <http://www.wikidata.org/entity/Q18748141> . } LIMIT 200


Question: Who are some African American male pornographic actors with Wikipedia pages or images?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?person ?personLabel(SAMPLE(?img) AS ?image) ?wikipediaPage WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 wd:Q488111 .
  ?person wdt:P21 wd:Q6581097 .
  ?person wdt:P172 wd:Q49085 .
  OPTIONAL {
    ?person wdt:P18 ?img .
  }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
  OPTIONAL {
    ?wikipediaPage schema:about ?person .
    ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> .
  }
}
GROUP BY ?person ?personLabel ?wikipediaPage
LIMIT 50

Can you list male African American adult actors along with their Wikipedia links and any available images?

Show me the English Wikipedia articles and images for men of African descent who work as pornographic actors.

SELECT DISTINCT ?var1 ?var1Label ?var2 ( SAMPLE ( ?var3 ) AS ?var3 ) ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q488111> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P172> <http://www.wikidata.org/entity/Q49085> . ?var1 <http://www.wikidata.org/prop/direct/P91> <http://www.wikidata.org/entity/Q6636> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,fr,es,de,ru,it,nl,ja,zh,pl,cs". } } GROUP BY ?var1 ?var1Label ?var2 ?var4 LIMIT 50


Question: Female citizens of Turkey, their occupations, and dates of birth

SELECT ?person ?personLabel ?dateOfBirth ?occupation ?occupationLabel WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P27 wd:Q43 . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } OPTIONAL { ?person wdt:P106 ?occupation . } ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?occupationLabel) = "en") } LIMIT 100

Who are the female citizens of Turkey, what are their occupations, and when were they born?

List all female citizens of Turkey along with their occupations and birth dates, including their names and occupation labels in English.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q43> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . } }


Question: What Wikipedia, Commons, and data pages are linked to Travel City Direct’s official website (www.travelcitydirect.com)?

SELECT ?item ?itemLabel ?relatedPage WHERE { ?item wdt:P856 <http://www.travelcitydirect.com> . ?relatedPage schema:about ?item . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } }

Which Wikimedia pages (like Wikipedia or Commons) are about the entity with the official website http://www.travelcitydirect.com?

Show me the English label and related Wikimedia pages for the entity that has http://www.travelcitydirect.com as its official website.

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


Question: Chinese people with known occupations and birthplaces

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?occupation ?birthplace WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P27 wd:Q148 .
  OPTIONAL {
    ?person wdt:P106 ?occupation .
  }
  OPTIONAL {
    ?person wdt:P19 ?birthplace .
  }
}
LIMIT 100

Who are some Chinese citizens and what are their occupations and places of birth?

List Chinese humans along with their occupations and where they were born.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label ?var7Label 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/Q148> . ?var1 <http://www.wikidata.org/prop/direct/P101> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var9 . ?var1 <http://www.wikidata.org/prop/direct/P3150> ?var10 . ?var1 <http://www.wikidata.org/prop/direct/P512> ?var11 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var12 . ?var1 <http://www.wikidata.org/prop/direct/P69> ?var13 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P101> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P3150> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P512> ?var4 . } } LIMIT 100


Question: Who are the people who died at Auschwitz?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?label WHERE {
  ?person wdt:P20 wd:Q7341 .
  ?person rdfs:label ?label .
}

List the names of individuals who died in Auschwitz concentration camp.

Show me the names of all victims who perished at Auschwitz.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P20> <http://www.wikidata.org/entity/Q7341> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "el,en". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1196> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P509> ?var4 . } }


Question: What properties are most frequently used to associate people with the profession of audio engineer?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(COUNT(?item) AS ?count) WHERE {
  ?item ?property wd:Q128124 .
}
GROUP BY ?property
HAVING(?count > 1)
ORDER BY DESC(?count)

Which Wikidata properties link the most individuals to the occupation of audio engineer, and how many times are they used?

Can you show me the top properties that indicate someone is an audio engineer, ordered by how often they appear?

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q128124> . 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 are the names of male animals, given that male is the opposite of female?

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 ?entity ?label ?opposite_sex WHERE {
  wd:Q43445 wdt:P461 ?opposite_sex .
  ?entity wdt:P21 ?opposite_sex .
  ?entity rdfs:label ?label .
}
LIMIT 10

Which entities have a sex that is the opposite of female organism, and what are their labels?

Show me the names (in any language) of entities that are male organisms, where male organism is defined as the opposite of female organism.

SELECT ?var1 ?var2 ?var3 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P461> <http://www.wikidata.org/entity/Q43445> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . } LIMIT 10


Question: Russian labels and descriptions of properties used to link to gender binary.

SELECT ?property ?propertyLabel ?propertyDescription WHERE { ?item ?property wd:Q5530970 . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) . BIND(IRI(REPLACE(STR(?property), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . ?propertyItem schema:description ?propertyDescription . FILTER (LANG(?propertyLabel) = "ru") . FILTER (LANG(?propertyDescription) = "ru") . } LIMIT 100

What properties in Russian describe entities related to gender binary?

Show me the Russian-language labels and descriptions of all Wikidata properties that connect to the concept of gender binary.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 ?var5 <http://www.wikidata.org/entity/Q5530970> . ?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 ) = "ru" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "ru" ) ) ) . } LIMIT 100


Question: Female astrophysicists from Argentina.

SELECT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q752129 ; wdt:P21 wd:Q6581072 ; wdt:P27 wd:Q414 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 100

Who are the female astrophysicists who are citizens of Argentina?

List the English names of Argentine women who work as astrophysicists.

SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q752129> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . } LIMIT 100


Question: List of female humans with English labels

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 ; wdt:P21 wd:Q6581072 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") } LIMIT 50

Show me 50 female humans with their English names.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } GROUP BY ?var1 ?var2 LIMIT 50


Question: Hotels owned by Delta Hotels with their English Wikipedia pages and official websites

PREFIX schema: <http://schema.org/>
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 ?hotel ?hotelLabel ?wikipediaPage ?owner ?website WHERE {
  ?hotel wdt:P127 wd:Q5254663 .
  ?wikipediaPage schema:about ?hotel ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  OPTIONAL {
    ?hotel wdt:P856 ?website .
  }
  ?hotel wdt:P127 ?owner .
  ?hotel rdfs:label ?hotelLabel .
  FILTER ( LANG( ?hotelLabel ) = "en" )
}

Which hotels are owned by Delta Hotels, and what are their English Wikipedia pages and official websites?

List all hotels that have Delta Hotels as an owner, including their English Wikipedia links and official websites, and show all their ownership relationships.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q5254663> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: People born in Durango, Spain, and their names

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 ?person ?name WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P19 wd:Q732094 .
  OPTIONAL {
    ?person rdfs:label ?name .
  }
}
LIMIT 100

Who are the humans born in Durango, Spain, and what are their names?

List up to 100 people born in Durango, Spain, along with their names.

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


Question: What is the type of Opernplatz in Frankfurt, and what are its English label and the English label of its type?

SELECT ?typeLabel ?entityLabel ?type WHERE { wd:Q195190 wdt:P31 ?type ; rdfs:label ?entityLabel . ?type rdfs:label ?typeLabel . FILTER(LANG(?entityLabel) = "en") FILTER(LANG(?typeLabel) = "en") }

What is Opernplatz classified as, and what are the English names for Opernplatz and its classification?

Show me the English label of Opernplatz and the English label of the class it belongs to.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.wikidata.org/entity/Q195190> <http://www.wikidata.org/prop/direct/P31> ?var3 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( "en" = LANG ( ?var2Label ) ) ) ) . FILTER ( ( ( "en" = LANG ( ?var1 ) ) ) ) . }


Question: Wikipedia and Wikiquote pages in English, German, or Russian about the movie with IMDb ID tt1438463.

SELECT ?item ?page WHERE { ?item wdt:P345 "tt1438463" . ?page schema:about ?item ; schema:inLanguage ?lang . VALUES ?lang { "en" "de" "ru" } }

What Wikipedia and Wikiquote pages in English, German, or Russian are about the movie with IMDb ID tt1438463?

Show me all language versions of Wikipedia and Wikiquote pages for the movie "High Security Vacation" (IMDb: tt1438463) in English, German, or Russian.

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


Question: Official website of Sansa Airlines and its Wikipedia articles

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT ?company ?companyLabel ?article WHERE {
  ?company wdt:P856 <http://www.flysansa.com> .
  ?company rdfs:label ?companyLabel .
  ?article schema:about ?company .
  FILTER(LANG(?companyLabel) = "en")
  FILTER(REGEX(STR(?article) , "wikipedia.org"))
}

What are the Wikipedia articles about the airline with the official website www.flysansa.com?

Show me the English name of the airline that uses www.flysansa.com as its website, along with all its Wikipedia pages.

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


Question: People who have both a father and a child

SELECT ?person ?personLabel ?father ?fatherLabel ?child ?childLabel WHERE { ?person wdt:P22 ?father . ?person wdt:P40 ?child . }

Who are the people that have a father and also have at least one child?

List all individuals who are both a child to someone and a parent to someone else, along with their father and one of their children.

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


Question: Female humans in Wikidata

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?femaleHuman WHERE {
  ?femaleHuman wdt:P31 wd:Q5 .
  ?femaleHuman wdt:P21 wd:Q6581072 .
}
LIMIT 500

Who are some female humans listed in Wikidata?

List up to 500 individuals who are human and identify as female.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,el". } } LIMIT 500


Question: What is the name of the organization whose official website is https://bbc.com?

SELECT ?item ?itemLabel WHERE { ?item wdt:P856 <https://bbc.com> . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') }

Which entity has https://bbc.com as its official website?

Can you tell me the label of the item with the official website bbc.com?

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


Question: Who are the voice actors listed on Wikidata?

SELECT ?person WHERE { ?person wdt:P106 wd:Q2405480 . } ORDER BY ?person

List all individuals whose profession is voice acting.

Which people have the occupation of a voice actor?

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


Question: Humans born in Tarragona, Spain, with their birth dates, death dates, and periods of activity.

SELECT DISTINCT ?person ?personLabel ?dateOfBirth ?floruit ?dateOfDeath WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P19 wd:Q15088 . ?person wdt:P27 wd:Q29 . OPTIONAL { ?person wdt:P569 ?dateOfBirth . } OPTIONAL { ?person wdt:P1317 ?floruit . } OPTIONAL { ?person wdt:P570 ?dateOfDeath . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

Who are the people born in Tarragona who are citizens of Spain, and when were they born, died, or active?

List all humans born in Tarragona, Spain, including their English names, dates of birth, dates of death (if known), and periods of activity.

SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var5Label 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/Q29> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { } OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1317> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q15088> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var5 . } }


Question: What is the place of birth of José Sánchez Albarrán in Spanish?

SELECT ?birthPlace ?birthPlaceLabel WHERE { wd:Q5488722 wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER (LANG(?birthPlaceLabel) = "es") } LIMIT 50

Spanish label for the birthplace of José Sánchez Albarrán

Can you tell me the Spanish name of the city where José Sánchez Albarrán was born?

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


Question: List professions and their feminine forms in other languages, with English labels.

SELECT ?profession ?professionLabel ?feminineForm WHERE { ?profession wdt:P31 wd:Q28640 . OPTIONAL { ?profession wdt:P2521 ?feminineForm . } ?profession rdfs:label ?professionLabel . FILTER(LANG(?professionLabel) = "en") }

What are the English names of professions and their corresponding feminine forms in other languages?

Show me professions that are instances of occupation, along with their English labels and feminine variants in other languages.

SELECT ?var1 ?var1Label ?var2Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q28640> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2521> ?var2Label . } }


Question: Entrepreneurs and their position qualifiers (e.g., start time, "of", end time)

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?person ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {
  {
    SELECT DISTINCT ?person ?statement WHERE {
      ?statement ps:P39 wd:Q131524 .
      ?person p:P39 ?statement .
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifierProperty ?value .
    FILTER(?qualifierProperty IN(pq:P580 , pq:P582 , pq:P642 , pq:P1326))
  }
}
GROUP BY ?person ?statement

Which people have held the position of entrepreneur, and what additional details (like start date or organization) are associated with those positions?

Show me a list of entrepreneurs along with one example of a qualifier (such as start time or organization) for each of their position statements.

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


Question: People who are real estate entrepreneurs

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 ?person ?personLabel WHERE {
  {
    ?person wdt:P106 wd:Q7301138 .
  } UNION {
    ?person wdt:P101 wd:Q7301138 .
  } UNION {
    ?person wdt:P39 wd:Q7301138 .
  }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
ORDER BY ?personLabel
LIMIT 500

Who are the people whose occupation, field of work, or position held is real estate entrepreneur?

List all individuals known to be real estate entrepreneurs, including those with related roles like field of work or position held.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> */ <http://www.wikidata.org/prop/direct/P101> */ <http://www.wikidata.org/prop/direct/P39> *) <http://www.wikidata.org/entity/Q7301138> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 >= "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 500


Question: Czech Republic cultural monuments per district, categorized by count ranges, with map data.

SELECT ?monumentCount ?district ?geoshape ?category WHERE {
  {
    SELECT (COUNT(?monument) AS ?monumentCount) ?district WHERE {
      ?monument wdt:P1435 wd:Q385405 .  # cultural monument of the Czech Republic
      ?monument wdt:P131 ?district .    # located in district
      ?district wdt:P31 wd:Q548611 .    # is a district of the Czech Republic
    }
    GROUP BY ?district
  }
  ?district wdt:P3896 ?geoshape .
  BIND(
    IF(?monumentCount < 100, "string1",
      IF(?monumentCount < 200, "string2",
        IF(?monumentCount < 400, "string3",
          IF(?monumentCount < 600, "string4",
            IF(?monumentCount < 800, "string5",
              IF(?monumentCount < 1000, "string6",
                IF(?monumentCount < 2000, "string7",
                  IF(?monumentCount < 5000, "string8",
                    IF(?monumentCount < 10000, "string9", "string10")))))))))
    AS ?category
  )
}
ORDER BY ASC(?monumentCount)

How many cultural monuments are located in each district of the Czech Republic, and what category does each district fall into based on monument count?

List all districts of the Czech Republic that have cultural monuments, along with the number of monuments in each, their Wikimedia Commons map data, and their category based on monument count (e.g., 100–199 = string2).

SELECT ?var1 ?var2Label ?var3 ?var4 WHERE { { SELECT( COUNT ( ?var5 ) AS ?var1 ) ?var2 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P1435> <http://www.wikidata.org/entity/Q385405> . ?var5 <http://www.wikidata.org/prop/direct/P131> + ?var2 . } GROUP BY ?var2 } BIND ( IF ( ( ?var1 < "100"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string1", IF ( ( ?var1 < "200"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string2", IF ( ( ?var1 < "400"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string3", IF ( ( ?var1 < "600"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string4", IF ( ( ?var1 < "800"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string5", IF ( ( ?var1 < "1000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string6", IF ( ( ?var1 < "2000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string7", IF ( ( ?var1 < "5000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string8", IF ( ( ?var1 < "10000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "string9", "string10" ) ) ) ) ) ) ) ) ) AS ?var4 ). ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q548611> . ?var2 <http://www.wikidata.org/prop/direct/P3896> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs". } } ORDER BY ASC( ?var1 )


Question: Official website of Toronto Star and its English/German Wikipedia pages

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

What are the English and German Wikipedia pages about the Toronto Star, and what is its official website?

Show me the official website of the Toronto Star and the English and German language pages about it on Wikipedia and Wikisource.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.thestar.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.thestar.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thestar.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thestar.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://thestar.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://thestar.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 is the English label of the company with official website https://www.northstartravelgroup.com/?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?entityLabel WHERE {
  ?entity wdt:P856 <https://www.northstartravelgroup.com/> .
  ?entity rdfs:label ?entityLabel .
  FILTER ( LANG( ?entityLabel ) = "en" )
}

What is the name of the company whose official website is https://www.northstartravelgroup.com/?

Please provide the English label for the entity that has https://www.northstartravelgroup.com/ as its official website.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.northstartravelgroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.northstartravelgroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://northstartravelgroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://northstartravelgroup.com> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://northstartravelgroup.com/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://northstartravelgroup.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: Municipalities in the Basque Country with coordinates, images, and INE codes

SELECT ?municipality ?municipalityLabel ?adminEntityLabel ?coord ?insee ?ine ?image WHERE {  wd:Q47588 wdt:P527 ?adminEntity .  ?municipality wdt:P131 ?adminEntity .  {    ?municipality wdt:P31 wd:Q2074737 .  } UNION {    ?municipality wdt:P31 wd:Q484170 .  }  ?municipality wdt:P625 ?coord .  ?municipality wdt:P18 ?image .  ?municipality rdfs:label ?municipalityLabel .  ?adminEntity rdfs:label ?adminEntityLabel .  FILTER(LANG(?municipalityLabel) = "en" || LANG(?municipalityLabel) = "")  FILTER(LANG(?adminEntityLabel) = "en" || LANG(?adminEntityLabel) = "")  OPTIONAL {    ?municipality wdt:P374 ?insee .  }  OPTIONAL {    ?municipality wdt:P772 ?ine .  }} ORDER BY ASC(?municipalityLabel)

What are the municipalities and communes located in the Basque Country, and what are their coordinates, images, and official codes?

List all Spanish municipalities and French communes that are part of the Basque Country, including their locations, images, and administrative codes.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P131> * ?var2 . <http://www.wikidata.org/entity/Q47588> <http://www.wikidata.org/prop/direct/P527> ?var2 . { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q2074737> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q484170> . } ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var6 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P374> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P772> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "eu". } } ORDER BY ASC( ?var1Label )


Question: What is the English Wikipedia page, official website, and type of ToursByLocals?

SELECT ?item ?itemLabel ?wikipage ?website ?type WHERE { BIND(wd:Q22909454 AS ?item) . ?wikipage schema:about ?item ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . OPTIONAL { ?item wdt:P856 ?website . } OPTIONAL { ?item wdt:P31 ?type . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Show me the details of ToursByLocals, including its Wikipedia page, website, and classification.

Can you find the English Wikipedia link, official site, and category for the company ToursByLocals?

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q22909454> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Humans with their fathers, including gender, citizenship, birthplace, date of birth, and occupation.

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 ?person ?personLabel ?gender_personLabel ?father ?fatherLabel ?gender_fatherLabel ?citizenshipLabel ?birthplaceLabel ?date_of_birth ?occupationLabel WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 ?gender_person .
  ?person wdt:P22 ?father .
  ?person wdt:P27 ?citizenship .
  ?person wdt:P19 ?birthplace .
  ?person wdt:P569 ?date_of_birth .
  ?person wdt:P106 ?occupation .
  ?father wdt:P21 ?gender_father .
  ?person rdfs:label ?personLabel .
  ?gender_person rdfs:label ?gender_personLabel .
  ?father rdfs:label ?fatherLabel .
  ?gender_father rdfs:label ?gender_fatherLabel .
  ?citizenship rdfs:label ?citizenshipLabel .
  ?birthplace rdfs:label ?birthplaceLabel .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?gender_personLabel) = "en")
  FILTER(LANG(?fatherLabel) = "en")
  FILTER(LANG(?gender_fatherLabel) = "en")
  FILTER(LANG(?citizenshipLabel) = "en")
  FILTER(LANG(?birthplaceLabel) = "en")
  FILTER(LANG(?occupationLabel) = "en")
}
LIMIT 5

Who are some humans and their fathers, and what are their genders, countries of citizenship, places of birth, dates of birth, and occupations?

List five humans along with details about their fathers, including both their genders, citizenships, birthplaces, birth dates, and occupations.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var4Label ?var5Label ?var6Label ?var7Label ?var8Label ?var9Label ?var10Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P22> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var8 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var9 . ?var4 <http://www.wikidata.org/prop/direct/P21> ?var10 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 5


Question: Castles located in Eschweiler

SELECT ?castle ?castleLabel ?location ?locationLabel WHERE { ?castle wdt:P31 wd:Q23413 . ?castle wdt:P131 wd:Q4083 . ?castle rdfs:label ?castleLabel . wd:Q4083 rdfs:label ?locationLabel . FILTER(LANG(?castleLabel) = "en" || LANG(?castleLabel) = "") . FILTER(LANG(?locationLabel) = "en" || LANG(?locationLabel) = "") }

Which castles are located in the town of Eschweiler?

List the castles in Eschweiler along with their names and the location.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var3 <http://wikiba.se/ontology#claim> ?var5 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#qualifier> ?var7 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var4 <http://wikiba.se/ontology#claim> ?var8 . ?var4 <http://wikiba.se/ontology#qualifier> ?var9 . ?var4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var1 ?var5 ?var10 . ?var10 ?var6 ?var2 . ?var10 ?var9 <http://www.wikidata.org/entity/Q151721> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What châteaux are located in Berlin?

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 ?chateau ?chateauLabel WHERE {
  ?chateau wdt:P31 wd:Q751876 .
  ?chateau wdt:P131 wd:Q64 .
  ?chateau rdfs:label ?chateauLabel .
  FILTER(LANG(?chateauLabel) = "en")
}
ORDER BY ?chateauLabel

List the castles in Berlin with their English names.

Can you name the palaces in Berlin that are classified as châteaux?

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q64> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "50". } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q751876> . } ORDER BY ASC( ?var2 )


Question: What countries and administrative regions is Gottorf Castle located in?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?location WHERE {
  wd:Q647987(wdt:P30 | wdt:P17 | wdt:P131 | wdt:P376 | wdt:P501) ?location .
}

Which geographic entities are directly connected to Gottorf Castle via location properties like country, city, or continent?

Show all places that Gottorf Castle is part of, such as its city and country.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q647987> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P30> | <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P131> | <http://www.wikidata.org/prop/direct/P376> | <http://www.wikidata.org/prop/direct/P501> )* ?var1 . }


Question: Image of Juan Luis Vives with SNAC ARK ID w6hm9rc4

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

What is the image associated with Juan Luis Vives in Wikidata?

Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6hm9rc4.

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


Question: What is the IMDb ID and Wikipedia page for the film "Ugly"?

SELECT ?item ?wikipedia_page ?imdb_id WHERE { ?item wdt:P345 "tt2882328" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } BIND("tt2882328" AS ?imdb_id) }

Which Wikipedia pages in English or German are about the film with IMDb ID tt2882328?

Show me the film entity, its English or German Wikipedia page, and its IMDb ID for the movie with ID tt2882328.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2882328". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What patents does Hipmunk own, and what are their official websites and types?

SELECT ?item ?itemLabel ?wikipedia ?website ?instance WHERE { ?item wdt:P127 wd:Q5768118 . OPTIONAL { ?wikipedia schema:about ?item ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?item wdt:P856 ?website . } OPTIONAL { ?item wdt:P31 ?instance . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Can you list the English Wikipedia pages, official websites, and types of items owned by Hipmunk?

Show me the details of everything owned by Hipmunk, including its label, instance type, and whether it has an English Wikipedia page or official website.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q5768118> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Show the English, German, and French labels, image, and coordinates for Nové Mlýny.

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 ?label ?image ?coordinates ?langOrder WHERE {
  VALUES(?lang ?langOrder) {("en" 1)("de" 2)("fr" 3)("it" 4)
  }
  wd:Q115133 rdfs:label ?label .
  FILTER(LANG(?label) = ?lang)
  OPTIONAL {
    wd:Q115133 wdt:P18 ?image .
  }
  OPTIONAL {
    wd:Q115133 wdt:P625 ?coordinates .
  }
}
ORDER BY ASC(?langOrder)

What are the labels in English, German, and French for the village Nové Mlýny, along with its image and geographic coordinates?

Please retrieve the labels in English, German, and French for Nové Mlýny, its image from Wikimedia Commons, and its GPS coordinates, ordered by language preference.

SELECT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { OPTIONAL { <http://www.wikidata.org/entity/Q115133> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = ?var7 ) ) ) . VALUES ( ?var7 ?var8 ) { ( "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/Q115133> <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { <http://www.wikidata.org/entity/Q115133> <urn:dboabstract> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } OPTIONAL { <http://www.wikidata.org/entity/Q115133> <http://www.wikidata.org/prop/direct/P625> ?var4 . } OPTIONAL { ?var6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> <http://www.wikidata.org/entity/Q115133> ; <http://schema.org/inLanguage> "en"; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } } ORDER BY ASC( ?var8 )


Question: What is the official website and type of the company Flightfox?

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 ?itemLabel ?website ?type WHERE {
  wd:Q5459356 rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
  .
  OPTIONAL {
    wd:Q5459356 wdt:P856 ?website .
  }
  OPTIONAL {
    wd:Q5459356 wdt:P31 ?type .
  }
}

Can you show me the English label, official website, and class of Flightfox?

Tell me about Flightfox: what is its label, website, and what kind of entity is it?

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P127> <http://www.wikidata.org/entity/Q5459356> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/inLanguage> "en". ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P127> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Image of the person with SNAC ARK ID w67987x4

SELECT ?image WHERE { ?item wdt:P3430 "w67987x4" . OPTIONAL { ?item wdt:P18 ?image . } }

What is the image associated with Gaspar Pérez de Villagrá in Wikidata?

Show me the Wikimedia Commons image for the historical figure identified by SNAC ARK ID w67987x4.

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


Question: Official website of J-Air and its English and German Wikipedia pages.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?company ?companyLabel ?wikipediaPage ?website WHERE {
  ?company wdt:P856 ?website .
  FILTER(?website = <http://www.jair.co.jp>)
  .
  ?wikipediaPage schema:about ?company ; schema:inLanguage ?lang ; schema:isPartOf ?site .
  FILTER(?lang = "en" || ?lang = "de")
  .
  FILTER(?site != <https://commons.wikimedia.org/>)
}

What is the official website of J-Air, and which English and German Wikipedia articles are about it?

Show me the official website of J-Air along with its English and German Wikipedia articles, excluding Commons.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.jair.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.jair.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://jair.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://jair.co.jp> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://jair.co.jp/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://jair.co.jp/> . } ?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 subproperties of the "field of work" property in Wikidata?

SELECT ?subproperty ?subpropertyLabel WHERE { ?subproperty wdt:P1647 wd:P101 . ?subproperty rdfs:label ?subpropertyLabel . FILTER(LANG(?subpropertyLabel) = "en") }

Can you list the subproperties of the property that classifies occupations and fields like art?

Which properties are narrower than "field of work" (P101)?

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/Q735> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Reverse"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "1"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P1647> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1647> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Actors with their images from Wikidata

SELECT ?actor ?image WHERE { ?actor wdt:P106 wd:Q33999 ; wdt:P31 wd:Q5 . OPTIONAL { ?actor wdt:P18 ?image . } } LIMIT 100

Who are the actors and what are their images on Wikidata?

Show me a list of actors along with their photos, if available.

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


Question: Czech cultural heritage sites with coordinates and administrative location, listed by label

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item WHERE {
  ?item wdt:P762 ?heritageId .
  ?item wdt:P131 ?admin .
  ?item wdt:P625 ?coord .
  ?item rdfs:label ?label .
}

Which Czech cultural heritage sites have both a geographic coordinate and an administrative location, and how many language labels do they have?

Show me all Czech cultural heritage sites that are geolocated and assigned to an administrative region, with each language label appearing as a separate row.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P762> /^ <http://www.wikidata.org/prop/direct/P762> ) ?var2 . ?var1 ( <http://www.w3.org/2000/01/rdf-schema#label> /^ <http://www.w3.org/2000/01/rdf-schema#label> ) ?var2 . ?var1 ( <http://www.wikidata.org/prop/direct/P131> /^ <http://www.wikidata.org/prop/direct/P131> ) ?var2 . ?var1 ( <http://www.wikidata.org/prop/direct/P625> /^ <http://www.wikidata.org/prop/direct/P625> ) ?var2 . }


Question: Cities and towns located in Palestine

SELECT ?item ?itemLabel WHERE { ?item wdt:P131 wd:Q23792 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 10

What are some places located in Palestine?

List the English-named locations in Palestine.

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


Question: Who are the people related to Isaac de Broen (e.g., spouse, child), and what are the types of relationships and any qualifiers like start dates?

SELECT ?person ?statement ?property ?qualifierValue
WHERE {
  {
    SELECT DISTINCT ?person ?statement ?property
    WHERE {
      ?statement ?property wd:Q5587113 .
      ?person ?claim ?statement .
      ?statementConfig wikibase:statementProperty ?property .
      ?statementConfig wikibase:claim ?claim .
      FILTER (?statementConfig != wd:P31)
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifier ?qualifierValue .
    ?qualifierConfig wikibase:qualifier ?qualifier .
  }
}
GROUP BY ?person ?statement ?property ?qualifierValue

List all familial connections of the Swedish actor Isaac de Broen, excluding "instance of", along with any associated qualifiers such as start times.

What are the relationships (like spouse or child) between Isaac de Broen and other people, and do any of these relationships have qualifiers like start dates?

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q5587113> . ?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: Biologists born in the 19th century with their birth dates and places of birth.

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 ?biologist ?biologistLabel ?birthYear ?birthMonth ?birthDay ?placeOfBirthLabel WHERE {
  ?biologist ( wdt:P106 / wdt:P279 * ) wd:Q864503 .
  ?biologist wdt:P569 ?birthDate .
  BIND( YEAR( ?birthDate ) AS ?birthYear ) BIND( MONTH( ?birthDate ) AS ?birthMonth ) BIND( DAY( ?birthDate ) AS ?birthDay ) OPTIONAL {
    ?biologist wdt:P19 ?placeOfBirth .
    ?placeOfBirth rdfs:label ?placeOfBirthLabel .
    FILTER ( LANG( ?placeOfBirthLabel ) = "en" )
  }
  ?biologist rdfs:label ?biologistLabel .
  FILTER ( LANG( ?biologistLabel ) = "en" )
}
LIMIT 100

Who are some biologists, and when and where were they born?

List up to 100 biologists along with their birth year, month, day, and place of birth in English.

SELECT DISTINCT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 )( MONTH ( ?var2 ) AS ?var4 )( DAY ( ?var2 ) AS ?var5 )( "00" AS ?var6 )( "00" AS ?var7 )( "00" AS ?var8 )( "00N00" AS ?var9 )( "00W00" AS ?var10 )( ?var1Label AS ?var11 ) ?var12Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q864503> . { ?var1 <http://www.wikidata.org/prop/direct/P463> ?var13 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P1401> ?var14 . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var15 . } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var12 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


Question: What occupations and categories are related to actor through instance-of relationships up to two levels deep?

SELECT ?item ?itemLabel ?type WHERE { { wd:Q33999 wdt:P31 ?item } UNION { wd:Q33999 wdt:P31 ?x . ?x wdt:P31 ?item } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } OPTIONAL { ?item wdt:P31 ?type } }

What are the types of the types of actor, and what are those types themselves?

List all concepts that are directly or indirectly classified as types of actor, along with their English labels and their own classifications.

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/Q33999> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Undirected"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "2"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P31> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: List all municipalities in the Námestovo District of Slovakia and their vehicle registration codes.

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:P131 wd:Q388888 .
  ?var1 wdt:P31 wd:Q6784672 .
  ?var1 rdfs:label ?var1Label .
  OPTIONAL {
    ?var1 wdt:P395 ?var3 .
  }
  FILTER(LANG(?var1Label) = "en")
}
LIMIT 100

What are the names of municipalities located in the Námestovo District of Slovakia, and what licence plate code do they use?

Show me the English names of all municipalities in the Námestovo District and their associated Slovak district licence plate codes.

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


Question: What administrative regions include Jerusalem, including Jerusalem itself?

SELECT ?administrativeEntity ?administrativeEntityLabel WHERE { wd:Q1218 wdt:P131* ?administrativeEntity . ?administrativeEntity rdfs:label ?administrativeEntityLabel . FILTER(LANG(?administrativeEntityLabel) = "en")}

Administrative territories Jerusalem belongs to

List all administrative entities that Jerusalem is located in, from the most specific to the broadest, including Jerusalem.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q1218> <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> "de, en". } }


Question: What are the English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt3864024?

SELECT ?item ?page WHERE { ?item wdt:P345 "tt3864024" . ?page schema:about ?item . ?page schema:inLanguage ?lang . FILTER (regex(str(?page), "wikipedia.org|wikiquote.org")) FILTER (?lang = "en" || ?lang = "de") }

Show me the language-specific articles about the film Lazer Team on Wikipedia and Wikiquote.

Which Wikipedia and Wikiquote pages in English and German are linked to the movie Lazer Team?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3864024". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Birth and death places of Guido Maria Dreves with coordinates

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?place ?placeLabel ?coord WHERE {
  {
    wd:Q1553615 wdt:P19 ?place
  } UNION {
    wd:Q1553615 wdt:P20 ?place
  }
  .
  ?place wdt:P625 ?coord .
  ?place rdfs:label ?placeLabel .
  FILTER ( LANG( ?placeLabel ) = 'en' )
}

Where was Guido Maria Dreves born and where did he die, and what are the geographic coordinates of those places?

Please provide the English names and geographic coordinates of the locations where Guido Maria Dreves was born and died.

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


Question: Male actors on Wikidata

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item WHERE {
  ?item wdt:P106 wd:Q33999 .
  ?item wdt:P21 wd:Q6581097 .
}

Who are the male actors listed on Wikidata?

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/Q28640> <http://www.wikidata.org/prop/direct/Q11699606> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/prop/direct/Q6581097> . }


Question: What are the English and German Wikipedia and Wikiquote pages for the movie with IMDb ID tt1630036?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?page WHERE {
  ?movie wdt:P345 "tt1630036" .
  ?page schema:about ?movie .
  VALUES ?lang {
    "en" "de"
  }
  .
  ?page schema:inLanguage ?lang .
}

Show me the language-specific pages about the film Courageous on Wikipedia and Wikiquote in English and German.

Which language versions of pages about the movie Courageous are available on Wikipedia and Wikiquote?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1630036". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who were born in Caloocan, Philippines?

SELECT ?person ?personLabel WHERE { ?person wdt:P19 wd:Q1478 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

List people with Caloocan as their place of birth.

What are the names of individuals born in the city of Caloocan?

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


Question: Painters associated with Dutch-labeled art movements

SELECT ?painter ?artMovement WHERE { ?painter wdt:P106 wd:Q1028181 ; wdt:P31 wd:Q5 ; wdt:P135 ?artMovement . ?artMovement wdt:P31 wd:Q968159 ; rdfs:label ?label . FILTER (LANG(?label) = "nl") } LIMIT 1000

Which painters are linked to art movements that have a Dutch label?

List all painters who are part of an art movement described in Dutch.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P135> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . { SELECT ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q968159> . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "nl" ) ) ) . } } } LIMIT 1000


Question: What is the birth date of Charles D. Walker, and is he still alive?

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 ?label ?birthDate ?deathDate WHERE {
  wd:Q1064074 rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  OPTIONAL {
    wd:Q1064074 wdt:P569 ?birthDate .
  }
  OPTIONAL {
    wd:Q1064074 wdt:P570 ?deathDate .
  }
}

Can you tell me the full name and birth date of astronaut Charles D. Walker?

When was Charles D. Walker born, and when did he die?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q1064074> 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: People born in Bavorov with their birth and death dates.

SELECT ?personLabel ?birthDate ?deathDate WHERE { ?person wdt:P31 wd:Q5 ; wdt:P19 wd:Q791533 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } }

Who were the people born in Bavorov, and when were they born and died?

List the names, birth dates, and death dates of individuals born in the Czech town of Bavorov.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q791533> 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: Siblings in Wikidata: one example

SELECT ?sibling1 ?sibling2 WHERE { ?sibling1 wdt:P3373 ?sibling2 . } LIMIT 1

Who are two people who are siblings according to Wikidata?

Show me a pair of individuals linked by the sibling relationship in Wikidata.

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


Question: People with unnamed relatives (P1038) and no specified kinship type (P1039), with start dates if available.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ?personLabel ?relative ?relativeLabel ?startDate WHERE {
  ?person p:P1038 ?statement .
  ?statement ps:P1038 ?relative .
  OPTIONAL {
    ?statement pq:P580 ?startDate .
  }
  FILTER NOT EXISTS {
    ?statement pq:P1039 ?kinshipType .
  }
  OPTIONAL {
    ?person rdfs:label ?personLabel .
    FILTER(LANG(?personLabel) = "en")
  }
  OPTIONAL {
    ?relative rdfs:label ?relativeLabel .
    FILTER(LANG(?relativeLabel) = "en")
  }
}

Who are the people in Wikidata who have relatives listed without specifying the type of relationship, and when did those relationships begin?

List all individuals and their relatives where the nature of the family connection is not defined, along with any recorded start dates of the relationship.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/P1038> ?var5 ; <http://wikiba.se/ontology#rank> ?var3 . VALUES ( ?var6 ) { ( <http://www.wikidata.org/prop/qualifier/P1039> ) ( <http://www.wikidata.org/prop/qualifier/P580> ) } OPTIONAL { ?var5 ?var6 ?var7 . } FILTER ( ( !( BOUND ( ?var7 ) ) ) ) . ?var2 <http://wikiba.se/ontology#qualifier> ?var6 . ?var5 <http://www.wikidata.org/prop/statement/P1038> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "cs,sk,en". } }


Question: Top occupations of female citizens of Poland, ranked by number of people.

SELECT ?occupation ?occupationLabel ( COUNT( DISTINCT ?person ) AS ?count ) WHERE { ?person wdt:P27 wd:Q36 ; wdt:P21 wd:Q6581072 ; wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") } GROUP BY ?occupation ?occupationLabel ORDER BY DESC(?count)

What are the most common occupations among women who are citizens of Poland?

List the occupations of Polish women, ordered by how many women have each occupation, with English labels.

SELECT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> ; <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P106> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P21> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )


Question: Cities in Israel

SELECT ?city ?cityLabel WHERE { ?city wdt:P31 wd:Q515 ; wdt:P17 wd:Q801 . ?city rdfs:label ?cityLabel . FILTER(LANG(?cityLabel) = "en") }

List the names of all cities in Israel, using their English labels.

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


Question: What are the English and German Wikipedia pages for the movie with IMDb ID tt0178997?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?wikipediaPage ?imdbId WHERE {
  ?movie wdt:P345 ?imdbId .
  FILTER(?imdbId = "tt0178997")
  .
  ?wikipediaPage schema:about ?movie .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
}

Which Wikipedia articles in English or German are about the film identified by the IMDb ID tt0178997?

Show me the Wikipedia pages in English and German for the movie that has the IMDb identifier tt0178997, along with the movie and its IMDb ID.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0486751". } ?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/P345> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What is the image associated with the SNAC ARK ID w6j7236w?

SELECT ?image WHERE { ?item wdt:P3430 "w6j7236w" . OPTIONAL { ?item wdt:P18 ?image . } }

Can you show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6j7236w?

Show the image of Daniel Sennert from the Social Networks and Archival Context database.

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


Question: What are some people and their occupation statements, along with any qualifiers (like start date or rank) attached to those occupations?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {
  ?person p:P106 ?statement .
  ?statement ps:P106 ?occupation .
  OPTIONAL {
    ?statement ?qualifierProperty ?qualifierValue .
    ?qualifierProperty wdt:P2302 wd:Q17442446 .
  }
}
GROUP BY ?person ?statement
LIMIT 101

Show me a list of people with occupations and the properties used to qualify those occupations, such as when they started or ended the job.

Which people have occupations with additional details like time periods or roles, and what are those details?

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


Question: Humans born in Italy who are named after someone.

SELECT ?human ?namedAfter WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P19 ?birthPlace . ?birthPlace wdt:P17 wd:Q38 . ?human wdt:P138 ?namedAfter . }

Which people born in Italy have names derived from another person?

Show me notable Italians who were named after historical or religious figures.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q38> . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". } }


Question: Hebrew-named villages in Israel starting with "כפר"

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 ?settlement ?label WHERE {
  ?settlement wdt:P31 wd:Q486972 ; wdt:P17 wd:Q801 ; rdfs:label ?label .
  FILTER(LANG(?label) = "he")
  FILTER(REGEX(?label , "^כפר"))
}

What are the villages in Israel that have Hebrew names beginning with "כפר"?

List all human settlements in Israel whose Hebrew labels start with "כפר".

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q801> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "he" ) ) ) . FILTER ( ( REGEX ( ?var1Label , "$כפר" ) ) ) . }


Question: What is the official website and Wikipedia page for Hostelling International Northern Ireland?

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 wdt:P856 <https://www.hini.org.uk/> . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) IN ("en", "de")) . ?var2 schema:about ?var1 . FILTER(STRSTARTS(STR(?var2), "https://en.wikipedia.org/") || STRSTARTS(STR(?var2), "https://de.wikipedia.org/")) . ?var1 wdt:P856 ?var3 . }

Which Wikipedia article in English or German describes Hostelling International Northern Ireland, and what is its official website?

Show me the English Wikipedia page and official URL for the organization Hostelling International Northern Ireland.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.www.hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.www.hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://www.hini.org.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://www.hini.org.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hini.org.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hini.org.uk> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <https://hini.org.uk/> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P856> <http://hini.org.uk/> . } ?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". } }