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

SELECT ?movie ?wikipedia_page ?imdb_id WHERE { ?movie wdt:P345 "tt2510268" . ?wikipedia_page schema:about ?movie . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } ?movie wdt:P345 ?imdb_id . }

What is the English or German Wikipedia article for the movie identified by IMDb ID tt2510268?

Show me the Wikipedia page in English or German for the movie with IMDb ID tt2510268, along with its IMDb identifier.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt2510268". } ?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 subclasses of motor car and their direct parent classes

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 ?subclass ?subclassLabel ?directParent WHERE {
  ?subclass wdt:P279 * wd:Q1420 .
  OPTIONAL {
    ?subclass wdt:P279 ?directParent .
  }
  ?subclass rdfs:label ?subclassLabel .
  FILTER ( LANG( ?subclassLabel ) = "en" )
}

What are all the types of cars (including subtypes like sports cars and SUVs) and what is their immediate parent category in the classification hierarchy?

List all vehicle types that are subclasses of motor car, along with their English names and their direct superclass.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q1420> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } }


Question: Film with IMDb ID tt0104745, English title, and English Wikipedia page

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film ?wikipediaPage ?imdbId ?filmTitle WHERE {
  ?film wdt:P345 "tt0104745" .
  ?wikipediaPage schema:about ?film .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
  BIND( "tt0104745" AS ?imdbId ) ?film rdfs:label ?filmTitle .
  FILTER ( LANG( ?filmTitle ) = "en" )
}

What is the English title and Wikipedia page of the film with IMDb ID tt0104745?

Show me the English title and the English Wikipedia page for the movie identified by tt0104745 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0104745". } ?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 most common properties linking other items to Springfield, Vermont, and how many times are they used?

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

Which properties connect entities to Springfield, VT, and which ones appear more than once?

How is Springfield, Vermont connected to other entities in Wikidata? Show the properties and their usage counts, excluding rare ones.

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


Question: What are the Italian communes and their cadastre codes?

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 ?commune ?cadastreCode ?communeLabel WHERE {
  ?commune wdt:P31 wd:Q747074 .
  OPTIONAL {
    ?commune wdt:P806 ?cadastreCode .
  }
  ?commune rdfs:label ?communeLabel .
  FILTER(LANG(?communeLabel) = "en")
}
LIMIT 100

Can you list the names of Italian municipalities along with their Italian cadastre identifiers?

Show me the English names of Italian communes and their corresponding cadastre codes from the national registry.

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


Question: German Wikipedia page for movie with IMDb ID tt5778098

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?movieLabel ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt5778098" .
  ?movie rdfs:label ?movieLabel .
  FILTER(LANG(?movieLabel) = "en")
  .
  ?wikipedia_page schema:about ?movie ; schema:inLanguage "de" ; schema:isPartOf <https://de.wikipedia.org/> .
}

What is the German Wikipedia article for the movie with IMDb ID tt5778098?

Show me the German Wikipedia page and the English title of the movie identified by IMDb ID tt5778098.

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

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

Which Wikipedia articles in English or German are about the movie identified by the IMDb ID tt1667439?

Please show me the Wikipedia page in English or German for the film that has the IMDb identifier tt1667439.

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

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

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

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

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


Question: Which statements in Wikidata were sourced from the French Wiktionary?

SELECT ?statement ?property ?value WHERE { ?statement ?property ?value . ?statement prov:wasDerivedFrom ?ref . ?ref pr:P143 wd:Q22001373 . } LIMIT 1

What kind of data in Wikidata comes from the French version of Wiktionary?

Can you show an example of a Wikidata statement imported from fr.wiktionary.org?

SELECT * WHERE { ?var1 ?var2 ?var3 . ?var3 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P143> / <http://www.wikidata.org/prop/direct/P143> ) <http://www.wikidata.org/entity/Q22001373> . } LIMIT 1


Question: What are the English and German Wikipedia articles about the movie with IMDb ID tt0109117?

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

Show me the Wikipedia pages in English and German for the film identified by tt0109117 on IMDb, along with its IMDb identifier.

I'm looking for Wikipedia articles in English or German about the movie that has the IMDb ID tt0109117. Can you provide those articles and confirm the IMDb ID?

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

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

Which Wikipedia pages in English or German are about the item with IMDb identifier tt5061126?

Show me the Wikipedia pages in English or German that are linked to the IMDb entry tt5061126.

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

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?wikipedia_page WHERE {
  ?movie wdt:P345 "tt1614456" .
  ?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 with IMDb identifier tt1614456?

Show me the Wikipedia article in English or German for the movie identified by tt1614456 on IMDb.

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

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

What English or German-language Wikipedia and Wikiquote pages are about the movie with IMDb ID tt0102820?

Show me the English and German Wikimedia project pages related to the film Rush (IMDb: tt0102820).

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

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

What is the Wikidata entry and corresponding Wikipedia page (in English or German) for the movie with IMDb ID tt2797106?

Show me the Wikipedia pages in English or German about the film identified by IMDb ID tt2797106, along with its Wikidata identifier.

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

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

Show me the Wikipedia articles in English or German that cover the film identified by tt0812265 on IMDb.

Find the Wikipedia links for the movie with IMDb identifier tt0812265, specifically in English or German language versions.

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

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

What is the image associated with Richard Worsam Meade II in Wikidata?

Can you show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6n3135m?

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


Question: Parliamentary buildings in Berlin with images

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 ?building ?buildingLabel ?image WHERE {
  ?building wdt:P31 wd:Q7138926 ; wdt:P131 wd:Q64 ; wdt:P18 ?image .
  ?building rdfs:label ?buildingLabel .
  FILTER ( LANG( ?buildingLabel ) = "en" )
}
LIMIT 188

What are the parliamentary buildings in Berlin and what are their images?

Show me images of parliamentary buildings located in Berlin.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7138926> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . <http://www.wikidata.org/entity/Q64> <http://www.wikidata.org/prop/direct/P625> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } SERVICE <http://wikiba.se/ontology#around> { ?var5 <http://www.wikidata.org/prop/direct/P625> ?var6 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> ?var4 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "100". <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#distance> ?var7 . } } LIMIT 188


Question: Municipalities in Rio Grande do Norte, Brazil, with their Portuguese names

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 ?municipality ( COALESCE ( ?ptLabel , ?enLabel ) AS ?municipalityLabel ) WHERE {
  ?municipality wdt:P31 wd:Q3184121 .
  ?municipality wdt:P131 wd:Q43255 .
  OPTIONAL {
    ?municipality rdfs:label ?ptLabel .
    FILTER ( LANG( ?ptLabel ) = "pt" )
  }
  OPTIONAL {
    ?municipality rdfs:label ?enLabel .
    FILTER ( LANG( ?enLabel ) = "en" )
  }
}

What are the municipalities in the Brazilian state of Rio Grande do Norte, and what are their names in Portuguese?

List the municipalities of Rio Grande do Norte in Brazil along with their Portuguese labels.

SELECT ?var1 ?var1Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pt,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3184121> . OPTIONAL { ?var2 <http://schema.org/about> ? ?var1 . ?var2 <http://schema.org/inLanguage> "pt". FILTER ( ( ( SUBSTR ( STR ( ?var2 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"25"^^<http://www.w3.org/2001/XMLSchema#integer> ) = "string1" ) ) ) . } ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q43255> . }


Question: Male humans with Arabic labels but no Arabic Wikipedia page, including their birth/death dates, citizenship, and places of birth and death.

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/>
PREFIX schema: <http://schema.org/>
SELECT ?person ?birthDate ?deathDate ?country ?birthPlace ?deathPlace ?label WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581097 .
  ?person wdt:P569 ?birthDate .
  ?person wdt:P570 ?deathDate .
  ?person wdt:P27 ?country .
  ?person wdt:P19 ?birthPlace .
  ?person wdt:P20 ?deathPlace .
  ?person rdfs:label ?label .
  OPTIONAL {
    ?arWikipediaPage schema:about ?person ; schema:inLanguage "ar" .
  }
  FILTER ( ! BOUND( ?arWikipediaPage ) ) FILTER ( LANG( ?label ) = "ar" )
}
LIMIT 1000

Who are male humans that have an Arabic label but no Arabic Wikipedia article, and what are their birth and death details?

List up to 1,000 male individuals with Arabic-language names who do not have an Arabic Wikipedia page, along with their country of citizenship, birthplace, death place, and dates of birth and death.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . OPTIONAL { ?var10 <http://schema.org/about> ?var1 . ?var10 <http://schema.org/inLanguage> "ar". } FILTER ( ( !( BOUND ( ?var10 ) ) ) ) . FILTER ( ( ( LANG ( ?var9Label ) = "ar" ) ) ) . } LIMIT 1000


Question: Male politicians with Arabic names but no Arabic Wikipedia page, including birth/death dates, nationality, places of birth and death, and military ranks.

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 schema: <http://schema.org/>
SELECT ?person ?dateOfBirth ?dateOfDeath ?country ?placeOfBirth ?placeOfDeath ?rank ?label WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581097 .
  ?person wdt:P106 wd:Q82955 .
  ?person wdt:P569 ?dateOfBirth .
  ?person wdt:P570 ?dateOfDeath .
  ?person wdt:P27 ?country .
  ?person wdt:P19 ?placeOfBirth .
  ?person wdt:P20 ?placeOfDeath .
  ?person wdt:P410 ?rank .
  ?person rdfs:label ?label .
  OPTIONAL {
    ?arabicWikipediaPage schema:about ?person ; schema:inLanguage "ar" .
  }
  FILTER(! BOUND(?arabicWikipediaPage))
  FILTER(LANG(?label) = "ar")
}
LIMIT 1000

Who are male politicians with Arabic-language labels but no Arabic Wikipedia article, and what are their birth and death details, nationalities, places of birth and death, and military ranks?

List all male human politicians who have Arabic labels but are not documented on Arabic Wikipedia, along with their dates of birth and death, countries, places of birth and death, and military ranks.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581097> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P410> ?var7 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var8Label . OPTIONAL { ?var9 <http://schema.org/about> ?var1 . ?var9 <http://schema.org/inLanguage> "ar". } FILTER ( ( !( BOUND ( ?var9 ) ) ) ) . FILTER ( ( ( LANG ( ?var8Label ) = "ar" ) ) ) . } LIMIT 1000


Question: Animated films with titles starting with "Coco" in English.

SELECT ?film ?label WHERE { ?film (wdt:P31/wdt:P279*) wd:Q202866 ; rdfs:label ?label . FILTER(LANG(?label) = "en") FILTER(STRSTARTS(?label, "Coco")) } LIMIT 100

What are the English titles of animated films that begin with "Coco"?

List all English-language animated films whose names start with "Coco", including variations like "Coconut".

SELECT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/p279> *) <http://www.wikidata.org/entity/Q202866> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . FILTER ( ( STRSTARTS ( ?var2 , "Coco" ) ) ) . } LIMIT 100


Question: What topics have a main Wikimedia portal and an Arabic-language Wikipedia page?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?topic ?portal WHERE {
  ?topic wdt:P1151 ?portal .
  FILTER EXISTS {
    ?page schema:about ?topic ; schema:inLanguage "ar" .
  }
}
LIMIT 10

Show me the Wikimedia portals associated with topics that also have an Arabic-language page.

Which topics on Wikidata are linked to both a main portal and an Arabic Wikipedia article?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1151> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/inLanguage> "ar". } FILTER ( ( BOUND ( ?var3 ) ) ) . } LIMIT 10


Question: People who died in 1929, their birth dates, and ages at death.

SELECT ?person ?personLabel ?dob ?dod WHERE { ?person wdt:P31 wd:Q5 ; wdt:P570 ?dod . FILTER ( ?dod >= "1929-01-01"^^xsd:date && ?dod < "1930-01-01"^^xsd:date ) OPTIONAL { ?person wdt:P569 ?dob . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") BIND( ( ( ?dod - ?dob ) / "365.2425"^^xsd:decimal ) AS ?age ) } ORDER BY ASC(?person) LIMIT 10

Who were the people that died in 1929, and how old were they when they died?

List the names and birth dates of people who died in 1929, along with their calculated age at death.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 ?var6Label ?var7 ?var8Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var9 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P734> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P735> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } BIND ( ( ( ?var9 - ?var7 ) /"365.2425"^^<http://www.w3.org/2001/XMLSchema#decimal> ) AS ?var11 ). FILTER ( ( ( ?var9 >= "1929-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var9 < "1929-01-02"^^<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". } } ORDER BY ASC( ?var1 )


Question: French-labeled humans with the surname Béranger

SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = "fr") FILTER(regex(?label, "Béranger", "i")) ?person wdt:P31 wd:Q5 .}

Who are the French-speaking people named Béranger?

List all humans whose French label includes the name Béranger.

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


Question: What properties are used to link other items to the 1976 U.S. Men's Clay Court Championships, and how often are they used (only showing those used more than once)?

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

Which properties connect other entities to the 1976 U.S. Men's Clay Court Championships, and which ones appear more than once?

Show me the properties that relate other items to the 1976 U.S. Men's Clay Court Championships, sorted by how frequently they’re used, excluding properties used only once.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q4001465> . 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: Wikidata properties for authority control of people

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?propertyLabel WHERE {
  ?property wdt:P31 wd:Q19595382 .
  ?property rdfs:label ?propertyLabel .
  FILTER ( langMatches( lang( ?propertyLabel ) , "en" ) )
}
LIMIT 21

What are the Wikidata properties used to identify people with external authority files?

List the English names of the top 21 Wikidata properties that link people to external identifiers like ISNI or VIAF.

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


Question: List all people with an ORCID iD and their ORCID identifiers.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?orcid WHERE {
  ?person wdt:P496 ?orcid .
}

Who are the people that have an ORCID iD, and what are their ORCID numbers?

Show me the names of individuals and their corresponding ORCID identifiers.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . FILTER ( ( NOT EXISTS { ?var1 ?var3 <http://www.wikidata.org/entity/Q19595382> . } ) ) . }


Question: List all non-sovereign territories with ISO 3166-1 codes and the countries that administer them, in multiple languages.

SELECT ?territory ?isoCode ?administeringCountryLabel WHERE { ?territory wdt:P297 ?isoCode ; wdt:P17 ?country . ?country rdfs:label ?administeringCountryLabel . FILTER ( ?isoCode IN ( "VI", "XK", "YT", "AS", "FK", "FO", "TC", "WF", "GL", "GU", "MS", "PF", "SH", "PR", "JE", "MP", "MQ", "NC", "BQ", "CK", "GF", "GG", "GP", "IM", "PM", "RE", "AQ", "AX", "BL", "BV", "CC", "CX", "EH", "GS", "HM", "IO", "MF", "NF", "NU", "PN", "SJ", "TF", "TK", "UM" ) ) } ORDER BY ASC(?isoCode)

Which territories have ISO country codes like AS, YT, or FK, and which sovereign states are they associated with, in different languages?

Show me the names of territories such as Puerto Rico, Guam, and Mayotte, their ISO codes, and the names of the countries that govern them, in all available languages.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P297> ?var2 ; ( <http://www.wikidata.org/prop/direct/P17> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var3 . FILTER ( ( ?var2 IN ( "VI", "XK", "YT", "AS", "FK", "FO", "TC", "WF", "GL", "GU", "MS", "PF", "SH", "PR", "JE", "MP", "MQ", "NC", "BQ", "CK", "GF", "GG", "GP", "IM", "PM", "RE", "AQ", "AX", "BL", "BV", "CC", "CX", "EH", "GS", "HM", "IO", "MF", "NF", "NU", "PN", "SJ", "TF", "TK", "UM" ) ) ) . } ORDER BY ASC( ?var2 )


Question: What properties (with French labels and descriptions) are used on items that are computer languages?

SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE { ?item wdt:P31 ?class . ?class wdt:P279* wd:Q629206 . ?item ?property ?value . BIND(IRI(REPLACE(STR(?property), "http://www.wikidata.org/prop/", "http://www.wikidata.org/entity/")) AS ?propertyEntity) . ?propertyEntity rdfs:label ?propertyLabel . ?propertyEntity schema:description ?propertyDescription . FILTER(LANG(?propertyLabel) = "fr") . FILTER(LANG(?propertyDescription) = "fr") } LIMIT 100

In French, what are the labels and descriptions of properties commonly applied to programming languages?

Show me the French names and descriptions of properties associated with computer languages like Python or BASIC.

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


Question: ORCID iD holders without any other authority control identifiers like ISNI or VIAF.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?orcid WHERE {
  ?item wdt:P496 ?orcid . MINUS {
    ?item ?otherProp ?val .
    ?otherProp wdt:P31 / wdt:P279 * wd:Q18614948 .
    FILTER(?otherProp != wdt:P496)
  }
}
LIMIT 3

Which people have an ORCID iD but no other identifiers such as ISNI, VIAF, or similar authority control numbers?

Show me up to three researchers who are identified only by their ORCID iD and have no other known authority control identifiers in Wikidata.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . MINUS { ?var1 ?var3 ?var4 . ?var3 ^ <http://wikiba.se/ontology#directClaim> ?var5 . ?var5 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q18614948> . MINUS { ?var3 ?var6 <http://www.wikidata.org/entity/P496> . } } } LIMIT 3


Question: Who are the Federal Chancellors of Germany?

SELECT ?chancellor ?chancellorLabel WHERE { ?chancellor wdt:P39 wd:Q4970706 . ?chancellor rdfs:label ?chancellorLabel . FILTER(LANG(?chancellorLabel) = "en") } ORDER BY ?chancellorLabel

List of all people who have held the office of Federal Chancellor of Germany.

Can you provide the names of all individuals who have served as Federal Chancellor of Germany, sorted alphabetically?

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


Question: Is Melodifestivalen 2017 a kind of software?

Is Melodifestivalen 2017 classified as software or a subclass of software?

Check whether Melodifestivalen 2017 belongs to the category of software or any of its subclasses.

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


Question: Is Melodifestivalen 1959 a television program?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q3302574 ( wdt:P31 / wdt:P279 * ) wd:Q15416 .
}

Does Melodifestivalen 1959 belong to the category of television programs?

Confirm whether Melodifestivalen 1959 is classified as a television program.

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


Question: Is Hackman a surname?

Does the family name Hackman belong to the category of surnames through its type or subclass hierarchy?

Confirm whether Hackman is classified as a surname either directly or via its class hierarchy in Wikidata.

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


Question: Linux distributions with official websites, sorted alphabetically.

SELECT ?distro ?website ?distroLabel WHERE { ?distro wdt:P31 wd:Q131669 ; wdt:P856 ?website . ?distro rdfs:label ?distroLabel . FILTER(LANG(?distroLabel) = 'en') } ORDER BY ASC(?distroLabel)

What are the Linux distributions and their official websites, listed in alphabetical order by name?

Please list all Linux distributions along with their official websites, ordered by their English names.

SELECT ?var1 ?var2 ?var3Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131669> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P275> <http://www.wikidata.org/entity/Q132421> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en". } } ORDER BY ASC( ?var1Label )


Question: Linux distributions with official websites and GNU licenses

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 ?var1Label ?var2 ?var3Label WHERE {
  ?var1 wdt:P31 wd:Q131669 .
  ?var1 wdt:P856 ?var2 .
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en")
  OPTIONAL {
    ?var1 wdt:P275 ?var3 .
    ?var3 rdfs:label ?var3Label .
    FILTER(LANG(?var3Label) = "en")
  }
  FILTER(! BOUND(?var3) || STRSTARTS(?var3Label , "GNU "))
}
ORDER BY ASC(?var1Label)

Which Linux distributions have official websites and are licensed under the GNU General Public License?

Show me Linux distributions that have an official website, and if they have a license, it should start with "GNU " — list them in alphabetical order.

SELECT ?var1Label ?var2 ?var3Label WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q131669> . ?var1 <http://www.wikidata.org/prop/direct/P856> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P275> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "es,en". } FILTER ( ( STRSTARTS ( ?var3Label , "GNU " ) ) ) . } ORDER BY ASC( ?var1Label )


Question: Is Lys Assia an instance of a category that includes software?

ASK WHERE {
  wd:Q193687 ( wdt:P31 / wdt:P279 * ) wd:Q7397 .
  hint:Prior hint:gearing "forwards" .
}

Does Lys Assia belong to a class that is a subclass of software?

Is Lys Assia classified under any type that is a kind of software?

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


Question: Films with French exploitation mark numbers but no release date qualifier.

SELECT ?item ?itemLabel ?mark ?rank WHERE { ?item p:P2755 ?statement . ?statement ps:P2755 ?mark ; wikibase:rank ?rank . FILTER NOT EXISTS { ?statement pq:P580 ?date . } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } } LIMIT 100

Which movies have been assigned an exploitation mark number in France but do not have a specified start date for the mark?

List all films that have an exploitation mark number in France without a start time qualifier, along with the mark number and statement rank.

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


Question: What are the birth and death details of Albert Einstein, including his birthplace, death place, dates, and image?

SELECT ?birthPlace ?birthPlaceLabel ?deathPlace ?deathPlaceLabel ?birthDate ?deathDate ?image WHERE { OPTIONAL { wd:Q937 wdt:P19 ?birthPlace . } OPTIONAL { wd:Q937 wdt:P20 ?deathPlace . } OPTIONAL { wd:Q937 wdt:P569 ?birthDate . } OPTIONAL { wd:Q937 wdt:P570 ?deathDate . } OPTIONAL { wd:Q937 wdt:P18 ?image . } OPTIONAL { ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = "en") } OPTIONAL { ?deathPlace rdfs:label ?deathPlaceLabel . FILTER(LANG(?deathPlaceLabel) = "en") } } LIMIT 10

Show me Albert Einstein’s place of birth, place of death, birth date, death date, and his photo.

Where and when was Albert Einstein born and died, and is there a picture of him?

SELECT ?var1 ?var2 ?var3 ?var4 ?var4Label ?var5 ?var5Label ?var6 ?var7 ?var8 WHERE { ?var9 ?var10Label "string1". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P20> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var8 . } } LIMIT 10


Question: Is Random agent spoofer a type of software?

Does the Firefox extension "Random agent spoofer" belong to the category of software?

Is Random agent spoofer classified under software through its type or subclass hierarchy?

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


Question: Which Wikidata entity has the VIAF ID 160807633?

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

Who is the person associated with the VIAF identifier 160807633?

Find the name of the individual linked to the VIAF ID 160807633.

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


Question: Who are the French people with the surname Bollardière?

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

List all humans in Wikidata whose French label includes "Bollardière".

Show me the French individuals named Bollardière.

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


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

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

Find the Wikipedia article in English or German about the film identified by tt2429074 on IMDb.

Which Wikipedia pages (in English or German) are about the movie G.B.F.?

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

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

Show me the Wikipedia articles in English and German about the movie "Sometimes They Come Back".

Which language versions of Wikipedia have articles about the film identified by IMDb ID tt0102960?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0102960". } ?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 given name Filiz who have a French label.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item ?label WHERE {
  ?item wdt:P31 wd:Q5 .
  ?item wdt:P735 wd:Q1414104 .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "fr" )
}

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

List all humans named Filiz that are labeled in French on Wikidata.

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


Question: What are the French educational diplomas that include the word "brevet" in their name?

SELECT DISTINCT ?item WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = "fr") . FILTER(CONTAINS(LCASE(?label), "brevet")) . ?item wdt:P31 wd:Q217577 }

List the certifications in France known as "Brevet".

Which French diplomas have "brevet" in their title?

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


Question: What are the different birth dates recorded for Sílvia Romero i Olea, along with their precision and calendar system?

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ?date ?precision ?calendar WHERE {
  VALUES ?person {
    wd:Q16943552
  }
  ?person p:P569 ?statement .
  ?statement psv:P569 ?valueNode .
  ?valueNode wikibase:timeValue ?date ; wikibase:timePrecision ?precision ; wikibase:timeCalendarModel ?calendar .
}

Show me the birth date details (date, precision, and calendar) for the Spanish poet Sílvia Romero i Olea from Wikidata.

Can you find all the birth date statements for Sílvia Romero i Olea, including how precise each one is and which calendar it uses?

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q16943552> ) } ?var1 ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) [ <http://wikiba.se/ontology#timeValue> ?var2 ; <http://wikiba.se/ontology#timePrecision> ?var3 ; <http://wikiba.se/ontology#timeCalendarModel> ?var4 ] . }


Question: Which films did James Cameron direct?

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

List of movies directed by James Cameron

Can you show me the English titles of all films directed by James Cameron?

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


Question: Top research topics in Peter Bøggild’s publications and how many papers per topic?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?count ?subjectLabel ?sampleWorkLabel WHERE {
  {
    SELECT ?subject ( COUNT( ?work ) AS ?count ) ( SAMPLE( ?workLabel ) AS ?sampleWorkLabel ) WHERE {
      ?work wdt:P50 wd:Q39067096 .
      ?work wdt:P921 ?subject .
      ?work rdfs:label ?workLabel .
      FILTER ( LANG( ?workLabel ) = "en" )
    }
    GROUP BY ?subject
    ORDER BY DESC ( ?count )
  }
  ?subject rdfs:label ?subjectLabel .
  FILTER ( LANG( ?subjectLabel ) = "en" )
}
ORDER BY DESC ( ?count )
LIMIT 100

What are the main subjects of Peter Bøggild’s scientific works, ranked by how many papers he has on each, and can you show one example paper title per subject?

List Peter Bøggild’s most frequent research topics based on his publications, including the number of papers per topic and a sample paper title for each.

SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q39067096> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"60"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q39067096> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . }


Question: Image of Walter Allen Watson (SNAC ARK ID w69w18dn)

SELECT ?image WHERE { ?entity wdt:P3430 "w69w18dn" . OPTIONAL { ?entity wdt:P18 ?image . } }

What is the Wikimedia Commons image of the person with SNAC ARK ID w69w18dn?

Show me the image associated with the SNAC ARK ID w69w18dn, if it exists.

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


Question: What are the English and German Wikipedia pages for the film with IMDb ID tt0061328?

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

Show me the Wikipedia articles in English and German about the movie identified by tt0061328 on IMDb.

Which Wikipedia pages in English and German discuss the film "Accident" (1967)?

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


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

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

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

Show me the English or German Wikipedia article about the movie identified by tt0076055.

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


Question: List businesses headquartered in Boston along with their official websites.

SELECT ?businessLabel ?website ?headquartersLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = "en") OPTIONAL { ?business wdt:P856 ?website . } OPTIONAL { ?business wdt:P159 ?headquarters . ?headquarters rdfs:label ?headquartersLabel . FILTER(LANG(?headquartersLabel) = "en") } } LIMIT 10

What are the names of businesses based in Boston, and do they have official websites?

Show me up to 10 businesses with their English names, headquarters locations, and official websites, focusing on those based in Boston.

SELECT ?var1Label ?var2Label ?var3Label ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P856> ?var1 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P159> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P17> ?var2 . } } LIMIT 10


Question: What is the English label and description of the Great Russian Encyclopedia entry with ID 1909647?

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

Who is the person listed in the Great Russian Encyclopedia Online (old version) with ID 1909647, and what is their English description?

Please provide the English name and brief description of the individual identified by the Great Russian Encyclopedia Online ID 1909647.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "1909601". 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: Image of the person with SNAC ARK ID w6nw1g36

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

What is the image associated with Irving Thalberg in Wikidata?

Can you find the Wikimedia Commons image for the individual identified by the SNAC ARK ID "w6nw1g36"?

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


Question: What is the English label and description of the geographic region with Australian Statistical Geography 2016 ID SSC10639?

SELECT ?location ?locationLabel ?description WHERE { ?location wdt:P4093 "SSC10639" . ?location rdfs:label ?locationLabel . FILTER (LANG(?locationLabel) = "en") . OPTIONAL { ?location schema:description ?description . FILTER (LANG(?description) = "en") . } }

Tell me the name and description in English of the place identified by ASGS2016 code SSC10639.

Find the English name and locality description for the Australian geographic area with ID SSC10639.

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


Question: Top main subjects of works by Janina Fels, with example titles and counts.

SELECT ?count ?mainSubjectLabel ?truncatedWorkLabel WHERE { { SELECT ?mainSubject (COUNT(?work) AS ?count) (SAMPLE(?workLabel) AS ?exampleWorkLabel) WHERE { ?work wdt:P50 wd:Q50118237 . ?work wdt:P921 ?mainSubject . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") } GROUP BY ?mainSubject ORDER BY DESC(?count) } ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = "en") BIND(SUBSTR(?exampleWorkLabel, 1, 60) AS ?truncatedWorkLabel) } ORDER BY DESC(?count) LIMIT 10

What are the most common topics in Janina Fels's publications, and what are some example titles for each?

Show me the main subjects of Janina Fels's works, ordered by how many works each subject appears in, along with a truncated title of one example work per subject.

SELECT ?var1 ?var2Label ?var3Label WHERE { { SELECT ?var4 ( COUNT ( ?var5 ) AS ?var1 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50118237> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . } GROUP BY ?var4 ORDER BY DESC( ?var1 ) } BIND ( SUBSTR ( ?var6Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"60"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). ?var5 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q50118237> . ?var5 <http://www.wikidata.org/prop/direct/P921> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6Label . FILTER ( ( ( LANG ( ?var6Label ) = "en" ) ) ) . }


Question: List all occupations and their sub-occupations in Wikidata.

SELECT DISTINCT ?occupation ?occupationLabel WHERE { ?occupation wdt:P279* wd:Q12737077 . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") } ORDER BY ?occupationLabel LIMIT 1000

What are all the known types of occupations, including more specific ones like "doctor" or "designer"?

Show me a list of all job types and their subcategories that are classified under the broader concept of occupation.

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


Question: What country and continent is Perpignan Méditerranée Métropole located in?

SELECT DISTINCT ?var1 ?var1Label WHERE { wd:Q1119894 (wdt:P17|wdt:P30)+ ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

Can you tell me the geographical context of Perpignan Méditerranée Métropole, such as its country and continent?

Which sovereign state and continent does Perpignan Méditerranée Métropole belong to?

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


Question: Top 100 most common family names of fictional characters

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?familyName ?familyNameLabel ?count WHERE {
  {
    SELECT ?familyName ( COUNT( ?character ) AS ?count ) WHERE {
      ?character ( wdt:P31 / wdt:P279 * ) wd:Q95074 .
      ?character wdt:P734 ?familyName .
    }
    GROUP BY ?familyName
  }
  ?familyName rdfs:label ?familyNameLabel .
  FILTER ( LANG( ?familyNameLabel ) = "en" )
}
ORDER BY DESC ( ?count )
LIMIT 100

Which family names are the most frequently used among fictional characters, and how many characters have each?

Show me the 100 most common surnames of fictional characters along with their counts, in descending order.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { { SELECT ?var2 ( COUNT ( ?var4 ) AS ?var3 ) WHERE { ?var4 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q95074> . ?var4 <http://www.wikidata.org/prop/direct/P734> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P2561> ?var1 . } GROUP BY ?var2 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var3 ) LIMIT 100


Question: What is Jenni Haukio’s date of birth and full name in English?

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

Is Jenni Haukio still alive, and when was she born?

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


Question: Frida Kahlo's date of birth and date of death

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

When was Frida Kahlo born and when did she die?

Can you tell me the birth and death dates of the Mexican painter Frida Kahlo?

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


Question: James Alan Abrahamson birth date and death date

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

When was James Alan Abrahamson born, and when did he die?

Can you tell me the birth and death dates of James Alan Abrahamson, along with his full name?

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


Question: What are the birth and death dates of Joseph Allison?

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

Can you tell me when Joseph Allison was born and when he died?

Who is Joseph Allison, and what are his birth and death years?

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


Question: What are the birth and death dates of John Cole, 2nd Earl of Enniskillen?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  BIND( wd:Q6226600 AS ?person ) .
  ?person wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
}

Birth and death dates of John Cole, 2nd Earl of Enniskillen

Can you tell me when John Cole, 2nd Earl of Enniskillen was born and when he died?

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


Question: What is the date of birth of Daniel W. Bursch, and is he still alive?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?birthDate ?deathDate WHERE {
  BIND( wd:Q948673 AS ?person ) .
  ?person wdt:P31 wd:Q5 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P570 ?deathDate .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Tell me the name, birth date, and death date of the astronaut Daniel W. Bursch.

When was Daniel W. Bursch born, and when did he die?

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


Question: What are the birth and death dates of Albert Einstein?

SELECT ?var1Label ?var3 ?var4 WHERE { BIND( wd:Q937 AS ?var1 ) . ?var1 wdt:P31 wd:Q5 . ?var1 rdfs:label ?var1Label FILTER(LANG(?var1Label) = "en") . OPTIONAL { ?var1 wdt:P569 ?var3 . } OPTIONAL { ?var1 wdt:P570 ?var4 . } }

Can you tell me Albert Einstein’s date of birth and date of death?

Show me the name, birth date, and death date of the person Albert Einstein.

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


Question: Which of the following entities — United States, Belgium, and Douglas Adams — have English labels in Wikidata?

SELECT DISTINCT ?item WHERE { VALUES ?item { wd:Q30 wd:Q31 wd:Q42 } ?item rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

Show me the Wikidata entities for the United States, Belgium, and Douglas Adams that are labeled in English.

Are the United States, Belgium, and Douglas Adams present in Wikidata with English labels?

SELECT DISTINCT ?var1 ?var2 WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q30> ) ( <http://www.wikidata.org/entity/Q31> ) ( <http://www.wikidata.org/entity/Q42> ) } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( LANGMATCHES ( LANG ( ?var3Label ) , "en" ) ) ) . }


Question: What is the birth date of Hirooka Shingorō, and is there a recorded date of death?

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

Who is Hirooka Shingorō, and when was he born and when did he die?

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


Question: What are the birth and death dates of Thomas Pitt of Boconnoc?

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

Thomas Pitt of Boconnoc birth date and death date

Show me the birth and death dates of Thomas Pitt of Boconnoc, along with his name.

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


Question: Philip Courtenay's date of birth and date of death

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

When was Philip Courtenay born and when did he die?

Can you tell me the birth and death dates of Philip Courtenay, the English politician?

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


Question: Who are the people born in Newlands, New Zealand, and what are their birth and death dates?

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

What are the birth and death dates of humans associated with Newlands, New Zealand?

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


Question: Birth and death dates of Alexander Berkman

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

When was Alexander Berkman born and when did he die?

Can you tell me the birth and death dates of the Russian-American anarchist and writer Alexander Berkman?

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


Question: What Wikipedia categories are associated with people born in a specific year?

SELECT ?category ?categoryLabel WHERE { ?category wdt:P971 wd:Q21821348 . } LIMIT 100

Which categories on Wikipedia combine the topic of year of birth?

Can you list the categories that group people by their year of birth?

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


Question: Female physicists with their place of birth coordinates, education, and employer

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?fieldOfWork ?dateOfBirth ?image ?educatedAt ?employer ?placeOfBirth ?coordinates WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581072 .
  ?person ( wdt:P106 / wdt:P279 * ) wd:Q169470 .
  OPTIONAL {
    ?person wdt:P101 ?fieldOfWork .
  }
  OPTIONAL {
    ?person wdt:P569 ?dateOfBirth .
  }
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
  OPTIONAL {
    ?person wdt:P69 ?educatedAt .
  }
  OPTIONAL {
    ?person wdt:P108 ?employer .
  }
  ?person wdt:P19 ?placeOfBirth .
  ?placeOfBirth wdt:P625 ?coordinates .
}
ORDER BY ASC ( ?person )

Who are the female physicists and where were they born? Include their educational background, employers, and images if available.

List all female physicists along with their date of birth, where they studied, where they worked, their place of birth with coordinates, and any available images.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 ?var6Label ?var7Label ?var8Label ?var9 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q169470> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var11 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P69> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P108> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P101> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P19> ?var8 . ?var8 <http://www.wikidata.org/prop/direct/P625> ?var9 . } ORDER BY ASC( ?var1 )


Question: What are all the superclass categories of an unidentified floating object in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?ancestor WHERE {
  wd:Q3348142 wdt:P279 * ?ancestor .
  FILTER(?ancestor != wd:Q3348142)
}

Can you list all the broader concepts that an unidentified floating object is a subclass of?

Show me the full hierarchy of classes above "unidentified floating object" in the Wikidata ontology.

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


Question: What is the English label for the property "Tyrolean Art Cadastre inventory ID" (P4219)?

SELECT ?label WHERE { wd:P4219 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

What is the name of property P4219 in English?

Can you tell me the English description of the Tyrolean Art Cadastre inventory ID property?

SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P4219> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , "en" ) ) ) . }


Question: What is the English label for the Wikidata property "has part" (P144)?

SELECT (SAMPLE(?label) AS ?labelEn) WHERE { wd:P144 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

Show me the English name of the property that indicates something is based on another thing.

What does property P144 mean in English?

SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P144> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , "en" ) ) ) . }


Question: What is the English label for the property "presenter" in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label WHERE {
  wd:P371 rdfs:label ?label .
  FILTER(LANGMATCHES(LANG(?label) , "en"))
}

How is the presenter property labeled in English on Wikidata?

What is the English term used for the property that indicates who presented a TV show or program?

SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P371> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "en" ) ) ) . }


Question: What is the English label for the property "member of political party" in Wikidata?

SELECT ?label WHERE { wd:P102 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

Can you show me the English names used for the property that indicates political party membership?

What are the English-language labels assigned to the Wikidata property P102?

SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P102> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "en" ) ) ) . }


Question: What is the English label for the Wikidata property "source code repository URL"?

SELECT ?label WHERE { wd:P1324 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

Show the English name of the property that represents a source code repository URL.

What is the human-readable English term for the Wikidata property P1324?

SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P1324> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "en" ) ) ) . }


Question: What is the name of the place with GeoNames ID 3100346?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?place ?placeLabel WHERE {
  ?place wdt:P1566 "3100346" .
  ?place rdfs:label ?placeLabel .
  FILTER ( LANG( ?placeLabel ) = "en" )
}

Which place in Wikidata has the GeoNames identifier 3100346, and what is its English name?

Please show me the English label for the geographical location identified by GeoNames ID 3100346.

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


Question: Self-citations and other citations of A Mathematical Theory of Communication by year

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?year ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?citationType WHERE {
  wd:Q724029 wdt:P50 ?author .
  ?citingWork wdt:P2860 wd:Q724029 .
  ?citingWork wdt:P577 ?pubDate .
  BIND( STR( YEAR( ?pubDate ) ) AS ?year ) BIND( IF( EXISTS {
    ?citingWork wdt:P50 ?author
  }
  , "self-citation" , "other-citation" ) AS ?citationType )
}
GROUP BY ?year ?citationType
ORDER BY DESC ( ?year )

How many times has A Mathematical Theory of Communication been cited each year, and how many of those citations are by Claude Shannon himself?

Show me the count of works citing A Mathematical Theory of Communication grouped by year and whether they were written by Claude Shannon or someone else.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( IF ( EXISTS { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37371720> . } , "string1", "string2" ) AS ?var4 ). BIND ( STR ( YEAR ( ?var5 ) ) AS ?var1 ). ?var6 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q37371720> . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var6 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . } GROUP BY ?var1 ?var4 ORDER BY DESC( ?var1 )


Question: What are the images associated with Richard Feynman, including those of his works and topics he is associated with?

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

Show me all images on Wikimedia Commons related to Richard Feynman, either as the subject or as the author of a work.

Can you find images of Richard Feynman and the books or scientific topics he is connected to?

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


Question: Is there a person or entity in Wikidata with the VIAF ID 71909349?

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

Does the Virtual International Authority File identifier 71909349 correspond to any known item in Wikidata?

Check if the VIAF ID 71909349 is registered in Wikidata.

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


Question: Is there a person in Wikidata with the VIAF ID 25178558?

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

Does the Virtual International Authority File identifier 25178558 exist in Wikidata?

Is the VIAF cluster ID 25178558 assigned to any entity in Wikidata?

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


Question: Does the Royal College of Physicians of Ireland have a GND ID of 5514509-7?

Is there a Wikidata item for the Royal College of Physicians of Ireland with the German National Library ID 5514509-7?

Confirm if the entity with GND ID 5514509-7 exists in Wikidata.

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


Question: What are all the taxonomic ancestors of the genus Zaus?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?ancestor WHERE {
  wd:Q6561579 wdt:P171 * ?ancestor .
}

Show the full taxonomic hierarchy above the crustacean genus Zaus.

What higher biological classifications include Zaus as a member?

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q6561579> AS ?var2 ). ?var2 ( <http://www.wikidata.org/prop/direct/P171> | <http://www.wikidata.org/prop/direct/P273> | <http://www.wikidata.org/prop/direct/P75> | <http://www.wikidata.org/prop/direct/P76> | <http://www.wikidata.org/prop/direct/P77> | <http://www.wikidata.org/prop/direct/P70> | <http://www.wikidata.org/prop/direct/P71> | <http://www.wikidata.org/prop/direct/P74> | <http://www.wikidata.org/prop/direct/P89> )* ?var1 . }


Question: Olympic athletes without listed occupations in Wikidata

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?athlete WHERE {
  ?athlete wdt:P1447 ?id ; wdt:P31 wd:Q5 .
  FILTER NOT EXISTS {
    ?athlete wdt:P106 [] .
  }
}
ORDER BY ASC ( ?athlete )

Which Olympic athletes have no occupation specified in Wikidata?

Show me the Wikidata IDs of people who have a Sports-Reference Olympic athlete ID and are human, but do not have any occupation property assigned.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1447> ?var2 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P106> [] . } ) ) . } ORDER BY ASC( ?var1 )


Question: What are the English and German Wikipedia articles about the movie with IMDb ID tt0087231?

SELECT ?wikipediaArticle WHERE { ?item wdt:P345 "tt0087231" . ?wikipediaArticle schema:about ?item . ?wikipediaArticle schema:inLanguage ?language . FILTER(?language = "en" || ?language = "de") }

Show me the Wikipedia pages in English and German for the film identified by tt0087231 on IMDb.

Find the Wikipedia articles in English and German that are about the movie with the IMDb identifier tt0087231.

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

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

What is the English or German Wikipedia article for the movie "Cherry Bomb" (IMDb tt1606189)?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1606189". } ?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: Rivers in Ukraine with Russian Wikipedia articles but no Ukrainian ones.

SELECT ?river ?riverLabel WHERE { ?river wdt:P31 wd:Q4022 . ?river wdt:P17 wd:Q212 . ?river rdfs:label ?riverLabel . FILTER NOT EXISTS { ?article schema:about ?river . ?article schema:inLanguage "uk" . } FILTER EXISTS { ?article schema:about ?river . ?article schema:inLanguage "ru" . } }

Which rivers in Ukraine have a Russian-language Wikipedia page but not a Ukrainian-language one?

List the names of rivers located in Ukraine that are documented on Russian Wikipedia but not on Ukrainian Wikipedia.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ( ?var2 = <http://www.wikidata.org/entity/Q4022> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . FILTER ( ( ( ?var3 = <http://www.wikidata.org/entity/Q212> ) ) ) . FILTER ( ( NOT EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "uk". } ) ) . FILTER ( ( EXISTS { ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/inLanguage> "ru". } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru,be,uk,bg,sr,cs,en,de". } }


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

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

Show me the Wikipedia articles in English and German about the film "The Last Days of American Crime".

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

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

SELECT ?movie ?wikipedia_page WHERE { ?movie wdt:P345 "tt0075824" . ?wikipedia_page schema:about ?movie ; schema:inLanguage ?lang . FILTER (?lang = "en" || ?lang = "de") . FILTER (STRSTARTS(STR(?wikipedia_page), "https://")) . FILTER (CONTAINS(STR(?wikipedia_page), ".wikipedia.org/")) }

What are the English and German Wikipedia articles for the film "That Obscure Object of Desire"?

Show me the Wikipedia pages in English and German about the movie identified by IMDb ID tt0075824.

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

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

Which Wikipedia articles in English or German describe the film identified by the IMDb ID tt1577040?

Show me the Wikipedia page for the movie "Alto" (IMDb: tt1577040) if it exists in English or German.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1577040". } ?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 family name of Brian E. Carlson?

SELECT ?familyName WHERE { wd:Q4963646 wdt:P734 ?familyName .}

Tell me the surname of Brian E. Carlson.

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q4963646> <http://www.wikidata.org/prop/direct/P734> ?var1 . }


Question: What is the English or German Wikipedia page for the film with IMDb ID tt1207639?

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

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

Show me the title and Wikipedia link in English or German for the film identified by tt1207639 on IMDb.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1207639". } ?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 item and Wikipedia pages in English or German for IMDb ID tt3300240

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

What is the Wikidata item for the IMDb ID tt3300240, and which Wikipedia pages in English or German are about it?

Show me the IMDb ID, Wikidata item, and any English or German Wikipedia pages linked to the movie with IMDb ID tt3300240.

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

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

Which Wikipedia articles in English or German are about the film 'Bookwars' (IMDb: tt0250266)?

Show me the Wikipedia links in English or German for the film identified by IMDb ID tt0250266.

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


Question: List paintings and their creators from Wikidata.

SELECT ?painting ?artist WHERE { ?painting wdt:P31 wd:Q3305213 . OPTIONAL { ?painting wdt:P170 ?artist . } }

Which paintings have known artists, and who created them?

Show me all paintings along with their artists, including those without known creators.

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


Question: What is the English title of the movie with IMDb ID tt0302498, and which Wikipedia page is it linked to?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?movieLabel ?wikipediaPage ?imdbId WHERE {
  ?movie wdt:P345 "tt0302498" .
  ?wikipediaPage schema:about ?movie ; schema:inLanguage ?lang .
  FILTER ( ?lang = "en" || ?lang = "de" ) .
  ?movie rdfs:label ?movieLabel .
  FILTER ( LANG( ?movieLabel ) = "en" ) .
  BIND( "tt0302498" AS ?imdbId )
}

Show me the English Wikipedia page for the movie identified by tt0302498 on IMDb.

Which movie has the IMDb identifier tt0302498, and what is its English title and corresponding Wikipedia page?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0302498". } ?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 descriptions of the Mona Lisa in different languages, and what is its genre?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?description ?genre WHERE {
  wd:Q12418 schema:description ?description .
  wd:Q12418 wdt:P136 ?genre .
}

Can you show me all the multilingual descriptions of the Mona Lisa along with its artistic genre?

What languages have descriptions of the Mona Lisa, and is it classified as a portrait?

SELECT * WHERE { <http://www.wikidata.org/entity/Q12418> ?var1 ?var2 . OPTIONAL { <http://www.wikidata.org/entity/Q12418> <http://www.wikidata.org/prop/direct/P136> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


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

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

Show me the Wikipedia and Wikiquote pages in English and German for Star Wars: Episode IV – A New Hope.

Which language versions of Wikipedia and Wikiquote are linked to the movie Star Wars (1977)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0088701". } ?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 articles about the movie "The Matrix" with IMDb ID tt0133093?

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

Show me the Wikipedia pages in English and German that are about the film "The Matrix" (IMDb: tt0133093).

Find the Wikipedia articles in English or German that are linked to the movie "The Matrix" via its IMDb identifier tt0133093.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0198494". } ?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 all the people who have served as members of the Australian House of Representatives, and when did each of their terms begin and end?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?person ?statement ?start ?end WHERE {
  ?person p:P39 ?statement .
  ?statement ps:P39 wd:Q18912794 .
  OPTIONAL {
    ?statement pq:P580 ?start .
  }
  OPTIONAL {
    ?statement pq:P582 ?end .
  }
}

List all Australian House of Representatives members with their start and end dates of service.

Show me the complete history of terms served by each member of the Australian House of Representatives, including the start and end dates of each term.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/P39> ?var2 ; <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q18912794> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/qualifier/P580> ?var3 . } OPTIONAL { ?var2 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }