Question: Items in the Smithsonian American Art Museum collection with their English labels, Wikipedia pages, and images.

SELECT DISTINCT ?item ?itemLabel ?wikipediaPage (SAMPLE(?image) AS ?sampledImage)
WHERE {
  ?item wdt:P195 wd:Q1192305 .
  OPTIONAL {
    ?item wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaPage schema:about ?item ;
                   schema:isPartOf <https://en.wikipedia.org/> .
  }
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}
GROUP BY ?item ?itemLabel ?wikipediaPage
LIMIT 500

What artworks are in the Smithsonian American Art Museum's collection, and what are their English names, Wikipedia links, and images?

Show me up to 500 items from the Smithsonian American Art Museum's collection, including their English titles, any associated Wikipedia pages, and one representative image each.

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


Question: American actors who died after 2000 and their number of film appearances, ranked by most active.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?actorLabel ?deathDate(COUNT(DISTINCT ?production) AS ?filmCount) WHERE {
  ?actor wdt:P106 wd:Q33999 ; wdt:P570 ?deathDate ; wdt:P27 wd:Q30 .
  ?production wdt:P161 ?actor .
  FILTER(?deathDate >= "2000-01-01T00:00:00Z" ^^ xsd:dateTime)
  .
  ?actor rdfs:label ?actorLabel .
  FILTER(LANG(?actorLabel) = "en")
}
GROUP BY ?actorLabel ?deathDate
ORDER BY DESC(?filmCount)

Which American actors died after the year 2000, and how many movies or TV shows did each appear in?

List American actors who passed away from 2000 onward, along with the count of productions they were in, sorted from highest to lowest number of appearances.

SELECT ?var1Label ?var2 ?var3 ( COUNT ( DISTINCT ?var4 ) AS ?var5 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P161> ?var1 . FILTER ( ( ( ?var3 >= "2000-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , "American"@en ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var1Label ?var2 ?var3 ORDER BY DESC( ?var5 )


Question: Who were the people born in Ballan, Australia, and what are their birth and death dates?

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

List humans born in Ballan, Victoria, along with their dates of birth and death.

Can you tell me the names, birth dates, and death dates of people from Ballan?

SELECT ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( <http://www.wikidata.org/entity/Q2738690> 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 some writers born today, and what are their birth years and images?

SELECT ?person ?personLabel ?birthYear ?image WHERE { ?person wdt:P106 wd:Q36180 ; wdt:P569 ?birthDate ; wdt:P18 ?image . BIND(YEAR(?birthDate) AS ?birthYear) BIND(MONTH(NOW()) AS ?currentMonth) BIND(DAY(NOW()) AS ?currentDay) FILTER (MONTH(?birthDate) = ?currentMonth && DAY(?birthDate) = ?currentDay) FILTER (YEAR(?birthDate) > 1900 && YEAR(?birthDate) < 1990) ?person rdfs:label ?personLabel . FILTER (LANG(?personLabel) = "en") } LIMIT 10

Can you list writers whose birthday is today, including their names, the year they were born, and a picture of them?

Show me up to 10 writers born on the current date, with their English labels, birth years, and associated images.

SELECT ?var1 ?var1Label ( YEAR ( ?var2 ) AS ?var3 ) ?var4 WHERE { BIND ( MONTH ( NOW ( ) ) AS ?var5 ). BIND ( DAY ( NOW ( ) ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> ; <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var4 . FILTER ( ( ( MONTH ( ?var2 ) = ?var5 ) && ( DAY ( ?var2 ) = ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl en". } } LIMIT 10


Question: Humans described in the Sytin Military Encyclopedia without a cited source in Wikidata.

SELECT ?person ?personLabel WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P1343 wd:Q4114391 . OPTIONAL { ?person p:P1343 [ ps:P1343 wd:Q4114391 ; pq:P248 ?source ] . } FILTER ( !BOUND(?source) ) . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } ORDER BY ASC(?personLabel)

Which humans are mentioned in the Sytin Military Encyclopedia but lack a source citation in their Wikidata entries?

List the English names of people who are described in the Sytin Military Encyclopedia but whose Wikidata entries do not specify which part of the encyclopedia they are from.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P1343> <http://www.wikidata.org/entity/Q4114391> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1343> <http://www.wikidata.org/entity/Q4114391> ; <http://www.wikidata.org/prop/P1343> [ <http://www.wikidata.org/prop/statement/P1343> <http://www.wikidata.org/entity/Q4114391> ; <http://www.wikidata.org/prop/qualifier/P248> ?var2 ] . } FILTER ( ( !( BOUND ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru, en". } } ORDER BY ASC( ?var1Label )


Question: Who are the people who work as both librarians and writers?

SELECT DISTINCT ?person ?personLabel WHERE { ?person wdt:P106 wd:Q182436 . ?person wdt:P106 wd:Q36180 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") }

People with occupation librarian and writer.

List all individuals whose professions include both being a librarian and a writer.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q182436> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q36180> . 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 tt0468569

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

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

Show me the English and German Wikipedia links for the film identified by IMDb ID tt0468569.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0834952". } ?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: Official website of MSC Cruises and its English and German Wikipedia pages.

SELECT ?itemLabel ?website ?description ?language WHERE { wd:Q663626 wdt:P856 ?website . ?description schema:about wd:Q663626 ; schema:inLanguage ?language . FILTER(?language IN ("en", "de")) . wd:Q663626 rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) IN ("en", "de")) }

What is the official website of MSC Cruises, and what are its English and German-language descriptions?

Show me the official website of MSC Cruises along with its associated English and German Wikipedia or Wikivoyage pages.

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


Question: People who work in Etruscology.

SELECT ?person WHERE { ?person wdt:P101 wd:Q1371704 . }

Who are the scholars that specialize in Etruscology?

List the individuals whose field of work is Etruscology, the study of ancient Etruscan civilization.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1371704> . }


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

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

What is the English or German Wikipedia page for the movie "Outlaws and Angels"?

Show me the Wikipedia articles in English or German about the movie identified by IMDb ID tt3491962.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3491962". } ?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 of humans with their English names and associated Wikipedia articles.

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 ?human ?humanLabel ?article WHERE {
  ?human wdt:P31 wd:Q5 .
  ?article schema:about ?human .
  ?human rdfs:label ?humanLabel .
  FILTER(LANG(?humanLabel) = "en")
}
LIMIT 200

Who are some humans, what are their English names, and which Wikipedia pages are about them?

Show me up to 200 humans, their English labels, and the Wikipedia articles that mention them.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var2 <http://schema.org/about> ?var1 . ?var2 <http://www.wikidata.org/entity/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 200


Question: People who are military historians or historians of the Modern Age

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P106 ?occupation .
  FILTER(?occupation IN(wd:Q1493121 , wd:Q17489339))
  .
  ?person rdfs:label ?personLabel .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?personLabel) = "en")
  .
  FILTER(LANG(?occupationLabel) = "en")
}

Who are the humans that have the occupation of military historian or historian of the Modern Age?

List all people whose occupation is either military historian or historian of the Modern Age, along with their occupation labels.

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


Question: Product managers who work for Wikidata

SELECT DISTINCT ?person ?personLabel WHERE { ?person p:P106 ?statement . ?statement ps:P106 wd:Q2552738 . ?statement pq:P642 wd:Q2013 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 20

Who are the product managers associated with Wikidata?

List people whose occupation as a product manager is specifically related to Wikidata.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P106> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P106> <http://www.wikidata.org/entity/Q2552738> . ?var2 <http://www.wikidata.org/prop/qualifier/P642> <http://www.wikidata.org/entity/Q2013> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 20


Question: What is the parent organization of FirstGroup plc?

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 ?entity ?entityLabel ?parent ?parentLabel WHERE {
  wd:Q1198156 rdfs:label ?entityLabel .
  FILTER ( LANG( ?entityLabel ) = "en" ) OPTIONAL {
    wd:Q1198156 wdt:P361 ?parent .
    ?parent rdfs:label ?parentLabel .
    FILTER ( LANG( ?parentLabel ) = "en" )
  }
}

Is FirstGroup plc part of any larger company or group?

Show me the label of FirstGroup plc and any organization it belongs to.

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


Question: People with Oxford Dictionary of National Biography ID but no Wikipedia page.

SELECT ?person ?personLabel ?odnbId WHERE { ?person wdt:P1415 ?odnbId . OPTIONAL { ?wikipediaPage schema:about ?person . ?wikipediaPage schema:isPartOf <https://en.wikipedia.org/> . } FILTER(!BOUND(?wikipediaPage)) ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 10

Which notable individuals have an ODNB ID but are not covered on English Wikipedia?

List people who are in the Oxford Dictionary of National Biography but don’t have an English Wikipedia article, along with their ODNB IDs and names.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1415> ?var2 . OPTIONAL { ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . FILTER ( ( STRSTARTS ( ?var2 , "101007" ) ) ) . 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 movie with IMDb ID tt0110675

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

What is the English or German Wikipedia article for the film 'No Contest' (IMDb: tt0110675)?

Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt0110675.

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


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

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

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

Show me the Wikipedia page in English or German for the movie identified by IMDb ID tt0119165.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0119165". } ?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: People with occupation civil engineering

SELECT ?person WHERE { ?person wdt:P106 wd:Q77590 .}

Who are the civil engineers listed on Wikidata?

List all individuals whose profession is civil engineering.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q77590> . }


Question: How many people in Wikidata have an Oxford Dictionary of National Biography ID less than 55,000?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( COUNT( DISTINCT ?person ) AS ?count ) WHERE {
  ?person wdt:P1415 ?odnb_id .
  FILTER ( xsd:integer ( ?odnb_id ) < 55000 )
}

What is the number of individuals assigned an ODNB ID below 55,000?

Can you tell me how many biographical entries in the Oxford Dictionary of National Biography have IDs under 55,000?

SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1415> ?var3 . FILTER ( ( ( ?var3 < "55000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }


Question: Humans who are ethnically Jewish

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P172 wd:Q7325 . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") } LIMIT 10

Who are some Jewish people that are also human?

List 10 individuals who are both human and belong to the Jewish ethnic group.

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


Question: Who are the writers who received the Bollingen Prize and have their archives at the Beinecke Rare Book & Manuscript Library?

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 WHERE {
  ?person wdt:P166 wd:Q194944 ; wdt:P485 wd:Q814779 ; wdt:P31 wd:Q5 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Which poets have won the Bollingen Prize and donated their papers to Yale’s Beinecke Library?

Can you list the English-named recipients of the Bollingen Prize whose personal archives are held by the Beinecke Library?

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


Question: List of publicly traded companies

SELECT ?companyLabel WHERE { ?company wdt:P31 wd:Q891723 . ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") } LIMIT 100

What are some examples of public companies?

Show me the names of companies that are publicly listed on stock exchanges.

SELECT ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q891723> . } LIMIT 100


Question: What are publicly traded companies and what product or industry categories are they classified under in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?company ?companyLabel ?industryClass ?industryClassLabel WHERE {
  ?company wdt:P31 wd:Q891723 .
  ?company wdt:P279 ?industryClass .
  ?company rdfs:label ?companyLabel .
  ?industryClass rdfs:label ?industryClassLabel .
  FILTER ( LANG( ?companyLabel ) = "en" ) FILTER ( LANG( ?industryClassLabel ) = "en" )
}
LIMIT 10000

Can you list the names of public companies along with the types of products or services they are associated with, based on Wikidata’s subclass relationships?

Show me publicly listed companies and the industry classes they are subclasses of, including their English labels.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q891723> . ?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> "en". } } } LIMIT 10000


Question: Who are the recipients of the Finnish State Prize for Literature?

SELECT DISTINCT ?winner (SAMPLE(?winnerLabel) AS ?label) WHERE { ?winner wdt:P31 wd:Q5 ; wdt:P166 wd:Q3197371 . ?winner rdfs:label ?winnerLabel . } GROUP BY ?winner

Can you list the people who have won the Finnish State Prize for Literature?

Which Finnish writers have been awarded the Finnish State Prize for Literature?

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q3197371> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,de,ru,fr,es,it,ja,zh". } }


Question: What are the UK companies registered with Companies House and their corresponding company IDs?

SELECT ?business ?companiesHouseId WHERE { ?business wdt:P31 wd:Q4830453 . ?business wdt:P2622 ?companiesHouseId . } LIMIT 100

Can you list businesses in Wikidata that have a Companies House registration number?

Show me a sample of UK businesses and their Companies House IDs from Wikidata.

SELECT ?var1 ?var2 ?var3 ?var4 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/entity/Q4830453> . ?var1 <http://www.wikidata.org/prop/direct/P2622> ?var3 . } LIMIT 100


Question: People in the biographical dictionary "Pioneers and Leaders in Library Services to Youth" without images, sorted by birth year.

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 ?person ?personLabel ?birthDate WHERE {
  ?person wdt:P1343 wd:Q33093746 .
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  } MINUS {
    ?person wdt:P18 ?image .
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
ORDER BY ASC ( ?birthDate )

Who are the children's librarians listed in the book "Pioneers and Leaders in Library Services to Youth" that don't have photos, and when were they born?

List the English names and birth dates of individuals featured in the biographical dictionary on children's librarianship, excluding those with Wikimedia Commons images, ordered from oldest to youngest.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1343> <http://www.wikidata.org/entity/Q33093746> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var2 )


Question: Occupations of Józef Pawłowski

SELECT ?occupation ?occupationLabel WHERE { wd:Q18170879 wdt:P106 ?occupation . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?occupationLabel) = "en") }

What are the occupations of the Polish actor Józef Pawłowski?

List the professions of Józef Pawłowski, such as film actor or dub actor.

SELECT ?var1 ?var2 ?var2Label WHERE { <http://www.wikidata.org/entity/Q18170879> ?var1 ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Languages with their ISO 639-1 codes, Wikimedia codes, and latest number of speakers

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?language ?languageLabel ?iso_code ?wikimedia_code ?speakers WHERE {
  ?language wdt:P31 wd:Q34770 .
  OPTIONAL {
    ?language wdt:P218 ?iso_code .
  }
  OPTIONAL {
    ?language wdt:P424 ?wikimedia_code .
  }
  OPTIONAL {
    ?language p:P1098 ?statement .
    ?statement ps:P1098 ?speakers .
    ?statement pq:P585 ?date .
    FILTER(NOT EXISTS {
      ?language p:P1098 ?otherStatement .
      ?otherStatement pq:P585 ?otherDate .
      FILTER(?otherDate > ?date)
    })
  }
  ?language rdfs:label ?languageLabel .
}

What are the languages in the world, along with their ISO codes, Wikimedia codes, and the most recent estimated number of speakers?

Show me all languages, their labels, ISO 639-1 and Wikimedia language codes, and if available, the latest number of speakers for each.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P424> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P218> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1098> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1081> ?var3 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var6 . } FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/P1098> / <http://www.wikidata.org/prop/qualifier/P585> ) ?var7 . FILTER ( ( ( ?var7 > ?var6 ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Languages with their ISO 639-1 codes and number of speakers

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?language ( SAMPLE( ?label ) AS ?languageLabel ) ?isoCode ?speakers WHERE {
  ?language wdt:P31 wd:Q34770 .
  OPTIONAL {
    ?language wdt:P218 ?isoCode .
  }
  OPTIONAL {
    ?language p:P1099 ?statement .
    ?statement ps:P1099 ?speakers .
  }
  ?language rdfs:label ?label .
}
GROUP BY ?language ?isoCode ?speakers

What are the names, ISO 639-1 codes, and estimated number of speakers for all human languages in Wikidata?

List all human languages along with their two-letter ISO codes and how many people speak them.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q34770> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P424> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P218> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/P1098> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P1081> ?var3 . ?var5 <http://www.wikidata.org/prop/qualifier/P585> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who are the people with the last name Washington?

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

List all individuals whose family name is Washington.

Can you show me the names of people who belong to the Washington family?

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


Question: American librarians born before 1800, their birth dates, birth places, and coordinates.

SELECT ?person ?personLabel ?birthDate ?birthPlace ?coordinates WHERE { ?person wdt:P106 wd:Q182436 . ?person wdt:P569 ?birthDate . ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P625 ?coordinates . ?person wdt:P27 wd:Q30 . FILTER ( YEAR(?birthDate) < 1800 ) } ORDER BY DESC(?birthDate)

Who were American librarians born before 1800, and where and when were they born?

List American librarians born before 1800 along with their birth locations and geographic coordinates, sorted from oldest to youngest.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { ?var1 ?var5 <http://www.wikidata.org/entity/Q31790728> . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <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". } FILTER ( ( ( YEAR ( ?var2 ) < "1800"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } ORDER BY DESC( ?var2 )


Question: What are the English names of all organizations and their subclasses in Wikidata?

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

List all organizations (including subtypes like governments and newspapers) with their English labels.

Show me the English labels of entities that are either organizations or belong to a subclass of organization.

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


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

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

Show me the Wikipedia articles about the film Troll (1986) in English and German languages.

I'm looking for the Wikipedia links in English and German for the movie identified by IMDb code tt0092115.

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

SELECT DISTINCT ?companyLabel WHERE { ?company wdt:P31 wd:Q783794 . ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") } LIMIT 100

What are some examples of companies listed on Wikidata?

Show me the names of companies that are registered in Wikidata.

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


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

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

Show the Wikimedia Commons image for the entity identified by SNAC ARK ID w605995x, if one exists.

Does the fictional character Saul Goodman have an image on Wikimedia Commons?

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


Question: Asymmetric business or sports partnerships where one party collaborates with another but not vice versa.

SELECT DISTINCT ?partner1 ?partner1Label ?partner2 ?partner2Label WHERE { ?partner1 (p:P1327 / ps:P1327) ?partner2 . MINUS { ?partner2 (p:P1327 / ps:P1327) ?partner1 . } ?partner1 rdfs:label ?partner1Label . ?partner2 rdfs:label ?partner2Label . FILTER(LANG(?partner1Label) = "en" || LANG(?partner1Label) = "") FILTER(LANG(?partner2Label) = "en" || LANG(?partner2Label) = "") } LIMIT 100

Which pairs of entities have a one-way partnership in business or sport, such that A works with B but B does not work with A?

Show me up to 100 examples of one-way professional collaborations, like engineers working with drivers or institutions partnering with agencies, where the collaboration is not mutual.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/P1327> / <http://www.wikidata.org/prop/statement/P1327> ) ?var2 . MINUS { ?var2 ( <http://www.wikidata.org/prop/P1327> / <http://www.wikidata.org/prop/statement/P1327> ) ?var1 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en". } }


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

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

Show me links to Wikipedia and Wikiquote in English and German for the film A Midsummer Night’s Dream (1999).

Which language versions of Wikipedia and Wikiquote are linked to the IMDb entry tt0140379?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0140379". } ?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: Alternative names for organizations and their types

SELECT ?organization ?altLabel WHERE { ?organization (wdt:P31/wdt:P279*) wd:Q43229 . ?organization skos:altLabel ?altLabel . } LIMIT 100

What are the alternative names for organizations and their subclasses in Wikidata?

List all organizations and their alternative labels from Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q43229> . ?var1 <http://www.w3.org/2004/02/skos/core#altLabel> ?var2 . } OFFSET 0 LIMIT 100


Question: What English and German language pages are about the movie with IMDb ID tt0048261?

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

Which Wikipedia or Wikiquote pages in English or German are related to the film "Kiss Me Deadly"?

Show me all language-specific pages (in English or German) linked to the movie "Kiss Me Deadly" via its IMDb ID tt0048261.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0048261". } ?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: How many companies are listed in Wikidata?

SELECT (COUNT(*) AS ?count) WHERE { ?company wdt:P31 wd:Q783794 . }

What is the total number of entities classified as companies in Wikidata?

Count the number of companies in Wikidata.

SELECT( COUNT (* ) AS ?var1 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q783794> . }


Question: Wikipedia pages in English or German about the movie with IMDb ID tt3164256.

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

What are the English and German Wikipedia pages about the movie "Rock the Kasbah"?

Show me the English and German language Wikipedia pages related to the film identified by IMDb ID tt3164256.

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


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

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

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

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

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


Question: What are the English and German language pages about the movie "Flight" (2012) on Wikipedia and related sites?

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

Show me the Wikipedia and Wikiquote pages in English or German for the movie with IMDb ID tt1907668.

Which language versions of pages about the film "Flight" are available on Wikimedia projects?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1907668". } ?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: Actors from the United States who won the Best Actor Oscar and were born after 1960

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?actor ?actorLabel ?birthDate ?birthYear ?country WHERE {
  ?actor wdt:P31 wd:Q5 ; wdt:P106 wd:Q33999 ; wdt:P27 wd:Q30 ; wdt:P569 ?birthDate ; p:P166 ?awardStmt .
  ?awardStmt ps:P166 wd:Q103916 .
  BIND(YEAR(?birthDate) AS ?birthYear)
  BIND(wd:Q30 AS ?country)
  FILTER(?birthYear > 1960)
  ?actor rdfs:label ?actorLabel .
  FILTER(LANG(?actorLabel) = "en")
}
LIMIT 500

Which American actors have won the Academy Award for Best Actor and were born after 1960?

List the names, birth years, and birth dates of American actors who received the Oscar for Best Actor and were born after 1960.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 WHERE { BIND ( YEAR ( ?var2 ) AS ?var3 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q30> ; <http://www.wikidata.org/prop/direct/P27> ?var4 ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/P166> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q103916> . FILTER ( ( ( YEAR ( ?var2 ) > "1960"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 500


Question: Is "The Sea Monster" by Albrecht Dürer considered an artificial physical object?

Does the artwork "The Sea Monster" belong to a class that is a subclass of artificial physical objects?

Is "The Sea Monster" an instance of something that is ultimately a type of human-made object?

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


Question: What English and German-language pages on Wikipedia, Wikiquote, or Commons are about the movie Cars (IMDb ID: tt0317219)?

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

Show me the language-specific web pages related to the film Cars that are in English or German.

Which articles or categories about the movie Cars are available in English or German?

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


Question: Who are the actors born in Germany?

SELECT ?actor WHERE { ?actor wdt:P106 wd:Q33999 ; wdt:P19 wd:Q183 . }

List all people whose occupation is actor and who were born in Germany.

Show me the entities that are actors and have Germany as their place of birth.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q808746> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


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

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?movie ?link WHERE {
  VALUES ?imdbId {
    "tt0388419"
  }
  ?movie wdt:P345 ?imdbId .
  ?link schema:about ?movie .
  ?link schema:inLanguage ?lang .
  FILTER ( ?lang IN ( "en" , "de" ) )
}

Can you show me the language-specific links for the movie "Christmas with the Kranks" in English and German?

Which language versions of Wikipedia or Wikiquote are available for the film identified by tt0388419?

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


Question: Who are the actors born in Germany?

SELECT ?person WHERE { ?person wdt:P106 wd:Q33999 ; wdt:P19 wd:Q183 . }

List all people whose occupation is actor and place of birth is Germany.

Show me individuals from Germany who work as actors.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2268804> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: What English and German language pages are linked to the movie Hoosiers (IMDb ID: tt0091217)?

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

Find the Wikipedia and Wikiquote articles in English and German about the film Hoosiers.

Which language versions of pages about Hoosiers (IMDb: tt0091217) are available in English or German?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0091217". } ?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: Is the ancient Greek sculptor Polyidus classified as an artifact or a human-made object?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  wd:Q21618364 wdt:P31 / wdt:P279 * wd:Q8205328 .
}

Does Polyidus, the ancient Greek sculptor, belong to a class that is a subclass of artificial physical objects?

Confirm whether Polyidus is considered an artificial physical object based on his Wikidata classification.

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


Question: Actors born in Germany

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person WHERE {
  ?person wdt:P106 wd:Q33999 ; wdt:P19 / wdt:P131 * wd:Q183 .
}

Who are the actors that were born in Germany?

List all people whose occupation is actor and who were born in Germany.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q21061145> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Who were the suffragettes?

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

Which individuals had the occupation of suffragette?

List the English names of people who were suffragettes.

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


Question: Spanish people who have received awards and their award names

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?awardLabel WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P27 wd:Q29 .
  ?person wdt:P166 ?award .
  ?person rdfs:label ?personLabel .
  ?award rdfs:label ?awardLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?awardLabel) = "en")
}
LIMIT 1000

Which Spanish citizens have received awards, and what are the names of those awards?

List the names of Spanish individuals and the awards they have received, in English.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q29> . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 250000


Question: How many humans have the occupation of teacher?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( COUNT( ?human ) AS ?count ) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P106 wd:Q37226 .
}

What is the total number of people who work as teachers?

Count the number of individuals whose profession is teaching.

SELECT DISTINCT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/entity/Q28640> <http://www.wikidata.org/entity/Q37226> . } LIMIT 10


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

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

Show me the language-specific pages (English or German) for the film *Thelma & Louise* as identified by its IMDb ID.

Which language versions of Wikipedia or Wikiquote have articles about the movie *Thelma & Louise* (IMDb: tt0103074)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0103074". } ?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: Is "A Papal Procession in Piazza San Pietro in Rome" classified as an artificial physical object in Wikidata?

PREFIX hint: <http://www.bigdata.com/queryHints#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q20392232 ( wdt:P31 / wdt:P279 * ) wd:Q8205328 .
  hint:Prior hint:gearing "forwards" .
}

Is the painting "A Papal Procession in Piazza San Pietro in Rome" an instance of or subclass of an artificial physical object?

Does the hierarchy of "A Papal Procession in Piazza San Pietro in Rome" include artificial physical objects?

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


Question: Pages in English or German about the film with IMDb ID tt0023622.

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

What Wikipedia, Wikiquote, or Commons pages in English or German are about the film "Trouble in Paradise" (1932)?

Show me all English and German language pages linked to the film "Trouble in Paradise" (IMDb: tt0023622).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0023622". } ?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 source and URL cited for Albert Einstein receiving the Nobel Prize in Physics?

SELECT ?source ?url WHERE { wd:Q937 p:P166 ?statement . ?statement ps:P166 wd:Q38104 . ?statement prov:wasDerivedFrom ?ref . ?ref pr:P123 ?source . ?ref pr:P854 ?url . }

Where can I find the official reference for Einstein’s 1921 Nobel Prize in Physics award?

Show me the publisher and web link used as a source for the claim that Albert Einstein won the Nobel Prize in Physics.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/reference/80a5082c3f37d9800611666136624acdef3dfb23> ?var1 ?var2 . }


Question: Image of Birgit Cullberg using her SNAC ARK ID (w67w6f4d)

SELECT ?image WHERE { ?person wdt:P3430 "w67w6f4d" . OPTIONAL { ?person wdt:P18 ?image . } }

What is the Wikimedia Commons image associated with Birgit Cullberg’s SNAC ARK ID?

Show me the picture of Birgit Cullberg identified by the SNAC ARK ID w67w6f4d.

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


Question: Image of Richard Yates (SNAC ARK ID w64m9m04)

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

Is there an image available for Richard Yates in Wikidata, identified by the SNAC ARK ID w64m9m04?

Show me the Wikimedia Commons image linked to Richard Yates, whose SNAC ARK ID is w64m9m04.

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


Question: Is Klaus Kinski an actor who was born in Germany?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q3324470 wdt:P106 wd:Q1028181 ; wdt:P19 wd:Q727 .
}

Did Klaus Kinski work as an actor and have Germany as his place of birth?

Can we confirm that Klaus Kinski's profession is actor and his birthplace is Germany?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q3324470> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Is Stanisław Kruk a software engineer?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q21290716 wdt:P106 ?occ .
  ?occ wdt:P279 * wd:Q1709010 .
}

Does Stanisław Kruk have the occupation of software engineer?

Check whether Stanisław Kruk is classified as a software engineer based on his occupation.

ASK WHERE { <http://www.wikidata.org/entity/Q21290716> ( <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: Actors born in Germany

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P106 wd:Q33999 ; wdt:P19 wd:Q727 .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Who are the actors that were born in Germany?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q24188950> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Image of Heinrich Schliemann using his SNAC ARK ID w6pc3gvz

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

What is the image associated with Heinrich Schliemann in Wikidata, given his SNAC ARK ID is w6pc3gvz?

Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w6pc3gvz.

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


Question: Who are the actors born in Germany?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?actor WHERE {
  ?actor wdt:P106 wd:Q1028181 ; wdt:P19 wd:Q727 .
}

List all people who are actors and were born in Germany.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q314567> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1028181> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Image of Jan Bach with SNAC ARK ID w6ms639w

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

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

Show me the image associated with the SNAC ARK ID w6ms639w.

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


Question: Categories that the Bambi Award belongs to, including parent categories

SELECT DISTINCT ?subclass WHERE { wd:Q630018 wdt:P31 ?type . ?type wdt:P279* ?subclass . }

What are all the classes that the Bambi Award is a part of through inheritance?

List all the superclasses of the types the Bambi Award is an instance of.

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


Question: Top 1000 film actors with the most awards received, ranked by number of awards.

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 ?actor ?actorLabel ?awardCount WHERE {
  {
    SELECT ?actor ( COUNT( DISTINCT ?award ) AS ?awardCount ) WHERE {
      ?actor wdt:P106 wd:Q10800557 .
      ?actor wdt:P166 ?award .
    }
    GROUP BY ?actor
  }
  ?actor rdfs:label ?actorLabel .
  FILTER ( LANG( ?actorLabel ) = "en" )
}
ORDER BY DESC ( ?awardCount )
LIMIT 1000

Which film actors have won the most awards, and how many awards have they won?

Show me the 1000 film actors who have received the highest number of awards, along with their names and award counts.

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


Question: Who are the actors born in Germany?

SELECT ?actor WHERE { ?actor wdt:P106 wd:Q1734662 ; wdt:P19 wd:Q727 . }

List all people who are actors and were born in Germany.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q2144301> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Image of Genevieve Foster (SNAC ARK ID w6ks6x9h)

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

Is there an image available for Genevieve Foster, whose SNAC ARK ID is w6ks6x9h?

Show me the Wikimedia Commons image associated with the person having SNAC ARK ID w6ks6x9h.

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


Question: Actors born in Germany

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ( STR( ?itemLabel ) AS ?label ) WHERE {
  ?item wdt:P106 wd:Q33999 ; wdt:P19 wd:Q183 .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANGMATCHES( LANG( ?itemLabel ) , "en" ) )
}

Who are the actors that were born in Germany?

List the English names of all people who are actors and were born in Germany.

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q29575132> <https://www.wikidata.org/wiki/Property:P106> <https://www.wikidata.org/wiki/Q1734662> ; <https://www.wikidata.org/wiki/Property:P19> <https://www.wikidata.org/wiki/Q727> . }


Question: Top countries by number of awards won by deceased actors

SELECT ?var1Label (COUNT(?award) AS ?awardCount) WHERE { ?actor wdt:P31 wd:Q5 . ?actor wdt:P106 wd:Q33999 . ?actor wdt:P166 ?award . ?actor wdt:P27 ?var1 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } GROUP BY ?var1Label ORDER BY DESC(?awardCount)

Which countries have produced the most award-winning deceased actors, and how many awards did they win?

Show me a list of countries with the number of awards received by their deceased actors, sorted from highest to lowest.

SELECT ?var1Label ( COUNT ( ?var2 ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var3 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P27> ?var1 . ?var3 <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". } } GROUP BY ?var1Label


Question: Which countries have the most living actors who have won awards?

SELECT ?countryLabel ( COUNT( * ) AS ?count ) WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P166 ?award . ?actor wdt:P27 ?country . FILTER ( NOT EXISTS { ?actor wdt:P570 [] } ) . ?country rdfs:label ?countryLabel . FILTER ( LANG( ?countryLabel ) = "en" ) } GROUP BY ?countryLabel ORDER BY DESC ( ?count )

How many living actors with awards are from each country, and which country has the highest number?

List the countries ranked by the number of living actors who have received awards, starting with the highest.

SELECT ?var1Label ( COUNT (* ) AS ?var2 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q33999> . ?var3 <http://www.wikidata.org/prop/direct/P166> ?var4 . ?var3 <http://www.wikidata.org/prop/direct/P27> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var5 . } FILTER ( ( !( BOUND ( ?var5 ) ) ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/direct/P570> ?var6 . } ) ) . } GROUP BY ?var1Label ORDER BY DESC( ?var2 )


Question: Writers from China and their other occupations

SELECT ?person ?personLabel ?occupation ?occupationLabel WHERE { ?person wdt:P106 wd:Q36180 ; wdt:P27 wd:Q148 ; wdt:P106 ?occupation . ?person rdfs:label ?personLabel . ?occupation rdfs:label ?occupationLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?occupationLabel) = "en") }

What are all the occupations of people who are writers and citizens of China?

List all the jobs held by Chinese writers, including writing itself.

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


Question: English and German pages about the movie with IMDb ID tt0263488

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

What English and German language pages are about the movie "Jeepers Creepers" (IMDb: tt0263488)?

Show me the Wikipedia and Wikiquote pages in English and German for the film with IMDb ID tt0263488.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0263488". } ?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 organizations and projects with RSS or Atom web feeds.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?feedUrl WHERE {
  ?item wdt:P1019 ?feedUrl .
}
LIMIT 100

Which entities on Wikidata have a web feed URL (RSS, Atom, etc.)?

Show me the items and their corresponding web feed URLs from Wikidata.

SELECT * WHERE { OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1019> ?var2 . } } LIMIT 10000000


Question: Notable humans with images from Wikidata

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?human ?humanLabel ?image WHERE {
  ?human wdt:P31 wd:Q5 ; wdt:P106 ?occupation .
  VALUES ?occupation {
    wd:Q33999 wd:Q901 wd:Q82955 wd:Q36180 wd:Q12291 wd:Q10800559 wd:Q131787
  }
  OPTIONAL {
    ?human wdt:P18 ?image .
  }
  ?human rdfs:label ?humanLabel .
  FILTER ( LANG( ?humanLabel ) = "en" )
}
LIMIT 100

Who are some well-known people like actors, scientists, or politicians that have photos on Wikimedia Commons?

Show me up to 100 notable humans with their English names and associated images from Wikimedia Commons.

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


Question: Female writers born between 1601 and 1700 with French labels, BnF IDs, and images on Wikimedia Commons.

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 ?writer ?label ?bnfUrl ?image WHERE {
  ?writer wdt:P21 wd:Q6581072 .
  ?writer wdt:P106 wd:Q36180 .
  ?writer wdt:P268 ?bnfId .
  ?writer wdt:P569 ?birthDate .
  ?writer wdt:P18 ?image .
  ?writer rdfs:label ?label .
  FILTER(YEAR(?birthDate) >= 1601 && YEAR(?birthDate) <= 1700)
  FILTER(LANG(?label) = "fr")
  BIND(CONCAT("https://catalogue.bnf.fr/ark:/12148/cb" , ?bnfId) AS ?bnfUrl)
}
ORDER BY ASC(?writer)

Who are the female writers born in the 17th century who have a French Wikipedia label, a Bibliothèque nationale de France identifier, and a portrait on Wikimedia Commons?

Please list the French names, BnF URLs, and images of female writers born between 1601 and 1700.

SELECT DISTINCT ?var1 ?var2 ( CONCAT ( "string1", STR ( ?var3 ) ) AS ?var4 ) ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . ?var1 <http://www.wikidata.org/prop/direct/P268> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( YEAR ( ?var6 ) >= "1601"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( YEAR ( ?var6 ) <= "1700"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . } ORDER BY ASC( ?var1 )


Question: List people with their gender and occupation in English.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?personLabel ?genderLabel ?occupationLabel WHERE {
  ?person wdt:P21 ?gender .
  ?person wdt:P106 ?occupation .
  ?person rdfs:label ?personLabel .
  ?gender rdfs:label ?genderLabel .
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?personLabel) = "en")
  FILTER(LANG(?genderLabel) = "en")
  FILTER(LANG(?occupationLabel) = "en")
  ?occupation wdt:P279 * wd:Q12737077 .
}
LIMIT 40000

Who are some people, what is their gender, and what is their occupation according to Wikidata?

Show me a list of people, including their gender and occupation, with all labels in English, where the occupation is a recognized profession.

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


Question: Actors born in February with their birth dates and English names.

SELECT ?actor ?actorLabel ?birthDate WHERE { ?actor wdt:P106 wd:Q33999 . ?actor wdt:P569 ?birthDate . ?actor rdfs:label ?actorLabel . FILTER (LANG(?actorLabel) = "en") . FILTER (MONTH(?birthDate) = 2) } LIMIT 10

Who are some actors born in February, and what are their names and birth dates?

List up to 10 English-named actors who were born in February, along with their birth dates.

SELECT ?var1 ?var2 ?var3 ?var4 WHERE { ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.linkedmdb.org/resource/movie/actor> . ?var1 <http://www.w3.org/2002/07/owl#sameAs> ?var2 . SERVICE <http://dbpedia.org/sparql> { ?var2 <http://dbpedia.org/property/name> ?var3 . ?var2 <http://dbpedia.org/property/dateOfBirth> ?var4 . } FILTER ( ( ( MONTH ( ?var4 ) = "2"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 10


Question: What are all the superclass categories (in German) of the class that the German Democratic Republic belongs to?

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 DISTINCT ?superclass ?superclassLabel WHERE {
  wd:Q16957 wdt:P31 ?instanceClass .
  ?instanceClass wdt:P279 * ?superclass .
  ?superclass rdfs:label ?superclassLabel .
  FILTER ( LANG( ?superclassLabel ) = "de" )
}

German labels of all superclasses of the class of the German Democratic Republic.

Show me the German-language terms for all broader categories that include the German Democratic Republic, based on its classification hierarchy.

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q16957> ( <http://www.wikidata.org/prop/P31> / <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } ?var1 <http://schema.org/name> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "de" ) ) ) . }


Question: What medical devices are located in the vagina?

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 ?label WHERE {
  ?item wdt:P276 wd:Q5880 .
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}

What are the English names of items that are placed in the vagina?

Please list the English labels of objects that have the vagina as their location.

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


Question: Templates used for humans with qualifier properties

SELECT ?template ?statement (SAMPLE(?qualifier) AS ?qualifier_property) WHERE { ?template p:P1423 ?statement . ?statement ps:P1423 wd:Q5 . ?statement ?qualifier ?value . FILTER(STRSTARTS(STR(?qualifier), "http://www.wikidata.org/prop/qualifier/")) } GROUP BY ?template ?statement LIMIT 101

Which templates about humans have qualifier properties, and what are they?

Show me the qualifier properties used on templates that describe humans.

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


Question: Newspapers with their geographic coordinates and English 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 ?newspaper ?coordinates ?label WHERE {
  ?newspaper wdt:P31 wd:Q11032 .
  ?newspaper wdt:P625 ?coordinates .
  ?newspaper rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" )
}

What are the names, locations, and English labels of all newspapers listed in Wikidata?

Show me a list of newspapers (as instances of newspaper) along with their coordinates and English-language labels.

SELECT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11032> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } }


Question: Members of the National Academy of Medicine (France) born after 1930, their occupations, native names, and publications where the author is listed by their native name or English name.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?member ?memberLabel ?occupationLabel ?nativeName ?publicationByNativeName ?publicationByLabel WHERE {
  ?member wdt:P3956 ?memberId .
  ?member wdt:P106 ?occupation .
  ?member wdt:P569 ?birthDate .
  FILTER(YEAR(?birthDate) > 1930)
  ?member rdfs:label ?memberLabel .
  FILTER(LANG(?memberLabel) = "en")
  ?occupation rdfs:label ?occupationLabel .
  FILTER(LANG(?occupationLabel) = "en")
  OPTIONAL {
    ?member wdt:P1559 ?nativeName .
    BIND(STR(?nativeName) AS ?nativeNameStr)
    ?publicationByNativeName wdt:P2093 ?nativeNameStr .
  }
  OPTIONAL {
    BIND(STR(?memberLabel) AS ?memberLabelStr)
    ?publicationByLabel wdt:P2093 ?memberLabelStr .
  }
}
LIMIT 10

Which members of the National Academy of Medicine (France), born after 1930, have publications where the author is named either in their native language or in English?

Show me French National Academy of Medicine members born after 1930, along with their occupations, native names, and any publications that list them as authors using either their native name or English name.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { { SELECT ?var1 ?var1Label ?var3 ?var6 ?var4 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3956> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P106> ?var2 . OPTIONAL { BIND ( STR ( ?var3 ) AS ?var8 ). ?var1 <http://www.wikidata.org/prop/direct/P1559> ?var3 . ?var4 <http://www.wikidata.org/prop/direct/P2093> ?var8 . } ?var1 <http://www.wikidata.org/prop/direct/P569> ?var6 . FILTER ( ( ( YEAR ( ?var6 ) > "1930"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } } OPTIONAL { BIND ( STR ( ?var1Label ) AS ?var9 ). ?var5 <http://www.wikidata.org/prop/direct/P2093> ?var9 . } }


Question: Who are the humans that are activists?

SELECT ?personLabel WHERE { ?person wdt:P106 wd:Q15253558 . ?person wdt:P31 wd:Q5 . ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 10000

Can you provide a list of all known human activists with English labels?

SELECT ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q15253558> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10000 OFFSET 0


Question: List of all businesses in Wikidata

SELECT ?business ?businessLabel WHERE { ?business wdt:P31 wd:Q4830453 . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = "en") }

What are some examples of businesses in Wikidata?

Show me the names of all entities classified as businesses in Wikidata.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4830453> . }


Question: Who is the tallest child of Peter Jefferson?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?child WHERE {
  ?child wdt:P2048 ?height .
  wd:Q3376670 wdt:P40 ?child .
}
ORDER BY DESC(?height)
LIMIT 9

List the children of Peter Jefferson sorted by their height in descending order.

What are the children of Peter Jefferson, ordered from tallest to shortest?

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2048> ?var2 . <http://www.wikidata.org/entity/Q3376670> <http://www.wikidata.org/prop/direct/P40> ?var1 . } ORDER BY DESC( ?var2 ) LIMIT 9


Question: What is the image of the person with SNAC ARK ID w6b86s5q?

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

Show the Wikimedia Commons image associated with the SNAC record w6b86s5q.

Can you find the portrait image of Chana Orloff using her SNAC ARK ID?

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


Question: Spanish-language websites and their subclasses on Wikidata

SELECT DISTINCT ?label WHERE { ?website wdt:P31/wdt:P279* wd:Q35127 ; rdfs:label ?label . FILTER (LANG(?label) = "es") }

What are the names of websites and their subclasses in Spanish?

List all websites and their subclasses with Spanish labels.

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


Question: People who won or were nominated for the Nobel Prize in Chemistry, along with their birth dates and places of birth.

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?person ?personLabel ?birthYear ?birthMonth ?birthDay ?birthPlaceLabel WHERE {
  {
    ?person p:P166 ?awardStmt .
    ?awardStmt ps:P166 wd:Q44585 .
  } UNION {
    ?person p:P1411 ?nomStmt .
    ?nomStmt ps:P1411 wd:Q44585 .
  }
  ?person wdt:P569 ?birthDate .
  BIND( YEAR( ?birthDate ) AS ?birthYear ) BIND( MONTH( ?birthDate ) AS ?birthMonth ) BIND( DAY( ?birthDate ) AS ?birthDay ) OPTIONAL {
    ?person wdt:P19 ?birthPlace .
    ?birthPlace rdfs:label ?birthPlaceLabel .
    FILTER ( LANG( ?birthPlaceLabel ) = "en" )
  }
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Who are the people that received or were nominated for the Nobel Prize in Chemistry, and when and where were they born?

List all recipients and nominees of the Nobel Prize in Chemistry with their year, month, and day of birth, and their birthplace if known.

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


Question: People who received a science award and served as legislators.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?personLabel ?person ?awardLabel ?positionLabel WHERE {
  ?person wdt:P166 ?award .
  ?award ( wdt:P31 / wdt:P279 * ) wd:Q11448906 .
  ?person wdt:P39 ?position .
  ?position ( wdt:P31 / wdt:P279 * ) wd:Q4175034 .
  ?person rdfs:label ?personLabel .
  ?award rdfs:label ?awardLabel .
  ?position rdfs:label ?positionLabel .
  FILTER ( LANG( ?personLabel ) = "en" ) FILTER ( LANG( ?awardLabel ) = "en" ) FILTER ( LANG( ?positionLabel ) = "en" )
}

Which individuals have been awarded a science prize and held a legislative office?

List the names of scientists who received a scientific award and were members of a legislature.

SELECT DISTINCT ?var1Label ?var1 ?var2Label ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var2 . ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11448906> . ?var1 <http://www.wikidata.org/prop/direct/P39> ?var3 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4175034> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Who are the female engineers that are citizens of France?

SELECT ?person WHERE { ?person wdt:P21 wd:Q6581072 . ?person wdt:P27 wd:Q142 . ?person wdt:P106 wd:Q81096 . }

List all women working as engineers in France.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q142> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q81096> . ?var2 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . }


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

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

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

Which Wikipedia pages in English and German discuss the movie My Stepmother Is an Alien?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0095687". } ?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: Works authored by Charles de Gaulle

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?work ?workLabel ?statement(SAMPLE(?qualifierProperty) AS ?qualifier) WHERE {
  ?work p:P50 ?statement .
  ?statement ps:P50 wd:Q2042 .
  OPTIONAL {
    ?statement ?qualifierProperty ?qualifierValue .
    ?qualifierProperty wikibase:qualifier true .
  }
  ?work rdfs:label ?workLabel .
  FILTER(LANG(?workLabel) = "en")
}
GROUP BY ?work ?workLabel ?statement
LIMIT 10

What books or writings did Charles de Gaulle author?

List the works written by Charles de Gaulle, along with their English titles and any additional details about the authorship.

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


Question: What is the image of the person with SNAC ARK ID w6f6004q?

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

Can you find the Wikimedia Commons image for William A. Schnader?

Does the individual identified by the SNAC ARK ID w6f6004q have an associated image on Wikimedia Commons?

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


Question: What are the most common official languages and countries of citizenship among religious figures documented on the Italian Wikipedia?

SELECT DISTINCT ?language ?country (COUNT(?person) AS ?count)
WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P27 ?country .
  ?country wdt:P37 ?language .
  ?person (wdt:P106/wdt:P279*) wd:Q4504549 .
  ?article schema:isPartOf <https://it.wikipedia.org/> ;
           schema:about ?person .
}
GROUP BY ?language ?country
ORDER BY DESC(?count)

How many religious figures on the Italian Wikipedia are citizens of each country, grouped by the country’s official language?

Which countries and their official languages have the highest number of religious figures with Wikipedia articles in Italian?

SELECT DISTINCT ?var1 ?var2 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var4 <http://www.wikidata.org/prop/direct/P27> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P37> ?var1 . ?var4 ( <http://www.wikidata.org/prop/direct/P106> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4504549> . ?var5 <http://schema.org/isPartOf> <https://it.wikipedia.org/> ; <http://schema.org/about> ?var4 . } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )


Question: People from Dinan with French Wikipedia pages

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?personLabel WHERE {
  {
    wd:Q201311 ?p ?person .
  } UNION {
    ?person ?p wd:Q201311 .
  }
  ?person wdt:P31 wd:Q5 .
  ?wikipedia schema:about ?person .
  ?wikipedia schema:isPartOf <https://fr.wikipedia.org/> .
  ?person rdfs:label ?personLabel
  FILTER ( LANG( ?personLabel ) = 'fr' )
}

Who are the notable humans associated with Dinan, France, that have articles on the French Wikipedia?

List the French-language Wikipedia names of all humans connected to Dinan.

SELECT DISTINCT ?var1Label WHERE { { <http://www.wikidata.org/entity/Q201311> ?var2 ?var1 . } UNION { ?var1 ?var2 <http://www.wikidata.org/entity/Q201311> . } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } }


Question: List all businesses and their names in Wikidata.

SELECT ?business ?businessLabel WHERE { ?business (wdt:P31/wdt:P279*) wd:Q4830453 . ?business rdfs:label ?businessLabel . FILTER(LANG(?businessLabel) = "en") }

What are the names of all companies and organizations classified as businesses in Wikidata?

Show me the English labels of all entities that are businesses or subclasses of businesses in Wikidata.

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


Question: French-speaking female, trans, or intersex writers, authors, or poets born between 1940 and 2004, with a BnF ID and French Wikipedia articles, ranked by article count.

SELECT DISTINCT ?name ?countryName ?bnfId ?birthYear ?deathYear (COUNT(DISTINCT ?article) AS ?articleCount)
WHERE {
  VALUES ?occupation { wd:Q36180 wd:Q482980 wd:Q49757 }
  VALUES ?language { wd:Q150 wd:Q1473289 }
  VALUES ?gender { wd:Q6581072 wd:Q1052281 wd:Q2449503 wd:Q1097630 }

  ?person wdt:P106 ?occupation .
  ?person wdt:P27 ?country .
  ?person wdt:P268 ?bnfId .
  ?person wdt:P1412 ?language .
  ?person wdt:P21 ?gender .

  OPTIONAL { ?person wdt:P569 ?birthDate . BIND(YEAR(?birthDate) AS ?birthYear) }
  OPTIONAL { ?person wdt:P570 ?deathDate . BIND(YEAR(?deathDate) AS ?deathYear) }
  OPTIONAL { ?person rdfs:label ?name . FILTER(LANG(?name) = "fr") }
  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "fr") }
  BIND(COALESCE(?countryLabel, ?country) AS ?countryName)

  ?article schema:about ?person ;
           schema:isPartOf <https://fr.wikipedia.org/> .

  FILTER(
    ?birthYear >= 1940 &&
    ?birthYear <= 2004 &&
    (?deathYear >= 1970 || !BOUND(?deathYear))
  )
}
GROUP BY ?name ?countryName ?bnfId ?birthYear ?deathYear
ORDER BY DESC(?articleCount)
LIMIT 100

Who are the French-language writers, authors, or poets who identify as female, trans woman, trans man, or intersex, were born between 1940 and 2004, and have the most French Wikipedia articles?

List French-named writers, authors, or poets from France, Canada, or other countries who are female, trans, or intersex, were born between 1940 and 2004, are still alive or died after 1970, and have French Wikipedia pages — sorted by how popular their pages are.

SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ( COUNT ( DISTINCT ?var6 ) AS ?var7 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36180> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q482980> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q49757> . } ?var8 <http://www.wikidata.org/prop/direct/P27> ?var9 . ?var8 <http://www.wikidata.org/prop/direct/P268> ?var3 . { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q150> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1412> <http://www.wikidata.org/entity/Q1473289> . } { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1097630> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q1052281> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q2449503> . } OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P569> ?var10 . } BIND ( YEAR ( ?var10 ) AS ?var4 ). OPTIONAL { ?var8 <http://www.wikidata.org/prop/direct/P570> ?var11 . } BIND ( YEAR ( ?var11 ) AS ?var5 ). ?var6 <http://schema.org/about> ?var8 . OPTIONAL { ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = "fr" ) ) ) . } OPTIONAL { ?var9 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . } FILTER ( ( ( ?var4 <= "2004"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var5 >= "1970"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( ?var4 <= "2004"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var4 >= "1940"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ?var3 ?var4 ?var5 ORDER BY DESC( ?var7 )


Question: List 101 comedians and their occupation statement identifiers in Wikidata.

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?person ?statement WHERE {
  ?statement ps:P106 wd:Q245068 .
  ?person p:P106 ?statement .
}
LIMIT 101

Who are 101 comedians listed in Wikidata, and what are their occupation statement nodes?

Show me up to 101 people whose occupation is comedian, along with the unique statement identifiers for those occupations.

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


Question: All humans in Wikidata

SELECT ?human WHERE { ?human wdt:P31 wd:Q5 }

Who are all the humans listed in Wikidata?

List all entities that are classified as human beings in Wikidata.

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


Question: People who received the Order of the British Empire

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?recipient WHERE {
  ?recipient wdt:P166 wd:Q14420 .
}
LIMIT 1000

Who has been awarded the Order of the British Empire?

List all individuals who have received the Order of the British Empire.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P166> <http://www.wikidata.org/entity/Q14420> . } LIMIT 1000


Question: Humans with pages on Portuguese Wikisource.

SELECT ?human ?humanLabel WHERE { ?human wdt:P31 wd:Q5 . ?page schema:about ?human . ?page schema:isPartOf <https://pt.wikisource.org/> . ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "pt") }

Who are the people listed on Portuguese Wikisource?

List the names of humans in Portuguese who have biographical pages on Portuguese Wikisource.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://schema.org/about> ?var1 . ?var2 <http://schema.org/isPartOf> <https://pt.wikisource.org/> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pt". } }


Question: List English-labeled physicists with their birth and death dates, places of birth and death, citizenships, and official websites.

SELECT DISTINCT ?person ?personLabel ?birthDate ?deathDate ?birthPlaceLabel ?deathPlaceLabel ?citizenshipLabel ?website WHERE { ?person wdt:P31 wd:Q5 ; wdt:P106 wd:Q169470 . OPTIONAL { ?person wdt:P569 ?birthDate . } OPTIONAL { ?person wdt:P570 ?deathDate . } OPTIONAL { ?person wdt:P19 ?birthPlace . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?birthPlaceLabel) = "en") } OPTIONAL { ?person wdt:P20 ?deathPlace . ?deathPlace rdfs:label ?deathPlaceLabel . FILTER(LANG(?deathPlaceLabel) = "en") } OPTIONAL { ?person wdt:P27 ?citizenship . ?citizenship rdfs:label ?citizenshipLabel . FILTER(LANG(?citizenshipLabel) = "en") } OPTIONAL { ?person wdt:P856 ?website . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } LIMIT 100

Who are some human physicists, and what are their birth dates, death dates, places of birth and death, countries of citizenship, and official websites, in English?

Please provide a list of up to 100 physicists, including their names, birth and death information, where they were born and died, their citizenships, and their official websites — all in English.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4Label ?var5Label ?var6Label ?var7Label ?var8 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q169470> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var3 . } 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/P570> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P856> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P106> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 100000