Question: What are the Wikipedia pages in English or German about the movie with IMDb ID tt5095510?

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

Show me the Wikipedia articles in German or English for the film "Stick Man" identified by IMDb tt5095510.

Which language versions of Wikipedia have articles about the short film with IMDb ID tt5095510?

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

SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 ?imdb_id . FILTER(?imdb_id = "tt3899516") . ?wikipedia_page schema:about ?movie . ?wikipedia_page schema:inLanguage "en" . }

Can you find the movie titled "Those People" on Wikipedia using its IMDb identifier tt3899516?

Which Wikipedia article in English corresponds to the IMDb movie ID tt3899516?

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

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?wikipedia_page WHERE {
  ?item wdt:P345 "tt1722440" .
  ?wikipedia_page schema:about ?item .
  FILTER(?wikipedia_page IN(<https://de.wikipedia.org/wiki/Kaddisch_f%C3%BCr_einen_Freund> , <https://en.wikipedia.org/wiki/Kaddisch_f%C3%BCr_einen_Freund>))
}

Find the German or English Wikipedia page for the movie identified by tt1722440 on IMDb.

Which Wikipedia articles are about the film with IMDb identifier tt1722440?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1722440". } ?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 name of the movie with IMDb ID tt3886372, and are there English or German Wikipedia pages about it?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?itemLabel ?wikipediaPage ?lang WHERE {
  ?item wdt:P345 "tt3886372" .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" ) OPTIONAL {
    ?wikipediaPage schema:about ?item ; schema:inLanguage ?lang .
    FILTER ( ?lang IN ( "en" , "de" ) )
  }
}

Show me the English label for the film identified by tt3886372 on IMDb, along with any linked English or German Wikipedia articles.

Find the English title of the movie tt3886372 and list its Wikipedia pages in English or German.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3886372". } ?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 movie with IMDb ID tt1584941.

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

What are the English and German Wikipedia articles for the movie identified by IMDb ID tt1584941?

Show me the Wikipedia pages in English and German for the movie that has the IMDb ID tt1584941.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1584941". } ?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 for the movie with IMDb ID tt4791910

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

What are the English or German Wikipedia pages for the movie with IMDb ID tt4791910?

Show me the Wikipedia articles in English or German that are about the movie with IMDb ID tt4791910.

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


Question: Who has the IMDb ID nm1079062?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item WHERE {
  ?item wdt:P345 "nm1079062" .
}
ORDER BY ASC ( ?item )

Which person on Wikidata is associated with the IMDb identifier nm1079062?

Tell me the Wikidata entity for the IMDb ID nm1079062.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P345> "nm1079062". } ORDER BY ASC( ?var1 )


Question: American male actors born before 1968 with awards and notable works

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

Who are the American male actors born before 1968 who have won awards and created notable works?

List the English names of all male American actors born before 1968 who have received at least one award and have at least one notable work.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P800> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( ?var4 < "1968-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . }


Question: Wikipedia pages in English or German for the movie with IMDb ID tt5539264

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

What are the English or German Wikipedia pages for the film with IMDb ID tt5539264?

Show me the Wikipedia articles in English or German about the movie "Shed My Skin" (IMDb: tt5539264).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5539264". } ?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 TV series with IMDb ID tt1866570?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?wikipediaPage WHERE {
  ?item wdt:P345 "tt1866570" .
  ?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 miniseries Labyrinth?

Which Wikipedia pages in English or German are linked to the IMDb identifier tt1866570?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1866570". } ?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 movie with IMDb ID tt3328720

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

What are the English and German Wikipedia articles for the film "Playing Doctor" (IMDb: tt3328720)?

Show me the English and German Wikipedia links for the movie identified by IMDb ID tt3328720.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3328720". } ?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: Greek given names and their associated genders

SELECT ?givenName ?givenNameLabel ?gender ?genderLabel WHERE { ?givenName wdt:P21 ?gender . ?givenName rdfs:label ?givenNameLabel . FILTER (LANG(?givenNameLabel) = "el") . ?gender rdfs:label ?genderLabel . } LIMIT 100

What are the given names in Greek and what gender are they typically associated with?

Show me all given names that have Greek labels and their corresponding gender labels.

SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var4 <http://www.wikidata.org/prop/direct/P735> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P21> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = "el" ) ) ) . }


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

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

Can you find the Wikipedia articles in English and German about the film identified by tt0287457 on IMDb?

Which Wikipedia pages in English or German describe the movie "Genesis" (2004)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0287457". } ?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 all the broader categories that a secular building belongs to?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?superclass WHERE {
  wd:Q357375 wdt:P279 * ?superclass .
}

What classes is a secular building a subclass of, directly or indirectly?

List all the parent categories of secular buildings in the classification hierarchy.

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


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

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

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

Show me the English or German Wikipedia article about the film identified by IMDb ID tt5710688.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5710688". } ?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: Does Albert Einstein have a GND ID in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q937 wdt:P227 ?gndId .
}

Is there a GND ID associated with Albert Einstein on Wikidata?

Confirm if Albert Einstein is linked to a GND ID in Wikidata.

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


Question: Albert Einstein's CineMagia ID is 441757; what is his Wikidata label and English description?

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

Who is the person with CineMagia ID 441757, and what is their English name and description?

Show me the English name and description of the person identified by CineMagia ID 441757.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4666> "139178". 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: Does the film or TV episode with PORT ID 64110 exist in Wikidata?

Is there a film or television program in Wikidata identified by the PORT film ID 64110?

Confirm if the PORT film ID 64110 corresponds to any entry in Wikidata.

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


Question: What property is used to link entities to the Wikimedia category "Publicly traded companies"?

SELECT ?property (COUNT(?property) AS ?count) WHERE { ?item ?statementProperty wd:Q8806849 . ?property wikibase:directClaim ?statementProperty . ?property rdf:type wikibase:Property . } GROUP BY ?property ORDER BY DESC(?count) LIMIT 1

Which property is most commonly used to associate items with the category "Publicly traded companies" on Wikidata?

Find the property that links the most items to the Wikimedia category for publicly traded companies.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q8806849> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What are the English and German Wikipedia pages about the media item with IMDb ID tt5189670?

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

Show me the Wikipedia articles in English and German for the TV series Making a Murderer.

Which Wikipedia pages in English or German are about the show identified by IMDb ID tt5189670?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5189670". } ?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: Most used property linking other items to Natalie Portman

SELECT ?directProperty (COUNT(?directProperty) AS ?count)
WHERE {
  ?subject ?property wd:Q37876 .
  ?directProperty wikibase:directClaim ?property .
  ?directProperty rdf:type wikibase:Property .
}
GROUP BY ?directProperty
ORDER BY DESC(?count)
LIMIT 1

Which property is used the most times to connect films, awards, or other items to Natalie Portman?

Show me the property that has Natalie Portman as its object the most frequently.

SELECT ?var1 ( COUNT ( ?var1 ) AS ?var2 ) WHERE { { SELECT ?var1 WHERE { ?var3 ?var4 <http://www.wikidata.org/entity/Q37876> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


Question: What Wikimedia pages in English or German are linked to the movie with IMDb ID tt0108255?

SELECT ?movie ?page WHERE { ?movie wdt:P345 "tt0108255" . ?page schema:about ?movie . VALUES ?lang { "en" "de" } ?page schema:inLanguage ?lang . }

Find all English and German language Wikipedia and Wikiquote pages about the film identified by tt0108255.

Which language-specific Wikimedia pages reference the movie with IMDb identifier tt0108255?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0108255". } ?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 tt0091455?

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

Show me the Wikipedia articles in English and German about Luxo Jr.

Which language versions of Wikipedia have articles about the Pixar short film Luxo Jr.?

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

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

Show me the external links in English or German that are about the film "3 Ninjas".

Which language-specific pages on Wikipedia and Wikiquote link to the movie identified by tt0103596?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0103596". } ?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 tt0084745?

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

Show me the Wikipedia articles about the 1982 Swamp Thing film in English and German.

Which language versions of Wikipedia have articles about the film Swamp Thing (1982)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0084745". } ?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 language pages about the movie Tora! Tora! Tora! on Wikipedia and Wikiquote?

SELECT ?movie ?page WHERE { ?movie wdt:P345 "tt0066473" . ?page schema:about ?movie . VALUES ?lang { "en" "de" } . ?page schema:inLanguage ?lang . }

Show me the links to Wikipedia and Wikiquote pages in English and German for the movie with IMDb ID tt0066473.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0066473". } ?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: Wiktionary templates ending in "block" that are not linked to a Wikidata category.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?pageTitle ?page ?item WHERE {
  ?page schema:isPartOf <https://en.wiktionary.org/> ; schema:name ?pageTitle ; schema:about ?item .
  FILTER ( STRENDS( ?pageTitle , " block" ) ) FILTER ( NOT EXISTS {
    ?item wdt:P301 ?category
  }
  )
}
ORDER BY ASC ( ?pageTitle )

Which Wiktionary templates have names ending in "block" and are not associated with a main topic on Wikidata?

List all English Wiktionary template pages whose names end with "block" and do not belong to any Wikidata category.

SELECT * WHERE { BIND ( REPLACE ( STR ( ?var1 ) , "string1", "$1" ) AS ?var2 ). ?var3 <http://schema.org/isPartOf> <https://en.wiktionary.org/> ; <http://schema.org/name> ?var1 ; <http://schema.org/about> ?var4 . FILTER ( ( STRENDS ( ?var1 , " block" ) ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/direct/P301> ?var5 . } ) ) . } ORDER BY ASC( ?var1 )


Question: English and German Wikipedia pages for the movie with IMDb ID tt0060438

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?film ?wikipediaPage ?imdbId WHERE {
  BIND( "tt0060438" AS ?imdbId ) ?film wdt:P345 ?imdbId .
  ?wikipediaPage schema:about ?film .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
}

What are the English and German Wikipedia pages for the film identified by IMDb ID tt0060438?

Show me the Wikipedia pages in English and German about the movie with IMDb ID tt0060438, along with its IMDb identifier.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0060438". } ?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 tt2531344?

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

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

Which Wikipedia articles in English and German discuss the movie identified by tt2531344?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2531344". } ?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 tt5350358?

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

Which Wikipedia pages in English or German are about the film identified by IMDb ID tt5350358?

Show me the Wikipedia page in English or German for the movie that has the IMDb identifier tt5350358.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5350358". } ?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 tt3334794?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt3334794" .
  ?wikipedia_page 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 "About a Girl"?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3334794". } ?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 tt0114388.

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

What Wikipedia and Wikiquote pages in English or German are about the film "Sense and Sensibility" (1995)?

Show me the English and German language Wikimedia project pages linked to the movie "Sense and Sensibility" (IMDb: tt0114388).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0114388". } ?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: Subclasses of composer in Wikidata

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

What are some specific types of composers, such as jazz or film score composers?

List the main subtypes of composers, like television composer or court composer.

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


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

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "CityOfBoston" "NatlAquarium" "melroserugby"
  }
}
ORDER BY ?username

What entities on Wikidata are linked to the Twitter accounts @CityOfBoston, @NatlAquarium, and @melroserugby?

Show me the Wikidata items associated with the Twitter handles CityOfBoston, NatlAquarium, and melroserugby.

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


Question: What is the Freebase ID and search URL for the social media platform X (formerly Twitter)?

SELECT ?entity ?entityLabel ?freebaseId ?searchUrl WHERE { VALUES ?entity { wd:Q918 } ?entity rdfs:label ?entityLabel . ?entity wdt:P646 ?freebaseId . ?entity wdt:P4354 ?searchUrl . FILTER(LANG(?entityLabel) = "en") }

Can you provide the Freebase identifier and search pattern URL for the platform that was formerly called Twitter?

Show me the Freebase ID and search formatter URL for the entity currently known as X, which was previously Twitter.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> "Twitter"@en . ?var1 <http://www.wikidata.org/prop/direct/P4354> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P646> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: Which media organizations with Twitter handles like nypost, usweekly, or AP have the fewest Wikipedia articles?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?twitter(COUNT(?site) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?twitter .
  ?site schema:about ?item .
  VALUES ?twitter {
    "nypost" "usweekly" "Le_Figaro" "GMA" "latimes" "AP"
  }
}
GROUP BY ?item ?twitter
ORDER BY ASC(?sitelinkCount)

What are the Twitter accounts of major news outlets, sorted by how many language versions of Wikipedia have articles about them, from least to most?

List the Twitter usernames of news organizations including AP, GMA, and Le Figaro, ordered by the number of Wikipedia sitelinks they have, starting with the lowest.

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" ) ( "string7" ) ( "ABC" ) ( "nypost" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "usweekly" ) ( "AP_Europe" ) ( "string11" ) ( "string12" ) ( "BFC" ) ( "GMA" ) ( "latimesent" ) ( "string13" ) ( "string14" ) ( "Le_Figaro" ) ( "string15" ) } } ORDER BY ASC( ?var3 )


Question: Top 1000 pagodas with the most Wikipedia articles

SELECT ?item (COUNT(?wikipage) AS ?sitelinkCount) WHERE { ?item wdt:P31 wd:Q199451 . ?wikipage schema:about ?item . } GROUP BY ?item ORDER BY DESC(?sitelinkCount) LIMIT 1000

Which pagodas have the highest number of Wikipedia language editions, and how many are there?

List the pagodas ranked by how many Wikipedia pages exist about them, with the most popular first.

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


Question: English and German Wikipedia pages for the movie with IMDb ID tt3763866

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

What are the English and German Wikipedia articles about the film with IMDb ID tt3763866?

Show me the Wikipedia pages in English and German for the movie identified by tt3763866 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3763866". } ?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 web pages about the movie Outbreak (IMDb tt0114069)

SELECT ?movie ?page WHERE { ?movie wdt:P345 "tt0114069" . ?page schema:about ?movie . VALUES ?lang { "en" "de" } . ?page schema:inLanguage ?lang . }

What English and German language pages on Wikipedia and Wikiquote are about the movie with IMDb ID tt0114069?

Show me all English and German language pages linked to the movie Outbreak (1995) on IMDb.

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


Question: Who died on March 3, 1971, and what were their names in English and in their native language?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?person ?label ?nativeName WHERE {
  ?person wdt:P570 "1971-03-03T00:00:00Z" ^^ xsd:dateTime .
  OPTIONAL {
    ?person rdfs:label ?label .
    FILTER(LANG(?label) = "en")
  }
  OPTIONAL {
    ?person wdt:P1559 ?nativeName .
  }
}
LIMIT 100

List the people who passed away on March 3, 1971, including their English labels and native names.

Can you show me the English names and native names of individuals who died on March 3, 1971?

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> "+1971-03-03T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var3 . } } LIMIT 100


Question: Which entity is labeled "הדג נחש" in Hebrew?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label WHERE {
  ?item rdfs:label ?label .
  FILTER ( ?label = "הדג נחש" @he )
}

What is the Wikidata item for the band known as "הדג נחש"?

What is the Hebrew name of the Israeli hip-hop band Hadag Nahash?

SELECT ?var1Label ?var2 ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ?var3Label "הדג נחש"@he . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Top pianists by notability on Wikidata

SELECT ?person (COUNT(?statement) AS ?statementCount) WHERE { ?person wdt:P106 ?occ . ?occ wdt:P279* wd:Q486748 . ?person ?p ?statement . } GROUP BY ?person ORDER BY DESC(?statementCount) LIMIT 1000

Who are the most notable pianists, including classical and jazz pianists, based on the number of Wikipedia statements about them?

List the 1000 most notable pianists and their subclasses, ranked by how many facts are known about them on Wikidata.

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


Question: Wikimedia pages about the movie with IMDb ID tt0305669 in English or German.

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

What Wikipedia or Wikiquote pages in English or German are about the movie "Bringing Down the House" (IMDb: tt0305669)?

Show me the English and German language Wikipedia and Wikiquote pages for the film with IMDb ID tt0305669.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0305669". } ?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 positions has Hillary Clinton held?

SELECT ?positionLabel WHERE { wd:Q6294 p:P39 ?statement . ?statement ps:P39 ?position . ?position rdfs:label ?positionLabel . } ORDER BY ?positionLabel

List all the public offices Hillary Clinton has occupied.

Show me the titles or roles that Hillary Clinton has held, according to Wikidata.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { <http://www.wikidata.org/entity/Q6294> <http://www.wikidata.org/prop/P39> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var5 )


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

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

Can you show me the language-specific web pages (in English or German) linked to the movie 'Shining Through' on Wikidata?

Which language versions of pages about the film 'Shining Through' are available in English or German?

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

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

Which Wikipedia articles in English or German are about the film with IMDb ID tt4809238?

Show me the English or German Wikipedia pages for the movie identified by tt4809238 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt4809238". } ?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 and Wikiquote pages for the movie with IMDb ID tt0113596?

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

Show me the language-specific external links about the movie "The Land Before Time III" from Wikipedia and Wikiquote.

Which language versions of pages about the film "The Land Before Time III: The Time of the Great Giving" are available on Wikipedia and Wikiquote?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0113596". } ?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 movie with IMDb ID tt0335563

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

What are the English and German Wikipedia links for the film "Wonderland" (2003) on IMDb?

Show me the English and German Wikipedia articles about the movie with IMDb ID tt0335563.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0335563". } ?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 label and description of the country in the Great Russian Encyclopedia with ID 3515565?

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 ?itemLabel ?description WHERE {
  ?item wdt:P2924 "3515565" .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
  OPTIONAL {
    ?item schema:description ?description .
    FILTER(LANG(?description) = "en")
  }
}

Can you tell me the name and a brief description in English of the entity linked to the Great Russian Encyclopedia Online ID 3515565?

Which entity has the Great Russian Encyclopedia Online ID 3515565, and what is its English description?

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


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

SELECT ?movie ?wikipediaPage ?imdbId WHERE { ?movie wdt:P345 "tt1038043" . ?wikipediaPage schema:about ?movie . { ?wikipediaPage schema:inLanguage "en" . } UNION { ?wikipediaPage schema:inLanguage "de" . } BIND("tt1038043" AS ?imdbId) }

Show me the Wikipedia articles in English and German about the film "Mammoth" (2009), along with its IMDb identifier.

Which Wikipedia pages in English or German link to the movie identified by IMDb ID tt1038043?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1038043". } ?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 about the TV show with IMDb ID tt1964624

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

What are the English and German language Wikipedia pages about the TV series "In the House" (IMDb ID: tt1964624)?

Show me the English and German language pages related to the TV series identified by IMDb ID tt1964624.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1964624". } ?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 and Wikiquote pages for the movie with IMDb ID tt0100201.

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

What are the English and German language pages about the movie "Mr. Destiny" on Wikipedia and Wikiquote?

Show me all the English and German language pages linked to the movie with IMDb ID tt0100201.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0100201". } ?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 surname Vizy in French labels

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 ?item ?label WHERE {
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = "fr")
  .
  FILTER(REGEX(?label , "Vizy" , "i"))
  .
  ?item wdt:P31 wd:Q5 .
}

Who are the people named Vizy that have a French-language label on Wikidata?

List all humans whose French name includes "Vizy".

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


Question: What is the English description of the entity with YSO ID 94426?

SELECT ?item ?itemLabel ?description WHERE { ?item wdt:P2347 "94426" . OPTIONAL { ?item schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you find the entity in Wikidata that has the YSO ID 94426 and show its English description?

Which entity in Wikidata is identified by the YSO ID 94426, and what is its English description?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2347> "111001". 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: Does Misha Segal have the GND ID 134936639?

Is the German National Library ID (GND) for Misha Segal 134936639?

Verify that the Wikidata item for Misha Segal is correctly linked to the GND authority record with ID 134936639.

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


Question: Sheep with images on Wikimedia Commons

SELECT ?sheep ?sheepLabel ?image WHERE { ?sheep wdt:P31 wd:Q7368 . ?sheep wdt:P18 ?image . ?sheep rdfs:label ?sheepLabel . FILTER(LANG(?sheepLabel) = "en") }

What are the names and images of sheep documented on Wikidata?

Show me the English names and corresponding images of all sheep in Wikidata.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7368> . ?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: Airports within 100 km of Edinburgh Castle

PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
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 ?airport ?airportLabel ?airportCoord WHERE {
  wd:Q212065 wdt:P625 ?castleCoord .
  ?airport wdt:P625 ?airportCoord .
  FILTER(geof:distance(?castleCoord , ?airportCoord) <= 100)
  FILTER(EXISTS {
    ?airport wdt:P31 / wdt:P279 * wd:Q1248784 .
  })
  ?airport rdfs:label ?airportLabel .
  FILTER(LANG(?airportLabel) = "en")
}

Which airports are located within 100 kilometers of Edinburgh Castle?

List the English-named airports near Edinburgh Castle, including their coordinates, that are within a 100-kilometer radius.

SELECT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q212065> <http://www.wikidata.org/prop/direct/P625> ?var3 . SERVICE <http://wikiba.se/ontology#around> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var3 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "100". } FILTER ( ( EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1248784> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } }


Question: Who is the Chinese empress known as "武則天" who was born before 1900?

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/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?item WHERE {
  VALUES(?labelProp) {(rdfs:label)(skos:altLabel)
  }
  ?item ?labelProp "武則天" @zh-hant ; wdt:P31 wd:Q5 . MINUS {
    ?item wdt:P569 ?birth .
    BIND(YEAR(?birth) AS ?birthYear)
    FILTER(?birthYear > 1899)
  }
}

Find the human entity in Wikidata with the Chinese label "武則天" and born before 1900.

Which historical figure, referred to as "武則天" in Chinese, was a human and not born after 1899?

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: Items located in or part of the Appalachian Mountains

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 ?item ?itemLabel ?relatedLabel WHERE {
  {
    ?item wdt:P706 wd:Q93332 .
  } UNION {
    ?item wdt:P361 wd:Q93332 .
  }
  ?item rdfs:label ?itemLabel .
  wd:Q93332 rdfs:label ?relatedLabel .
  FILTER(LANG(?itemLabel) = 'en')
  FILTER(LANG(?relatedLabel) = 'en')
}
ORDER BY ?itemLabel
LIMIT 500

What mountains or landforms are located in or part of the Appalachian Mountains?

List all geographical features that are either located in the Appalachian Mountains or are components of them.

SELECT ?var1 ?var1Label ?var2 ?var3Label ?var4Label WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P706> * <http://www.wikidata.org/entity/Q93332> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P361> * <http://www.wikidata.org/entity/Q93332> . } ?var1 <http://www.wikidata.org/prop/direct/P706> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P361> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } ORDER BY ASC( ?var1Label ) LIMIT 500


Question: Person with surname Minagawa born before 1900 with most Wikipedia articles.

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ( COUNT( ?article ) AS ?articleCount ) WHERE {
  ?person wdt:P734 wd:Q26212784 ; wdt:P31 wd:Q5 .
  OPTIONAL {
    ?article schema:about ?person .
  } MINUS {
    ?person wdt:P569 ?birthDate .
    FILTER ( YEAR( ?birthDate ) > 1899 )
  }
}
GROUP BY ?person
ORDER BY DESC ( ?articleCount )
LIMIT 1

Who is the person with the Japanese surname Minagawa, born in 1899 or earlier, who has the most Wikipedia articles about them?

Find the oldest known person with the surname Minagawa who has the highest number of Wikipedia pages linked to their biography.

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: Which historical Chinese figure born before 1900 has the most Wikipedia articles about them?

SELECT ?person (COUNT(?article) AS ?count) WHERE { BIND(wd:Q709087 AS ?person) . ?person wdt:P31 wd:Q5 . OPTIONAL { ?article schema:about ?person . } MINUS { ?person wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?birthYear) FILTER(?birthYear > 1899) } } GROUP BY ?person ORDER BY DESC(?count) LIMIT 1

Who is the Chinese poet born before 1900 who is referenced in the most online articles?

Find the person with the pen name 見月叟 (Jiàn Yuè Sǒu), born before 1900, and tell me how many articles mention 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: Cuban scientists with birth and death dates

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 ?var1 ?var1Label ?var3 ?var4 ?var6 WHERE {
  ?var1 wdt:P31 wd:Q5 .
  ?var1 wdt:P106 wd:Q901 .
  OPTIONAL {
    ?var1 wdt:P569 ?var3 .
  }
  OPTIONAL {
    ?var1 wdt:P570 ?var4 .
  }
  ?var1 wdt:P27 wd:Q241 .
  OPTIONAL {
    ?var1 wdt:P21 ?var6 .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}
ORDER BY ASC ( ?var1Label )
LIMIT 15

Who are the Cuban scientists and when were they born and died?

List the names, birth dates, death dates, and genders of all Cuban scientists.

SELECT ?var1 ?var2Label ?var3 ?var4 ?var5 ?var6 ?var6Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q901> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en,fr,de,es,it,no". } ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q241> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } } ORDER BY ASC( ?var1Label )


Question: What are the most popular architectural landmarks on Wikipedia, ranked by the number of language versions?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?landmark ( COUNT( ?article ) AS ?sitelinks ) WHERE {
  ?landmark ( wdt:P31 * / wdt:P279 * ) wd:Q2319498 .
  ?article schema:about ?landmark ; schema:inLanguage ?lang ; schema:isPartOf ?wiki .
  FILTER ( STRSTARTS( STR( ?wiki ) , "https://" ) )
}
GROUP BY ?landmark
HAVING ( ?sitelinks > 0 )
ORDER BY DESC ( ?sitelinks )
LIMIT 2000

List the top 2000 architectural landmarks with the most Wikipedia articles, sorted by popularity.

Which landmark buildings have the highest number of Wikipedia language editions, and how many are there?

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


Question: Female Nobel laureates in Physiology or Medicine with Catalan Wikipedia or Wikiquote articles.

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?laureate ?name ?article WHERE {
  ?laureate wdt:P21 wd:Q6581072 ; wdt:P166 wd:Q80061 .
  ?article rdf:type schema:Article ; schema:about ?laureate ; schema:inLanguage "ca" .
  ?laureate rdfs:label ?name .
  FILTER ( LANG( ?name ) = "ca" )
}

Which women have won the Nobel Prize in Physiology or Medicine and have articles about them in Catalan?

Show me the names of female Nobel Prize winners in Physiology or Medicine and the links to their Catalan-language Wikipedia and Wikiquote pages.

SELECT DISTINCT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> ; <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q80061> . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Article> ; <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> "ca". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "ca" ) ) ) . }


Question: Paintings or artworks from Tartu Art Museum and Art Museum of Estonia with MuIS IDs, images, and Estonian collection names with inventory numbers.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?image ?collectionWithInventory WHERE {
  VALUES ?collection {
    wd:Q12376420 wd:Q1754105
  }
  ?item wdt:P195 ?collection .
  ?item wdt:P4525 ?inventoryNumber .
  ?item wdt:P18 ?image .
  ?item rdfs:label ?itemLabel
  FILTER ( LANG( ?itemLabel ) = "en" ) .
  ?collection rdfs:label ?collectionLabel FILTER ( LANG( ?collectionLabel ) = "et" ) .
  BIND( CONCAT ( ?collectionLabel , " (" , ?inventoryNumber , ")" ) AS ?collectionWithInventory )
}

What artworks in the Tartu Art Museum and Art Museum of Estonia have MuIS IDs, and what are their images and collection names in Estonian with inventory numbers?

Show me the images and Estonian collection names with inventory numbers for all items in the Tartu Art Museum and Art Museum of Estonia that have a MuIS object ID.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q3305213> . { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q12376420> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P195> <http://www.wikidata.org/entity/Q1754105> . } BIND ( CONCAT ( ?var4Label , " (", ?var5 , ")" ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P4525> [] . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P217> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P195> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "et" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "et". } }


Question: Countries with total fertility rate of 6 or higher, year, and data source.

SELECT ( STR( YEAR( ?date ) ) AS ?year ) ?fertilityRate ?countryLabel ( STR( ?sourceUrl ) AS ?sourceUrlStr ) WHERE { ?country p:P4841 [ ps:P4841 ?fertilityRate ; pq:P585 ?date ; prov:wasDerivedFrom [ pr:P854 ?sourceUrl ] ] . FILTER ( ?fertilityRate >= 6.0 ) . ?country rdfs:label ?countryLabel . FILTER ( LANG( ?countryLabel ) = "en" ) }

Which countries had a total fertility rate of at least 6, in what year, and from which source was this data recorded?

Show me the countries with a total fertility rate of 6 or more, along with the year the data was recorded and the URL of the source.

SELECT( STR ( YEAR ( ?var1 ) ) AS ?var2 ) ?var3 ?var4Label ( STR ( ?var5 ) AS ?var6 ) WHERE { ?var4 <http://www.wikidata.org/prop/P4841> [ <http://www.wikidata.org/prop/statement/P4841> ?var3 ; <http://www.wikidata.org/prop/qualifier/P585> ?var1 ; <http://www.w3.org/ns/prov#wasDerivedFrom> [ <http://www.wikidata.org/prop/reference/P854> ?var5 ] ] . FILTER ( ( ( ?var3 >= "6"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } }


Question: What is the founding date of Metallica?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?inceptionDate WHERE {
  wd:Q15920 wdt:P571 ?inceptionDate .
}

When was the American heavy metal band Metallica established?

SELECT ?var1 ?var2 WHERE { ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/direct/P571> . ?var1 ?var2 <http://www.wikidata.org/entity/Q15920> . }


Question: Top sculptors by number of Wikipedia articles

SELECT ?person (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?person (wdt:P106|wdt:P101|wdt:P39) wd:Q1281618 . ?sitelink schema:about ?person ; schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), "https://")) } GROUP BY ?person ORDER BY DESC(?sitelinkCount) LIMIT 2000

Who are the most notable sculptors based on how many language versions of Wikipedia have articles about them?

List the top 2000 people associated with sculpting (as occupation, field of work, or position held), ranked by how many Wikipedia pages exist about them.

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


Question: What are the top publication venues where Aaron Halfaker has published the most works, using abbreviated names where available?

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 ?publication ?publicationLabel ( COUNT( ?work ) AS ?count ) WHERE {
  ?work wdt:P50 wd:Q18627581 .
  ?work wdt:P1433 ?publication .
  ?publication rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?publication wdt:P1813 ?shortName .
  }
  BIND( COALESCE ( ?shortName , ?label ) AS ?publicationLabel )
}
GROUP BY ?publication ?publicationLabel
ORDER BY DESC ( ?count )

Which journals or conferences have published the most papers by Aaron Halfaker, and what are their common abbreviations?

Show me how many publications Aaron Halfaker has in each venue, preferring short names like PACMHCI over full titles.

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q18627581> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )


Question: Used Wikidata properties with English labels

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?property ?propertyLabel WHERE {
  ?property wikibase:claim [] .
  ?property rdfs:label ?propertyLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" )
}
LIMIT 100

What are the English labels of properties that are used as claims in Wikidata statements?

List up to 100 properties used in Wikidata statements along with their English names.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://wikiba.se/ontology#claim> [] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 100


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

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

Show me the Wikipedia articles in English and German about the film "The Ballad of Cable Hogue".

Which Wikipedia pages in English and German discuss the movie identified by tt0065446 on IMDb?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0065446". } ?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: Wikidata items with Twitter usernames sorted by number of Wikipedia links

SELECT ?item ?twitter (wikibase:sitelinks AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitter . } ORDER BY ASC(?sitelinkCount)

Which entities on Wikidata have Twitter accounts, and how many Wikipedia articles are linked to them, ordered from least to most?

List all Wikidata items that have a Twitter username, along with their sitelink count, sorted by the number of Wikipedia links in ascending order.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "SourceGoat" ) ( "wikidata" ) ( "string1" ) ( "mesosphere" ) ( "krmaher" ) ( "string2" ) ( "Auregann" ) ( "DaiIyGoats" ) ( "addshore" ) ( "maettig" ) ( "aha_io" ) ( "string3" ) ( "mariushoch" ) } } ORDER BY ASC( ?var3 )


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

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

What English and German language Wikipedia and Wikiquote pages are about the movie "My Own Private Idaho"?

Show me the English and German language pages linked to the movie "My Own Private Idaho" on Wikipedia and Wikiquote.

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

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

What are the English and German Wikipedia pages for the film Belle (2013)?

Show me the English and German Wikipedia links for the movie Belle (2013), identified by IMDb ID tt2404181.

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


Question: Who are the people listed as songwriters on Wikidata?

SELECT ?person ?label WHERE { ?person (wdt:P106|wdt:P101|wdt:P39) wd:Q753110 . ?person rdfs:label ?label . FILTER(LANG(?label) = "en") } LIMIT 2000

Can you list the English names of people whose occupation, field of work, or position is songwriter?

What are the names of individuals associated with the profession of songwriting?

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


Question: English or German Wikipedia page for the movie with IMDb ID tt2766268

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

What is the English or German Wikipedia page for the item with IMDb ID tt2766268?

Show me the English or German Wikipedia articles linked to the IMDb entry tt2766268.

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

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

Can you show me the language versions of the Wikipedia and Wikiquote pages for the film "House of 1000 Corpses"?

Which language editions of Wikimedia pages describe the movie identified by tt0251736?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0251736". } ?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: Screenwriters who died before 1921 and the works they wrote.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?work ?workLabel ?screenwriter ?screenwriterLabel WHERE {
  ?work wdt:P58 ?screenwriter .
  ?screenwriter wdt:P570 ?deathDate .
  FILTER ( ?deathDate <= "1921-01-01T00:00:00Z" ^^ xsd:dateTime ) .
  ?work rdfs:label ?workLabel .
  ?screenwriter rdfs:label ?screenwriterLabel .
  FILTER ( LANG( ?workLabel ) = "en" ) .
  FILTER ( LANG( ?screenwriterLabel ) = "en" ) .
}
LIMIT 10000

Which films and books had screenwriters who died on or before January 1, 1921?

List all works and their screenwriters where the screenwriter died before 1921, in English.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P58> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( ( ?var3 <= "1921-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10000


Question: Libraries in Italy with ISIL identifiers starting with IT-

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

What are the libraries and related organizations in Italy that have an ISIL identifier starting with 'IT-'?

List the names of Italian libraries and related organizations that use an ISIL code beginning with 'IT-'.

SELECT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2Label ; SEPARATOR = ", " ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P791> ?var4 . FILTER ( ( ( ?var4 = "IT-.*" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } } GROUP BY ?var1 ?var1Label LIMIT 100


Question: What are the ethnic groups categorized under the "ethnic group" category, and what qualifiers are used on their categorization statements?

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

Can you list items classified as ethnic groups and show any additional details (qualifiers) attached to their categorization?

Which entities are linked to the "ethnic group" category via Wikimedia categories, and do those links include any qualifiers like time periods or sources?

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


Question: Dutch golfers ranked by Wikipedia page count

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person(COUNT(?article) AS ?sitelinkCount) WHERE {
  ?person(wdt:P106 | wdt:P101 | wdt:P39) wd:Q11303721 .
  ?person wdt:P27 wd:Q29999 .
  ?article schema:about ?person .
  ?article schema:isPartOf ?wiki .
  FILTER(STRSTARTS(STR(?wiki) , "https://"))
}
GROUP BY ?person
ORDER BY DESC(?sitelinkCount)
LIMIT 500

Who are the most notable Dutch golfers based on the number of Wikipedia articles about them?

List the top 500 Dutch golfers by their Wikipedia popularity, showing how many language versions of their Wikipedia pages exist.

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


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

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

Can you find the Wikimedia Commons image for the person identified by the SNAC ARK ID w6280zhh?

Show the image of Henry James Anderson, who has the SNAC ARK ID w6280zhh.

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


Question: English or German title of the movie with IMDb ID tt1847750

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?title WHERE {
  ?item wdt:P345 "tt1847750" .
  ?item rdfs:label ?title .
  FILTER ( LANG( ?title ) = "en" || LANG( ?title ) = "de" )
}

What is the English or German title of the film identified by IMDb ID tt1847750?

Please provide the English or German title of the movie with IMDb ID tt1847750.

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

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

What is the image of the individual identified by the SNAC ARK ID w6gc47c9?

Please provide the Wikimedia Commons image for the entity with SNAC ARK ID w6gc47c9.

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


Question: English and German Wikipedia pages for the movie with IMDb ID tt0070239

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

What are the English and German Wikipedia articles about the film Jesus Christ Superstar?

Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0070239.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0070239". } ?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 movie with IMDb ID tt0368222

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

What are the English and German Wikipedia pages for the film "Romance & Cigarettes"?

Show me the English and German Wikipedia links for the movie identified by IMDb ID tt0368222.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0368222". } ?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 link other items to Cyndi Grecco more than once?

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

Which properties are used to connect other entities to the singer Cyndi Grecco, and how many times are they used?

Show me the properties that relate songs or albums to Cyndi Grecco, but only include those used in more than one context, sorted by frequency.

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


Question: What is the English Wikipedia article about the movie with IMDb ID tt2662228?

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

Show me the English Wikipedia page and IMDb ID for the film identified by tt2662228.

Find the English Wikipedia article linked to the IMDb entry tt2662228.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2660118". } ?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: All works of art and their subclasses in Wikidata.

SELECT ?artwork ?artworkLabel WHERE { ?artwork (wdt:P31/wdt:P279*) wd:Q838948 . ?artwork rdfs:label ?artworkLabel . FILTER(LANG(?artworkLabel) = "en") }

What are all the items (including subclasses and instances) that are considered works of art in Wikidata?

List all labeled artworks and their types in English, including paintings, sculptures, digital art, and any other categories that fall under the broader concept of "work of art".

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q838948> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "zh". } }


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

SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 "tt1648216" . ?wikipedia_page schema:about ?movie . VALUES ?lang { "en" "de" } ?wikipedia_page schema:inLanguage ?lang .}

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

Which Wikipedia pages in English and German discuss the movie "Three Steps Above Heaven"?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1648216". } ?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 tt2617456

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

What English or German Wikipedia or Wikiquote pages are linked to the movie Superman: Unbound on IMDb?

Show me all English and German language pages about the IMDb movie tt2617456.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2617456". } ?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 French communes with "Lavoûte" in their official name?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?city ?name WHERE {
  ?city wdt:P17 wd:Q142 ; wdt:P31 wd:Q484170 ; wdt:P1448 ?name .
  FILTER(CONTAINS(?name , "Lavoûte"))
}

Show me cities in France whose official names contain "Lavoûte".

Which towns in France are named Lavoûte-sur-Loire or Lavoûte-Chilhac?

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q515> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "de" ) ) ) . FILTER ( ( CONTAINS ( ?var3Label , "Lavoute" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who are the Spanish humans in Wikidata who have children, and what are their children's names?

SELECT ?person ?personLabel ?childLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P27 wd:Q29 ; wdt:P40 ?child . ?person rdfs:label ?personLabel . ?child rdfs:label ?childLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?childLabel) = "en") }

List Spanish people who are parents, along with the names of their children.

Show the names of Spanish citizens who have children and the labels of those children.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/P40> ?var3 . ?var3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.wikidata.org/prop/novalue/P40> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are the Twitter usernames of organizations like ademe, GroupeSNCF, and tableau, and how many Wikipedia links do they have, sorted by least to most?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterUsername(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?twitterUsername .
  ?sitelink schema:about ?item ; schema:isPartOf ?site .
  VALUES ?twitterUsername {
    "ademe" "GroupeSNCF" "tableau"
  }
}
GROUP BY ?item ?twitterUsername
ORDER BY ASC(?sitelinkCount)

Show me the Wikidata items for the Twitter accounts "ademe", "GroupeSNCF", and "tableau", along with their sitelink counts, ordered from the fewest to the most Wikipedia connections.

Which of the Twitter accounts "ademe", "GroupeSNCF", and "tableau" has the fewest Wikipedia sitelinks, and how many do each have?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "envlh" ) ( "string1" ) ( "inOut2018" ) ( "Bluebus_" ) ( "string2" ) ( "GroupePSA" ) ( "string3" ) ( "GroupeSNCF" ) ( "string4" ) ( "ademe" ) ( "string5" ) ( "string6" ) ( "ID4CAR" ) ( "panoplyio" ) ( "tableau" ) ( "panoply" ) ( "nojhan" ) ( "symac" ) ( "string7" ) } } ORDER BY ASC( ?var3 )


Question: What properties are used on Barack Obama, and how many values does each have, along with the labels of those values?

SELECT ?property ?propertyLabel (COUNT(?value) AS ?valueCount) (GROUP_CONCAT(?valueLabel; SEPARATOR=", ") AS ?valueLabels)
WHERE {
  wd:Q11424 ?property ?value .
  BIND(IRI(REPLACE(STR(?property), "http://www.wikidata.org/prop/direct/", "http://www.wikidata.org/entity/")) AS ?propItem)
  ?propItem rdfs:label ?propertyLabel .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?propertyLabel) = "en")
  FILTER(LANG(?valueLabel) = "en")
}
GROUP BY ?property ?propertyLabel
ORDER BY DESC(?valueCount)

Show me a summary of all properties applied to Barack Obama, including the count of values and the English labels of those values.

For each property used on Barack Obama, list the property name, how many times it's used, and the English labels of its values.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q15133553> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: Does the VIAF ID 92148389462710712103 exist in Wikidata?

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

Is there a person in Wikidata with the VIAF identifier 92148389462710712103?

Check if the Virtual International Authority File ID 92148389462710712103 is linked to any entity in Wikidata.

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


Question: What properties describe the novel *The Surgeon*, and what are their values and counts in English?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property(SAMPLE(?propertyLabel) AS ?propLabel)(COUNT(?value) AS ?valueCount)(GROUP_CONCAT(?valueLabel ; SEPARATOR = ", ") AS ?valueLabels) WHERE {
  wd:Q1211868 ?property ?value .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?valueLabel) = "en")
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyLabel .
  FILTER(LANG(?propertyLabel) = "en")
}
GROUP BY ?property

For the book *The Surgeon*, list each property used in Wikidata, its English label, how many values it has, and what those values are.

Can you show me a summary of the English-language facts about the novel *The Surgeon*, grouped by property, including how many times each property is used?

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q1211868> ?var1 ?var3 . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var6 <http://wikiba.se/ontology#directClaim> ?var1 . ?var6 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } GROUP BY ?var1


Question: Works by Dorthe Dahl-Jensen without a main subject on Wikidata.

SELECT ?work ?workTitle WHERE { ?work wdt:P50 wd:Q19667187 . FILTER ( NOT EXISTS { ?work wdt:P921 ?subject } ) . OPTIONAL { ?work wdt:P1476 ?workTitle . } } ORDER BY ?workTitle

What scientific papers authored by Dorthe Dahl-Jensen do not have a specified main topic on Wikidata?

List the titles of all publications by Dorthe Dahl-Jensen that are not linked to a main subject in Wikidata.

SELECT ?var1 ?var1Label ( ?var1 AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q19667187> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P921> ?var3 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } } ORDER BY DESC( ?var4 )


Question: What is the English Wikipedia page for the movie with IMDb ID tt3626742?

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

Which Wikipedia page in English or German is about the film identified by IMDb ID tt3626742?

Show me the Wikipedia page (in English or German) for the movie that has the IMDb identifier tt3626742.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3626742". } ?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 tt3510480?

SELECT ?item ?wikipediaPage WHERE { ?item wdt:P345 "tt3510480" . ?wikipediaPage schema:about ?item . VALUES ?lang { "en" "de" } ?wikipediaPage schema:inLanguage ?lang .}

Find the Wikipedia article about the film "Anacleto: agente secreto" in English or German.

Show me the Wikipedia links in English or German for the movie identified by tt3510480 on IMDb.

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

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

What English and German language pages on Wikipedia or Wikiquote are about the movie "All About My Mother"?

Show me the English and German Wikipedia and Wikiquote pages for the film identified by IMDb ID tt0185125.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0185125". } ?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 label, alternative name, and Wikipedia page for the entity with Freebase ID /m/010hn?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ?label ?altLabel ?wikipediaPage WHERE {
  ?item wdt:P646 "/m/010hn" .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) .
  ?item skos:altLabel ?altLabel .
  FILTER ( LANG( ?altLabel ) = "en" ) .
  ?wikipediaPage schema:about ?item ; schema:inLanguage "en" .
  FILTER ( STRSTARTS( STR( ?wikipediaPage ) , "https://en.wikipedia.org/" ) )
}

Who is the person identified by the Freebase ID /m/010hn, and what are their English name, alternative name, and English Wikipedia link?

Please provide the English name, alternative English name, and English Wikipedia URL for the entity linked to the Freebase ID /m/010hn.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/010hn". OPTIONAL { ?var1 <http://schema.org/description> ?var5 . } OPTIONAL { ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var3 . } FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . OPTIONAL { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "en". FILTER ( ( ( SUBSTR ( STR ( ?var4 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"25"^^<http://www.w3.org/2001/XMLSchema#integer> ) = "string1" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }