Question: Which Wikidata items have Twitter usernames "CityOfBoston", "melroserugby", or "deventergem"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  FILTER(?username IN("CityOfBoston" , "melroserugby" , "deventergem"))
}

What entities on Wikidata are associated with the Twitter usernames CityOfBoston, melroserugby, or deventergem?

Show me the Wikidata items that use "CityOfBoston", "melroserugby", or "deventergem" as their Twitter handle.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "micherve" ) ( "string2" ) } } ORDER BY ASC( ?var3 )


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

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

Show me the Wikipedia articles in English and German about the film identified by tt0359423 on IMDb.

Which Wikipedia pages in English and German discuss the movie 'A Home at the End of the World'?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0359423". } ?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: Humans with the French name "Benjamin"

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?person WHERE {
  ?person rdfs:label "Benjamin" @fr .
  ?person wdt:P31 wd:Q5 .
}

Who are the people named Benjamin in French?

List all humans whose name in French is Benjamin.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "benjamin"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Top Japanese House of Representatives electoral districts by number of representatives.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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 ?district ?districtLabel ?memberCount WHERE {
  {
    SELECT ?district(COUNT(DISTINCT ?position) AS ?memberCount) WHERE {
      ?person p:P39 ?position .
      ?person wdt:P27 wd:Q17 .
      ?position ps:P39 wd:Q17506823 ; pq:P768 ?district .
    }
    GROUP BY ?district
    ORDER BY DESC(?memberCount)
    LIMIT 50
  }
  OPTIONAL {
    ?district rdfs:label ?districtLabel .
    FILTER(LANG(?districtLabel) = "en")
  }
}
ORDER BY DESC(?memberCount)

Which electoral districts in Japan have the most members in the House of Representatives, and how many representatives does each have?

List the Japanese electoral districts for the House of Representatives, ranked by how many representatives are elected from each, along with their English names.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 WHERE { { SELECT DISTINCT ?var1 ( COUNT ( DISTINCT ?var5 ) AS ?var4 ) WHERE { ?var6 <http://www.wikidata.org/prop/P39> ?var5 . ?var5 ( <http://www.wikidata.org/prop/statement/P39> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q17506823> ; <http://www.wikidata.org/prop/qualifier/P768> ?var1 . } GROUP BY ?var1 } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "zh,en". } } ORDER BY DESC( ?var4 )


Question: Does the VIAF ID 308740207 correspond to an entity in Wikidata, and what is its name?

SELECT ?item ?itemLabel WHERE { ?item wdt:P214 "308740207" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Who is the person associated with the VIAF identifier 308740207 in Wikidata?

Show me the English label of the Wikidata item that has the VIAF ID 308740207.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "308740207". }


Question: German labels and descriptions of Wikidata properties used for assigning identifiers

SELECT ?property ?label ?description WHERE { ?property a wikibase:Property . ?property rdfs:label ?label . ?property schema:description ?description . FILTER (LANG(?label) = "de") . FILTER (LANG(?description) = "de") . FILTER (CONTAINS(LCASE(?label), "id") || CONTAINS(LCASE(?label), "identifier") || CONTAINS(LCASE(?description), "id") || CONTAINS(LCASE(?description), "identifier")) } LIMIT 100

What are the German names and descriptions of Wikidata properties that are used to assign IDs or identifiers?

Please list all Wikidata properties in German that are used to identify entities, along with their German descriptions.

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/Q853614> . ?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 ) = "de" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . } LIMIT 100


Question: Humans with the surname Luccioni.

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

Who are the people whose last name is Luccioni?

List all humans who have the family name Luccioni.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "luccioni"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Who is the Chinese historical figure named "段克己" born before 1900 with the most Wikipedia articles about them?

SELECT ?item (COUNT(?article) AS ?count) WHERE {  VALUES ?labelProperty { rdfs:label skos:altLabel }  ?item ?labelProperty "段克己"@zh-hant ;        wdt:P31 wd:Q5 .  OPTIONAL {    ?article schema:about ?item .  }  MINUS {    ?item wdt:P569 ?birthDate .    FILTER (xsd:integer(SUBSTR(STR(?birthDate), 1, 4)) > 1899)  }} GROUP BY ?item ORDER BY DESC(?count) LIMIT 1

Which person with the Chinese name "段克己", who is a human and was born before 1900, has the highest number of Wikipedia articles associated with them?

Find the Wikidata item for the person named "段克己" in Traditional Chinese who was born in or before 1899 and has the most Wikipedia pages about them.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.w3.org/2000/01/rdf-schema#label> ) ( <http://www.w3.org/2004/02/skos/core#altlabel> ) } ?var1 ?var4 "段克己"@zh-hant ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . } MINUS { BIND ( YEAR ( ?var5 ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . FILTER ( ( ( ?var6 > "1899"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } GROUP BY ?var1 ORDER BY DESC( ?var3 ) LIMIT 1


Question: What is the English Wikipedia page for the film with IMDb ID tt6413002, and what is its title?

SELECT ?item ?itemLabel ?wikipedia_page WHERE { ?item wdt:P345 "tt6413002" . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } }

Which Wikipedia articles in English or German are about the movie with IMDb identifier tt6413002, and what is its English name?

Show me the English label and the English or German Wikipedia links for the movie identified by IMDb ID tt6413002.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt6413002". } ?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 are the images associated with Jørgen Ellegaard Andersen, including those of his authored works and their main subjects?

SELECT DISTINCT ?image WHERE { { wd:Q49806447 wdt:P18 ?image . } UNION { wd:Q49806447 ( ^wdt:P50 / (wdt:P921 * | wdt:P50) / wdt:P18 ) ?image . } }

Show me the image of Jørgen Ellegaard Andersen and images of topics or works he is associated with.

Retrieve all images linked to Jørgen Ellegaard Andersen either directly or through his authored works and their subjects.

SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q49806447> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q49806447> !( <http://www.wikidata.org/prop/direct/P1889> ) ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { <http://www.wikidata.org/entity/Q49806447> (^ <http://www.wikidata.org/prop/direct/P50> /( <http://www.wikidata.org/prop/direct/P921> *| <http://www.wikidata.org/prop/direct/P50> )/ <http://www.wikidata.org/prop/direct/P18> ) ?var1 . } }


Question: Active Legislative Yuan constituencies in Taiwan

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 ?constituency ?constituencyLabel WHERE {
  ?constituency wdt:P31 wd:Q19409201 . MINUS {
    ?constituency wdt:P576 [] .
  }
  ?constituency rdfs:label ?constituencyLabel .
  FILTER(LANG(?constituencyLabel) = "en")
}

Which Legislative Yuan constituencies are currently active and have not been abolished?

List the English names of all current electoral districts for Taiwan’s Legislative Yuan, excluding those that have been dissolved.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19409201> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> [] . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,zh-tw". } }


Question: People born on August 8th

SELECT ?person ?label WHERE { ?person wdt:P569 ?birthDate . FILTER ( MONTH(?birthDate) = 8 && DAY(?birthDate) = 8 ) . ?person rdfs:label ?label . FILTER(LANG(?label) = "en") } LIMIT 5

List five people with their names who were born on August 8th.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . FILTER ( ( ( MONTH ( ?var2 ) = "8"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( DAY ( ?var2 ) = "8"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 5


Question: What are the FIPS code properties in Wikidata with English labels and descriptions?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?property ?propertyLabel ?propertyDescription WHERE {
  ?property rdf:type wikibase:Property .
  ?property rdfs:label ?propertyLabel .
  ?property schema:description ?propertyDescription .
  FILTER ( LANG( ?propertyLabel ) = "en" ) FILTER ( LANG( ?propertyDescription ) = "en" ) FILTER ( CONTAINS( LCASE( ?propertyLabel ) , "fips" ) || CONTAINS( LCASE( ?propertyDescription ) , "fips" ) )
}
ORDER BY ?propertyLabel
LIMIT 100

Which properties in Wikidata are used to represent FIPS codes, and what are their English labels and descriptions?

List all English-language properties in Wikidata related to FIPS standards, including their labels and descriptions.

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/Q26868624> . ?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 ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Which Wikidata items have the Twitter handles "evamen", "tudelft", "US_IMLS", or "ZENODO_ORG"?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "evamen" "tudelft" "US_IMLS" "ZENODO_ORG" } }

Who or what organizations on Wikidata are associated with the Twitter usernames evamen, tudelft, US_IMLS, and ZENODO_ORG?

List the entities on Wikidata that use "evamen", "tudelft", "US_IMLS", or "ZENODO_ORG" as their Twitter/X usernames.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "evamen" ) ( "string1" ) ( "string2" ) ( "US_IMLS" ) ( "string3" ) ( "tudelft" ) ( "ZENODO_ORG" ) ( "Beck_Grant" ) ( "eoscpilot" ) ( "aw_DCC" ) ( "string4" ) ( "h_lindroos" ) ( "LM_HATII" ) } }


Question: Awards received by Maxine Singer and the years they were awarded

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?award ?awardLabel ?awardDate WHERE {
  wd:Q7309 p:P166 [ ps:P166 ?award ; pq:P585 ?awardDate ] .
  ?award rdfs:label ?awardLabel .
  FILTER(LANG(?awardLabel) = "en")
}

What awards did Maxine Singer receive, and when were they given?

List all the awards Maxine Singer was given along with the dates of receipt.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q7309> <http://www.wikidata.org/prop/P166> [ <http://www.wikidata.org/prop/statement/P166> ?var1 ; <http://www.wikidata.org/prop/qualifier/P585> ?var2 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Cities in Kazakhstan

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 ?city ?cityLabel WHERE {
  ?city wdt:P31 wd:Q515 ; wdt:P17 wd:Q232 .
  ?city rdfs:label ?cityLabel .
  FILTER ( LANG( ?cityLabel ) = "en" )
}

List the English names of all cities located in Kazakhstan.

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


Question: Who are the actors born in Hungary?

SELECT DISTINCT ?actor ?actorLabel WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P19 wd:Q28 . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = "en") } LIMIT 100

List English-named actors whose place of birth is Hungary and whose occupation is acting.

Can you tell me the names of Hungarian-born actors?

SELECT DISTINCT ?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/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q28> . } LIMIT 100


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

SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 "tt1183251" . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Can you show me the Wikipedia articles in English and German about the film 'Beyond a Reasonable Doubt' (2009)?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1183251". } ?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 and Wikiquote pages in English or German are about the movie with IMDb ID tt1303828?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?wiki_page WHERE {
  ?movie wdt:P345 "tt1303828" .
  ?wiki_page schema:about ?movie .
  {
    ?wiki_page schema:inLanguage "en" .
  } UNION {
    ?wiki_page schema:inLanguage "de" .
  }
}

Show me the English and German language Wikipedia/Wikiquote pages for the film Defendor (IMDb: tt1303828).

Which language versions of Wikipedia and Wikiquote have articles about the movie identified by IMDb ID tt1303828?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1303828". } ?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 properties and values are associated with the Mexico men's national football team on Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q164089 ?property ?value
}
LIMIT 10

Can you show me all the information available for the Mexico national football team in Wikidata?

What do we know about the Mexico men's national football team in terms of its Wikidata properties?

SELECT ?var1 ?var2 WHERE { <http://dbpedia.org/resource/Mexico_national_football_team> ?var1 ?var2 . } LIMIT 10


Question: Wikipedia page in English or German for movie with IMDb ID tt4677578

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

What is the English or German Wikipedia page for the film with IMDb ID tt4677578?

Show me the movie, its English or German Wikipedia link, and its IMDb ID for the movie identified by tt4677578.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt4677578". } ?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: English and German Wikipedia pages for The Dark Knight (IMDb tt0468569)

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

What are the English and German Wikipedia articles about the movie The Dark Knight?

Show me the English and German Wikipedia pages linked to the Wikidata item for The Dark Knight (2008).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt6404816". } ?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: Wikimedia pages in English or German about the movie with IMDb ID tt0466856

SELECT ?page WHERE { ?movie wdt:P345 "tt0466856" . ?page schema:about ?movie . { ?page schema:inLanguage "en" . } UNION { ?page schema:inLanguage "de" . } }

What Wikipedia or Wikiquote pages in English or German are about the film with IMDb ID tt0466856?

Show me the English and German language pages on Wikipedia or Wikiquote for the movie ATL (2006), identified by IMDb ID tt0466856.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0466856". } ?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: Female pornographic actors born in Hungary who are 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 DISTINCT ?person ?personLabel ?image WHERE {
  ?person wdt:P106 wd:Q488111 .
  ?person wdt:P21 wd:Q6581072 .
  ?person wdt:P19 wd:Q28 .
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
  FILTER NOT EXISTS {
    ?person wdt:P570 ?deathDate
  }
  .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
LIMIT 100

Who are the living female pornographic actors born in Hungary?

List the names of female adult performers born in Hungary and indicate if any have images available on Wikimedia Commons.

SELECT DISTINCT ?var1 ?var1Label ?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/Q488111> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P19> <http://www.wikidata.org/entity/Q28> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P570> _:b4 . } } LIMIT 100


Question: Image of Aristide Cavaillé-Coll with SNAC ARK ID w6jh4m4q

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

What is the image of the person with SNAC ARK ID w6jh4m4q?

Show me the Wikimedia Commons image associated with the SNAC ARK ID w6jh4m4q.

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


Question: Mountains in Indonesia with coordinates and images

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?mountain ?mountainLabel ?coordinates ?image WHERE {
  ?mountain wdt:P31 wd:Q8502 .
  ?mountain wdt:P17 wd:Q252 .
  ?mountain wdt:P625 ?coordinates .
  ?mountain skos:prefLabel ?mountainLabel .
  OPTIONAL {
    ?mountain wdt:P18 ?image .
  }
  FILTER ( LANG( ?mountainLabel ) = "id" || LANG( ?mountainLabel ) = "en" )
}
ORDER BY ASC ( ?mountainLabel )

What are the mountains in Indonesia, their coordinates, and which ones have images?

List all mountains in Indonesia, including their geographic coordinates and optional Wikimedia Commons images, sorted alphabetically by name in Indonesian or English.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,nb,nn,en,fi". } } ORDER BY ASC( ?var1Label )


Question: What are the different types of pistols, and what images are available for them?

SELECT ?pistolType ?pistolTypeLabel ?image WHERE { ?pistolType wdt:P279 wd:Q1907525 . OPTIONAL { ?pistolType wdt:P18 ?image . } ?pistolType rdfs:label ?pistolTypeLabel . FILTER(LANG(?pistolTypeLabel) = "en") } LIMIT 100

Can you list all subclasses of pistols along with their English names and associated images from Wikimedia Commons?

Show me the names of pistol variants and their pictures if they exist.

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


Question: What are the English and German Wikipedia articles for the movie with IMDb ID tt1135084?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt1135084" .
  ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" )
}

Show me the Wikipedia pages in English and German about the film "Takers".

Which language versions of Wikipedia have articles about the movie identified by IMDb ID tt1135084?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1135084". } ?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: Wikipedia pages in English or German about the TV series with IMDb ID tt0089572.

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

What are the English and German Wikipedia pages for the TV show "The Mean Season" (IMDb ID tt0089572)?

Show me the English and German Wikipedia links for the TV series identified by IMDb ID tt0089572.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0089572". } ?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: Wikipedia page for Zombillenium in English or German

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?wikipedia_page ?imdb_id WHERE {
  BIND("tt5313906" AS ?imdb_id)
  .
  ?item wdt:P345 ?imdb_id .
  ?wikipedia_page schema:about ?item .
  {
    ?wikipedia_page schema:inLanguage "en" .
  } UNION {
    ?wikipedia_page schema:inLanguage "de" .
  }
}

What is the English or German Wikipedia page for the movie with IMDb ID tt5313906?

Show me the Wikipedia page in English or German for the film identified by IMDb ID tt5313906.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5313906". } ?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 are the types of internal items used in Wikidata, and what are their English labels?

SELECT ?item ?label ?image WHERE { ?item wdt:P279 wd:Q21281405 . ?item rdfs:label ?label . FILTER(LANG(?label) = "en") OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 100

Can you list all subclasses of Wikidata internal items along with their names and any associated images?

Show me the English names of all Wikidata-specific item types like property proposals and templates.

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


Question: What are the English and German Wikipedia pages about the film with IMDb ID tt0152930?

SELECT ?item ?article ?imdbId WHERE { ?item wdt:P345 "tt0152930" . ?article schema:about ?item . { ?article schema:inLanguage "en" } UNION { ?article schema:inLanguage "de" } . ?item wdt:P345 ?imdbId }

Show me the Wikipedia articles in English and German for the movie identified by tt0152930 on IMDb.

Which language versions of Wikipedia articles are linked to the film with IMDb identifier tt0152930?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0152930". } ?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 Wikidata item for the Twitter username "leojoubert"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  FILTER(?username = "leojoubert")
}

Who has the Twitter handle "leojoubert" on Wikidata?

Find the person associated with the Twitter account @leojoubert in Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "looniverse" ) ( "leojoubert" ) ( "string1" ) } } ORDER BY ASC( ?var3 )


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt0283469?

SELECT ?movie ?wikipediaPage WHERE { ?movie wdt:P345 "tt0283469" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage "en" . } UNION { ?wikipediaPage schema:inLanguage "de" . } }

Show me the Wikipedia articles in English or German about the film identified by tt0283469 on IMDb.

Which Wikipedia pages in English or German discuss the movie Martin & Orloff?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0283469". } ?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: Which Wikidata items are associated with the Twitter usernames Wikimedia, Wikipedia, UNESCO, Jagex, halfak, Wikicite, and Anthere?

SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "Wikimedia" "Wikipedia" "UNESCO" "Jagex" "halfak" "Wikicite" "Anthere" } } ORDER BY ?twitterUsername

Who are the people or organizations on Wikidata that have Twitter accounts with the usernames 'Wikimedia', 'Wikipedia', 'UNESCO', 'Jagex', 'halfak', 'Wikicite', or 'Anthere'?

List the Wikidata entities linked to the Twitter handles: Wikimedia, Wikipedia, UNESCO, Jagex, halfak, Wikicite, and Anthere.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "K_rho" ) ( "string7" ) ( "Auregann" ) ( "re_kioo" ) ( "string8" ) ( "string9" ) ( "PoulpyWP" ) ( "cyb3rops" ) ( "string10" ) ( "tamimi2213" ) ( "string11" ) ( "esimperl" ) ( "string12" ) ( "TheWebConf" ) ( "laroyo" ) ( "eglu81" ) ( "cawelty" ) ( "symac" ) ( "alexx283" ) ( "string13" ) ( "string14" ) ( "Jagex" ) ( "string15" ) ( "feygelehh" ) ( "string16" ) ( "juetmilie" ) ( "krnsux" ) ( "algoritmic" ) ( "string17" ) ( "creapills" ) ( "string18" ) ( "string19" ) ( "cyboolo" ) ( "Quotes_PS" ) ( "string20" ) ( "string21" ) ( "fred_pom" ) ( "MaitreKlem" ) ( "bismatoj" ) ( "string22" ) ( "halfak" ) ( "string23" ) ( "UNESCO" ) ( "string24" ) ( "string25" ) ( "niggi" ) ( "SFR" ) ( "string26" ) ( "Bild" ) ( "bzberlin" ) ( "Welt" ) ( "HuffPostDE" ) ( "bearloga" ) ( "Wikimedia" ) ( "Wikipedia" ) ( "Anthere" ) ( "string27" ) ( "la_fing" ) ( "string28" ) ( "samgoeta" ) ( "Wikicite" ) ( "string29" ) ( "notknut" ) ( "string30" ) } } ORDER BY ASC( ?var3 )


Question: What is the English or German Wikipedia page for the movie with IMDb ID tt3399916?

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

Show me the Wikipedia articles in English or German about the film "The Dead Lands".

Which language versions of Wikipedia have an article about the movie identified by tt3399916?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3399916". } ?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: List the administrative subdivisions of San Marino ordered by how many Wikipedia articles exist about them, excluding those with Persian Wikipedia pages, and show the English Wikipedia link if available.

SELECT ?place ( COUNT( DISTINCT ?wikipediaPage ) AS ?wikipediaCount ) ?enPage WHERE { ?place ( wdt:P31 / wdt:P279* ) wd:Q2490986 . ?wikipediaPage schema:about ?place . OPTIONAL { ?enPage schema:about ?place ; schema:isPartOf <https://en.wikipedia.org/> . } MINUS { ?faPage schema:about ?place ; schema:inLanguage "fa" ; schema:isPartOf <https://fa.wikipedia.org/> . } } GROUP BY ?place ?enPage ORDER BY DESC( ?wikipediaCount ) LIMIT 20000

Which villages and towns in San Marino have the most Wikipedia articles written about them, and which of them have an English Wikipedia page?

Show me the top 20,000 places in San Marino by the number of Wikipedia pages about them, but skip any that have a Persian Wikipedia page, and include the English Wikipedia link where it exists.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2490986> . ?var2 <http://schema.org/about> ?var1 . OPTIONAL { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } MINUS { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> "fa". ?var5 <http://schema.org/isPartOf> <https://fa.wikipedia.org/> . } } GROUP BY ?var1 ?var1Label ?var4 ORDER BY DESC( ?var3 ) LIMIT 20000


Question: What English and German-language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0329717?

SELECT ?movie ?page WHERE { VALUES ?imdbId { "tt0329717" } ?movie wdt:P345 ?imdbId . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Show me the Wikipedia and Wikiquote links in English and German for the film Hollywood Homicide.

Which language versions of pages about the movie Hollywood Homicide exist on Wikipedia and Wikiquote?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0329717". } ?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: Country of Église Sainte-Croix de Bastia

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?country ?countryLabel WHERE {
  BIND( wd:Q3584983 AS ?church ) .
  ?church wdt:P17 ?country .
  ?country rdfs:label ?countryLabel .
  FILTER ( LANG( ?countryLabel ) = "en" )
}

In which country is the Église Sainte-Croix de Bastia located?

Tell me the country where Église Sainte-Croix de Bastia is situated.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { BIND ( <http://www.wikidata.org/entity/Q3584983> AS ?var3 ). ?var3 <http://www.wikidata.org/prop/direct/P17> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


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

SELECT ?item ?page WHERE { VALUES ?imdbId { "tt0142245" } ?item wdt:P345 ?imdbId . ?page schema:about ?item . ?page schema:inLanguage ?lang . VALUES ?lang { "en" "de" } }

Show me the language-specific Wikimedia pages (in English or German) for the film identified by tt0142245 on IMDb.

Which pages on Wikipedia and Wikiquote in English or German describe the movie Dragon Ball Z: Bardock – The Father of Goku?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0142245". } ?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 are the English and German Wikipedia pages for the movie with IMDb ID tt0312843?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt0312843" .
  {
    ?wikipedia_page schema:about ?movie .
    ?wikipedia_page schema:inLanguage "en" .
  } UNION {
    ?wikipedia_page schema:about ?movie .
    ?wikipedia_page schema:inLanguage "de" .
  }
}

Show me the Wikipedia articles in English and German about the film identified by tt0312843 on IMDb.

Which Wikipedia pages in English or German discuss the movie Suicide Club (tt0312843)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0312843". } ?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 English or German Wikipedia page for the movie with IMDb ID tt2231489?

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

Can you find the Wikipedia articles in English or German about the film identified by IMDb ID tt2231489?

Show me the Wikipedia pages in English or German that are about the movie with IMDb identifier tt2231489.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2231489". } ?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: English or German Wikipedia page for the movie with IMDb ID tt6452332.

SELECT ?movie ?wikipediaPage WHERE { VALUES ?imdbId { "tt6452332" } ?movie wdt:P345 ?imdbId . ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What is the English or German Wikipedia page for the movie identified by IMDb ID tt6452332?

Show me the English or German Wikipedia link for the movie with IMDb ID tt6452332.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt6452332". } ?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 are the English or German Wikipedia pages about the movie with IMDb ID tt0330333?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page WHERE {
  ?item wdt:P345 "tt0330333" .
  ?wikipedia_page schema:about ?item .
  FILTER(STRSTARTS(STR(?wikipedia_page) , "https://en.wikipedia.org/") || STRSTARTS(STR(?wikipedia_page) , "https://de.wikipedia.org/"))
}

Show me the Wikipedia articles in English or German that are about the film identified by tt0330333 on IMDb.

Which Wikipedia pages in English or German discuss the movie with IMDb identifier tt0330333?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0330333". } ?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 IMDb ID and Wikipedia page (in English or German) for the movie with IMDb ID tt1176704?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage ?imdbId WHERE {
  ?item wdt:P345 "tt1176704" .
  ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) BIND( "tt1176704" AS ?imdbId )
}

Which Wikipedia pages in English or German are about the film with IMDb ID tt1176704, and what is its IMDb ID?

Show me the Wikipedia links in English or German for the movie identified by tt1176704 on IMDb, along with the IMDb ID.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1176704". } ?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 are the English and German Wikipedia pages for the movie with IMDb ID tt0133093?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipedia_page ?imdb_id WHERE {
  ?item wdt:P345 "tt0133093" .
  ?wikipedia_page schema:about ?item .
  ?wikipedia_page schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) .
  BIND( "tt0133093" AS ?imdb_id )
}

Can you show me the Wikipedia articles in English and German that are about the movie "The Matrix"?

I want to find the language versions of Wikipedia pages linked to the IMDb entry tt0133093, specifically in English and German.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5658124". } ?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: Movies with IMDb ID tt0468569 and their English or German Wikipedia articles.

SELECT ?movie ?article WHERE { VALUES ?imdb { "tt0468569" } ?movie wdt:P345 ?imdb . ?article schema:about ?movie . ?article schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What are the English and German Wikipedia articles about the movie with IMDb ID tt0468569?

Show me the Wikipedia pages in English and German for the movie identified by the IMDb ID tt0468569.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt4729492". } ?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: English or German Wikipedia page for the film with IMDb ID tt2823664

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

What is the English or German Wikipedia page for the movie identified by tt2823664 on IMDb?

Show me the Wikipedia page in English or German that describes the film with IMDb ID tt2823664.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2823664". } ?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 are the English or German Wikipedia pages for the movie with IMDb ID tt0364067?

SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 ?imdbId . FILTER(?imdbId = "tt0364067") { ?wikipediaPage schema:about ?movie ; schema:inLanguage "en" . } UNION { ?wikipediaPage schema:about ?movie ; schema:inLanguage "de" . } }

Which Wikipedia pages in English or German are about the movie identified by the IMDb ID tt0364067?

Show me the English or German Wikipedia articles linked to the movie with IMDb ID tt0364067, along with the IMDb ID itself.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0364067". } ?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 field of work did Ada Lovelace have, and what category does that field belong to?

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 ?field ?fieldLabel ?type ?typeLabel WHERE {
  wd:Q7259 wdt:P101 ?field .
  ?field wdt:P31 ?type .
  ?field rdfs:label ?fieldLabel .
  ?type rdfs:label ?typeLabel .
  FILTER(LANG(?fieldLabel) = "en")
  FILTER(LANG(?typeLabel) = "en")
}

What are the academic categories of Ada Lovelace’s field of work?

Is mathematics considered an academic discipline or an academic major, and is it Ada Lovelace’s field of work?

SELECT ?var1 ?var1Label ?var2Label WHERE { <http://www.wikidata.org/entity/Q7259> <http://www.wikidata.org/prop/direct/P101> ?var1 . ?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> "es,en". } }


Question: List geographic features in Orange County, California with their GNIS IDs, official websites, areas, coordinates, and English Wikipedia pages.

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 ?feature ?label ?gnisId ?website ?area ?coord ?wikipedia WHERE {
  ?feature wdt:P131 wd:Q5925 ; wdt:P590 ?gnisId .
  OPTIONAL {
    ?feature rdfs:label ?label .
    FILTER ( LANG( ?label ) = 'en' )
  }
  OPTIONAL {
    ?feature wdt:P856 ?website
  }
  OPTIONAL {
    ?feature wdt:P2046 ?area
  }
  OPTIONAL {
    ?feature wdt:P625 ?coord
  }
  OPTIONAL {
    ?wikipedia schema:about ?feature ; schema:inLanguage 'en' ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}
LIMIT 500

What are the English-labeled geographic features in Orange County, California, along with their GNIS Feature IDs, official websites, areas, coordinates, and corresponding English Wikipedia articles?

Please provide a list of geographic features located in Orange County, California, including their English names, GNIS identifiers, official websites, areas, geographic coordinates, and links to their English Wikipedia pages.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> * <http://www.wikidata.org/entity/Q136736> . ?var1 <http://www.wikidata.org/prop/direct/P590> <http://www.wikidata.org/entity/Q5925> . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> "en". FILTER ( ( ( SUBSTR ( STR ( ?var3 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"25"^^<http://www.w3.org/2001/XMLSchema#integer> ) = "string1" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P856> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P2046> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var6 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } } LIMIT 500


Question: English and German language pages about the movie with IMDb ID tt0050976.

SELECT ?movie ?page WHERE { ?movie wdt:P345 "tt0050976" . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

What English and German language Wikipedia, Wikiquote, or Commons pages are related to the movie *The Seventh Seal* (IMDb: tt0050976)?

Show me all pages in English or German that are about the movie identified by IMDb ID tt0050976.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0050976". } ?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 are the English and German Wikipedia pages for the film with IMDb ID tt0077711?

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

Can you show me the Wikipedia articles in English and German about the movie Autumn Sonata?

Which language versions of Wikipedia have articles about the movie identified by IMDb ID tt0077711?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0077711". } ?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: English and German Wikipedia articles for the movie with IMDb ID tt1856047

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt1856047" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } }

What are the English and German Wikipedia pages for the movie with IMDb ID tt1856047?

Show me the English and German Wikipedia links for the film identified by tt1856047 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1856047". } ?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: Female sculptors born in Córdoba Province, Argentina

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581072 .
  ?person wdt:P19 ?birthPlace .
  ?birthPlace wdt:P131 * wd:Q44759 .
  ?person wdt:P106 wd:Q1281618 .
}
LIMIT 5000

Who are the female sculptors born in Córdoba Province, Argentina?

List all women who are sculptors and were born in Córdoba Province, Argentina.

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> . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q44759> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q1281618> ) } ?var4 <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en". } } LIMIT 5000


Question: Female Argentine composers without Spanish Wikipedia pages, and their places of birth.

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 DISTINCT ?composer ?composerLabel ?birthPlaceLabel WHERE {
  ?composer wdt:P31 wd:Q5 .
  ?composer wdt:P21 wd:Q6581072 .
  ?composer wdt:P27 wd:Q414 .
  ?composer wdt:P106 wd:Q36834 .
  FILTER NOT EXISTS {
    ?wikipediaArticle schema:about ?composer .
    ?wikipediaArticle schema:inLanguage "es" .
  }
  OPTIONAL {
    ?composer rdfs:label ?composerLabel .
    FILTER ( LANG( ?composerLabel ) = "en" )
  }
  OPTIONAL {
    ?composer wdt:P19 ?birthPlace .
    ?birthPlace rdfs:label ?birthPlaceLabel .
    FILTER ( LANG( ?birthPlaceLabel ) = "en" )
  }
}
LIMIT 5000

Who are the female composers from Argentina who do not have a Spanish-language Wikipedia article, and where were they born?

List the names and birthplaces of female Argentine composers who are not represented on Spanish Wikipedia.

SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q414> . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var3 . VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q36834> ) } ?var4 <http://schema.org/about> ?var1 . FILTER ( ( NOT EXISTS { ?var5 <http://schema.org/about> ?var1 . ?var5 <http://schema.org/inLanguage> "es". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en,fr,de,pl". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var2 . } } LIMIT 5000


Question: What are all the known cats (instances of house cat) and what biological or categorical classes does the house cat belong to?

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 ?cat ?catLabel ?superclass WHERE {
  ?cat wdt:P31 wd:Q146 .
  ?cat rdfs:label ?catLabel .
  OPTIONAL {
    wd:Q146 wdt:P279 ?superclass .
  }
}

List all named cats in Wikidata along with their labels and the categories (like Felidae or pet) that house cats are classified under.

Show me the names of individual cats and the superclasses of the house cat species.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { <http://www.wikidata.org/entity/Q146> <http://www.wikidata.org/prop/direct/P279> ?var3 . } }


Question: Who are the humans with the French label 'Adda'?

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 ?person WHERE {
  ?person rdfs:label "Adda" @fr .
  ?person wdt:P31 wd:Q5 .
}

Which people are referred to as 'Adda' in French?

List all humans in Wikidata whose French label is 'Adda'.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "adda"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: What are the names and official images of all businesses listed on Wikidata?

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 ?business ?businessLabel ?image WHERE {
  ?business wdt:P31 wd:Q4830453 .
  ?business wdt:P18 ?image .
  ?business rdfs:label ?businessLabel .
}

Can you list businesses along with their logos or images from Wikimedia Commons?

Which organizations that are classified as businesses have associated images on Commons, and what are their labels?

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


Question: What places are located in Jasper County, Missouri?

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 ?item ?itemLabel WHERE {
  ?item wdt:P131 wd:Q490134 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}
LIMIT 500

Which towns, townships, and other entities are administratively part of Jasper County, Missouri?

List the English names of all items located in Jasper County, Missouri.

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/P131> <http://www.wikidata.org/entity/Q490134> . } LIMIT 500


Question: What are the birth and death dates of William Wingfield Baker?

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 ?personLabel ?birthDate ?deathDate WHERE {
  BIND(wd:Q8020473 AS ?person)
  ?person wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Can you tell me the English label, birth date, and death date for the person William Wingfield Baker?

Who is William Wingfield Baker, and when was he born and when did he die?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q8020473> 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: Military buildings with the most Wikipedia articles

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?militaryStructure(COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE {
  VALUES ?type {
    wdt:P31 wdt:P279
  }
  ?militaryStructure ?type wd:Q6852233 .
  ?wikipediaPage schema:about ?militaryStructure ; schema:isPartOf ?wikipediaSite .
  FILTER(STRSTARTS(STR(?wikipediaSite) , "https://"))
}
GROUP BY ?militaryStructure
ORDER BY DESC(?sitelinkCount)
LIMIT 1000

Which military structures have the most Wikipedia language versions, and how many are there?

List the top 10 military buildings or their subclasses based on how many Wikipedia pages they have, sorted by popularity.

SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q6852233> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Works by Séverine Dusollier with publication year and title snippet

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 ?year ?titleSubstring WHERE {
  ?work wdt:P50 wd:Q27942872 ; wdt:P577 ?pubDate ; rdfs:label ?label .
  FILTER ( LANGMATCHES( LANG( ?label ) , "en" ) ) BIND( YEAR( ?pubDate ) AS ?year ) BIND( SUBSTR( ?label , 1 , 20 ) AS ?titleSubstring )
}
ORDER BY ?year

What are the publication years and the first 20 characters of the English titles of works authored by Séverine Dusollier?

Show me the years and shortened English titles of books written by Séverine Dusollier, ordered by year.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27942872> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27942872> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: How many children did Attila the Hun have?

SELECT ( wd:Q36724 AS ?ruler ) ( COUNT( DISTINCT ?child ) AS ?childCount ) WHERE { wd:Q36724 wdt:P40 ?child . }

Can you tell me how many children are recorded for Attila the Hun in Wikidata?

SELECT( <http://www.wikidata.org/entity/Q36724> AS ?var1 )( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q36724> <http://www.wikidata.org/prop/direct/P40> + ?var2 . }


Question: What is the birth date and death date of Hal Fryar?

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

Can you tell me when Hal Fryar was born and when he died?

Provide the English name, birth date, and death date for the person known as Hal Fryar.

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q5640765> 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: Colleges and types of colleges in Wikidata with English labels

SELECT ?item ?itemLabel WHERE { VALUES ?relation { wdt:P31 wdt:P279 } ?item ?relation wd:Q189004 . OPTIONAL { ?item rdfs:label ?itemLabel . FILTER (lang(?itemLabel) = "en") } } ORDER BY ?itemLabel LIMIT 1000

What are the colleges and subclasses of colleges listed in Wikidata with English names?

List all known colleges and types of colleges from Wikidata, showing their English labels.

SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q189004> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Top rivers by number of Wikipedia language versions

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 ?river ( COUNT( ?label ) AS ?labelCount ) WHERE {
  VALUES ?relation {
    wdt:P31 wdt:P279
  }
  ?river ?relation wd:Q4022 .
  ?river rdfs:label ?label .
  FILTER ( LANG( ?label ) != "" )
}
GROUP BY ?river
ORDER BY DESC ( ?labelCount )
LIMIT 1000

Which rivers have the most Wikipedia language editions, based on their multilingual labels?

List the 1000 most widely documented rivers in multiple languages, ordered by how many languages they have labels in.

SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/prop/direct/P31> ) ( <http://www.wikidata.org/prop/direct/P279> ) } ?var1 ?var3 <http://www.wikidata.org/entity/Q4022> . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . FILTER ( ( ( ?var2 > "0"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Films and categories linked to Christopher McQuarrie and his roles (e.g., director, screenwriter)

SELECT ?work ?workLabel ?relationship ?propertyLabel WHERE { ?work ?relationship wd:Q337658 . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") . BIND(IRI(REPLACE(STR(?relationship), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") .}

What films and categories is Christopher McQuarrie associated with, and what are his roles in them?

List all works connected to Christopher McQuarrie, including the English names of the works and the nature of the connection (like screenwriter or director).

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


Question: What is the English Wikipedia page for the film with IMDb ID tt1074213?

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

Can you find the English Wikipedia article about the movie identified by tt1074213 on IMDb?

Show me the English Wikipedia page linked to the IMDb entry tt1074213.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1074213". } ?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 of the person with SNAC ARK ID w615741m?

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

Can you show me the Wikimedia Commons image associated with Lawrence Hill?

Show the photo linked to the Social Networks and Archival Context ID w615741m.

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


Question: Image of Richard Roundtree with SNAC ARK ID w6gf8768

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

What images are associated with Richard Roundtree in Wikidata, using his SNAC ARK ID w6gf8768?

Please show me the Wikimedia Commons images of Richard Roundtree, identified by the SNAC ARK ID w6gf8768.

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


Question: German names of autobahns in Germany

SELECT ?autobahn ?label WHERE { ?autobahn wdt:P31 wd:Q313301 . ?autobahn rdfs:label ?label . FILTER(LANG(?label) = "de") }

What are the German-language labels for individual autobahns in Germany?

Show me the German names of all autobahn routes in Germany.

SELECT ?var1 ?var2 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q313301> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "de" ) ) ) . }


Question: Which government Twitter accounts on Wikidata have the fewest Wikipedia language versions, and what are their usernames?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterUsername WHERE {
  ?item wdt:P2002 ?twitterUsername .
  ?page schema:about ?item ; schema:isPartOf ?wiki .
  VALUES ?twitterUsername {
    "usagov" "Russia" "JapanGov" "ekapi"
  }
}
GROUP BY ?item ?twitterUsername
ORDER BY ASC ( COUNT( ?page ) )

What are the Twitter usernames of government entities on Wikidata with the smallest number of Wikipedia sitelinks, specifically for @usagov, @Russia, @JapanGov, and @ekapi?

Show me the Twitter handles of national governments on Wikidata that have the least number of Wikipedia language editions, including usagov, Russia, JapanGov, and ekapi, sorted by sitelink count from lowest to highest.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "Cal_736" ) ( "Pierre_B_y" ) ( "pad62200" ) ( "string7" ) ( "yanmae" ) ( "string8" ) } } ORDER BY ASC( ?var3 )


Question: Top dramaturges by Wikipedia article count

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?person ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {
  VALUES ?property {
    wdt:P106 wdt:P101 wdt:P39
  }
  ?person ?property wd:Q487596 .
  ?sitelink schema:about ?person .
  FILTER ( STRSTARTS( STR( ?sitelink ) , "https://" ) )
}
GROUP BY ?person
ORDER BY DESC ( ?sitelinks )
LIMIT 1000

Who are the most notable dramaturges based on the number of Wikipedia pages about them, and what are their occupations, fields of work, or positions held?

List the top 1000 people associated with the role of dramaturge (as occupation, field of work, or position held), sorted by how many Wikipedia articles exist about them.

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


Question: What are the first 10 Twitter accounts listed in Wikidata, ordered alphabetically by username?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . } ORDER BY ASC(?username) LIMIT 10

Can you show me some entities that have Twitter profiles, sorted by their usernames in ascending order?

Which items in Wikidata have Twitter usernames, and what are those usernames, listed in alphabetical order?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "BCC_Help" ) } } ORDER BY ASC( ?var3 )


Question: Top 1000 biographers with the most Wikipedia language editions, ranked by popularity.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?person(COUNT(?site) AS ?sitelinkCount) WHERE {
  VALUES ?property {
    wdt:P106 wdt:P101 wdt:P39
  }
  ?person ?property wd:Q864380 .
  ?site schema:about ?person .
  FILTER(STRSTARTS(STR(?site) , "https://") && CONTAINS(STR(?site) , ".wikipedia.org/"))
}
GROUP BY ?person
ORDER BY DESC(?sitelinkCount)
LIMIT 1000

Who are the most widely documented biographers on Wikipedia, based on the number of language editions they have articles in?

List the top 1000 people who are biographers (by occupation, field of work, or position held), sorted by how many Wikipedia language versions have articles about them.

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


Question: What is the English name and description of the person with ODIS ID PS_109775?

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

Who is Remi Leutenez, and what is their English description in Wikidata?

Find the Wikidata entry for the individual identified by ODIS.be ID PS_109775, and return their name and description in English.

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


Question: Top biologists by number of Wikipedia statements — who are they?

SELECT ?person (COUNT(*) AS ?statementCount) WHERE {  ?person ?property wd:Q864503 .  FILTER(?property IN (wdt:P106, wdt:P101))  ?person ?p ?o .} GROUP BY ?person ORDER BY DESC(?statementCount) LIMIT 1000

Who are the most notable biologists based on how much information is available about them on Wikidata?

List the 1000 most documented biologists, sorted by how many facts are known about them, using their occupation or field of work.

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


Question: What are the main topics and their co-occurrences associated with the archaeological site Tell Brak?

SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { { ?work (wdt:P921/wdt:P31*/wdt:P279*) wd:Q978443 . } UNION { ?work (wdt:P921/wdt:P361+) wd:Q978443 . } UNION { ?work (wdt:P921/wdt:P1269+) wd:Q978443 . } ?work wdt:P921 ?topic1 , ?topic2 . FILTER (?topic1 != wd:Q978443 && ?topic2 != wd:Q978443 && ?topic1 != ?topic2) OPTIONAL { ?topic1 rdfs:label ?topic1Label . FILTER(LANG(?topic1Label) = "en") } OPTIONAL { ?topic2 rdfs:label ?topic2Label . FILTER(LANG(?topic2Label) = "en") } }

Which pairs of academic or thematic topics are commonly discussed together in works about Tell Brak?

Show me all pairs of subjects (like bioarchaeology or urbanization) that appear together in publications or media about Tell Brak, excluding Tell Brak itself.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q978443> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q978443> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q978443> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q978443> != ?var1 ) && ( <http://www.wikidata.org/entity/Q978443> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Top 1000 most common occupations on Wikidata by number of people associated with them.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?occupation ?occupationLabel ?count WHERE {
  {
    SELECT ?occupation(COUNT(*) AS ?count) WHERE {
      ?person wdt:P106 ?occupation .
    }
    GROUP BY ?occupation
    ORDER BY DESC(?count)
    LIMIT 1000
  }
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?occupationLabel) = "en")
}
ORDER BY DESC(?count) ASC(?occupation)

What are the 1000 most popular occupations in the world, based on how many people have them listed on Wikidata, and how many people have each?

Show me the top 1000 occupations with the highest number of people associated with them, including their English labels and counts.

SELECT ?var1 ?var1Label ?var2 WHERE { { SELECT ?var1 ( COUNT (* ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P106> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } } ORDER BY DESC( ?var2 )ASC( ?var1 )


Question: What are the categories that ice cream belongs to, including its direct and indirect parent classes?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?superclass WHERE {
  wd:Q13233 ( wdt:P279 | wdt:P279 / wdt:P279 ) ?superclass .
}
LIMIT 50

What are the broader classifications of ice cream in the Wikidata taxonomy?

Show me the types of things that ice cream is a kind of, up to two levels up in the hierarchy.

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


Question: What paintings are made from which materials, on what parts, and by which artists?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?painting ?paintingLabel ?material ?materialLabel ?part ?partLabel ?artist ?artistLabel WHERE {
  ?painting wdt:P31 wd:Q3305213 ; wdt:P186 ?material ; ( p:P186 / pq:P518 ) ?part ; wdt:P170 ?artist .
  ?painting rdfs:label ?paintingLabel .
  ?material rdfs:label ?materialLabel .
  ?part rdfs:label ?partLabel .
  ?artist rdfs:label ?artistLabel .
  FILTER ( LANG( ?paintingLabel ) = "en" ) FILTER ( LANG( ?materialLabel ) = "en" ) FILTER ( LANG( ?partLabel ) = "en" ) FILTER ( LANG( ?artistLabel ) = "en" )
}

For each painting, what materials were used, on which part of the painting (e.g., support or frame), and who is the artist?

List all paintings along with their materials, the specific parts those materials are applied to, and their creators, using English labels.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3305213> ; <http://www.wikidata.org/prop/direct/P186> ?var2 ; ( <http://www.wikidata.org/prop/P186> / <http://www.wikidata.org/prop/qualifier/P518> ) ?var3 ; <http://www.wikidata.org/prop/direct/P170> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Image of Henry Bennett with SNAC ARK ID w67d4rrm

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

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

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

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


Question: What is the current version of XPath?

SELECT ?version ?refUrl WHERE { wd:Q16340 wdt:P348 ?version . OPTIONAL { wd:Q16340 p:P348 ?statement . ?statement prov:wasDerivedFrom / p:P854 ?refUrl . } }

Can you tell me the version of XPath and where it is documented online?

Show me the version identifier of XPath and any source URL that supports it.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q16340> <http://www.wikidata.org/prop/direct/P348> ?var1 . <http://www.wikidata.org/entity/Q16340> <http://www.wikidata.org/prop/P348> [ <http://www.w3.org/ns/prov#wasDerivedFrom> [ <http://www.wikidata.org/prop/P854> ?var2 ] ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Is there a Wikidata item with GND ID 172937396?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P227 "172937396" .
}

Does the German National Library ID 172937396 correspond to any entity in Wikidata?

Check if the GND ID 172937396 is registered in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P227> "172937396". }


Question: Does Wikidata contain an item with VIAF ID 248387891?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P214 "248387891" .
}

Is there a person in Wikidata identified by the VIAF number 248387891?

Confirm if the Virtual International Authority File ID 248387891 is linked to any entity in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "248387891". }


Question: Does Musikhochschule Münster have the VIAF ID 305271031?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?item wdt:P214 "305271031" .
}

Is there a Wikidata item with the VIAF identifier 305271031?

Confirm if the Virtual International Authority File ID 305271031 is assigned to any entity in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "305271031". }


Question: Wikidata entities with Twitter handles envlh, kialo, sigcse_ts, and Google, ordered by number of Wikipedia pages they have.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?twitterHandle .
  ?sitelink schema:isPartOf ?wiki ; schema:about ?item .
  FILTER ( STRSTARTS( STR( ?wiki ) , "https://" ) ) VALUES ( ?twitterHandle ) {
    ( "envlh" ) ( "kialo" ) ( "sigcse_ts" ) ( "Google" )
  }
}
GROUP BY ?item ?twitterHandle
ORDER BY ASC ( ?sitelinkCount )

Which Wikidata items have the Twitter handles "envlh", "kialo", "sigcse_ts", or "Google", and how many Wikipedia language editions are linked to each?

List the entities on Wikidata that are associated with the Twitter accounts envlh, kialo, sigcse_ts, and Google, sorted by how many Wikipedia articles mention them, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "envlh" ) ( "string1" ) ( "KialoHQ" ) ( "E_Sigat" ) ( "SIGCSE_TS" ) } } ORDER BY ASC( ?var3 )


Question: Commonwealth War Graves Commission cemeteries without a burial ground ID.

SELECT DISTINCT ?cemetery ?cemeteryLabel WHERE { ?cemetery wdt:P31 wd:Q14750991 . OPTIONAL { ?cemetery wdt:P1920 ?burialId . } FILTER ( !BOUND(?burialId) ) . ?cemetery rdfs:label ?cemeteryLabel . FILTER (LANG(?cemeteryLabel) = "en") } ORDER BY ASC(?cemeteryLabel)

Which Commonwealth War Graves Commission cemeteries are missing their official CWGC burial ground identifier in Wikidata?

List the English names of all cemeteries maintained by the Commonwealth War Graves Commission that do not have a CWGC burial ground ID assigned.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q14750991> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1920> ?var2 . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var1Label )


Question: What is the French name of the commune in France known as Bordeaux?

SELECT DISTINCT ?city WHERE { ?city skos:prefLabel "Bordeaux" @fr . ?city wdt:P31 wd:Q484170 . }

Which entity in Wikidata represents the city of Bordeaux in French and is classified as a commune of France?

Find the Wikidata item for the French city Bordeaux that is a commune of France.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Bordeaux"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: What organizations was Christopher C. Taylor affiliated with, and when did he work there?

SELECT ?image ?organization ?organizationLabel ?start ?end ?degreeLabel WHERE { wd:Q46266049 (p:P108|p:P1416) ?statement . ?statement ps:P108|ps:P1416 ?organization . ?organization rdfs:label ?organizationLabel . FILTER (LANG(?organizationLabel) = "en") . OPTIONAL { ?organization wdt:P18 ?image . } OPTIONAL { ?statement pq:P580 ?start . } OPTIONAL { ?statement pq:P582 ?end . } OPTIONAL { ?statement pq:P512 ?degree . ?degree rdfs:label ?degreeLabel . FILTER (LANG(?degreeLabel) = "en") . } }

During what years did Christopher C. Taylor work for the Royal Commission on the Historical Monuments of England, and did he hold any academic degrees during that time?

Show me the affiliation history of Christopher C. Taylor, including start and end dates, any associated images, and academic degrees — if available.

SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q46266049> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q46266049> <http://www.wikidata.org/prop/P108> ?var7 . } { ?var7 <http://www.wikidata.org/prop/statement/P1416> ?var2 . } UNION { ?var7 <http://www.wikidata.org/prop/statement/P108> ?var2 . } ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P512> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Who is Yves Montand in French, and is he a human?

SELECT DISTINCT ?item WHERE { ?item rdfs:label "Yves Montand"@fr . ?item wdt:P31 wd:Q5 . }

What is the Wikidata identifier for the French-labeled person "Yves Montand"?

Find the human entity in Wikidata that has the French label "Yves Montand".

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Yves ROYER"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Humans with French last name Lamour

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 DISTINCT ?item WHERE {
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "fr" ) .
  FILTER ( regex( ?label , ".*Lamour$" ) ) .
  ?item wdt:P31 wd:Q5 .
}

Who are the people with the surname Lamour in French?

List all humans whose French label ends with "Lamour".

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "* lamour"@fr . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . }


Question: Image of Fritz Houtermans with SNAC ARK ID w6sx7jfc

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

What is the image associated with Fritz Houtermans in Wikidata, identified by the SNAC ARK ID w6sx7jfc?

Show me the Wikimedia Commons image of the physicist Fritz Houtermans, whose SNAC ARK ID is w6sx7jfc.

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


Question: Is the 1943 Swedish film "En melodi om våren" a type of software?

Does the film "En melodi om våren" belong to a category that is a subclass of software?

Is software a superclass of the category that includes the film "En melodi om våren"?

ASK WHERE { <http://www.wikidata.org/entity/Q10483398> ( <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: Who are all the ancestors of Otto II, Holy Roman Emperor?

SELECT ?ancestor ?ancestorLabel WHERE { wd:Q150512 (wdt:P22 | wdt:P25)+ ?ancestor . ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = "en") } LIMIT 100

Ancestors of Otto II through father and mother lines

List the direct and indirect ancestors of Otto II, including both paternal and maternal lineage, with their English names.

SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q150512> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )* ?var1 . }


Question: Who are the parents of Richeza of Lotharingia?

SELECT ?parent ?parentLabel ?relationship WHERE { { wd:Q269619 wdt:P22 ?parent . BIND("father" AS ?relationship) } UNION { wd:Q269619 wdt:P25 ?parent . BIND("mother" AS ?relationship) } ?parent rdfs:label ?parentLabel . FILTER(LANG(?parentLabel) = "en") } ORDER BY ?relationship

What are the names of Richeza of Lotharingia’s father and mother?

Can you list Richeza of Lotharingia’s direct ancestors, specifying which is the father and which is the mother?

SELECT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q269619> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P25> )* ?var1 . } ORDER BY ASC( ?var1 )


Question: Does the person with VIAF ID 190317639 have a profile in Wikidata?

Is there any entity in Wikidata assigned the VIAF identifier 190317639?

Does Wikidata contain an item with the Virtual International Authority File ID 190317639?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P214> "190317639". }


Question: Which Wikidata items have Twitter usernames "_LICRA_" or "AsifArifMa"?

SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "_LICRA_" "AsifArifMa" } }

Who are the entities on Wikidata with the Twitter usernames "_LICRA_" and "AsifArifMa"?

Show me the Wikidata items associated with the Twitter accounts "_LICRA_" and "AsifArifMa".

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "_LICRA_" ) ( "string1" ) ( "coqhebdo" ) ( "Valouci" ) ( "string2" ) ( "string3" ) ( "AsifArifMa" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "tetjerry" ) ( "KayKween_" ) ( "string8" ) ( "GespachE" ) } } ORDER BY ASC( ?var3 )


Question: Children of Christian Günther I born after him

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(str(?parentLabel) AS ?parentName)(COUNT(DISTINCT ?child) AS ?childCount) WHERE {
  BIND(wd:Q329225 AS ?parent)
  .
  ?parent wdt:P40 ?child .
  ?parent wdt:P569 ?parentBirth .
  ?child wdt:P569 ?childBirth .
  ?parent rdfs:label ?parentLabel .
  FILTER(LANG(?parentLabel) = "en")
  .
  FILTER(YEAR(?childBirth) > YEAR(?parentBirth))
}
GROUP BY ?parentLabel

How many children of Christian Günther I, Count of Schwarzburg-Sondershausen, were born after him?

List the number of children born after Christian Günther I, Count of Schwarzburg-Sondershausen.

SELECT( "string1" AS ?var1 )( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { BIND ( <http://www.wikidata.org/entity/Q329225> AS ?var4 ). ?var4 <http://www.wikidata.org/prop/direct/P40> + ?var2 ; <http://www.wikidata.org/prop/direct/P569> ?var5 . ?var2 <http://www.wikidata.org/prop/direct/P569> ?var6 . FILTER ( ( ( YEAR ( ?var5 ) > YEAR ( ?var6 ) ) ) ) . }


Question: Books with "ring" in the title, their images, and Open Library IDs

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?book(GROUP_CONCAT(DISTINCT ?title ; SEPARATOR = " | ") AS ?titles)(GROUP_CONCAT(DISTINCT STR(?image) ; SEPARATOR = " | ") AS ?images)(GROUP_CONCAT(DISTINCT ?ol_id ; SEPARATOR = ", ") AS ?open_library_ids) WHERE {
  ?book wdt:P31 wd:Q571 .
  ?book wdt:P1476 ?title .
  FILTER(REGEX(STR(?title) , "ring" , "i"))
  ?book wdt:P18 ?image .
  OPTIONAL {
    ?book wdt:P648 ?ol_id .
  }
}
GROUP BY ?book
LIMIT 3000

What are the books that have "ring" in their title, along with their images and Open Library identifiers?

Show me all books containing "ring" in their title, including their Commons images and Open Library IDs, grouped by book.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3Label ?var4 ( GROUP_CONCAT ( DISTINCT ?var5 ; SEPARATOR = ", " ) AS ?var6 )( GROUP_CONCAT ( DISTINCT ?var7Label ; SEPARATOR = ", " ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9 ; SEPARATOR = ", " ) AS ?var10 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 ?var11Label ?var1Label . FILTER ( ( REGEX ( STR ( ?var1Label ) , "ring" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P648> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en, en". } } GROUP BY ?var1 ?var1Label ?var3Label ?var2 ?var4 LIMIT 3000


Question: Which Wikidata items with Twitter accounts have the fewest Wikipedia articles?

SELECT ?item ?username (COUNT(?site) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?site schema:about ?item . VALUES ?username { "mySociety" "nature" "Percona" "RocksDB" "wikidata" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinkCount)

How many Wikipedia articles are there for each of these Twitter accounts: mySociety, nature, Percona, RocksDB, and Wikidata, sorted by least to most?

Show me the Twitter usernames of mySociety, nature, Percona, RocksDB, and Wikidata, along with how many Wikipedia pages mention them, ordered from the least to the most referenced.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "UNESCOstat" ) ( "wikidata" ) ( "string4" ) ( "nojhan" ) ( "PoulpyWP" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "SqreenIO" ) ( "cocreature" ) ( "string10" ) ( "string11" ) ( "WDAqua" ) ( "ash_crow" ) ( "string12" ) ( "RocksDB" ) ( "Percona" ) ( "aprilorg" ) ( "string13" ) ( "fuzheado" ) ( "tomwatson" ) ( "string14" ) ( "zoobeauval" ) ( "string15" ) ( "string16" ) ( "thehill" ) ( "string17" ) ( "MaitreMo" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "PBALille" ) ( "string22" ) ( "museomix" ) ( "string23" ) ( "MEL_Lille" ) ( "joannsfar" ) ( "string24" ) ( "LaCroix" ) ( "cathos45" ) ( "zacchiro" ) ( "nature" ) ( "string25" ) ( "eva_dun" ) ( "string26" ) ( "89C3" ) ( "PPC" ) ( "string27" ) ( "string28" ) ( "string29" ) ( "mySociety" ) ( "string30" ) ( "string31" ) ( "LaTribune" ) ( "string32" ) ( "dshotton" ) ( "MSR_Tlse" ) ( "string33" ) ( "joelgombin" ) ( "bismatoj" ) ( "mjmrsc" ) ( "string34" ) ( "string35" ) ( "20minutes" ) } } ORDER BY ASC( ?var3 )