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

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

Can you show me the Wikipedia pages in English and German about the film "A Conspiracy of Faith"?

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

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


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

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

Show me the Wikipedia articles in English or German about the film 'Back to 1989'.

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

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


Question: English and German Wikipedia or Wikiquote pages for the IMDb title tt1986806.

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

What English or German-language Wikipedia or Wikiquote pages are about the IMDb item with ID tt1986806?

Show me the links to English or German pages about the DC Showcase: Catwoman movie on IMDb (tt1986806).

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


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

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

What are the English and German Wikipedia articles for the film "Hercules in New York"?

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

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


Question: English or German Wikipedia page for the film with IMDb ID tt0053902

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

What is the English or German Wikipedia page for the movie "Heller in Pink Tights"?

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

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


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

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

What are the English and German Wikipedia articles for the movie "3 Ninjas Knuckle Up"?

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

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

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

Can you show me the Wikipedia articles in English and German about the film identified by tt0325055 on IMDb?

Which Wikipedia pages in English or German discuss the movie Sylvia (IMDb: tt0325055)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0325055". } ?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 property and entity does the statement s:Q12214-975959CF-D6C3-46C2-AFC0-97D44034A074 refer to?

SELECT ?item ?property WHERE { ?item ?property s:Q12214-975959CF-D6C3-46C2-AFC0-97D44034A074 . }

Which entity and property are used in the statement with identifier s:Q12214-975959CF-D6C3-46C2-AFC0-97D44034A074?

Show me the subject and predicate of the Wikidata statement s:Q12214-975959CF-D6C3-46C2-AFC0-97D44034A074.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q12214-975959CF-D6C3-46C2-AFC0-97D44034A074> . }


Question: What disease has the statement with ID Q12214-6325FDC0-B1F6-429E-B3DF-9C5676B0ABC8?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX s: <http://www.wikidata.org/entity/statement/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?item ?itemLabel WHERE {
  s:Q12214-6325FDC0-B1F6-429E-B3DF-9C5676B0ABC8 ps:P699 ?doid .
  ?item wdt:P699 ?doid .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = 'en')
}

Which disease is associated with the statement that has the Disease Ontology ID DOID:8736?

Show me the name of the disease linked to the statement s:Q12214-6325FDC0-B1F6-429E-B3DF-9C5676B0ABC8.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q12214-6325FDC0-B1F6-429E-B3DF-9C5676B0ABC8> ?var1 ?var2 . }


Question: What entity and property does the statement with Orphanet ID 101952 belong to?

SELECT ?subject ?property WHERE { ?subject ?property s:Q12206-e0a0dfd0-48dc-49c8-0962-b14a237eac2d . }

Which disease has the Orphanet ID 101952, and what property is used to store it?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q12206-e0a0dfd0-48dc-49c8-0962-b14a237eac2d> . }


Question: Is dansband a subclass of musical group?

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

Does the category of dansband belong to the broader category of musical groups?

Confirm whether dansband is classified as a type of musical group through its subclass hierarchy.

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


Question: List all public aquariums and their subtypes in Wikidata.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?aquarium WHERE {
  ?aquarium ( wdt:P31 / wdt:P279 * ) wd:Q2281788 .
}

What are all the known public aquariums and their subclasses?

Show me all entities that are either public aquariums or belong to a subclass of public aquariums.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q2281788> . }


Question: Is the spacecraft Kosmos 656 considered a type of software?

Does Kosmos 656 belong to a category that includes software?

Is Kosmos 656 an instance of software or a subclass of software?

ASK WHERE { <http://www.wikidata.org/entity/Q917058> ( <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: English or German Wikipedia page for the movie with IMDb ID tt0846736.

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

What is the English or German Wikipedia page for the movie "Tokusou Sentai Dekaranger vs. Abaranger"?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0846736". } ?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 power plants and their nominal power output in English.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?facility ?facilityLabel ?power WHERE {
  ?facility wdt:P2109 ?power .
  ?facility rdfs:label ?facilityLabel .
  FILTER ( LANG( ?facilityLabel ) = "en" )
}
ORDER BY ASC ( ?facilityLabel )

What are the names of energy facilities and their installed power capacities, sorted alphabetically?

Show me a list of energy-producing facilities with their English names and nominal power output, ordered by name.

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


Question: What is the English description and label of the artwork in the Museum of Modern Art with ID 16673?

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

Who is the artist associated with MoMA work ID 16673, and what is their English description?

Tell me the name and English description of the MoMA artwork identified by the ID 16673.

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


Question: Image of Harry Bellaver with SNAC ARK ID w6w810hr

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

What is the Wikimedia Commons image for the person with SNAC ARK ID w6w810hr?

Show me the picture of the individual linked to the SNAC ARK ID w6w810hr.

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


Question: List all particle accelerators and their subclasses' instances.

SELECT ?accelerator WHERE { ?accelerator (wdt:P31/wdt:P279*) wd:Q130825 . }

What are all the known particle accelerators, including those that are instances of subclasses of particle accelerators?

Show me every known device that is either a particle accelerator or belongs to a subclass of particle accelerators.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q130825> . }


Question: Image of the person with SNAC ARK ID w6c12jx2

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

What is the image associated with Henri Wallon in Wikidata?

Show me the Wikimedia Commons image for the individual identified by the SNAC ARK ID w6c12jx2.

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


Question: Which properties link other items to the São Paulo Challenger de Tênis tournament more than once?

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

How many times are the properties schema:about, wdt:P31, and ps:P31 used to connect other entities to the São Paulo Challenger de Tênis?

Show me the properties that are used to relate multiple items (like yearly editions or Wikipedia pages) to the São Paulo Challenger de Tênis tournament, ordered by frequency.

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


Question: What Wikidata item has the IMDb ID tt7531138?

SELECT ?movie WHERE { ?movie wdt:P345 "tt7531138" . }

Which movie on Wikidata is associated with the IMDb identifier tt7531138?

Can you find the Wikidata entry for the movie with IMDb ID tt7531138?

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


Question: Writing systems used in Indonesia

SELECT DISTINCT ?writingSystem ?label WHERE { ?writingSystem wdt:P17 wd:Q252 . ?writingSystem wdt:P31/wdt:P279* wd:Q8192 . ?writingSystem rdfs:label ?label . FILTER(LANG(?label) = "en") } ORDER BY ASC(?label)

What are the writing systems used in Indonesia?

List the names of writing systems used in Indonesia in alphabetical order.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q252> . { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q8192> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q8192> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "id". } } ORDER BY ASC( ?var1Label )


Question: Twitter usernames elonmusk and timberners_lee, ordered by Wikipedia article count ascending

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "elonmusk" "timberners_lee"
  }
}
ORDER BY ASC ( wikibase:sitelinks )

Who are the people with Twitter usernames "elonmusk" and "timberners_lee", listed from least to most notable on Wikipedia?

Show me the Wikidata items for the Twitter accounts elonmusk and timberners_lee, sorted by the number of Wikipedia language editions they have articles in, from smallest to largest.

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


Question: French-named people with the surname Gouraud

SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(lang(?label) = "fr") . FILTER(contains(lcase(?label), "gouraud")) . ?person wdt:P31 wd:Q5 . }

Who are the French people whose names include "Gouraud"?

List all humans in Wikidata who have a French label containing the word "Gouraud".

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


Question: Affiliations and employers of Clement Adebamowo, including start and end dates, images, and academic degrees.

PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
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 ?image ?affiliation ?affiliationLabel ?start ?end ?degreeLabel WHERE {
  wd:Q5131282 ( p:P1416 | p:P108 ) ?statement .
  ?statement ps:P1416 | ps:P108 ?affiliation .
  ?affiliation rdfs:label ?affiliationLabel .
  FILTER ( LANG( ?affiliationLabel ) = "en" ) OPTIONAL {
    ?affiliation wdt:P18 ?image
  }
  OPTIONAL {
    ?statement pq:P580 ?start
  }
  OPTIONAL {
    ?statement pq:P582 ?end
  }
  OPTIONAL {
    ?statement pq:P512 ?degree .
    ?degree rdfs:label ?degreeLabel .
    FILTER ( LANG( ?degreeLabel ) = "en" )
  }
}

What organizations has Clement Adebamowo been affiliated with or employed by, and when did these affiliations start and end? Do any of them have images or associated academic degrees?

Show me Clement Adebamowo’s affiliations and employers with their English names, the dates he worked there, any associated images, and any academic degrees linked to those positions.

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


Question: Which Wikidata properties have a constraint that their values must be subclasses of a specific item?

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 p:P2302 ?var2 . ?var2 pq:P2309 wd:Q21514624 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

What properties in Wikidata are constrained to only accept values that are subclasses of something?

List all Wikidata properties that require their values to be subclasses of another item.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/P2302> ?var2 . ?var2 <http://www.wikidata.org/prop/qualifier/value/P2309> <http://www.wikidata.org/prop/direct/Q21514624> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } }


Question: Cities and landmarks in the eastern United States between longitude -85 and -69 and latitude 39 and 44, with their images, Commons categories, and addresses.

SELECT ?item ?itemLabel ?coord ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?coord . FILTER(geof:longitude(?coord) >= -85 && geof:longitude(?coord) <= -69) FILTER(geof:latitude(?coord) >= 39 && geof:latitude(?coord) <= 44) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 3000

What places in the eastern U.S. (between 39°N and 44°N latitude and -85° and -69° longitude) have images, Wikimedia Commons categories, or street addresses listed on Wikidata?

Show me locations in the eastern United States within the bounding box of 39°N–44°N and -85°W–-69°W, along with their labels, coordinates, images, Commons categories, and street addresses.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 WHERE { SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "POINT(-85 39)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "POINT(-69 44)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P373> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P969> ?var7 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "string1". ?var1 <http://schema.org/description> ?var5 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . } } LIMIT 3000


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

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

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

Please provide the English label for the geographical entity with GeoNames ID 3080648.

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


Question: List all sovereign states with their English labels, sorted alphabetically.

SELECT DISTINCT ?var1Label ?var1 WHERE { ?var1 wdt:P31 wd:Q3624078 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } ORDER BY ASC(?var1Label)

What are the names of all sovereign countries in English, ordered from A to Z?

Can you provide a sorted list of all sovereign states, showing their English names?

SELECT DISTINCT ?var1Label ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3624078> ; <http://www.wikidata.org/prop/direct/p31> <http://www.wikidata.org/entity/Q6256> . } ORDER BY ASC( ?var1Label )


Question: People on Finnish Wikipedia who are intersex, transgender, or non-binary.

SELECT DISTINCT ?person WHERE { ?person wdt:P31 wd:Q5 . VALUES ?gender { wd:Q1097630 wd:Q1052281 wd:Q2449503 wd:Q48270 wd:Q746411 } ?person wdt:P21 ?gender . ?wikipediaPage schema:isPartOf <https://fi.wikipedia.org/> ; schema:about ?person . }

Who are the people listed on the Finnish Wikipedia that identify as intersex, trans woman, trans man, non-binary, or kathoey?

List all humans with a Finnish Wikipedia page whose gender identity is intersex, trans woman, trans man, non-binary, or kathoey.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q1097630> ) ( <http://www.wikidata.org/entity/Q1052281> ) ( <http://www.wikidata.org/entity/Q2449503> ) ( <http://www.wikidata.org/entity/Q1097630> ) ( <http://www.wikidata.org/entity/Q48270> ) ( <http://www.wikidata.org/entity/Q746411> ) } ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . ?var3 <http://schema.org/isPartOf> <https://fi.wikipedia.org/> ; <http://schema.org/about> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Member of the Regional Council of Abruzzo, its council, and the region it applies to.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?office ?officeLabel ?council ?councilLabel ?jurisdiction ?jurisdictionLabel WHERE {
  VALUES(?office) {(wd:Q47528624)
  }
  ?office wdt:P361 ?council .
  ?council wdt:P1001 ?jurisdiction .
  OPTIONAL {
    ?office rdfs:label ?officeLabel .
    FILTER(LANG(?officeLabel) = "en")
  }
  OPTIONAL {
    ?council rdfs:label ?councilLabel .
    FILTER(LANG(?councilLabel) = "en")
  }
  OPTIONAL {
    ?jurisdiction rdfs:label ?jurisdictionLabel .
    FILTER(LANG(?jurisdictionLabel) = "en")
  }
}

What regional council is the office "member of the Regional Council of Abruzzo" part of, and which region does that council serve?

Show me the office "member of the Regional Council of Abruzzo", the council it belongs to, and the jurisdiction of that council.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q47528624> ) } ?var1 ( <http://www.wikidata.org/prop/P361> / <http://www.wikidata.org/prop/statement/P361> )* ?var2 . ?var4 ( <http://www.wikidata.org/prop/P31> | <http://www.wikidata.org/prop/P279> ) [ ( <http://www.wikidata.org/prop/statement/P279> | <http://www.wikidata.org/prop/statement/P31> ) <http://www.wikidata.org/entity/Q15238777> ; <http://www.wikidata.org/prop/qualifier/P642> ?var2 ] . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P31> ?var4 . } BIND ( COALESCE ( ?var5 , ?var4 ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are the YouTube channel IDs and Discogs ID for the band Rein?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?youtube ?discogs WHERE {
  wd:Q1814063 wdt:P2397 ?youtube .
  OPTIONAL {
    wd:Q1814063 wdt:P1953 ?discogs .
  }
}

Can you find the online identifiers for the musical group Rein, specifically its YouTube channels and Discogs profile?

Does the band Rein have any presence on YouTube or Discogs, and if so, what are their IDs?

SELECT * WHERE { <http://www.wikidata.org/entity/Q18709371> ?var1 ?var2 . { { <http://www.wikidata.org/entity/Q1814063> <http://www.wikidata.org/prop/direct/P2397> ?var2 . } UNION { <http://www.wikidata.org/entity/Q1814063> <http://www.wikidata.org/prop/direct/P1953> ?var2 . } } }


Question: Football players named Cafu and the awards they received.

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 ?player ?playerLabel ?awardLabel WHERE {
  ?player wdt:P106 wd:Q937857 .
  ?player rdfs:label ?playerLabel .
  ?player wdt:P166 ?award .
  ?award rdfs:label ?awardLabel .
  FILTER ( CONTAINS( LCASE( ?playerLabel ) , "cafu" ) ) .
  FILTER ( LANG( ?playerLabel ) = "en" ) .
  FILTER ( LANG( ?awardLabel ) = "en" ) .
}

Which association football player named Cafu has received an award, and what is the award?

Show me the awards received by the football player Cafu in English.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q937857> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://www.wikidata.org/prop/direct/P166> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( CONTAINS ( ?var2Label , "string1"@en ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . }


Question: All taxonomic species and genera in the mosquito family (Culicidae).

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?mosquito_taxon WHERE {
  ?mosquito_taxon wdt:P31 wd:Q16521 .
  ?mosquito_taxon wdt:P171 * wd:Q7367 .
}

What are all the known mosquito species and their higher taxonomic groups?

List all taxa that are descendants of the mosquito family (Culicidae).

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q16521> . ?var1 <http://www.wikidata.org/prop/direct/P171> * <http://www.wikidata.org/entity/Q7367> . }


Question: Fictional characters who are astronauts

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?character ?characterLabel WHERE {
  ?character wdt:P106 wd:Q11631 .
  FILTER NOT EXISTS {
    ?character wdt:P31 wd:Q5 .
  }
  ?character rdfs:label ?characterLabel .
  FILTER(LANG(?characterLabel) = "en")
}

Who are the non-human astronauts in fiction?

List fictional characters with the occupation of astronaut.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q11631> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q95074> . } ) ) . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15632617> . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Image of the person with SNAC ARK ID w61w3c0s

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

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

Show me the Wikimedia Commons image for the individual identified by SNAC ARK ID w61w3c0s.

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


Question: What properties are associated with sea piracy in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?propertyEntity ?propertyLabel ?propertyDescription WHERE {
  ?item ?p wd:Q45393 .
  BIND(IRI(REPLACE(STR(?p) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?propertyEntity)
  .
  ?propertyEntity rdfs:label ?propertyLabel .
  ?propertyEntity schema:description ?propertyDescription .
  FILTER(LANG(?propertyLabel) = "en")
  FILTER(LANG(?propertyDescription) = "en")
}
LIMIT 20

Which properties link entities to the concept of sea piracy, and what are their English labels and descriptions?

Show me the English labels and descriptions of all properties that have sea piracy as their object in Wikidata.

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


Question: How many works cite publications by Phyllis Chinn, and are any of those citing works authored by her?

SELECT ( COUNT( DISTINCT ?citingWork ) AS ?count ) ?isAuthoredByChinn WHERE { ?citedWork wdt:P50 wd:Q18921538 . ?citingWork wdt:P2860 ?citedWork . BIND( IF( EXISTS { ?citingWork wdt:P50 wd:Q18921538 } , "yes" , "no" ) AS ?isAuthoredByChinn ) } GROUP BY ?isAuthoredByChinn

What is the total number of works that reference Phyllis Chinn's research, and does she author any of those citing works?

Count the number of scholarly works that cite Phyllis Chinn’s publications and indicate whether any of them have her as an author.

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


Question: Epidemics with images from Wikimedia Commons

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?var1 ?var1Label ( SAMPLE( ?image ) AS ?imageSample ) WHERE {
  ?var1 wdt:P31 wd:Q44512 .
  OPTIONAL {
    ?var1 wdt:P18 ?image .
  }
  ?var1 rdfs:label ?var1Label .
  FILTER ( LANG( ?var1Label ) = "en" )
}
GROUP BY ?var1 ?var1Label

What are the English-labeled epidemics and their associated images on Wikimedia Commons?

Show me a list of epidemics in English, along with one sample image for each if available.

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


Question: What is the English label and description of the musical instrument with MIMO ID 3237?

SELECT ?instrument ?instrumentLabel ?description WHERE { ?instrument wdt:P3763 "3237" . ?instrument rdfs:label ?instrumentLabel . FILTER (LANG(?instrumentLabel) = "en") OPTIONAL { ?instrument schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you tell me the name and a brief description in English of the guitar identified by the MIMO instrument ID 3237?

Show me the English name and description for the instrument in Wikidata that has the MIMO identifier 3237.

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


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

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

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

Show me the English or German Wikipedia links for the film that has the IMDb identifier tt5059126.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5059126". } ?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: Albums titled "Recovery" performed by Eminem

SELECT ?album (SAMPLE(?alabel) AS ?albumLabel) ?performer (SAMPLE(?plabel) AS ?performerLabel) WHERE { ?album wdt:P31 wd:Q482994 . ?album rdfs:label ?alabel . ?album wdt:P175 ?performer . ?performer rdfs:label ?plabel . FILTER (LANGMATCHES(LANG(?alabel), "en")) FILTER (LANGMATCHES(LANG(?plabel), "en")) FILTER (CONTAINS(LCASE(?alabel), "recovery")) FILTER (CONTAINS(LCASE(?plabel), "eminem")) } GROUP BY ?album ?performer LIMIT 10

Which albums with "Recovery" in the title are performed by Eminem?

Show me the English-labeled albums called "Recovery" that feature Eminem as the performer.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q482994> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "recovery" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var4Label ) , "eminem" ) ) ) . } LIMIT 10


Question: Elevations of mountains in Álava, Spain

PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?mountain ?elevation WHERE {
  ?mountain wdt:P31 wd:Q8502 .
  ?mountain wdt:P131 * wd:Q81801 .
  ?mountain ( p:P2044 / psn:P2044 / wikibase:quantityAmount ) ?elevation .
}

What are the elevations of all mountains located in the province of Álava?

Can you list the mountains in Álava along with their heights above sea level?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q8502> . ?var1 <http://www.wikidata.org/prop/direct/P131> * <http://www.wikidata.org/entity/Q81801> . ?var1 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value-normalized/P2044> / <http://wikiba.se/ontology#quantityAmount> ) ?var2 . }


Question: Films directed by Christopher Nolan and the awards they won.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film ?award WHERE {
  ?film wdt:P57 wd:Q25191 .
  ?film wdt:P166 ?award .
}
LIMIT 10

Which films did Christopher Nolan direct, and what awards did those films receive?

Show me the movies directed by Christopher Nolan along with the awards each movie received.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q25191> . <http://www.wikidata.org/entity/Q25191> <http://www.wikidata.org/prop/direct/P166> ?var2 . } LIMIT 10


Question: List all electoral constituencies in South Korea that are part of the first-level administrative councilor constituency class.

SELECT ?constituency ?constituencyLabel WHERE { ?constituency wdt:P31/wdt:P279* wd:Q50258518 . OPTIONAL { ?constituency rdfs:label ?constituencyLabel . } }

What are the specific constituencies in South Korea that elect first-level administrative councilors?

Show me all the individual constituencies in South Korea that fall under the category of first-level administrative councilor constituencies, along with their labels.

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


Question: English Wikipedia page and label for company with ticker symbol AAPL

SELECT ?company ?companyLabel ?wikipediaPage WHERE { ?company ?p ?statement . ?statement ps:P414 ?exchange ; pq:P249 "AAPL" . ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") . ?wikipediaPage schema:about ?company ; schema:inLanguage "en" ; FILTER(STRSTARTS(STR(?wikipediaPage), "https://en.wikipedia.org/wiki/")) .}

What is the English Wikipedia page and official name of the company that trades under the ticker symbol AAPL?

Show me the English Wikipedia link and name of the company that has AAPL as its stock ticker.

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


Question: Image of Joseph Ingraham with SNAC ARK ID w6xp8h9c

SELECT ?image WHERE { ?item wdt:P3430 "w6xp8h9c" . OPTIONAL { ?item wdt:P18 ?image . } } LIMIT 1

What is the Wikimedia Commons image associated with Joseph Ingraham’s SNAC ARK ID w6xp8h9c?

Show me the picture of the person identified by the SNAC ARK ID w6xp8h9c.

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


Question: Does Wikidata contain an ice hockey player with Elite Prospects ID 476903?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?player wdt:P2481 "476903" .
}

Is there a record in Wikidata for the ice hockey player identified by Elite Prospects as 476903?

Confirm whether the Elite Prospects player ID 476903 corresponds to a known ice hockey player in Wikidata.

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


Question: What movie has the IMDb ID tt3914520?

SELECT ?movie ?movieLabel WHERE { ?movie wdt:P345 "tt3914520" . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = "en") }

Which movie is identified by the IMDb identifier tt3914520?

Tell me the title of the movie with IMDb ID tt3914520.

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


Question: What are some mountains and their images from Wikimedia Commons?

SELECT ?mountain ?mountainLabel ?image WHERE { ?mountain wdt:P31 wd:Q8502 . OPTIONAL { ?mountain wdt:P18 ?image . } } LIMIT 10

Show me a list of mountains along with their labels and associated images.

Retrieve up to 10 mountains and their images if available.

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


Question: What are some examples of audio storage devices?

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P279 wd:Q354004 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") } LIMIT 11

List the types of audio storage media that are subclasses of audio storage device.

Can you name up to 11 formats used to store audio, such as CDs or MiniDiscs?

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


Question: What international organizations have member countries with recorded population data?

SELECT DISTINCT ?organization WHERE { ?country wdt:P463 ?organization . ?country wdt:P31 wd:Q6256 . ?country wdt:P1082 ?population . }

Which organizations include sovereign nations as members, and for which we have population statistics?

List the international groups that consist of countries with known populations.

SELECT DISTINCT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P463> ?var1 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 <http://www.wikidata.org/entity/P17> ?var2 . ?var3 <http://www.wikidata.org/prop/direct/P1082> [] . }


Question: Subclasses of "thing" up to five levels deep with their direct superclasses.

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 ?var1 ?var1Label ?var2 WHERE {
  {
    ?var1 wdt:P279 wd:Q35120 .
  } UNION {
    ?var1 wdt:P279 ?p1 .
    ?p1 wdt:P279 wd:Q35120 .
  } UNION {
    ?var1 wdt:P279 ?p1 .
    ?p1 wdt:P279 ?p2 .
    ?p2 wdt:P279 wd:Q35120 .
  } UNION {
    ?var1 wdt:P279 ?p1 .
    ?p1 wdt:P279 ?p2 .
    ?p2 wdt:P279 ?p3 .
    ?p3 wdt:P279 wd:Q35120 .
  } UNION {
    ?var1 wdt:P279 ?p1 .
    ?p1 wdt:P279 ?p2 .
    ?p2 wdt:P279 ?p3 .
    ?p3 wdt:P279 ?p4 .
    ?p4 wdt:P279 wd:Q35120 .
  }
  FILTER ( STRSTARTS( STR( ?var1 ) , "http://www.wikidata.org/entity/Q" ) ) OPTIONAL {
    ?var1 wdt:P279 ?var2 .
  }
  OPTIONAL {
    ?var1 rdfs:label ?var1Label .
    FILTER ( LANG( ?var1Label ) = "en" )
  }
}
LIMIT 20

What are the subclasses of "thing" within five levels of inheritance, and what are their immediate parent classes?

List the top-level subclasses of "thing" (up to five generations deep) along with their English labels and direct superclasses.

SELECT ?var1 ?var1Label ?var2 WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q35120> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Reverse"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "5"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> "5"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Entities categorized under clothing using the "category combines topics" property.

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

Which items are classified as clothing by being linked to the category "clothing" via the P971 property?

List up to 101 entities that are associated with the clothing category through the "category combines topics" relationship.

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


Question: What is the gene Fh1, and what type of entity is it?

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 ?geneLabel ?instanceOfLabel WHERE {
  wd:Q18250589 wdt:P31 ?instanceOf .
  wd:Q18250589 rdfs:label ?geneLabel .
  ?instanceOf rdfs:label ?instanceOfLabel .
  FILTER(LANG(?geneLabel) = "en")
  FILTER(LANG(?instanceOfLabel) = "en")
}

Can you tell me the name of the gene Q18250589 and its category in Wikidata?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q18250589-E4028115-EF66-43A6-B15A-0E06A943ABCF> . }


Question: What gene is referenced by the statement with ID ref:043e00604a342e3a2becb23ba6946024fe22c6ed?

SELECT ?entityLabel ?reference WHERE { wd:Q18303531 p:P31 ?statement . ?statement ps:P31 wd:Q7187 ; prov:wasDerivedFrom ?reference . wd:Q18303531 rdfs:label ?entityLabel . FILTER(LANG(?entityLabel) = "en") }

Which human gene is stated to be an instance of "gene" in Wikidata, and what is its source?

Can you tell me the name of the gene Pdp2 and where this information comes from in Wikidata?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18303531-59CBCD3D-20AB-49E5-BB00-92120636C50F> ?var1 ?var2 . }


Question: What protein does the Pdk4 gene encode, in which species is it found, and what are its Ensembl transcript IDs?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?protein ?species ?transcript WHERE {
  wd:Q18255934 wdt:P688 ?protein .
  wd:Q18255934 wdt:P703 ?species .
  wd:Q18255934 wdt:P704 ?transcript .
}

Tell me the protein product, species, and Ensembl transcripts for the mouse Pdk4 gene.

I want to know the protein encoded by the Pdk4 gene in mice and its associated Ensembl transcript IDs.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18255934> ?var1 ?var2 . }


Question: What subject and property does the statement about the TCA cycle having parts belong to?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?subject ?property WHERE {
  ?subject ?property s:Q27436670-ac6f33c2-41f4-99e7-71d3-65925a491cb3 .
}

Which entity and relationship are linked to the statement identifier s:Q27436670-ac6f33c2-41f4-99e7-71d3-65925a491cb3?

For the statement about the TCA cycle's parts, what is the subject and the property used?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q27436670-ac6f33c2-41f4-99e7-71d3-65925a491cb3> . }


Question: What properties and values are associated with the statement about Mahatma Gandhi's date of death?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:q1001-2C92ECDC-AAF6-42E8-A844-0EE9006484A5 ?property ?value .
}

Show all the metadata (like rank and references) linked to the statement that Mahatma Gandhi died on January 30, 1948.

List all the properties and their values for the Wikidata statement node of Mahatma Gandhi’s death.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q27436670-b6229ac2-4284-8ebe-a7b2-40c8bc134e3f> . }


Question: Which scholarly articles cite the study on proton-translocating transhydrogenase and NAD-dependent activity in mitochondria?

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 ?citingArticle ?citingArticleLabel WHERE {
  ?citingArticle wdt:P2860 wd:Q28609549 .
  ?citingArticle rdfs:label ?citingArticleLabel .
  FILTER ( LANG( ?citingArticleLabel ) = "en" )
}

What research papers reference the article about proton-translocating transhydrogenase in the tricarboxylic acid cycle?

List the academic publications that cite the work on mitochondrial proton-translocating transhydrogenase.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609549> . }


Question: What properties and values are associated with the SLCO1B1 gene in Wikidata?

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

What information does Wikidata have about the human gene SLCO1B1?

List all the properties and their values for the gene SLCO1B1.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18035517> ?var1 ?var2 . }


Question: Wikipedia articles and Wikimedia resources about glutathione disulfide

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?resource WHERE {
  ?resource schema:about wd:Q3324838 .
  FILTER ( STRSTARTS( STR( ?resource ) , "http" ) )
}

What Wikipedia pages and Wikimedia categories discuss glutathione disulfide?

Show me all external web resources (like Wikipedia articles) that are about glutathione disulfide.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q3324838> . }


Question: What links or statements involve Erythromycin as an object?

SELECT ?item ?property WHERE { ?item ?property wd:Q213511 .}

What resources or properties are connected to the chemical compound Erythromycin?

Show me all the things that are about or refer to Erythromycin in Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q213511> . }


Question: What qualifiers are associated with the awards received by Albert Einstein?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?qualifier ?qualifierValue WHERE {
  wd:Q937 p:P166 ?statement .
  ?statement ?qualifier ?qualifierValue .
  FILTER ( STRSTARTS( STR( ?qualifier ) , "http://www.wikidata.org/prop/qualifier/" ) )
}

Can you show me the properties and values that qualify Albert Einstein’s awards?

For each award Albert Einstein received, what additional details (like date or reason) are recorded?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/q576895-73002AD0-0ABE-4924-A49F-CA09AB5E8974> ?var1 ?var2 . }


Question: What properties and values are associated with the statement about Albert Einstein's occupation?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28 ?property ?value .
}

Show all the details (properties and values) stored in the Wikidata statement for Albert Einstein’s profession.

Retrieve all the information linked to the specific statement identifier for Albert Einstein’s occupation.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q30230798-068E6D5E-9A1A-40DC-AEF8-9FFF1C4543B0> ?var1 ?var2 . }


Question: What claim (subject and property) does the statement s:q76-D4FDE516-F20C-4154-ADCE-7C5B609DFDFF represent?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?subject ?predicate WHERE {
  ?subject ?predicate s:q76-D4FDE516-F20C-4154-ADCE-7C5B609DFDFF .
}

Who is the subject and what is the property of the Wikidata statement with ID s:q76-D4FDE516-F20C-4154-ADCE-7C5B609DFDFF?

Find the person and the type of claim linked to the statement s:q76-D4FDE516-F20C-4154-ADCE-7C5B609DFDFF.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30230798-95C99A6A-3DC4-49D6-88AD-CAF887B8C204> . }


Question: What chemical compounds and molecules are composed of chemical elements, and what qualifiers describe their composition (e.g., quantity or lower limit)?

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 ps: <http://www.wikidata.org/prop/statement/>
SELECT ?entityLabel(SAMPLE(?qualifierProperty) AS ?qualifierPropertyIRI)(SAMPLE(?qualifierValue) AS ?qualifierValueText) WHERE {
  ?statement ps:P2670 wd:Q11344 .
  ?entity p:P2670 ?statement .
  ?entity rdfs:label ?entityLabel .
  FILTER(LANG(?entityLabel) = "en")
  .
  ?statement ?qualifierProperty ?qualifierValue .
  FILTER(?qualifierProperty != ps:P2670)
  .
  FILTER(! STRSTARTS(STR(?qualifierProperty) , "http://wikiba.se/ontology#"))
  .
  FILTER(! STRSTARTS(STR(?qualifierProperty) , "http://www.w3.org/1999/02/22-rdf-syntax-ns#"))
  .
  FILTER(! STRSTARTS(STR(?qualifierProperty) , "http://www.wikidata.org/prop/qualifier/value/"))
}
GROUP BY ?entityLabel

Which substances are made up of chemical elements, and what specific details (like minimum atomic number or number of atoms) are associated with those components?

Show me entities that contain chemical elements as parts, along with any additional details (such as quantity or lower bound) about those components.

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


Question: What entity and property does the statement about Albert Einstein's field of work belong to?

SELECT ?item ?property WHERE { ?item ?property s:Q937-7267cb07-4fed-ba1d-d28f-bb82e7faf4ad . }

Which person and attribute are linked to the Wikidata statement with ID s:Q937-7267cb07-4fed-ba1d-d28f-bb82e7faf4ad?

Find the subject and property of the Wikidata statement representing Albert Einstein's field of work.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30230798-61521ED1-3EB8-453B-AE0C-8CCAED47E2C5> . }


Question: What are the start dates for Queen Elizabeth II's reign as monarch of the United Kingdom?

SELECT ?qualifierValue WHERE { wd:Q9682 wdt:P39 wd:Q9134365 . ?statement ps:P39 wd:Q9134365 ; pq:P580 ?qualifierValue .}

Show all the times when Queen Elizabeth II began holding the position of monarch of the United Kingdom.

For the statement that Queen Elizabeth II was monarch of the United Kingdom, what are the qualifier values for the start time?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q30230798-5CE50A51-3187-4B95-B8BF-B2AB509F3E65> ?var1 ?var2 . }


Question: What metadata is associated with the statement asserting that the article "Phosphatidylethanolamine N-methyltransferase: unexpected findings from curiosity-driven research" is a scholarly article?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:Q28609595-74BDFDEE-109B-4ED0-B7AF-782A1419886E ?property ?value .
}

Show all properties and values of the statement with ID s:Q28609595-74BDFDEE-109B-4ED0-B7AF-782A1419886E.

What information does Wikidata store about this particular statement?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28609595-74BDFDEE-109B-4ED0-B7AF-782A1419886E> ?var1 ?var2 . }


Question: Which academic articles cite "Metabolic processing of PAF"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?citingArticle WHERE {
  ?citingArticle wdt:P2860 wd:Q28609542 .
}

What scholarly works reference the study on metabolic processing of PAF?

List the research papers that cite the article on metabolic processing of PAF.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609542> . }


Question: What are all the properties and values associated with Albert Einstein in Wikidata?

SELECT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q937 ?property ?value . OPTIONAL { ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") } OPTIONAL { ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = "en") } }

Can you list Albert Einstein’s occupations, birth date, and other known attributes with their labels?

Show me all the information available about Albert Einstein, including property names and their corresponding values in English.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q30230798-DE1008CE-41A2-495A-AC0C-A053813AD02B> ?var1 ?var2 . }


Question: Which scholarly articles cite the paper "Cardiolipins and biomembrane function"?

SELECT ?citingArticle ?citingArticleLabel WHERE { ?citingArticle wdt:P2860 wd:Q28609454 . ?citingArticle rdfs:label ?citingArticleLabel . FILTER(LANG(?citingArticleLabel) = "en") . ?citingArticle wdt:P31 wd:Q13442814 . }

Scholarly articles citing "Cardiolipins and biomembrane function"

List the English-language scholarly articles that reference the study on cardiolipins and biomembrane function.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q28609454> . }


Question: Computer scientists educated at MIT with images on Commons and English Wikipedia pages who are still alive.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?person ?personLabel ?image ?wikipediaTitle WHERE {
  ?person wdt:P106 wd:Q82594 .
  ?person wdt:P69 wd:Q49108 .
  ?person wdt:P18 ?image .
  ?wikipediaUrl schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .
  FILTER(NOT EXISTS {
    ?person wdt:P570 ?deathDate
  })
  .
  BIND(strafter(str(?wikipediaUrl) , "https://en.wikipedia.org/wiki/") AS ?wikipediaTitle)
  .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Who are the living computer scientists who studied at MIT, have a photo on Wikimedia Commons, and a Wikipedia article in English?

List the names, Commons images, and Wikipedia page titles of all living computer scientists who attended MIT.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82594> . ?var1 <http://www.wikidata.org/prop/direct/P69> <http://www.wikidata.org/entity/Q49108> . ?var4 <http://schema.org/about> ?var1 . ?var4 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . ?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". } FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . } ) ) . } GROUP BY ?var1Label ?var2Label ?var1 ?var3 ?var4


Question: What Wikipedia articles and statements mention betaine?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?property WHERE {
  ?item ?property wd:Q10860583 .
}

Which Wikipedia pages and Wikidata statements are about the chemical compound betaine?

Show me all resources that reference betaine as their subject or topic.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q10860583> . }


Question: All properties and values for the FTCD gene in Wikidata.

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

What data is available in Wikidata about the FTCD gene (Q18035881)?

Show me every property and its corresponding value associated with the human FTCD gene (formimidoyltransferase cyclodeaminase).

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q18035881> ?var1 ?var2 . }


Question: Properties and values of statements about pyridoxal phosphate (Q418957)

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q418957 ?p ?statement .
  ?statement ?property ?value .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/statement/" ) || STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/qualifier/" ) )
}

What properties and values are associated with the statements about pyridoxal phosphate?

Show me all the properties and their values for the statements linked to pyridoxal phosphate on Wikidata.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/q418957-6A222422-2E28-42E5-8D3B-600BA1F3D4A7> . }


Question: What are the direct properties and values associated with 5'-Thymidylic acid?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ?value WHERE {
  wd:Q23905769 ?property ?value .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) )
}

Show me all the facts (properties and values) about the chemical compound 5'-Thymidylic acid.

What information is available about Q23905769 in Wikidata?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q23905769-D58EA82A-7B03-4AE5-9F92-24339AD1084B> . }


Question: What properties and items are connected to the MTFMT gene?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?property WHERE {
  ?item ?property wd:Q18049530 .
}

Which entities and relationships have the MTFMT gene as their object?

Show me everything that links to the MTFMT gene, including Wikipedia articles and biological relationships.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/Q18049530> . }


Question: What item and property does the statement node s:Q28609150-F8017E63-7CD5-494A-AA0A-B7BED2C073A4 refer to?

SELECT ?item ?property WHERE {
  ?item ?property s:Q28609150-F8017E63-7CD5-494A-AA0A-B7BED2C073A4 .
}

Which item is linked to the statement node s:Q28609150-F8017E63-7CD5-494A-AA0A-B7BED2C073A4, and what property is used in that statement?

Show the subject and predicate of the statement identified by s:Q28609150-F8017E63-7CD5-494A-AA0A-B7BED2C073A4.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28609150-F8017E63-7CD5-494A-AA0A-B7BED2C073A4> . }


Question: All properties and values for the academic article "Synthesis of the osmoprotectant glycine betaine in Bacillus subtilis: characterization of the gbsAB genes"

SELECT ?property ?value WHERE { wd:Q28609150 ?property ?value .}

What properties and values are associated with the scientific article on glycine betaine synthesis in Bacillus subtilis?

Show me all the metadata (properties and values) stored in Wikidata for the article about the gbsAB genes and osmoprotectant synthesis.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q28609150> ?var1 ?var2 . }


Question: What are all the properties and values associated with the statement about the CYP1A2 gene?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:Q14890102-B2899C7B-B619-4EC0-A218-4BF43DCD4D7D ?property ?value .
}

Can you show me the details of the claim that CYP1A2 is a gene, including its source and rank?

What information is stored about the statement that identifies CYP1A2 as a gene?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q14890102-B2899C7B-B619-4EC0-A218-4BF43DCD4D7D> ?var1 ?var2 . }


Question: Metadata for the statement that MSRB2 is a gene.

SELECT ?property ?value WHERE { wd:Q18036595 p:P31 ?statement . ?statement ?property ?value . }

What rank, references, and types are associated with the claim that MSRB2 is a gene?

Show me all the metadata (like rank and references) for the statement that the gene MSRB2 is an instance of a gene.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q18036595-4A4A3CA1-0F1E-4CF7-BD8D-7C1BD8DCB0B9> ?var1 ?var2 . }


Question: What are the historical countries and administrative regions associated with Albert Einstein’s birthplace in Wikidata?

SELECT ?statement ?country ?territory WHERE { wd:Q937 wdt:P19 ?birthPlace . ?statement ps:P19 ?birthPlace . OPTIONAL { ?statement pq:P17 ?country . } OPTIONAL { ?statement pq:P131 ?territory . } FILTER(BOUND(?country) || BOUND(?territory)) }

Show me the sources that specify the country or administrative territory of Ulm as Albert Einstein’s birthplace.

Which statements about Albert Einstein being born in Ulm include additional details like the country or region at the time?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q27252593-30340FD1-0EA6-42F3-B740-74E2C978C5C9> ?var1 ?var2 . }


Question: Item and property linked to statement node s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28

SELECT ?item ?property WHERE { ?item ?property s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28 . }

Which item and property does the statement node s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28 belong to?

Show me the subject item and property associated with the Wikidata statement node s:Q937-075AFDBC-7E85-428C-A407-4B45211B3C28.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q20707319-30B405EE-6342-4B67-9216-C3E994C7CF46> . }


Question: All properties and values associated with the TRAF6 gene.

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

What properties and values are linked to the TRAF6 gene in Wikidata?

List all the metadata, descriptions in different languages, and statement identifiers (like Ensembl transcript IDs) for the TRAF6 gene.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q14914325> ?var1 ?var2 . }


Question: What are the Ensembl transcript IDs and chromosome location of the human CRY1 gene?

SELECT ?label ?ensemblTranscript ?chromosome ?goldenId WHERE { wd:Q14866005 rdfs:label ?label . FILTER(LANG(?label) = "en") OPTIONAL { wd:Q14866005 wdt:P704 ?ensemblTranscript } OPTIONAL { wd:Q14866005 wdt:P1057 ?chromosome } OPTIONAL { wd:Q14866005 wdt:P7502 ?goldenId } }

What is the official name, Ensembl transcript IDs, chromosome, and Golden ID for the CRY1 gene in humans?

Please provide the English label, Ensembl transcript IDs, chromosome, and Golden ID for the CRY1 gene.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q14866005> ?var1 ?var2 . }


Question: What fictional materials are based on real-world materials, and do they have any qualifiers?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?fictionalEntity ( SAMPLE( ?qualifierProperty ) AS ?sampledQualifierProperty ) ?fictionalEntityLabel WHERE {
  {
    SELECT DISTINCT ?fictionalEntity ?statement WHERE {
      ?statement ps:P1074 wd:Q214609 .
      ?fictionalEntity p:P1074 ?statement .
    }
    LIMIT 101
  }
  OPTIONAL {
    ?statement ?qualifierProperty ?value .
    ?qualifierProperty wikibase:qualifier [] .
  }
  ?fictionalEntity rdfs:label ?fictionalEntityLabel .
  FILTER ( LANG( ?fictionalEntityLabel ) = "en" )
}
GROUP BY ?fictionalEntity ?fictionalEntityLabel

Which fictional entities are analogs of material, and what qualifiers are associated with those analogies?

List all fictional materials that are modeled after real materials, and show if any additional details (qualifiers) are attached to those relationships.

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


Question: What are the multilingual descriptions of Andrew Y. Ng on Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?description WHERE {
  wd:Q2846695 schema:description ?description .
}
LIMIT 10

Andrew Ng's descriptions in different languages

Show me how Andrew Y. Ng is described in various languages on Wikidata.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q2846695> ?var1 ?var2 . } LIMIT 10


Question: Who are some people whose occupation is writer?

SELECT ?writer WHERE { ?writer wdt:P106 wd:Q36180 } LIMIT 10

List writers by their occupation in Wikidata.

Show me ten examples of people who work as writers.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q36180> . } LIMIT 10


Question: Is the Haxtur Prize Author We Love a human or a subclass of human?

Is the Haxtur Prize Author We Love classified as a human or any type of human?

Confirm whether the Haxtur Prize Author We Love is a human or belongs to a category that is a subclass of human.

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


Question: What is the image associated with Iovianus Pontanus in Wikidata?

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

Can you show me the image linked to the SNAC ARK ID w6v69pnv?

Which image file on Wikimedia Commons represents the person identified by SNAC ARK ID w6v69pnv?

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


Question: What software is distributed as freeware?

SELECT ?item ?itemLabel WHERE { ?item wdt:P275 wd:Q178285 . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") }

Which digital works are licensed under the freeware license?

List the names of games and applications that are available for free but retain other rights reserved, under the freeware license.

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


Question: Human settlements or national parks with images and English Wikipedia pages

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?settlementLabel ?settlement ?image ?wikipediaPage WHERE {
  {
    ?settlement wdt:P31 / wdt:P279 * wd:Q486972 .
  } UNION {
    ?settlement wdt:P31 / wdt:P279 * wd:Q46169 .
  }
  ?settlement wdt:P18 ?image .
  ?wikipediaPage schema:about ?settlement ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  ?settlement rdfs:label ?settlementLabel .
  FILTER(LANG(?settlementLabel) = "en")
}
LIMIT 1

What is a human settlement or national park that has an image on Wikimedia Commons and an English Wikipedia article?

Show me one human settlement or national park along with its image and link to its English Wikipedia page.

SELECT DISTINCT ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 WHERE { SERVICE <http://wikiba.se/ontology#around> { ?var2 <http://www.wikidata.org/prop/direct/P625> ?var10 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#center> "POINT(30 56)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#radius> "10". } { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> . } UNION { ?var2 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q46169> . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . ?var2 <http://schema.org/description> ?var3 . } ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . ?var5 <http://schema.org/about> ?var2 . ?var5 <http://schema.org/inLanguage> "en". ?var5 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } LIMIT 1


Question: Does the GND ID 1073594475 exist in Wikidata?

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

Is there a person or organization in Wikidata with the German National Library ID 1073594475?

Check if the identifier 1073594475 from the German National Library is assigned to any entity in Wikidata.

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


Question: What are the English-labeled properties related to the location map property on 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/>
PREFIX schema: <http://schema.org/>
SELECT ?prop ?propLabel ?propDescription WHERE {
  wd:P1943 wdt:P1659 ?prop .
  ?prop rdfs:label ?propLabel .
  ?prop schema:description ?propDescription .
  FILTER(LANG(?propLabel) = "en")
  FILTER(LANG(?propDescription) = "en")
}

Which properties are listed as related to the location map (P1943) in Wikidata, along with their English labels and descriptions?

Show me the English labels and descriptions of all properties that are related to the location map property (P1943) on Wikidata.

SELECT ?var1 ?var2Label ?var3 WHERE { BIND ( <http://www.wikidata.org/prop/direct/P1943> AS ?var4 ). ?var5 ?var6 ?var4 . ?var5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var5 <http://www.wikidata.org/prop/direct/P1659> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . }


Question: Is there a football player on Wikidata with Transfermarkt ID 289592?

ASK WHERE { ?player wdt:P2446 "289592" }

Does the football player Orel Mangala have the Transfermarkt ID 289592?

Confirm if the Transfermarkt player ID 289592 corresponds to a football player in Wikidata.

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


Question: What is the album "Innuendo" by Queen, including its genre and release date?

SELECT DISTINCT ?album ?albumLabel ?genre ?genreLabel ?date ?performer ?performerLabel WHERE { ?album wdt:P31 wd:Q482994 . ?album rdfs:label ?albumLabel . FILTER(LANG(?albumLabel) = "en") OPTIONAL { ?album wdt:P136 ?genre . ?genre rdfs:label ?genreLabel . FILTER(LANG(?genreLabel) = "en") } OPTIONAL { ?album wdt:P577 ?date . } OPTIONAL { ?album wdt:P175 ?performer . ?performer rdfs:label ?performerLabel . FILTER(LANG(?performerLabel) = "en") } FILTER ( REGEX( ?albumLabel , "Innuendo" , "i" ) ) . FILTER ( REGEX( ?performerLabel , "Queen" , "i" ) ) . } LIMIT 10

Can you find the English-labeled album titled "Innuendo" performed by Queen, along with its genre and release year?

Which album has the title "Innuendo" and is performed by Queen? Show its genre and when it was released.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4 ?var4Label 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/Q482994> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var4 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . } FILTER ( ( REGEX ( ?var1Label , "Innuendo", "i" ) ) ) . FILTER ( ( REGEX ( ?var4Label , "Queen", "i" ) ) ) . } LIMIT 10


Question: Wikidata entities labeled "China" in English

SELECT ?entity WHERE { ?entity rdfs:label "China"@en . FILTER(STRSTARTS(STR(?entity), "http://www.wikidata.org/entity/Q")) }

Which entities in Wikidata have the English label "China"?

List all Wikidata items that are labeled "China" in English.

SELECT * WHERE { ?var1 ?var2Label "China"@en . } LIMIT 10


Question: What are some examples of events or occurrences 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 ?event ?eventLabel WHERE {
  ?event(wdt:P31 / wdt:P279 *) wd:Q1190554 .
  ?event rdfs:label ?eventLabel .
  FILTER(LANG(?eventLabel) = "en")
}
LIMIT 100

What types of events or happenings are classified as occurrences in Wikidata?

List the English-labeled instances and subclasses of "occurrence" (event) in Wikidata, up to 100 results.

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


Question: What resources or statements mention Elon Musk as their object?

SELECT ?property ?subject WHERE { ?subject ?property wd:Q317521 . } LIMIT 500

Which Wikipedia pages or Wikidata statements have Elon Musk as their value?

What properties link to Elon Musk as their object in Wikidata?

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


Question: Who is the French-named person named Aline Lahoud?

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

What is the Wikidata identifier for the human Aline Lahoud, as labeled in French?

Find the person named Aline Lahoud in French who is classified as a human.

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


Question: What languages are used in which countries or regions?

SELECT ?place ?placeLabel ?language ?languageLabel WHERE { ?place wdt:P2936 ?language . ?place rdfs:label ?placeLabel . ?language rdfs:label ?languageLabel . FILTER(LANG(?placeLabel) = "en") FILTER(LANG(?languageLabel) = "en") }

Which places have French, English, or other languages as their official or commonly used language?

List all locations and the languages they use.

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


Question: Which Wikidata items have Twitter usernames including Slate, Viquipedia, NLWales, PolkAwards, kungbib, VGautron, Pyb75, OFWAFRICA, Battersea_, or wwnorton?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterUsername WHERE {
  ?item wdt:P2002 ?twitterUsername .
  FILTER(STR(?twitterUsername) IN("Slate" , "Viquipedia" , "NLWales" , "PolkAwards" , "kungbib" , "VGautron" , "Pyb75" , "OFWAFRICA" , "Battersea_" , "wwnorton"))
}

What entities on Wikidata are associated with the Twitter handles "Slate", "Viquipedia", "NLWales", "PolkAwards", "kungbib", "VGautron", "Pyb75", "OFWAFRICA", "Battersea_", or "wwnorton"?

List all Wikidata items that use any of these Twitter usernames: Slate, Viquipedia, NLWales, PolkAwards, kungbib, VGautron, Pyb75, OFWAFRICA, Battersea_, or wwnorton.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "kungbib" ) ( "string2" ) ( "cdvost" ) ( "string3" ) ( "JSTOR" ) ( "carwash" ) ( "string4" ) ( "VGautron" ) ( "NLWales" ) ( "WIKI_NLW" ) ( "avaus" ) ( "Wikipedia" ) ( "string5" ) ( "string6" ) ( "Slate" ) ( "maartenzam" ) ( "string7" ) ( "clamskcl" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "tjukanov" ) ( "string12" ) ( "CityLab" ) ( "string13" ) ( "string14" ) ( "Anasuyashh" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "wwnorton" ) ( "newyorker" ) ( "GalaxyKate" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "flixtey" ) ( "OFWAFRICA" ) ( "Pyb75" ) ( "string24" ) ( "string25" ) ( "string26" ) ( "PolkAwards" ) ( "hondanhon" ) ( "string27" ) ( "string28" ) ( "NatMus_SWE" ) ( "Copylinda" ) ( "string29" ) ( "string30" ) ( "pupaid" ) ( "string31" ) ( "Battersea_" ) ( "string32" ) ( "Trustpilot" ) ( "hoaxeye" ) ( "string33" ) ( "string34" ) ( "string35" ) ( "Viquipedia" ) } } ORDER BY ASC( ?var3 )


Question: Image of the person with SNAC ARK ID w6b02tpk

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

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

Show me the Wikimedia Commons image of the individual identified by the SNAC ARK ID w6b02tpk.

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


Question: Humans with birth, death, occupation, or citizenship data in Wikidata

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?entity ?property WHERE {
  VALUES ?property {
    wdt:P19 wdt:P20 wdt:P21 wdt:P569 wdt:P570 wdt:P106 wdt:P27 wdt:P172 wdt:P108 wdt:P69
  }
  ?entity ?property ?value .
  ?entity wdt:P31 / wdt:P279 * wd:Q5 .
}
ORDER BY ?entity ?property
LIMIT 100

Which human individuals in Wikidata have recorded properties like place of birth, occupation, or date of death?

List all human entities and the properties they have, such as birth date, death place, or occupation, from Wikidata.

SELECT DISTINCT( CONCAT ( STR ( ?var1 ) , "#", SUBSTR ( STR ( ?var2 ) ,"37"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var3 ) WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P27> | <http://www.wikidata.org/prop/direct/P1340> | <http://www.wikidata.org/prop/direct/P26> | <http://www.wikidata.org/prop/direct/P569> | <http://www.wikidata.org/prop/direct/P19> | <http://www.wikidata.org/prop/direct/P3150> | <http://www.wikidata.org/prop/direct/P1477> | <http://www.wikidata.org/prop/direct/P570> | <http://www.wikidata.org/prop/direct/P20> | <http://www.wikidata.org/prop/direct/P551> | <http://www.wikidata.org/prop/direct/P1884> | <http://www.wikidata.org/prop/direct/P172> | <http://www.wikidata.org/prop/direct/P21> | <http://www.wikidata.org/prop/direct/P735> | <http://www.wikidata.org/prop/direct/P734> | <http://www.wikidata.org/prop/direct/P109> | <http://www.wikidata.org/prop/direct/P91> | <http://www.wikidata.org/prop/direct/P451> | <http://www.wikidata.org/prop/direct/P1576> | <http://www.wikidata.org/prop/direct/P103> | <http://www.wikidata.org/prop/direct/P1412> | <http://www.wikidata.org/prop/direct/P509> | <http://www.wikidata.org/prop/direct/P1196> | <http://www.wikidata.org/prop/direct/P106> | <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P937> | <http://www.wikidata.org/prop/direct/P69> | <http://www.wikidata.org/prop/direct/P812> | <http://www.wikidata.org/prop/direct/P512> | <http://www.wikidata.org/prop/direct/P25> | <http://www.wikidata.org/prop/direct/P22> | <http://www.wikidata.org/prop/direct/P40> | <http://www.wikidata.org/prop/direct/P1038> | <http://www.wikidata.org/prop/direct/P552> | <http://www.wikidata.org/prop/direct/P423> | <http://www.wikidata.org/prop/direct/P1559> | <http://www.wikidata.org/prop/direct/P990> | <http://www.wikidata.org/prop/direct/P1340> | <http://www.wikidata.org/prop/direct/P2031> | <http://www.wikidata.org/prop/direct/P2032> | <http://www.wikidata.org/prop/direct/P1317> ) ?var4 . ?var1 ?var2 ?var4 . FILTER ( ( NOT EXISTS { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> */ <http://www.wikidata.org/prop/direct/P1074> ?) <http://www.wikidata.org/entity/Q5> . } ) ) . } LIMIT 100


Question: What Wikidata properties have equivalents in other knowledge bases like Schema.org or VCard?

SELECT DISTINCT ?property ?equivalentProperty WHERE { ?property wdt:P1628 ?equivalentProperty . } LIMIT 110

Can you list the Wikidata properties and their corresponding equivalent properties in external ontologies?

Show me the mapping between Wikidata properties and their equivalent properties in other standards.

SELECT DISTINCT * WHERE { { ?var1 ?var2 <http://www.w3.org/2002/07/owl#equivalentProperty> . } } LIMIT 110


Question: Non-coding RNAs in E. coli K-12 MG1655 with alternative label "mcaS" or "b4426"

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P703 wd:Q21102938 .
  ?item wdt:P31 wd:Q427087 .
  {
    ?item skos:altLabel "mcaS" @en .
  } UNION {
    ?item skos:altLabel "b4426" @en .
  }
}

What non-coding RNA in Escherichia coli str. K-12 substr. MG1655 is alternatively labeled as "mcaS" or "b4426"?

List all non-coding RNAs found in E. coli K-12 MG1655 that have "mcaS" or "b4426" as an alternative name.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q21102938> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q427087> . { ?var1 ?var2Label "mcaS"@en . } UNION { ?var1 ?var3Label "mcaS"@en . } UNION { ?var1 ?var2Label "b4426"@en . } UNION { ?var1 ?var3Label "b4426"@en . } }


Question: Items that are both instances and subclasses of the highest honors of the USSR.

SELECT ?item ?itemLabel ?class ?classLabel WHERE { BIND( wd:Q4129802 AS ?class ) . ?item wdt:P31 ?class ; wdt:P279 ?class . ?item rdfs:label ?itemLabel . ?class rdfs:label ?classLabel . FILTER(LANG(?itemLabel) = "en") FILTER(LANG(?classLabel) = "en") }

Which award is both an instance of and a subclass of the highest honors of the USSR?

Show me any award that is classified both as an example of and a subtype of the highest honors of the USSR.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { BIND ( <http://www.wikidata.org/entity/Q4129802> AS ?var2 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 ; <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,en". } }


Question: French categories that include Islam as a topic

SELECT DISTINCT ?category ?label WHERE { ?category wdt:P971 wd:Q432 ; wdt:P31 wd:Q4167836 . ?category rdfs:label ?label . FILTER (LANG(?label) = "fr") }

What are the French-language categories on Wikidata that are associated with Islam?

List all French labels of categories that combine Islam as one of their topics.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> <http://www.wikidata.org/entity/Q432> ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . FILTER ( ( REGEX ( ?var3 , "string1" ) ) ) . }


Question: Image of Roscoe Drummond with SNAC ARK ID w6h1365p

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

Is there an image available for Roscoe Drummond, who has the SNAC ARK ID w6h1365p?

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

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


Question: Categories in English about mountains that combine topics and have no French label.

SELECT DISTINCT ?category ?categoryLabel ?topicLabel WHERE { ?category wdt:P971 ?topic ; wdt:P31 wd:Q4167836 . ?category rdfs:label ?categoryLabel . FILTER (LANG(?categoryLabel) = "en") FILTER (REGEX(?categoryLabel, "mountain", "i")) MINUS { ?category rdfs:label ?frLabel . FILTER (LANG(?frLabel) = "fr") } ?topic rdfs:label ?topicLabel . FILTER (LANG(?topicLabel) = "en") } LIMIT 10

What are the English-language categories about mountains that combine other topics and do not have a French label?

List categories related to mountains in English that intersect with other topics and are not labeled in French.

SELECT DISTINCT ?var1 ?var2 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P971> ?var3 ; <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4167836> . MINUS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "fr" ) ) ) . } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . FILTER ( ( REGEX ( ?var2 , "string1" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 10


Question: Composers born between 1900 and 1905 with their birth and death dates.

SELECT ?composer ?birth ?death WHERE { ?composer (wdt:P106 | wdt:P39) wd:Q36834 ; wdt:P569 ?birth ; wdt:P570 ?death . FILTER ( ?birth >= "1900-01-01"^^xsd:date && ?birth < "1905-01-01"^^xsd:date ) } LIMIT 10

Who are the composers born between 1900 and 1905, and when did they die?

List composers from the early 20th century (1900–1905) along with their birth and death years.

SELECT * WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P106> | <http://www.wikidata.org/prop/direct/P39> | <http://www.wikidata.org/prop/direct/P39> ) <http://www.wikidata.org/entity/Q36834> ; <http://www.wikidata.org/prop/direct/P569> ?var2 ; <http://www.wikidata.org/prop/direct/P570> ?var3 . FILTER ( ( ( "1900-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> <= ?var2 ) && ( ?var2 < "1905-01-01"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . } LIMIT 10


Question: List U.S. presidents with their start and end dates.

PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
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 ?person ?personLabel ?startDate ?endDate WHERE {
  ?person p:P39 [ ps:P39 wd:Q11696 ; pq:P580 ?startDate ; pq:P582 ?endDate ] .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}

Who have been the presidents of the United States, and when did their terms begin and end?

Show me the names, start dates, and end dates of all individuals who have held the office of President of the United States.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q13217683> ; <http://www.wikidata.org/prop/P39> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q13217683> ; <http://www.wikidata.org/prop/qualifier/P580> ?var2 ] ; <http://www.wikidata.org/prop/P30> [ <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q13217683> ; <http://www.wikidata.org/prop/qualifier/P582> ?var3 ] . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: UK MPs who left office due to reasons other than parliamentary dissolution

SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var2 wdt:P279* wd:Q16707842 . ?var1 p:P39 ?var3 . ?var3 ps:P39 ?var2 ; pq:P582 ?var4 ; pq:P768 ?var5 . FILTER ( NOT EXISTS { ?var3 pq:P1534 wd:Q741182 . } ) . ?var1 rdfs:label ?var1Label . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var1Label) = "en") FILTER(LANG(?var2Label) = "en") }

Who were the members of the UK Parliament whose terms ended for reasons other than dissolution?

List all individuals who served as UK Members of Parliament and left their seat due to causes other than the dissolution of parliament.

SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q16707842> . ?var1 <http://www.wikidata.org/prop/P39> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P39> ?var2 ; <http://www.wikidata.org/prop/qualifier/P582> ?var4 ; <http://www.wikidata.org/prop/qualifier/P768> ?var5 . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P1534> <http://www.wikidata.org/entity/Q741182> . } ) ) . FILTER ( ( NOT EXISTS { ?var6 <http://www.wikidata.org/prop/P39> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P39> ?var8 ; <http://www.wikidata.org/prop/qualifier/P580> ?var9 ; <http://www.wikidata.org/prop/qualifier/P768> ?var5 . FILTER ( ( ( ?var9 >= ?var4 ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What is the Wikidata item for the Banglapedia ID "Chandidas", and what is its English label and description?

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

Who is Chandidas, as identified by the Banglapedia (English) ID, and what is his English description?

Please provide the English name and description of the person whose Banglapedia (English) ID is "Chandidas".

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


Question: People with the surname Mangin

SELECT ?person WHERE { ?person wdt:P31 wd:Q5 . ?person wdt:P734 wd:Q37554849 . }

Who are the people with the last name Mangin?

List all humans whose family name is Mangin.

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


Question: Who has the IMDb ID nm2205824?

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

Which person is associated with the IMDb identifier nm2205824?

Tell me the name of the person with IMDb ID nm2205824.

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