Question: What properties describe Kreuzberg, and what are their values?

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

Can you list the direct properties of Kreuzberg along with their English labels and corresponding values?

Show me all the facts about Kreuzberg, such as its population, area, and neighboring areas, using human-readable property names.

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


Question: What is the German Wikipedia page for the movie with IMDb ID tt0376114?

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

Can you find the Wikipedia articles in English or German about the film with IMDb identifier tt0376114?

Show me the Wikipedia pages about the movie Raumpatrouille Orion – Rücksturz ins Kino in either English or German language.

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


Question: Is fluorine classified as a chemical element?

Does fluorine belong to the category of chemical elements, either directly or through inheritance?

Is fluorine a chemical element according to Wikidata’s classification hierarchy?

ASK WHERE { <http://www.wikidata.org/entity/Q650> ( <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: What are the English and German Wikipedia pages for the movie with IMDb ID tt0116401?

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

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

Which Wikipedia pages in English and German discuss the movie Generation X?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0116401". } ?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: Historical publications or events that started between 1859 and 1869 and ended between 1869 and 1879.

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item ?startDate ?endDate WHERE {
  ?item wdt:P580 ?startDate .
  ?item wdt:P582 ?endDate .
  FILTER ( ?startDate >= "1859-01-01T00:00:00Z" ^^ xsd:dateTime && ?startDate <= "1869-12-31T23:59:59Z" ^^ xsd:dateTime ) FILTER ( ?endDate >= "1869-01-01T00:00:00Z" ^^ xsd:dateTime && ?endDate <= "1879-12-31T23:59:59Z" ^^ xsd:dateTime )
}

Which historical items began in the late 1860s and ended in the early 1870s?

List all documented events or publications that were active during the transition from the 1860s to the 1870s, specifically those starting between 1859 and 1869 and ending between 1869 and 1879.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= "1859-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1869-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= "1869-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= "1879-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Wikipedia pages in English, German, or Japanese about the movie with IMDb ID tt0803021.

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

What are the English, German, and Japanese Wikipedia articles for the film with IMDb ID tt0803021?

Show me the Wikipedia links in English, Japanese, and German for the movie identified by tt0803021 on IMDb.

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


Question: Wikipedia articles in English, German, or Turkish about the movie with IMDb ID tt0252489

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

Which language versions of Wikipedia have articles about the movie with IMDb ID tt0252489?

Show me the English, German, and Turkish Wikipedia pages for the movie identified by IMDb ID tt0252489.

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


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

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

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt7862330". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } UNION { ?var2 <http://schema.org/inLanguage> "tr". } ?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 German and Turkish Wikipedia pages for the film with IMDb ID tt0494501?

SELECT ?film ?wikipedia_page WHERE { ?film wdt:P345 "tt0494501" . ?wikipedia_page schema:about ?film ; schema:inLanguage ?lang . VALUES ?lang { "de" "tr" } }

Which language versions of Wikipedia have articles about the movie "Hababam Sınıfı Üç Buçuk"?

Show me the Wikipedia links in German and Turkish for the movie identified by tt0494501 on IMDb.

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


Question: What Wikipedia or related pages in English, German, or Turkish are about the movie with IMDb ID tt0253997?

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

Which language versions of Wikipedia or Wikiquote pages discuss the film 'The King of the Street Cleaners' (IMDb: tt0253997)?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0253997". } ?var2 <http://schema.org/about> ?var1 . { ?var2 <http://schema.org/inLanguage> "en". } UNION { ?var2 <http://schema.org/inLanguage> "de". } UNION { ?var2 <http://schema.org/inLanguage> "tr". } ?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, German, and Turkish Wikipedia pages for the movie with IMDb ID tt1513713?

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

Show me the Wikipedia articles in English, German, or Turkish about the film "Love in Another Language".

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

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


Question: Wikipedia and Commons pages in English or German about the movie with IMDb ID tt0025830

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

What English and German Wikipedia pages are linked to the movie "The Star Packer" on IMDb?

Show me the English and German language pages about the movie identified by IMDb ID tt0025830.

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

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

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

Show me the English and German Wikipedia links for the movie identified by tt0102351 on IMDb.

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

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

Which English and German language Wikipedia pages are about the film identified by IMDb ID tt0482571?

Show me the English and German Wikipedia pages related to the movie "The Prestige" (IMDb: tt0482571).

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


Question: How many academic papers citing the Zika virus mutation study have authors, grouped by publication year?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year(COUNT(DISTINCT ?citing_work) AS ?count) ?has_author WHERE {
  BIND(wd:Q41352462 AS ?target_article)
  ?citing_work wdt:P2860 ?target_article .
  ?citing_work wdt:P577 ?pub_date .
  BIND(STR(YEAR(?pub_date)) AS ?year)
  OPTIONAL {
    ?citing_work wdt:P50 ?author .
    BIND("has_author" AS ?has_author_temp)
  }
  BIND(COALESCE(?has_author_temp , "no_author") AS ?has_author)
}
GROUP BY ?year ?has_author
ORDER BY DESC(?year)

For each year since 2017, how many papers citing the study on Zika virus prM protein mutation have known authors versus no authors?

Show me the number of papers that cite the 2017 Zika virus study, broken down by year and whether they list authors or not.

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


Question: U.S. presidents since 1970, their spouses, images, series ordinal, and number of daughters.

SELECT DISTINCT
  ?presidentLabel
  ?spouseLabel
  (SAMPLE(?img_pres) AS ?presidentImage)
  (SAMPLE(?img_sp) AS ?spouseImage)
  ?seriesOrdinal
  (COUNT(?daughter) AS ?daughterCount)
WHERE {
  ?president wdt:P31 wd:Q5 .
  ?president p:P39 ?presidency .
  ?presidency ps:P39 wd:Q11696 .
  ?presidency pq:P580 ?startDate .
  ?presidency pq:P1545 ?seriesOrdinal .

  ?president wdt:P26 ?spouse .
  ?president wdt:P40 ?daughter .
  ?daughter wdt:P21 wd:Q6581072 .

  OPTIONAL { ?president wdt:P18 ?img_pres . }
  OPTIONAL { ?spouse wdt:P18 ?img_sp . }

  FILTER (YEAR(?startDate) >= 1970)

  ?president rdfs:label ?presidentLabel .
  ?spouse rdfs:label ?spouseLabel .
  FILTER(LANG(?presidentLabel) = "en")
  FILTER(LANG(?spouseLabel) = "en")
}
GROUP BY ?presidentLabel ?spouseLabel ?seriesOrdinal
ORDER BY ASC(?seriesOrdinal)

Which U.S. presidents since 1970 had daughters, and who were their spouses? Include the president’s and spouse’s images, the order of their presidency, and how many daughters they had.

List all U.S. presidents who took office in or after 1970, along with their spouses, images of both, the sequence number of their presidency, and the count of their female children.

SELECT DISTINCT ?var1Label ?var2Label ?var3 ?var4 ?var5 ( COUNT ( ?var6 ) AS ?var7 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var8 . ?var8 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var8 <http://www.wikidata.org/prop/qualifier/P580> ?var9 . ?var8 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P40> ?var6 . ?var6 <http://www.wikidata.org/prop/direct/P21> <http://www.wikidata.org/entity/Q6581072> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P18> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } FILTER ( ( ( YEAR ( ?var9 ) >= "1970"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var1Label ?var2Label ?var3 ?var4 ?var5 ORDER BY ASC( ?var5 )


Question: What is the founding date of the San Francisco Art Institute, and is it still active?

SELECT ?var1Label ?founded ?dissolved WHERE { BIND( wd:Q586735 AS ?var1 ) . OPTIONAL { ?var1 wdt:P571 ?founded . } OPTIONAL { ?var1 wdt:P576 ?dissolved . } ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

When was the San Francisco Art Institute established, and when did it close?

Provide the name and founding year of the San Francisco Art Institute.

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


Question: Birth and death dates of Edith Lucile Howard

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

When were Edith Lucile Howard born and when did she die?

What are the birth and death dates of the painter Edith Lucile Howard, and what is her full name?

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


Question: Edward Buncombe's date of birth and date of death

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

When was Edward Buncombe born and when did he die?

Can you tell me the birth and death dates of Edward Buncombe, the Continental Army officer?

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


Question: What are the birth and death dates of Warren E. Burger?

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

Can you tell me when Warren E. Burger was born and when he died?

Provide the full name, birth date, and death date of the former Chief Justice of the United States, Warren E. Burger.

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


Question: What is the date of birth of Joe F. Edwards, and is he deceased?

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

Tell me Joe F. Edwards' birth date and whether he has passed away.

When was astronaut Joe F. Edwards born, and what is his date of death?

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


Question: What is the date of birth of astronaut Andrew J. Feustel, and is he deceased?

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

Can you tell me Andrew J. Feustel’s full name and when he was born?

What are the birth and death dates for the American astronaut Andrew J. Feustel?

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


Question: Is Anthony van Dyck a human?

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

Does Anthony van Dyck belong to the category of humans?

Confirm that Anthony van Dyck is classified as a human in Wikidata.

ASK WHERE { <http://www.wikidata.org/entity/Q49182576> ( <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: Works published in periodicals with "science" in the title.

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 ?work ?workLabel ?periodical ?periodicalLabel WHERE {
  ?work wdt:P1433 ?periodical .
  ?periodical wdt:P31 wd:Q1002697 ; rdfs:label ?periodicalLabel .
  FILTER ( CONTAINS( LCASE( ?periodicalLabel ) , "science" ) ) .
  FILTER ( LANG( ?periodicalLabel ) = "en" ) .
  ?work rdfs:label ?workLabel .
  FILTER ( LANG( ?workLabel ) = "en" ) .
}

What scientific articles are published in English-language periodicals whose names include the word "science"?

List all English-language works and the English-language periodicals they were published in, where the periodical’s name contains "science".

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1002697> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( CONTAINS ( LCASE ( ?var2Label ) , "string1" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } GROUP BY ?var1 ?var1Label ?var2 ?var2Label


Question: Most used property to link items to Universal Product Code (UPC)

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

Which property is most commonly used to associate items with the Universal Product Code (UPC)?

Show the property that links the most items to the Universal Product Code (UPC).

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


Question: Image of Richard Lippold with SNAC ARK ID w6ks78g8

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

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

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

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


Question: Rivers with Slovenian Wikipedia articles but no Russian Wikipedia articles.

SELECT ?river (SAMPLE(?label) AS ?riverLabel) WHERE { ?river wdt:P31 wd:Q4022 . ?river rdfs:label ?label . FILTER (LANG(?label) != "") FILTER EXISTS { ?wikipedia schema:about ?river ; schema:inLanguage "sl" . } FILTER NOT EXISTS { ?wikipedia schema:about ?river ; schema:inLanguage "ru" . } } GROUP BY ?river

Which rivers are documented in Slovenian Wikipedia but not in Russian Wikipedia?

List rivers that have a Slovenian Wikipedia page but do not have a Russian Wikipedia page, along with their names.

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


Question: Humans with "Montille" in their French name, excluding those with "Montillet".

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

Who are the French people whose names include "Montille" but not "Montillet"?

List all humans whose French label contains "Montille" but does not contain "Montillet".

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


Question: Who are the humans with the name "Ribreau" in their French label?

SELECT DISTINCT ?item WHERE { ?item rdfs:label ?label . FILTER(LANG(?label) = 'fr') . FILTER(CONTAINS(?label, "Ribreau")) . ?item wdt:P31 wd:Q5 . }

Find people named Ribreau in French-language labels on Wikidata.

List all humans whose French name includes "Ribreau".

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


Question: Human with Freebase ID /m/02qyzfp

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 ?human ?humanLabel WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P646 "/m/02qyzfp" .
  ?human rdfs:label ?humanLabel .
  FILTER ( LANG( ?humanLabel ) = "en" )
}

Who is the human with the Freebase ID "/m/02qyzfp"?

Find the English label of the human entity identified by the Freebase ID "/m/02qyzfp".

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P646> "/m/02qyzfp". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ko,en". } }


Question: What are the names of mountains in English?

SELECT ?mountainLabel WHERE { ?mountain wdt:P31 wd:Q8502 . ?mountain rdfs:label ?mountainLabel . FILTER(LANG(?mountainLabel) = "en") }

Can you list the English labels of all entities classified as mountains in Wikidata?

Show me the English names of all geographical features that are instances of mountains.

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


Question: How many instances of architectural ensemble and metro station are there in Wikidata?

SELECT ?class (COUNT(DISTINCT ?instance) AS ?count) WHERE { VALUES ?class { wd:Q1497375 wd:Q928830 } ?instance wdt:P31 ?class . } GROUP BY ?class

How many distinct entities are classified as architectural ensembles and how many as metro stations in Wikidata?

Please count the number of instances for architectural ensembles and metro stations in Wikidata.

SELECT ?var1 ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1497375> ) ( <http://www.wikidata.org/entity/Q928830> ) } ?var2 <http://www.wikidata.org/prop/direct/P31> ?var1 . } GROUP BY ?var1


Question: List of television pilot episodes in English.

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 ?pilot ?pilotLabel WHERE {
  ?pilot wdt:P31 wd:Q653916 .
  ?pilot rdfs:label ?pilotLabel .
  FILTER ( LANG( ?pilotLabel ) = "en" )
}

What are the English titles of television pilot episodes?

Show me the names of all TV pilot episodes that have English labels.

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


Question: List English-labeled disambiguation pages on Wikidata.

SELECT ?disambiguationPage ?disambiguationPageLabel WHERE { ?disambiguationPage wdt:P31 wd:Q4167836 . ?disambiguationPage rdfs:label ?disambiguationPageLabel . FILTER(LANG(?disambiguationPageLabel) = "en") }

What are the English-named category pages on Wikidata that serve as disambiguation pages?

Show me the labels in English for all Wikidata items that are disambiguation pages.

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


Question: What are the main topics of articles published in the journal Atherosclerosis?

SELECT ?article ?topic WHERE { ?article wdt:P1433 wd:Q4813570 . ?article wdt:P921 ?topic . }

Show me all research articles from the journal Atherosclerosis and their primary subjects.

Which diseases, locations, or concepts are most commonly studied in papers published in Atherosclerosis?

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q4813570> . ?var1 <http://www.wikidata.org/prop/direct/P921> ?var2 . }


Question: List all James Bond films in order, including their release year, IMDb ID, actor who played Bond, director(s), duration, and Box Office Mojo ID.

SELECT ?ordinal
       (MIN(YEAR(?releaseDate)) AS ?year)
       ?title
       ?imdb
       ?castLabel
       (GROUP_CONCAT(DISTINCT ?directorLabel; SEPARATOR=", ") AS ?directors)
       ?duration
       ?boxOfficeId
WHERE {
  ?film p:P179 ?seriesStmt .
  ?seriesStmt ps:P179 wd:Q2484680 .
  ?seriesStmt pq:P1545 ?ordinal .

  ?film p:P161 ?castStmt .
  ?castStmt ps:P161 ?cast .
  ?castStmt pq:P453 wd:Q2009573 .

  OPTIONAL { ?cast rdfs:label ?castLabel . FILTER(LANG(?castLabel) = "en") }

  OPTIONAL { ?film wdt:P57 ?director . }
  OPTIONAL { ?director rdfs:label ?directorLabel . FILTER(LANG(?directorLabel) = "en") }

  ?film wdt:P345 ?imdb .
  ?film wdt:P577 ?releaseDate .
  ?film wdt:P1476 ?title .

  OPTIONAL { ?film wdt:P1237 ?boxOfficeId . }
  OPTIONAL { ?film wdt:P2047 ?duration . }

}
GROUP BY ?film ?title ?imdb ?ordinal ?castLabel ?duration ?boxOfficeId
ORDER BY ASC(xsd:integer(?ordinal))

What are the titles, release years, directors, and actors of all official James Bond movies, ordered by their sequence in the series?

Show me the complete filmography of the James Bond movie series, with each film’s ordinal number, release year, IMDb code, lead actor, director(s), runtime, and Box Office Mojo identifier.

SELECT ?var1 ( MIN ( YEAR ( ?var2 ) ) AS ?var3 ) ?var4 ?var5 ?var4Label ?var6Label ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = ", " ) AS ?var8 )( SAMPLE ( ?var9 ) AS ?var9 ) ?var10 ( SAMPLE ( ?var11 ) AS ?var11 ) WHERE { ?var4 <http://www.wikidata.org/prop/P179> ?var12 . ?var12 <http://www.wikidata.org/prop/statement/P179> <http://www.wikidata.org/entity/Q2484680> . ?var12 <http://www.wikidata.org/prop/qualifier/P1545> ?var1 . ?var4 <http://www.wikidata.org/prop/P161> ?var13 . ?var13 <http://www.wikidata.org/prop/qualifier/P453> <http://www.wikidata.org/entity/Q2009573> . ?var13 <http://www.wikidata.org/prop/statement/P161> ?var6 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P57> ?var14 . ?var14 <http://www.w3.org/2000/01/rdf-schema#label> ?var7 . FILTER ( ( ( LANG ( ?var7 ) = "en" ) ) ) . } ?var4 <http://www.wikidata.org/prop/direct/P345> ?var10 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1237> ?var11 . } ?var4 <http://www.wikidata.org/prop/direct/P577> ?var2 . ?var4 <http://www.wikidata.org/prop/direct/P1476> ?var5 . OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P2047> ?var9 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } } GROUP BY ?var4 ?var5 ?var4Label ?var10 ?var1 ?var6 ?var6Label ORDER BY ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) )


Question: Human settlements named Newport in the United Kingdom and their coordinates.

SELECT ?settlement ?label ?coordinates WHERE { ?settlement wdt:P31/wdt:P279* wd:Q486972 ; wdt:P17 wd:Q145 ; rdfs:label ?label ; wdt:P625 ?coordinates . FILTER (LANG(?label) = "en") FILTER (REGEX(?label, "Newport")) }

What are the English-named human settlements in the United Kingdom that contain "Newport" in their name, and where are they located?

List all places in the UK called Newport (or containing Newport in their name), along with their geographic coordinates.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q486972> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q145> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . FILTER ( ( REGEX ( ?var1Label , "Newport" ) ) ) . }


Question: Who are some notable people diagnosed with systemic lupus erythematosus?

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

Can you list the names of celebrities who have systemic lupus erythematosus?

Which individuals have been reported to have the autoimmune disease SLE?

SELECT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { OPTIONAL { } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var2 <http://www.wikidata.org/prop/direct/P1050> <http://www.wikidata.org/entity/Q1485> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1603> ?var3 . } }


Question: People who identify as transgender and their gender identity label

SELECT ?person ?personLabel ?gender ?genderLabel WHERE { ?person wdt:P31 wd:Q5 ; wdt:P21 wd:Q189125 . OPTIONAL { ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en") } OPTIONAL { wd:Q189125 rdfs:label ?genderLabel . FILTER(LANG(?genderLabel) = "en") } }

Who are the humans in Wikidata whose gender identity is transgender, and what is the label for that identity?

List the English labels of people whose gender identity is transgender, along with the label for "transgender".

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/Q189125> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> "20"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P21> . } } UNION { 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/Q189125> ; <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> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> "20"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P21> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P21> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Companies that produce costume accessories and their countries and founding years.

SELECT ?company ?companyLabel ?country ?foundingYear WHERE { ?company p:P1056 ?statement . ?statement ps:P1056 wd:Q1065579 . OPTIONAL { ?company wdt:P17 ?country . } OPTIONAL { ?company wdt:P571 ?foundingYear . } ?company rdfs:label ?companyLabel . FILTER(LANG(?companyLabel) = "en") } LIMIT 100

Which companies make costume accessories, and in which countries were they founded?

List companies that produce costume accessories, along with their country of origin and founding year, if available.

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


Question: Is József Farkas a type of software?

Is József Farkas an instance of a class that is a subclass of software?

Confirm whether József Farkas belongs to any category that is a subclass of software.

ASK WHERE { <http://www.wikidata.org/entity/Q996293> ( <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: Geographical features in Austria with GeoNames IDs and coordinates

SELECT ?item ?geonamesId ?coordinates WHERE { ?item wdt:P1566 ?geonamesId . ?item wdt:P17 wd:Q40 . ?item wdt:P625 ?coordinates . }

What are the coordinates and GeoNames IDs of all geographical locations in Austria?

List all places in Austria that have a GeoNames ID and their corresponding geographic coordinates.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q40> . ?var1 <http://www.wikidata.org/prop/P625> ?var3 . }


Question: Is the song "It Takes Time" by Anne Murray classified as a human?

Does the 1971 song "It Takes Time" belong to the category of humans or any of its subclasses?

Confirm whether "It Takes Time" is a human or a type of human.

ASK WHERE { <http://www.wikidata.org/entity/Q16995173> ( <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: Institutions where mathematicians from the Russian Empire, Soviet Union, or Russia worked, along with their locations.

SELECT ?employer ?employerLabel ?location WHERE { ?mathematician wdt:P106 wd:Q170790 . ?mathematician wdt:P27 ?citizenship . FILTER ( ?citizenship IN (wd:Q34266, wd:Q15180, wd:Q159) ) . ?mathematician wdt:P108 ?employer . ?employer wdt:P625 ?location . ?employer rdfs:label ?employerLabel . FILTER(LANG(?employerLabel) = "en") }

Where did mathematicians who were citizens of the Russian Empire, Soviet Union, or Russia work, and what are the geographic coordinates of those institutions?

Show me the names and locations of organizations that employed mathematicians from Russia, the Soviet Union, or the Russian Empire.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q170790> . ?var3 <http://www.wikidata.org/prop/direct/P27> ?var4 . FILTER ( ( ( ?var4 = <http://www.wikidata.org/entity/Q34266> ) || ( ?var4 = <http://www.wikidata.org/entity/Q15180> ) || ( ?var4 = <http://www.wikidata.org/entity/Q159> ) ) ) . ?var3 <http://www.wikidata.org/prop/direct/P108> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What geographic and administrative regions are connected to the German submarine U-47 through its construction location or country of registry?

SELECT DISTINCT ?location WHERE { wd:Q638673 (wdt:P8047|wdt:P1071)* ?intermediate . ?intermediate (wdt:P17|wdt:P131|wdt:P30)* ?location .}

Show all places associated with U-47, including where it was built and which country it belonged to, and their higher-level administrative divisions.

Find all countries, states, and continents linked to the U-47 submarine via its place of construction or registry.

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


Question: What are all the superclass categories of the Minister for the Arts position in Wikidata?

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

What classes does the position of Minister for the Arts belong to, including all its parent categories in the hierarchy?

Show me the complete hierarchy of classes that the Minister for the Arts is a subclass of, going up to the most general category.

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


Question: Wikidata items with Encyclopædia Britannica ID containing "campania" and "place/"

SELECT DISTINCT ?item ?id WHERE { ?item wdt:P1417 ?id . FILTER ( REGEX( ?id, "campania", "i" ) && REGEX( ?id, "place/" ) ) }

Which places in Wikidata have an Encyclopædia Britannica Online ID that includes "campania"?

Show me the geographic regions in Wikidata whose Encyclopædia Britannica article IDs contain "campania" and start with "place/"

SELECT DISTINCT * WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P1417> ?var2 . FILTER ( ( REGEX ( ?var2 , "campania" ) ) ) . FILTER ( ( REGEX ( ?var2 , "place/" ) ) ) . } }


Question: What paintings are held in museums located in Kraków?

SELECT ?painting ?paintingLabel ?locationLabel WHERE { ?painting wdt:P31 wd:Q3305213 ; wdt:P276 ?location . ?location wdt:P276 wd:Q31487 . ?painting rdfs:label ?paintingLabel . ?location rdfs:label ?locationLabel . FILTER(LANG(?paintingLabel) = "en") FILTER(LANG(?locationLabel) = "en") }

Can you list paintings from Kraków’s museums along with the names of those museums?

Which artworks classified as paintings are located in institutions based in the city of Kraków?

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


Question: What properties are used to link other entities to Pierre Creton, and how often, excluding those used only once?

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

Which properties connect other items to the Wikidata entity for Pierre Creton, and which ones appear more than once?

Show me the properties that reference Pierre Creton in Wikidata, sorted by how many times they’re used, but only include those used more than once.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q3384572> . 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 paintings feature the Île de la Grande Jatte?

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 ?artwork ?artworkLabel WHERE {
  ?artwork wdt:P180 wd:Q1902319 .
  OPTIONAL {
    ?artwork rdfs:label ?artworkLabel .
    FILTER ( LANG( ?artworkLabel ) = "en" )
  }
}
ORDER BY ASC ( ?artworkLabel )

Which artworks depict the island of La Grande Jatte in France?

Show me all works of art that show the Île de la Grande Jatte, sorted alphabetically by title.

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


Question: Music artists by occupation

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 ?musician ?musicianLabel WHERE {
  ?musician wdt:P106 wd:Q1294626 .
  ?musician rdfs:label ?musicianLabel .
  FILTER(LANG(?musicianLabel) = "en")
}

Who are the people whose occupation is music artist?

List the names of all music artists in Wikidata.

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


Question: Villages and communes in the Transnistrian region of Moldova with their Romanian names and containing administrative units.

SELECT DISTINCT ?settlement ?settlementLabel (GROUP_CONCAT(?administrativeUnitLabel; SEPARATOR=", ") AS ?administrativeUnits)
WHERE {
  VALUES ?settlementType {
    wd:Q532          # village
    wd:Q4229812      # commune of Moldova (subclass)
  }
  ?settlement wdt:P31/wdt:P279* ?settlementType .
  ?settlement wdt:P17 wd:Q217 .                    # located in Moldova
  ?settlement wdt:P131 wd:Q648767 .                # located in Left Bank of Dniester
  ?settlement wdt:P131 ?administrativeUnit .
  ?administrativeUnit rdfs:label ?administrativeUnitLabel .
  FILTER(LANG(?administrativeUnitLabel) = "ro")
  ?settlement rdfs:label ?settlementLabel .
  FILTER(LANG(?settlementLabel) = "ro")
}
GROUP BY ?settlement ?settlementLabel

What are the Romanian names of villages and communes in the Left Bank of the Dniester, and which administrative subdivisions (like raions) do they belong to?

List all villages and communes in Moldova’s Transnistrian region along with their Romanian labels and the hierarchy of Romanian-named administrative units they are part of.

SELECT DISTINCT ?var1 ?var1Label ( GROUP_CONCAT ( ?var2Label ; SEPARATOR = ", " ) AS ?var3 ) WHERE { VALUES ( ?var4 ) { ( <http://www.wikidata.org/entity/Q532> ) ( <http://www.wikidata.org/entity/Q4229812> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q217> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q648767> . ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "ro" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ro". } } GROUP BY ?var1 ?var1Label


Question: Names of people who have served as U.S. Secretary of State

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?person ?name WHERE {
  ?person wdt:P39 wd:Q14213 .
  OPTIONAL {
    ?person wdt:P1559 ?name .
  }
}
LIMIT 100

Who are the individuals that have held the position of U.S. Secretary of State, and what are their names?

List the names of all U.S. Secretaries of State from Wikidata.

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


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

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

Can you show me the Commons image for Ron Nyswaner?

Find the image associated with the Social Networks and Archival Context identifier w6n30hkk.

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


Question: What properties are commonly used to describe people who have held the office of United States Secretary of State, and what are their English labels and descriptions?

SELECT DISTINCT ?propertyItem ?label ?description WHERE { ?person wdt:P39 wd:Q14213 . ?person ?prop ?value . FILTER (STRSTARTS(STR(?prop), "http://www.wikidata.org/prop/direct/")) . BIND(SUBSTR(STR(?prop), 37) AS ?propId) . BIND(IRI(CONCAT("http://www.wikidata.org/entity/", ?propId)) AS ?propertyItem) . ?propertyItem rdfs:label ?label . ?propertyItem schema:description ?description . FILTER (LANG(?label) = "en") FILTER (LANG(?description) = "en") } LIMIT 100

List the English labels and descriptions of all properties used in statements about individuals who served as U.S. Secretary of State.

Which properties describe U.S. Secretaries of State, and what do they mean in English?

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/Q14213> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: What Wikimedia Commons files are associated with the engraver Daniel Havell?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?file ?categoryName WHERE {
  wd:Q18325155 wdt:P373 ?categoryName .
  ?file schema:about wd:Q18325155 ; schema:isPartOf <https://commons.wikimedia.org/> .
}
LIMIT 10

Can you show me the Commons category for Daniel Havell and any media files linked to him?

Which images or files on Wikimedia Commons are about Daniel Havell, and what is the category they belong to?

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { BIND ( CONCAT ( "Category:", ?var4 ) AS ?var5 ). ?var2 <http://schema.org/about> <http://www.wikidata.org/entity/Q18325155> . ?var2 <http://schema.org/isPartOf> <https://commons.wikimedia.org/> . <http://www.wikidata.org/entity/Q18325155> <http://www.wikidata.org/prop/direct/P373> ?var4 . ?var2 <http://schema.org/name> ?var5 . } LIMIT 10


Question: Which property is most frequently used to link other items to Fort Zeelandia in Wikidata?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?property ( COUNT( ?property ) AS ?count ) WHERE {
  ?item ?prop wd:Q20706255 .
  ?property wikibase:directClaim ?prop .
  ?property rdf:type wikibase:Property .
}
GROUP BY ?property
ORDER BY DESC ( ?count )
LIMIT 1

Most used property connecting entities to Fort Zeelandia (Q20706255)

Show me the property that has the highest number of connections to Fort Zeelandia, along with how many times it's used.

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


Question: Churches in Jura with and without Clochers de France IDs

SELECT ?category WHERE {
  {
    SELECT("Avec" AS ?category) WHERE {
    }
  } UNION {
    SELECT("Sans" AS ?category) WHERE {
    }
  }
}
ORDER BY ASC(?category)

Are there church buildings in the Jura department that have and do not have a Clochers de France ID?

List the categories of church buildings in Jura based on whether they have a Clochers de France ID.

SELECT ?var1 ?var2 WHERE { { SELECT( "Avec" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3120> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . ?var3 <http://www.wikidata.org/prop/direct/P3963> ?var5 . } } UNION { SELECT( "Sans" AS ?var1 )( COUNT ( DISTINCT ?var3 ) AS ?var2 ) WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". ?var4 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q3120> . ?var3 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16970> . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P3963> [] . } } } } ORDER BY ASC( ?var1 )


Question: SKBL ID entries in Wikidata and their Wikipedia sitelink counts

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?skblId ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P4963 ?skblId .
  OPTIONAL {
    ?sitelink schema:about ?item ; schema:isPartOf ?wikipedia .
  }
}
GROUP BY ?item ?skblId

How many Wikipedia articles are linked to each person listed in the Svenskt kvinnobiografiskt lexikon on Wikidata?

List all individuals from the Swedish Biographical Dictionary of Women with their SKBL IDs and the number of Wikipedia pages about them.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4963> ?var3 . ?var1 <http://wikiba.se/ontology#sitelinks> ?var2 . }


Question: What is the English description of Martin Luther King Jr. in the New Georgia Encyclopedia?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P4903 "arts-culture/martin-luther-king-jr-1929-1968" .
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" ) .
  }
}

English description of Martin Luther King Jr. from the New Georgia Encyclopedia.

Show me the English Wikipedia-style description of Martin Luther King Jr. as listed in the New Georgia Encyclopedia.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4903> "ves-childs". 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: Classes of entities named "Toast"

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?toast ?classLabel WHERE {
  {
    ?toast rdfs:label "Toast" @en .
    ?toast wdt:P31 ?class .
  } UNION {
    ?toast skos:altLabel "Toast" @en .
    ?toast wdt:P31 ?class .
  }
  ?class rdfs:label ?classLabel .
  FILTER(LANG(?classLabel) = "en")
}

What types of things are called "Toast"?

List the categories that items labeled "Toast" belong to.

SELECT DISTINCT ?var1 ?var2Label WHERE { { ?var1 ?var3Label "Toast"@en . ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } UNION { ?var1 ?var4 "Toast"@en . ?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: French songs with performers and genres

SELECT ?song ?songLabel ?performer ?genre WHERE { ?song wdt:P31 wd:Q7366 . ?song wdt:P407 wd:Q150 . OPTIONAL { ?song wdt:P175 ?performer . } OPTIONAL { ?song wdt:P136 ?genre . } ?song rdfs:label ?songLabel . FILTER(LANG(?songLabel) = "en") } LIMIT 100

What are French-language songs, and who performed them and what genres do they belong to?

List French songs along with their performers and musical genres.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q7366> . ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q150> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P175> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var3 . } }


Question: French-named humans with "Philly" in their name

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

Who are the people in Wikidata with French labels containing "Philly"?

List all humans whose French label includes the word "Philly".

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


Question: People with the family name Vermeersch.

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

Who are the humans whose family name is Vermeersch?

List all people who have Vermeersch as their surname.

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


Question: Entities with a GTAA ID.

SELECT ?item WHERE { ?item wdt:P1741 ?gtaaId . } LIMIT 1000

Which entities in Wikidata are assigned a GTAA ID?

List up to 1000 items that have a GTAA identifier.

Describe ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1741> ?var2 . } LIMIT 1000


Question: Who is the French-labeled person named Étienne Arnal in Wikidata?

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

Can you find the human entity in Wikidata whose French label is "Étienne Arnal"?

Show me the Wikidata item for Étienne Arnal, a French-labeled human.

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


Question: Is The Beatles a type of software?

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

Does The Beatles belong to any category that is a subclass of software?

Are The Beatles considered software according to Wikidata’s classification hierarchy?

ASK WHERE { <http://www.wikidata.org/entity/Q1299> ( <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: What are some examples of bureaucratic positions?

SELECT ?bureaucratType ?bureaucratTypeLabel WHERE { ?bureaucratType wdt:P279* wd:Q572700 . ?bureaucratType rdfs:label ?bureaucratTypeLabel . FILTER(LANG(?bureaucratTypeLabel) = "en") }

What are all the specific roles that are considered subclasses of a bureaucrat?

List all English-labeled bureaucratic job titles that are subtypes of bureaucrat.

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


Question: Television programs with Freebase IDs

SELECT ?program ?programLabel ?freebaseId WHERE { ?program (wdt:P31/wdt:P279*) wd:Q15416 . ?program wdt:P646 ?freebaseId . ?program rdfs:label ?programLabel . FILTER(LANG(?programLabel) = "en") }

What are the names and Freebase IDs of all TV shows and programs?

List all television programs along with their Freebase identifiers and English titles.

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


Question: List all minor localities in Sweden with their Swedish names, sorted alphabetically.

SELECT ?locality ?label WHERE { ?locality wdt:P31 wd:Q14839548 . ?locality rdfs:label ?label . FILTER(LANG(?label) = "sv") } ORDER BY ASC(?label)

What are the Swedish names of all minor localities in Sweden, ordered alphabetically?

Show me the Swedish-labeled minor localities in Sweden, sorted by name.

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


Question: Does Wikidata contain an entity with GND ID 119299054?

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

Is there a person in Wikidata identified by the German National Library ID 119299054?

Confirm whether the GND identifier 119299054 is linked to any entity in Wikidata.

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


Question: Does Wikidata contain an entity with GND ID 1154810208?

Is there a person in Wikidata identified by the GND number 1154810208?

Check if the German National Library ID 1154810208 is assigned to any entity in Wikidata.

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


Question: Is there a TV series that has its episode list linked to the Wikipedia page for Captain Tsubasa?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?series wdt:P1811 wd:Q3255498 .
}

Which TV series has the Captain Tsubasa episode list as its episode list link?

Show me if any anime series links to the Captain Tsubasa episode list page.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6566083> . }


Question: What TV series has its episode list linked to the article "Anexo:Episodios de Cardcaptor Sakura"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?series WHERE {
  ?series wdt:P1811 wd:Q2707289 .
}

Which anime series is associated with the episode list article Q2707289?

Is there a TV series whose episodes are listed in the Spanish Wikipedia article "Anexo:Episodios de Cardcaptor Sakura"?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q2707289> . }


Question: Does the TV series Wynonna Earp have its episode list linked to the Wikipedia article "List of Wynonna Earp episodes"?

ASK WHERE { ?series wdt:P1811 wd:Q30688641 . }

Is the Wikipedia article "List of Wynonna Earp episodes" designated as the episode list for the TV series Wynonna Earp?

Please confirm that Wynonna Earp is connected to the Wikipedia article titled "List of Wynonna Earp episodes" as its official episode list.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q30688641> . }


Question: Is there a TV series that has its episode list linked to the article "list of The Law of Ueki episodes"?

ASK WHERE { ?series wdt:P1811 wd:Q6599767 . }

Does the anime series "The Law of Ueki" have its episode list documented on Wikipedia?

Is the Wikipedia page "list of The Law of Ueki episodes" connected to any TV series in Wikidata?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6599767> . }


Question: Images of U.S. Secretaries of State and their ages at death, ordered by most recent appointment.

SELECT ?secretary ?image ?ageAtDeath WHERE { ?secretary wdt:P31 wd:Q5 . ?secretary p:P39 ?statement . ?statement ps:P39 wd:Q14213 . ?statement pq:P580 ?startDate . OPTIONAL { ?secretary wdt:P569 ?dateOfBirth . } OPTIONAL { ?secretary wdt:P18 ?image . } OPTIONAL { ?secretary wdt:P570 ?dateOfDeath . } BIND( ( YEAR( ?dateOfDeath ) - YEAR( ?dateOfBirth ) ) AS ?ageAtDeath ) . } ORDER BY DESC(?startDate)

Who are the U.S. Secretaries of State, what do they look like, and how old were they when they died?

Show me photos of all U.S. Secretaries of State, along with their age at death if applicable, sorted from the most recently appointed to the earliest.

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> _:b0 . _:b0 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q14213> . _:b0 <http://www.wikidata.org/prop/qualifier/P580> ?var4 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P569> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var6 . } BIND ( ( YEAR ( ?var6 ) - YEAR ( ?var5 ) ) AS ?var3 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } ORDER BY DESC( ?var4 )


Question: Is there a television series that links to the episode list Q27657842?

ASK WHERE { ?series wdt:P1811 wd:Q27657842 . }

Does any TV show have its episode list documented at the Wikidata item Cheeky Vampire/Episodenliste?

Is the episode list Q27657842 assigned to any TV series?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q27657842> . }


Question: Is there a TV series that links to the episode list article "list of Lloyd in Space episodes"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  ?series wdt:P1811 wd:Q6576967 .
}

Does the article "list of Lloyd in Space episodes" serve as the official episode list for any TV series?

Is the Wikipedia list "list of Lloyd in Space episodes" connected to a TV series in Wikidata?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6576967> . }


Question: Is the episode list for the TV series Agter Elke Man linked in Wikidata?

Does Wikidata contain a link from Agter Elke Man to its list of episodes?

Is there a connection between Agter Elke Man and the Wikipedia list of its episodes?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6560774> . }


Question: Does the TV series "Is the Order a Rabbit?" have an episode list article titled "Anexo:Episodios de Gochūmon wa Usagi Desu ka?"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  ?series wdt:P1811 wd:Q20716067 .
}

Is the Wikipedia episode list "Anexo:Episodios de Gochūmon wa Usagi Desu ka?" linked to the anime series "Is the Order a Rabbit?"?

Confirm whether the anime series "Is the Order a Rabbit?" uses the Spanish episode list article "Anexo:Episodios de Gochūmon wa Usagi Desu ka?" as its official episode list.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q20716067> . }


Question: Does the TV series "Bake with Anna Olson" have a list of episodes?

Is there a Wikipedia-style list of episodes for the show "Bake with Anna Olson"?

Confirm whether the TV series "Bake with Anna Olson" is linked to its episode list article on Wikimedia.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q24191315> . }


Question: Does Cross Ange: Tenshi to Ryuu no Rondo have an episode list on Wikipedia?

ASK WHERE { ?series wdt:P1811 wd:Q20716786 . }

Is there a Wikipedia article listing the episodes of the anime series Cross Ange?

Confirm if the TV series Cross Ange: Tenshi to Ryuu no Rondo is linked to its episode list on Wikipedia.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q20716786> . }


Question: Is there a TV series whose list of episodes is linked to the article "list of Muling Buksan Ang Puso episodes"?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?series wdt:P1811 wd:Q17080663 .
}

TV series with episode list linked to "list of Muling Buksan Ang Puso episodes"?

Check if any TV series is connected to the episode list article for "Muling Buksan Ang Puso".

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q17080663> . }


Question: Does the TV series Mundo Mo'y Akin have a Wikipedia article listing its episodes?

Is the episode list for the TV series Mundo Mo'y Akin linked in Wikidata?

Confirm that Mundo Mo'y Akin is connected to its episode list article in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q17070882> . }


Question: Is the Wikipedia list of episodes for the TV series "Sana Dalawa ang Puso" linked in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q30245744 wdt:P1811 wd:Q48816364
}

Does the TV show "Sana Dalawa ang Puso" have its episode list connected to the corresponding Wikipedia article?

Has the Philippine TV series "Sana Dalawa ang Puso" been linked to its episode list article on Wikipedia?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q48816364> . }


Question: Is there a TV series whose episode list is the German Wikipedia page for "Ganz große Klasse"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  ?series wdt:P1811 wd:Q16995014 .
}

Does the American TV series "Head of the Class" have its episode list linked to the German Wikipedia episode list article?

Show me if any TV series is connected to the episode list article for "Ganz große Klasse".

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q16995014> . }


Question: Does Tiny Toon Adventures have a Hungarian-language list of episodes?

Is there a link from Tiny Toon Adventures to the list of its episodes in Hungarian?

Confirm that Tiny Toon Adventures is associated with the Hungarian episode list Q1638036.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q1638036> . }


Question: What are some notable house cats listed in Wikidata?

SELECT ?var1 ?var1Label WHERE { ?var1 wdt:P31 wd:Q146 . ?var1 rdfs:label ?var1Label . FILTER(LANG(?var1Label) = "en") }

List of famous domestic cats with their names in English

Show me the English names of all individual cats that are instances of the house cat species

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q146> . FILTER ( ( ( ?var1 > "4"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }


Question: Does the TV series Southern Charm have a list of episodes linked to the article "List of Southern Charm episodes"?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  wd:Q17110041 wdt:P1811 wd:Q27676292 .
}

Is the Wikipedia article "List of Southern Charm episodes" the official episode list for the TV show Southern Charm?

Confirm that Southern Charm is connected to its episode list article on Wikipedia.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q27676292> . }


Question: What are the employers of Ugutz Unzueta, and when did he start working at each?

SELECT ?image ?affiliation ?affiliationLabel ?start ?end ?degreeLabel WHERE { { wd:Q41545312 p:P1416 ?statement . ?statement ps:P1416 ?affiliation . } UNION { wd:Q41545312 p:P108 ?statement . ?statement 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") } }

Show images and employment periods for organizations Ugutz Unzueta has been affiliated with, in English.

Which institutions has Ugutz Unzueta worked for? Include start dates, any associated images, and academic degrees held during those affiliations.

SELECT ?var1 ?var2 ?var3Label ?var4 ?var5 ?var6Label WHERE { { <http://www.wikidata.org/entity/Q41545312> <http://www.wikidata.org/prop/P1416> ?var7 . } UNION { <http://www.wikidata.org/entity/Q41545312> <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: Image of Cornelius Van Schaack Roosevelt with SNAC ARK ID w6bk237x

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

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

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

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


Question: Does the TV series Ghost Stories have a list of episodes on Wikipedia?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  ?series wdt:P1811 wd:Q6571903 .
}

Is there a Wikipedia list article for the episodes of Ghost Stories?

Confirm that Ghost Stories is linked to its episode list on Wikipedia.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6571903> . }


Question: Does the TV series "The 7D" have the episode list "List of episodes of 7T"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q17183708 wdt:P1811 wd:Q20875549 .
}

Is the Hungarian-language episode list for "7T" linked to the TV series "The 7D"?

Confirm that "The 7D" uses the article "A 7T epizódjainak listája" as its official episode list.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q20875549> . }


Question: Does the TV series "Animals." have a Wikipedia page listing its episodes?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q10900982 wdt:P1811 wd:Q48976882 .
}

Is there a list of episodes for the TV show "Animals." on Wikipedia?

Confirm that the Wikipedia episode list for "Animals." is linked in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q48976882> . }


Question: Is the episode list for "Sana Bukas Pa Ang Kahapon" linked to the TV series in Wikidata?

ASK WHERE { ?series wdt:P1811 wd:Q27676288 . }

Does the TV series "Sana Bukas Pa Ang Kahapon" have an official episode list page on Wikipedia?

Confirm whether the Wikipedia list of episodes for "Sana Bukas Pa Ang Kahapon" is connected to the TV series in Wikidata.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q27676288> . }


Question: Is the list of episodes for the 1977 version of Top Gear linked to its Wikidata item?

ASK WHERE { ?series wdt:P1811 wd:Q6600475 . }

Does Top Gear (1977) have a Wikipedia episode list page associated with it?

Is there a connection between the TV series Top Gear (1977) and the article listing its episodes?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6600475> . }


Question: Does the TV program "Saturday Primetime" have a list of televised games on ESPN?

Is there an episode list for ESPN's Saturday Primetime programming block?

Does the article "list of games televised on ESPN Saturday Primetime" correspond to the Saturday Primetime TV show?

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6621474> . }


Question: Who is the CEO of Bank of America?

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 ?ceo ?ceoLabel WHERE {
  wd:Q487907 wdt:P169 ?ceo .
  OPTIONAL {
    ?ceo rdfs:label ?ceoLabel .
    FILTER ( LANG( ?ceoLabel ) = "en" )
  }
}

What is the name of the chief executive officer of Bank of America Corporation?

Can you tell me who leads Bank of America as its CEO?

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


Question: What geographical locations have a GeoNames ID but are not classified as any type in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item WHERE {
  ?item wdt:P1566 ?geoId .
  FILTER NOT EXISTS {
    ?item wdt:P31 ?type .
  }
}
LIMIT 10

Show me places with a GeoNames identifier that don’t have a known category or type in Wikidata.

Find entities identified by GeoNames that lack any 'instance of' classification.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1566> ?var2 ; <http://www.wikidata.org/prop/direct/P31> ?var3 . FILTER ( ( !( BOUND ( ?var3 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl,en". } } LIMIT 10


Question: Does the TV series Becker have its episode list linked to the article "Becker/Episodenliste"?

Becker TV series episode list link to Becker/Episodenliste

Confirm that the TV series Becker is connected to its episode list article Becker/Episodenliste.

ASK WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1811> <http://www.wikidata.org/entity/Q6563536> . }


Question: Who are the people with the surname Toubiana who have a French label?

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

Which humans have the surname Toubiana and a French-language label?

List all individuals with the last name Toubiana whose names are displayed in French.

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


Question: Female Polish actors born after 1988 with English Wikipedia labels.

SELECT DISTINCT ?actor ?actorLabel WHERE { ?actor wdt:P31 wd:Q5 . ?actor wdt:P106 wd:Q33999 . ?actor wdt:P27 wd:Q36 . ?actor wdt:P21 wd:Q6581072 . ?actor wdt:P569 ?dateOfBirth . ?actor rdfs:label ?actorLabel . FILTER ( ?dateOfBirth > "1988-12-31T00:00:00"^^xsd:dateTime ) FILTER ( LANG(?actorLabel) = "en" ) }

Who are the female Polish actors born after December 31, 1988, listed in English on Wikidata?

List all female Polish actors born after 1988, showing their names in English.

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


Question: Who are the people with the surname Sautron?

SELECT DISTINCT ?human ?humanLabel WHERE { VALUES ?human { wd:Q127277900 wd:Q127277479 wd:Q116782888 wd:Q55627101 } ?human rdfs:label ?humanLabel . FILTER(LANG(?humanLabel) = "en") }

List all humans whose name includes "Sautron".

Can you find the names of people named Sautron?

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


Question: Genes in Vibrio cholerae with genomic coordinates between 368749 and 374999, including their strand orientation, Entrez ID, and locus tag.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?start ?end ?entrez_id ?strand_flag ?locus_tag ?label WHERE {
  ?gene wdt:P279 wd:Q7187 ; wdt:P703 ?taxon ; wdt:P351 ?entrez_id ; wdt:P2393 ?locus_tag ; wdt:P644 ?start ; wdt:P645 ?end ; wdt:P2548 ?strand ; rdfs:label ?label .
  ?taxon wdt:P685 "471472" .
  BIND( IF( ?strand = wd:Q22809680 , "1" , "-1" ) AS ?strand_flag ) FILTER ( xsd:integer ( ?start ) <= 374999 && xsd:integer ( ?end ) >= 368749 ) FILTER ( LANG( ?label ) = "en" )
}

What are the genes in Vibrio cholerae that lie between genomic positions 368749 and 374999, and are they on the forward or reverse strand?

List the English names, Entrez IDs, NCBI locus tags, and strand directions (forward/reverse) of all genes in Vibrio cholerae whose start and end positions fall within the range 368749 to 374999.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 WHERE { BIND ( IF ( ( ?var9 = <http://www.wikidata.org/entity/Q22809680> ), "1", "-1" ) AS ?var4 ). BIND ( STR ( ?var10 ) AS ?var5 ). ?var10 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q7187> ; <http://www.wikidata.org/prop/direct/P703> ?var11 ; <http://www.wikidata.org/prop/direct/P351> ?var3 ; <http://www.wikidata.org/prop/direct/P351> ?var6 ; <http://www.wikidata.org/prop/direct/P2393> ?var7 ; <http://www.w3.org/2000/01/rdf-schema#label> ?var8 ; <http://www.wikidata.org/prop/direct/P644> ?var1 ; <http://www.wikidata.org/prop/direct/P645> ?var2 ; <http://www.wikidata.org/prop/direct/P2548> ?var9 . ?var11 <http://www.wikidata.org/prop/direct/P685> "471472". FILTER ( ( !(( <http://www.w3.org/2001/XMLSchema#integer> ( ?var1 ) > "374999"^^<http://www.w3.org/2001/XMLSchema#integer> ) || ( <http://www.w3.org/2001/XMLSchema#integer> ( ?var2 ) < "368749"^^<http://www.w3.org/2001/XMLSchema#integer> )) ) ) . }


Question: What properties are used to describe United States national laboratories?

SELECT DISTINCT ?property ?propertyLabel WHERE { ?lab wdt:P31/wdt:P279* wd:Q2624320 . ?lab ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct-normalized/")) FILTER(?property != wdtn:P31) . BIND(STRAFTER(STR(?property), "http://www.wikidata.org/prop/direct-normalized/") AS ?propId) . BIND(IRI(CONCAT("http://www.wikidata.org/entity/", ?propId)) AS ?propertyItem) . ?propertyItem rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") } LIMIT 100

Can you list the English labels of properties that provide information about U.S. Department of Energy national labs?

Show me the names of the data fields (like GeoNames ID or VIAF) that are recorded for U.S. national laboratories.

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/Q2624320> . ?var1 ?var6 ?var5 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } LIMIT 100


Question: Rivers with discharge between 170 and 190 cubic meters per second.

SELECT ?river ?riverLabel ?discharge WHERE { ?river wdt:P31 wd:Q4022 . ?river wdt:P2225 ?discharge . ?river rdfs:label ?riverLabel . FILTER(LANG(?riverLabel) = "en") FILTER ( "170"^^xsd:decimal <= ?discharge && ?discharge <= "190"^^xsd:decimal ) }

Which rivers have a water discharge between 170 and 190 m³/s?

List the English names and discharge rates of rivers whose water flow is between 170 and 190 cubic meters per second.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q4022> . 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/P2225> ?var2 . FILTER ( ( ( "170"^^<http://www.w3.org/2001/XMLSchema#integer> <= ?var2 ) && ( ?var2 <= "190"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . }


Question: List all settlements in England recorded in the Domesday Book that have an OpenDomesday ID.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?settlement WHERE {
  ?settlement wdt:P3118 ?id .
}

Which settlements in the Domesday Book have an identifier in the OpenDomesday project?

Show me the Wikidata items for all British settlements that are assigned an OpenDomesday settlement ID.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3118> [] . }


Question: Companies with a country of origin, including their subclasses.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?company WHERE {
  ?company wdt:P31 ?type .
  ?type wdt:P279 * wd:Q783794 .
  ?company wdt:P495 ?country .
}
LIMIT 1000

What companies (and their subtypes) have a specified country of origin?

List entities that are instances of a company or any of its subclasses and have a known country of origin.

SELECT DISTINCT ?var1 ?var2 WHERE { SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q783794> . ?var1 <http://www.wikidata.org/prop/direct/P495> ?var4 . } LIMIT 1000000


Question: What are the hierarchical categories above George Boole’s occupations, and their immediate parents?

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 ?ancestor ?ancestorLabel ?immediateParent WHERE {
  wd:Q134661 wdt:P106 ?occupation .
  ?occupation wdt:P279 * ?ancestor .
  OPTIONAL {
    ?ancestor wdt:P279 ?immediateParent .
  }
  OPTIONAL {
    ?ancestor rdfs:label ?ancestorLabel .
    FILTER ( LANG( ?ancestorLabel ) = "en" )
  }
}
ORDER BY ?ancestor

What broader academic or professional categories does George Boole belong to through his occupations, and what are their direct parent classes?

List all ancestor classes of George Boole’s occupations in the subclass hierarchy, along with their English labels and immediate parent classes.

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/Q134661> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Undirected"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P171> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P171> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


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

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

Show me the language-specific pages (English or German) linked to the film "The Matrix" via its IMDb identifier.

Which language versions of pages (in English or German) describe the movie "The Matrix" (IMDb: tt0133093)?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0129653". } ?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 season numbers of the TV series Friends in English?

SELECT ?season ?label ?seasonNumber WHERE { ?season wdt:P179 wd:Q79784 ; wdt:P31 wd:Q3464665 ; rdfs:label ?label . FILTER (LANG(?label) = "en") BIND(STR(STRAFTER(?label, "season ")) AS ?seasonNumber) } ORDER BY ?season

List the English-labeled seasons of Friends along with their corresponding season numbers.

How are the seasons of Friends numbered in their English labels?

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { BIND ( <http://www.wikidata.org/entity/Q79784> AS ?var7 ). BIND ( STRBEFORE ( CONCAT ( ?var2 , " XX" ) , " " ) AS ?var6 ). ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q191780> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . FILTER ( ( ( LANG ( ?var5 ) = "en" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47543030> ; <http://www.wikidata.org/prop/direct/P4908> ?var8 ; <http://www.wikidata.org/prop/direct/P179> ?var7 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) && CONTAINS ( ?var6 , STR ( ?var2 ) ) ) ) . }


Question: What are the English names of the web browsers Firefox, Google Chrome, Internet Explorer, and Microsoft Edge?

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 ?browser ?browserLabel WHERE {
  VALUES ?browser {
    wd:Q698 wd:Q777 wd:Q1575 wd:Q18698690
  }
  ?browser wdt:P31 wd:Q6368 .
  ?browser rdfs:label ?browserLabel .
  FILTER ( LANG( ?browserLabel ) = "en" )
}
LIMIT 100

Can you list the labels in English for these four web browsers: Firefox, Google Chrome, Internet Explorer, and Microsoft Edge?

Which web browsers among Firefox, Google Chrome, Internet Explorer, and Microsoft Edge have English labels in Wikidata?

SELECT DISTINCT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q6368> AS ?var2 ). BIND ( <http://www.wikidata.org/entity/Q698> AS ?var3 ). BIND ( <http://www.wikidata.org/entity/Q777> AS ?var4 ). BIND ( <http://www.wikidata.org/entity/Q1575> AS ?var5 ). BIND ( <http://www.wikidata.org/entity/Q18698690> AS ?var6 ). BIND ( <http://www.wikidata.org/entity/Q2804309> AS ?var7 ). BIND ( <http://www.wikidata.org/entity/Q15726348> AS ?var8 ). ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . FILTER ( ( ?var1 IN ( ?var3 , ?var4 , ?var5 , ?var6 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr,en". } } LIMIT 100


Question: Does the IMDb ID nm7712523 correspond to a person in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?person wdt:P345 "nm7712523" .
}

Is there a Wikidata item for the actor with IMDb ID nm7712523?

Confirm if the IMDb identifier nm7712523 is linked to any entity in Wikidata.

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


Question: List all sports and their English labels from Wikidata.

SELECT ?sport ?sportLabel WHERE { ?sport wdt:P31 wd:Q349 . OPTIONAL { ?sport rdfs:label ?sportLabel . FILTER (LANG(?sportLabel) = "en") } }

What are the English names of all sports listed in Wikidata?

Show me all items classified as sports in Wikidata, along with their English labels — if available.

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