Question: Which Wikidata items with Twitter usernames have the fewest Wikipedia sitelinks?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?sitelink ) AS ?sitelinks ) WHERE {
  ?item wdt:P2002 ?username .
  ?sitelink schema:about ?item .
  VALUES ?username {
    "Arcep" "ash_crow" "bevellin" "bittman" "ChateauVLV" "DBEngines" "ClairObs" "com_abes" "CarrNum" "CerberusXt" "fagerving" "gregfarrel" "Jastrow75" "Leonollais" "MaelLeHir" "MBellec" "N_Hervieu" "natematias" "panoply" "panoplyio" "Patafisik" "PoulpyWP" "Pyb75" "RTLFrance" "SB29" "scott_kerr" "straylyl" "wikidata"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinks )

What are the Twitter accounts linked to Wikidata items, ordered by how many Wikipedia pages they have, from least to most?

Show me the Wikidata items and their Twitter usernames that have Wikipedia pages, sorted by the number of Wikipedia pages in ascending order.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Jastrow75" ) ( "ChateauVLV" ) ( "MBellec" ) ( "string1" ) ( "Patafisik" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "PoulpyWP" ) ( "Leonollais" ) ( "panoplyio" ) ( "tableau" ) ( "panoply" ) ( "SB29" ) ( "pierrebod" ) ( "bpolitics" ) ( "string6" ) ( "DBEngines" ) ( "GeWoessner" ) ( "Pyb75" ) ( "Arcep" ) ( "string7" ) ( "string8" ) ( "RTLFrance" ) ( "scott_kerr" ) ( "string9" ) ( "string10" ) ( "gregfarrel" ) ( "davidkski" ) ( "straylyl" ) ( "string11" ) ( "natematias" ) ( "eszter" ) ( "MaelLeHir" ) ( "string12" ) ( "ClairObs" ) ( "string13" ) ( "ash_crow" ) ( "string14" ) ( "marcorubio" ) ( "lully1804" ) ( "com_abes" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "N_Hervieu" ) ( "string19" ) ( "CerberusXt" ) ( "wikidata" ) ( "bevellin" ) ( "string20" ) ( "fagerving" ) ( "bittman" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "Wikidebats" ) ( "CarrNum" ) ( "string24" ) ( "string25" ) } } ORDER BY ASC( ?var3 )


Question: Images associated with Lucie-Aimée Kaffee, including those from her works and their topics.

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

What images are linked to Lucie-Aimée Kaffee either directly or through the works she authored and their main subjects?

Show me all images connected to Lucie-Aimée Kaffee, including pictures of the works she wrote and the topics those works cover.

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


Question: What properties are used for spacecraft, and what are their values and counts in English?

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

Can you list all the properties of spacecraft with their English labels, how many times each is used, and the names of the values they point to?

Show me a summary of how spacecraft are described in Wikidata, including the property names in English, the number of values per property, and the labels of those values.

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


Question: List of German administrative districts and their English names.

SELECT ?region ?regionLabel WHERE { ?region wdt:P31 wd:Q22721 . ?region rdfs:label ?regionLabel . FILTER(LANG(?regionLabel) = "en") } LIMIT 100

What are the Regierungsbezirke in Germany and what are their English labels?

Show me all government regions in Germany along with their English names, including historical ones.

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


Question: Flags with heraldic animals and their images

SELECT ?flag ?flagLabel ?flagImage ?depictedAnimal ?depictedAnimalLabel WHERE { ?flag (wdt:P31/wdt:P279*) wd:Q186516 ; wdt:P180 ?depictedAnimal . ?depictedAnimal (wdt:P31/wdt:P279*) wd:Q350945 . OPTIONAL { ?flag wdt:P18 ?flagImage . } ?flag rdfs:label ?flagLabel . ?depictedAnimal rdfs:label ?depictedAnimalLabel . }

Which national flags depict heraldic animals, and what are those animals and their images?

Show me the flags of countries that feature heraldic animals on them, along with the names of those animals and the corresponding flag images.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q186516> ; <http://www.wikidata.org/prop/direct/P180> * ?var3 . { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q350945> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7239> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Vietnamese humans named Dinh Long or Long Dinh

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?person ?label WHERE {
  VALUES ?person {
    wd:Q7945056 wd:Q10829662 wd:Q16480073 wd:Q1187954
  }
  ?person rdfs:label ?label .
  FILTER(LANG(?label) = "en" || LANG(?label) = "fr" || LANG(?label) = "vi")
}
ORDER BY ?person

Who are the Vietnamese people with names like Dinh Long or Long Dinh, and what are their names in English, French, or Vietnamese?

List the Vietnamese individuals whose names include "Dinh Long" or "Long Dinh", along with their labels in English, French, or Vietnamese.

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


Question: Which of Géza von Földessy, Jean-Pierre Maggi, and "Il y aura toujours des violons" are associated with the French language, and what properties link them to it?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?language ?languageLabel ?property ?propertyLabel WHERE {
  VALUES ?item {
    wd:Q1005989 wd:Q1027528 wd:Q10301023
  }
  ?item ?property wd:Q150 .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
  OPTIONAL {
    wd:Q150 rdfs:label ?languageLabel .
    FILTER(LANG(?languageLabel) = "en")
  }
  OPTIONAL {
    ?property rdfs:label ?propertyLabel .
    FILTER(LANG(?propertyLabel) = "en")
  }
}

What languages are spoken by Géza von Földessy and Jean-Pierre Maggi, and what language is the song "Il y aura toujours des violons" in?

Show me the French-language associations for Géza von Földessy, Jean-Pierre Maggi, and the song "Il y aura toujours des violons", including the properties used to express those associations.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var5 ?var6Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q1005989> ) ( <http://www.wikidata.org/entity/Q1027528> ) ( <http://www.wikidata.org/entity/Q10301023> ) } ?var3 ( <http://www.wikidata.org/prop/direct/P17> | <http://www.wikidata.org/prop/direct/P1001> ) <http://www.wikidata.org/entity/Q790> . ?var1 ?var5 ?var3 . FILTER ( ( EXISTS { ?var6 <http://wikiba.se/ontology#directClaim> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Multilingual labels and descriptions of the occupation property for Cora Aa.

SELECT ?property ?value ?propertyItem ?propProperty ?propValue WHERE { wd:Q24204143 ?property ?value . ?propertyItem wikibase:directClaim ?property . ?propertyItem ?propProperty ?propValue . } LIMIT 1000

What are the different language labels and descriptions for the occupation property used in Cora Aa's Wikidata entry?

List all language-specific labels and descriptions of the property that indicates Cora Aa's occupation.

SELECT * WHERE { <http://www.wikidata.org/entity/Q24204143> ?var1 ?var2 . FILTER ( ( STRSTARTS ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/prop/direct/> ) ) ) ) . ?var3 <http://wikiba.se/ontology#directClaim> ?var1 . ?var3 ?var4 ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 1000


Question: List all episodes of the TV series Mr. Robot in order of their premiere dates.

SELECT ?episode ?episodeLabel ?premiereDate WHERE { ?episode wdt:P31 wd:Q21191270 . ?episode wdt:P179 wd:Q18844729 . ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = "en") OPTIONAL { ?episode wdt:P1191 ?premiereDate . } } ORDER BY ASC(?premiereDate)

What are the episodes of Mr. Robot and when did each one first air?

Show me the English titles of all Mr. Robot episodes, sorted by their premiere dates, including those without known air dates.

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


Question: What are all the superclass categories of film directors, up to four levels in the hierarchy, and what are their direct parent categories?

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

List the hierarchical ancestors of the profession "film director" along with their English labels and immediate superclasses.

Show the taxonomy of film director: what broader categories does it belong to, and what is the next level above each of those categories?

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/Q2526255> ; <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> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#maxVisited> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv". } }


Question: List all episodes of Mr. Robot in order of their premiere dates with their titles and air dates.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?episode ?episodeLabel ?premiereDate WHERE {
  ?episode wdt:P31 wd:Q21191270 .
  ?episode wdt:P179 wd:Q18844729 .
  ?episode wdt:P1191 ?premiereDate .
  ?episode rdfs:label ?episodeLabel .
  FILTER ( LANG( ?episodeLabel ) = "en" )
}
ORDER BY ASC ( ?premiereDate )

What are the titles and premiere dates of all episodes of the TV series Mr. Robot, sorted chronologically?

Show me the English titles and premiere dates of every episode of Mr. Robot, starting from the first one.

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


Question: Does the OCLC control number 43245983 exist in Wikidata?

Is there a bibliographic record in Wikidata with the OCLC number 43245983?

Can you confirm that the magazine "American Indian" is linked to OCLC number 43245983 in Wikidata?

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


Question: Is there a Wikidata item with OCLC control number 316299007?

Does the journal 'Nursing Times' have an OCLC control number of 316299007?

Check if the OCLC number 316299007 is assigned to any entity in Wikidata.

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


Question: Does Wikidata contain a record with OCLC control number 869692966?

Is there an item in Wikidata identified by the OCLC number 869692966?

Confirm if the OCLC number 869692966 is linked to any entity in Wikidata.

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


Question: How many people in the China Biographical Database are Chinese or have unspecified citizenship?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ( COUNT( ?person ) AS ?count ) WHERE {
  ?person wdt:P497 ?cbdbId . MINUS {
    ?person wdt:P27 ?citizenship .
    FILTER ( ?citizenship != wd:Q29520 )
  }
}

How many individuals listed in the China Biographical Database have Chinese nationality or no nationality recorded?

Show the count of CBDB entries for people who are not recorded as citizens of any country other than China.

SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P497> ?var3 . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P27> ?var4 . FILTER ( ( ( ?var4 != <http://www.wikidata.org/entity/Q29520> ) ) ) . } }


Question: Who have been the presidents of the United States?

SELECT ?presidentLabel WHERE { ?president wdt:P39 wd:Q11696 . ?president rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = "en") }

Which individuals have held the office of President of the United States?

List the names of all people who have served as President of the United States, in English.

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


Question: Places named after Presidents of Poland with their coordinates and the Polish name of the president.

SELECT ?place ?placeLabel ?coordinates ?presidentLabel WHERE { ?president wdt:P39 wd:Q1054799 ; rdfs:label ?presidentLabel . FILTER(LANG(?presidentLabel) = "pl") . ?place wdt:P138 ?president ; wdt:P625 ?coordinates . ?place rdfs:label ?placeLabel . }

Which places are named after Presidents of Poland, and what are their geographic coordinates and the Polish names of the presidents they are named after?

List all locations in the world named after Presidents of Poland, including their GPS coordinates and the Polish names of the presidents they honor.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT DISTINCT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( SAMPLE ( ?var3 ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P39> <http://www.wikidata.org/entity/Q1054799> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "pl" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var4 ; <http://www.wikidata.org/prop/direct/P625> ?var2 . } GROUP BY ?var1 ?var1Label } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl". } }


Question: Painters with RKDartists ID who worked in Haarlem

SELECT DISTINCT ?painter WHERE { ?painter wdt:P106 wd:Q1028181 . ?painter wdt:P650 [] . ?painter wdt:P937 wd:Q9920 . }

Who are the painters that have an RKDartists ID and were active in Haarlem?

List all painters associated with Haarlem who are documented in the RKDartists database.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.wikidata.org/prop/direct/P650> [] . ?var1 <http://www.wikidata.org/prop/direct/P937> <http://www.wikidata.org/entity/Q9920> . FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P937> ?var2 . FILTER ( ( EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P937> <http://www.wikidata.org/entity/Q9920> . } ) ) . } ) ) . }


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

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt0433359" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } }

Show me the Wikipedia articles in English or German that are about the film identified by tt0433359 on IMDb.

Find the German or English Wikipedia pages related to the movie with IMDb identifier tt0433359.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0433359". } ?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: Related properties of Russian Cultural Heritage ID (P1483) with English labels and descriptions.

SELECT ?relatedProperty ?label ?description WHERE { wd:P1483 wdt:P1659 ?relatedProperty . ?relatedProperty rdfs:label ?label . ?relatedProperty schema:description ?description . FILTER (LANG(?label) = "en") . FILTER (LANG(?description) = "en") . }

What property is related to the Russian Cultural Heritage ID, and what is its English label and description?

Show me the English label and description of the property that is related to the Russian Cultural Heritage ID.

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


Question: Wikipedia page for the movie Without Limits (IMDb tt0119934) in English or German

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

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

Show me the Wikipedia page for the film with IMDb ID tt0119934, if it exists in English or German.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0119934". } ?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: Educational institutions that are not companies or states

SELECT DISTINCT ?school ?schoolLabel WHERE { ?school wdt:P31 wd:Q2385804 . ?school rdfs:label ?schoolLabel . FILTER(LANG(?schoolLabel) = "en") FILTER(STRLEN(?schoolLabel) > 1) FILTER(REGEX(?schoolLabel, "[a-zA-Z]")) } ORDER BY ASC(?schoolLabel) LIMIT 50

What are some schools and educational institutions around the world?

List English-named educational institutions such as schools and universities.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P279> * <http://www.wikidata.org/entity/Q43229> . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q783794> ) ) ) . FILTER ( ( ( ?var2 != <http://www.wikidata.org/entity/Q7275> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY ASC( ?var1Label )


Question: Lexeme forms linked to parts and their associated properties and qualifiers

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?statementItem ?statement ?claimProperty(SAMPLE(?qualifierProperty) AS ?sampleQualifier) WHERE {
  ?statement ?statementProperty wd:Q15989253 .
  ?statementItem ?claim ?statement .
  ?claimProperty wikibase:statementProperty ?statementProperty .
  ?claimProperty wikibase:claim ?claim .
  FILTER(?claimProperty != wd:P31)
  OPTIONAL {
    ?statement ?qualifierProperty ?qualifierValue .
    ?qualifierTemplate wikibase:qualifier ?qualifierProperty .
  }
}
GROUP BY ?statementItem ?statement ?claimProperty
LIMIT 101

Which lexeme forms are stated to be parts of something, and what properties and qualifiers are used in those statements?

List the lexeme forms that have statements asserting they are parts, along with the properties used and any qualifiers applied.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q15989253> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: What is the Douban film ID for the movie with IMDb ID tt0031381?

SELECT ?film ?doubanId WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 "tt0031381" . OPTIONAL { ?film wdt:P4529 ?doubanId . } }

Which movie has the IMDb ID tt0031381, and what is its corresponding Douban ID?

Please find the Douban ID for the film identified by IMDb ID tt0031381.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0031381". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P4529> ?var2 . } }


Question: What are the current communes and sparse municipalities in Italy, and which administrative regions do they belong to?

SELECT ?commune ?communeLabel ?adminUnitLabel WHERE { ?commune p:P31 ?statement . { ?statement ps:P31 wd:Q747074 . } UNION { ?statement ps:P31 wd:Q954172 . } ?commune p:P131 ?intermediate . ?intermediate ps:P131 ?adminUnit . FILTER (NOT EXISTS { ?intermediate pq:P582 ?end1 }) FILTER (NOT EXISTS { ?statement pq:P582 ?end2 }) ?commune rdfs:label ?communeLabel . ?adminUnit rdfs:label ?adminUnitLabel . FILTER(LANG(?communeLabel) = "it") FILTER(LANG(?adminUnitLabel) = "it") }

List Italian communes and their higher-level administrative units, excluding those that have been abolished.

Show me the names of active Italian municipalities (including sparse ones) along with the province or regional entity they are part of, in Italian.

SELECT ?var1 ?var1Label ?var2Label ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . { ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q747074> . } UNION { ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q954172> . } ?var1 <http://www.wikidata.org/prop/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/statement/P131> ?var2 . FILTER ( ( NOT EXISTS { ?var4 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . FILTER ( ( NOT EXISTS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var5 . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,en". } }


Question: French-speaking writers, poets, or authors from the 1400s with BnF IDs and diverse gender identities.

SELECT DISTINCT ?label ?countryLabel ?bnfId ?birthYear ?deathYear
WHERE {
  VALUES ?occupation { wd:Q36180 wd:Q482980 wd:Q49757 }
  VALUES ?language { wd:Q150 wd:Q1473289 }
  VALUES ?gender { wd:Q6581072 wd:Q1052281 wd:Q2449503 wd:Q1097630 }

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

  OPTIONAL { ?person wdt:P569 ?birth . BIND(YEAR(?birth) AS ?birthYear) }
  OPTIONAL { ?person wdt:P570 ?death . BIND(YEAR(?death) AS ?deathYear) }

  FILTER( !BOUND(?birthYear) || (?birthYear >= 1441 && ?birthYear <= 1473) )

  OPTIONAL { ?person rdfs:label ?label . FILTER(LANG(?label) = "fr") }
  OPTIONAL { ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "fr") }
}
ORDER BY ?label
LIMIT 50

Who are the French-language writers, poets, or authors born between 1441 and 1473 who identify as female, trans, or intersex, and have a Bibliothèque nationale de France identifier?

List the French-named 15th-century writers, poets, or authors from France or Lebanon with BnF IDs and known gender identities, including trans and intersex individuals.

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


Question: German names of towns in the Czech Republic ending in "-ow" or "-itz" and their coordinates.

SELECT ?settlement ?settlementLabel ?coordinates WHERE { ?settlement (wdt:P31/wdt:P279*) wd:Q486972 ; wdt:P17 wd:Q213 ; rdfs:label ?settlementLabel ; wdt:P625 ?coordinates . FILTER(LANG(?settlementLabel) = "de") FILTER(REGEX(?settlementLabel, "(ow|itz)$")) }

Which human settlements in the Czech Republic have German-language names ending in "-ow" or "-itz", and where are they located?

Show me the German names and geographic coordinates of all settlements in the Czech Republic whose names end with "-ow" or "-itz".

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/Q213> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label ; <http://www.wikidata.org/prop/direct/P625> ?var2 . FILTER ( ( ( LANG ( ?var1Label ) = "de" ) ) ) . FILTER ( ( REGEX ( ?var1Label , "(ow|itz)$" ) ) ) . }


Question: What are the English labels of the types that Mumbai is an instance of?

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 ?type ?typeLabel WHERE {
  wd:Q1156 wdt:P31 ?type .
  ?type rdfs:label ?typeLabel .
  FILTER(LANG(?typeLabel) = "en")
}
LIMIT 50

What classes does Mumbai belong to, and what are their English names?

Show me the English labels of all the categories (instance of types) that Mumbai is classified under.

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


Question: List U.S. territories by population, including their inception and dissolution dates.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?territory ?adminEntity ?country ?inception ?dissolved ?population WHERE {
  ?territory wdt:P31 wd:Q1352230 .
  OPTIONAL {
    ?territory wdt:P131 ?adminEntity .
  }
  OPTIONAL {
    ?territory wdt:P17 ?country .
  }
  OPTIONAL {
    ?territory wdt:P571 ?inception .
  }
  OPTIONAL {
    ?territory wdt:P576 ?dissolved .
  }
  OPTIONAL {
    ?territory wdt:P1082 ?population .
  }
  FILTER(BOUND(?population))
}
ORDER BY DESC(?population) ASC(?territory)
LIMIT 20

Which U.S. territories have recorded populations, and when were they established and dissolved?

Show me the U.S. territories with their populations, sorted from highest to lowest, along with their founding and dissolution dates.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1352230> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var6 )ASC( ?var1Label )


Question: Is there a Wikidata item with VIAF ID 54955455?

Does the Virtual International Authority File identifier 54955455 correspond to any entity in Wikidata?

Confirm if the VIAF ID 54955455 is linked to a person in Wikidata.

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


Question: Nobel Prize in Literature winners with their VIAF IDs, birth and death dates, languages they wrote in, and award years.

SELECT DISTINCT ?label ?viafId ?birthDate ?deathDate ?languageCode (YEAR(?awardDate) AS ?awardYear)
WHERE {
  ?laureate wdt:P214 ?viafId .
  ?laureate rdfs:label ?label .
  FILTER(LANG(?label) = "en") .

  OPTIONAL { ?laureate wdt:P569 ?birthDate . }
  OPTIONAL { ?laureate wdt:P570 ?deathDate . }

  OPTIONAL {
    ?laureate wdt:P1412 ?language .
    ?language wdt:P218 ?languageCode .
  }

  ?laureate p:P166 ?awardStmt .
  ?awardStmt ps:P166 wd:Q37922 .
  ?awardStmt pq:P585 ?awardDate .
}
ORDER BY ASC(?awardYear)

Who are the English-language labeled Nobel laureates in Literature, and what are their birth/death dates, the languages they wrote in, their VIAF IDs, and the year they won the prize?

List all Nobel Prize in Literature winners with their English labels, VIAF identifiers, dates of birth and death, ISO 639-1 language codes of the languages they wrote in, and the year they received the award, sorted by award year.

SELECT DISTINCT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ( YEAR ( ?var8 ) AS ?var9 ) WHERE { ?var10 <http://www.wikidata.org/prop/direct/P214> ?var2 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( ( LANG ( ?var1 ) = "en" ) ) ) . OPTIONAL { ?var10 <http://www.wikidata.org/prop/direct/P569> ?var3 . } OPTIONAL { ?var10 <http://www.wikidata.org/prop/direct/P570> ?var4 . } OPTIONAL { ?var10 <http://www.wikidata.org/prop/direct/P27> ?var11 . OPTIONAL { ?var11 <http://www.wikidata.org/prop/P37> ?var12 . ?var12 <http://www.wikidata.org/prop/P424> ?var7 . } } OPTIONAL { ?var10 <http://www.wikidata.org/prop/direct/P1412> ?var13 . ?var13 <http://www.wikidata.org/prop/direct/P218> ?var5 . } ?var10 <http://www.wikidata.org/prop/P166> ?var14 . ?var14 <http://www.wikidata.org/prop/statement/P166> <http://www.wikidata.org/entity/Q37922> . ?var14 <http://www.wikidata.org/prop/qualifier/P585> ?var8 . } ORDER BY ASC( ?var9 )


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

SELECT ?movie ?page WHERE { VALUES ?imdbId { "tt0101627" } ?movie wdt:P345 ?imdbId . ?page schema:about ?movie . ?page schema:inLanguage ?lang . FILTER(?lang IN ("en", "de")) }

What English and German language Wikipedia or Wikiquote pages are about the movie Critters 3?

Show me the English and German language pages related to the movie Critters 3 (IMDb ID: tt0101627).

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0101627". } ?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 Italian regions by population, from largest to smallest, along with their founding dates and administrative territories?

SELECT ?region ?regionLabel ?adminTerritory ?adminTerritoryLabel ?country ?countryLabel ?inceptionDate ?population WHERE { ?region (wdt:P31/wdt:P279*) wd:Q16110 . MINUS { ?region wdt:P576 ?dissolvedDate . } OPTIONAL { ?region wdt:P131 ?adminTerritory . ?adminTerritory rdfs:label ?adminTerritoryLabel . FILTER(LANG(?adminTerritoryLabel) = "en") } OPTIONAL { ?region wdt:P17 ?country . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } OPTIONAL { ?region wdt:P571 ?inceptionDate . } OPTIONAL { ?region wdt:P1082 ?population . } ?region rdfs:label ?regionLabel . FILTER(LANG(?regionLabel) = "en") } ORDER BY DESC(?population) ASC(?regionLabel)

List all current administrative regions of Italy, including their population, when they were established, and whether they are part of Italy or its historical predecessor, the Kingdom of Italy.

Show me the top Italian regions by population, their labels, country, and establishment year — excluding any that have been dissolved.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q16110> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P576> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P17> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var5 )ASC( ?var1Label )


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

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

Can you show me the Wikimedia Commons image associated with David Baltimore’s SNAC record?

Which image is linked to the Social Networks and Archival Context identifier w6w66x1v?

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


Question: What is the defining formula of a sphere?

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 ?sphereLabel ?formula WHERE {
  wd:Q12507 rdfs:label ?sphereLabel .
  wd:Q12507 wdt:P2534 ?formula .
  FILTER(LANG(?sphereLabel) = 'en')
}

Can you tell me the English name of the sphere and its mathematical equation?

What is the equation that defines a sphere, and what is it called in English?

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


Question: Which Wikidata item has the Twitter username "lesinrocks"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle WHERE {
  ?item wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "lesinrocks"
  }
}

What is the Wikidata entity for the Twitter account @lesinrocks?

Show me the Wikidata item linked to the Twitter handle lesinrocks.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "La_Fronce" ) ( "covxrel" ) ( "string6" ) ( "string7" ) ( "DVarrod" ) ( "lesinrocks" ) ( "feygelehh" ) ( "string8" ) ( "string9" ) ( "Gaton__" ) ( "KonbiniFr" ) ( "kunstgrnd" ) ( "Fredouat" ) ( "string10" ) ( "string11" ) ( "BWecxsteen" ) ( "string12" ) } } ORDER BY ASC( ?var3 )


Question: Is the Stanford Encyclopedia of Philosophy a human?

ASK WHERE { wd:Q824553 wdt:P31/wdt:P279* wd:Q5 }

Is the Stanford Encyclopedia of Philosophy classified as a human or a subclass of human?

Does the Stanford Encyclopedia of Philosophy belong to the category of humans?

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


Question: What are the ethnic groups in Cameroon, and what are their names in English, French, or German?

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 ?ethnicGroup ( GROUP_CONCAT( ?label ; SEPARATOR = "," ) AS ?labels ) WHERE {
  ?ethnicGroup wdt:P31 wd:Q41710 .
  ?ethnicGroup rdfs:label ?label .
  FILTER ( LANG( ?label ) IN ( "en" , "fr" , "de" ) ) ?ethnicGroup wdt:P17 wd:Q1009 .
}
GROUP BY ?ethnicGroup

List all ethnic groups in Cameroon along with their labels in English, French, or German, concatenated into a single string.

Can you show me the names of ethnic groups in Cameroon in multiple languages (English, French, German)?

SELECT ?var1 ( GROUP_CONCAT ( ?var1Label ; SEPARATOR = "," ) AS ?var2 )( GROUP_CONCAT ( ?var3Label ; SEPARATOR = "," ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q41710> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "de" ) || ( LANG ( ?var1Label ) = "en" ) || ( LANG ( ?var1Label ) = "fr" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q1009> . } GROUP BY ?var1


Question: Theatres with Italian label "teatro" and their English names.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?itemLabel WHERE {
  ?item rdfs:label "teatro" @it .
  ?item rdfs:label ?itemLabel .
  FILTER(LANG(?itemLabel) = "en")
}

What are the English names of places labeled as "teatro" in Italian?

Show me the English labels of all entities that are called "teatro" in Italian.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { { ?var1 ?var3Label "teatro"@it . } UNION { ?var1 ?var3Label "teatro"@it . } ?var1 ?var4 ?var5 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var6 . FILTER ( ( ( LANG ( ?var6 ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,en". } }


Question: Academic works about gender and their DBLP-authors

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 ?work ?workLabel ?author ?authorLabel ?dblpId WHERE {
  ?work wdt:P921 wd:Q48277 .
  ?work wdt:P50 ?author .
  ?author wdt:P2456 ?dblpId .
  ?work rdfs:label ?workLabel .
  ?author rdfs:label ?authorLabel .
  FILTER(LANG(?workLabel) = "en")
  FILTER(LANG(?authorLabel) = "en")
}

Which academic works on gender have authors with DBLP identifiers, and who are those authors?

List works whose main subject is gender, along with their English-named authors and their DBLP IDs.

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


Question: Which Wikidata items have "Wikidata" as a value for any property?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?property WHERE {
  ?item ?property "Wikidata" .
  FILTER(STRSTARTS(STR(?item) , "http://www.wikidata.org/entity/Q"))
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
  }
}

What entities in Wikidata are associated with the literal string "Wikidata" as a property value?

List all Wikidata entities that use "Wikidata" as an identifier, category, or other property value, along with their English labels and the properties used.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 "Wikidata". }


Question: What political party is Matteo Renzi a member of?

SELECT ?party ?partyLabel WHERE { wd:Q47563 wdt:P31 wd:Q5 ; wdt:P27 wd:Q38 ; wdt:P106 wd:Q82955 ; wdt:P102 ?party . ?party rdfs:label ?partyLabel . FILTER(LANG(?partyLabel) = "en") }

Which political party does Italian politician Matteo Renzi belong to?

Tell me the political party affiliation of Matteo Renzi.

SELECT ?var1 ?var1Label WHERE { <http://www.wikidata.org/entity/Q47563> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> ; <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q38> ; <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q82955> ; <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q637335> ; <http://www.wikidata.org/prop/direct/P102> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: What are the Twitter accounts of Firefox, INSEE, and Les décodeurs, and how many Wikipedia sitelinks do they have?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterUsername ( COUNT( ?page ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?twitterUsername .
  VALUES ?twitterUsername {
    "decodeurs" "firefox" "InseeFr"
  }
  .
  ?item ^ schema:about ?page .
}
GROUP BY ?item ?twitterUsername
ORDER BY ASC ( ?sitelinkCount )

Can you list the entities with Twitter usernames "decodeurs", "firefox", or "InseeFr", sorted by the number of Wikipedia language editions they appear in?

Show me the Twitter handles for Firefox, INSEE, and Les décodeurs, along with how many Wikipedia pages are linked to each.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "PoulpyWP" ) ( "string1" ) ( "string2" ) ( "lmdinard" ) ( "string3" ) ( "WikiJMed" ) ( "string4" ) ( "NFr21" ) ( "inOut2018" ) ( "string5" ) ( "MftCecile" ) ( "string6" ) ( "jp_becane" ) ( "GoogleFR" ) ( "string7" ) ( "15marches" ) ( "enedis" ) ( "piasummers" ) ( "Lepsyleon" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "lyonmag" ) ( "string11" ) ( "sruhle" ) ( "string12" ) ( "SimonDame" ) ( "string13" ) ( "Biblinsa" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "dbelveze" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "lapply" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "string24" ) ( "string25" ) ( "hatonjan" ) ( "SNCF" ) ( "string26" ) ( "string27" ) ( "string28" ) ( "markcridge" ) ( "string29" ) ( "fuzheado" ) ( "sanseveria" ) ( "string30" ) ( "firefox" ) ( "symac" ) ( "Auregann" ) ( "AdobeXD" ) ( "cq94" ) ( "InseeFr" ) ( "decodeurs" ) ( "string31" ) ( "MaelLeHir" ) ( "emicfd" ) ( "string32" ) ( "bpb_de" ) ( "bpb" ) ( "batanball" ) ( "string33" ) ( "aharoni" ) ( "string34" ) ( "KelamWiki" ) } } ORDER BY ASC( ?var3 )


Question: Works authored by Jack London

SELECT ?work WHERE { ?work wdt:P50 wd:Q45765 .}

What books or writings did Jack London author?

List all the literary works for which Jack London is the author.

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


Question: French-labeled humans with 'Branellec' in their name

SELECT DISTINCT ?person WHERE { ?person rdfs:label ?label . FILTER(LANG(?label) = "fr") FILTER(CONTAINS(LCASE(?label), "branellec")) ?person wdt:P31 wd:Q5 . }

Who are the French people named Branellec?

List all humans in Wikidata whose French label includes 'Branellec'.

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


Question: What are the source URLs and titles of the references for the claim that Albert Einstein was born in Ulm?

SELECT ?personLabel ?url ?title WHERE {
  wd:Q937 wdt:P19 ?place .
  ?statement ps:P19 ?place ; prov:wasDerivedFrom ?ref .
  ?ref pr:P854 ?url ; pr:P1476 ?title .
  wd:Q937 rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Show me the web sources cited for Albert Einstein’s birthplace.

Which publications or websites are referenced as sources for Albert Einstein’s place of birth?

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


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

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

What are the English and German Wikipedia articles for the movie Dr. Dolittle: Tail to the Chief?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1024724". } ?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: Properties linked to Ernst Heinrich Lindemann used more than once, sorted by frequency.

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

Which properties connect other items to Ernst Heinrich Lindemann, and how often are they used — showing only those used more than once?

Show me the properties that are used to link other entities to Ernst Heinrich Lindemann, but only include those used more than once, ordered from most to least frequent.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 ?var1 <http://www.wikidata.org/entity/Q102327> . 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: Who is the French person named Jean Olié?

SELECT DISTINCT ?person WHERE { ?person rdfs:label "Jean Olié" @fr . ?person wdt:P31 wd:Q5 . }

Find the human in Wikidata with the French label "Jean Olié".

Tell me the Wikidata item for the French individual named Jean Olié.

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


Question: What is the most frequently used property to associate works with the topic of human skin color?

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

Which Wikidata property is used the most times to indicate that something is about human skin pigmentation?

Among all properties linking entities to human skin color, which one appears most often?

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


Question: What are the areas (in hectares) of Swedish urban areas as recorded in the 2015 Statistics Sweden census, along with their codes and measurement dates?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
SELECT ?urbanArea ?urbanAreaCode ?date ?areaValue ?unit ?unitLabel ?source WHERE {
  ?urbanArea wdt:P775 ?urbanAreaCode .
  ?urbanArea p:P2046 ?areaStatement .
  ?areaStatement ps:P2046 ?areaValue ; pq:P585 ?date ; psv:P2046 ?areaValueNode ; prov:wasDerivedFrom ?source .
  ?source pr:P248 wd:Q37276725 .
  ?areaValueNode wikibase:quantityUnit ?unit .
  ?unit rdfs:label ?unitLabel .
  FILTER(LANG(?unitLabel) = "en")
}

Show me the size of Swedish towns (tätorter) in 2015, including their codes, area values in hectares, and the source dataset from Statistics Sweden.

Which Swedish urban areas had their land area measured in 2015 by Statistics Sweden, and what were their sizes in hectares?

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var5Label ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P775> ?var2 . ?var1 <http://www.wikidata.org/prop/P2046> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P2046> ?var4 . ?var7 <http://www.wikidata.org/prop/qualifier/P585> ?var3 . ?var7 <http://www.wikidata.org/prop/statement/value/P2046> ?var8 . ?var7 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var9 . ?var9 <http://www.wikidata.org/prop/reference/P248> ?var6 . FILTER ( ( ( ?var6 = <http://www.wikidata.org/entity/Q37276725> ) ) ) . ?var8 <http://wikiba.se/ontology#quantityLowerBound> ?var10 . ?var8 <http://wikiba.se/ontology#quantityUpperBound> ?var11 . ?var8 <http://wikiba.se/ontology#quantityUnit> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } }


Question: Which entity is associated with the list of 2017 Estonian municipal elections via the "has list" property?

SELECT ?municipality ?municipalityLabel WHERE { ?municipality wdt:P2354 wd:Q13755193 . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = "en") }

What municipality has a statement linking it to the 2017 Estonian municipal elections using the "has list" property?

Show me the entity that uses the "has list" property to point to the 2017 Estonian municipal elections.

SELECT ?var1 ?var2 ?var3 ( SAMPLE ( ?var4 ) AS ?var5 ) WHERE { { SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var2 ?var6 <http://www.wikidata.org/entity/Q13755193> . ?var1 ?var7 ?var2 . ?var3 <http://wikiba.se/ontology#statementProperty> ?var6 . ?var3 <http://wikiba.se/ontology#claim> ?var7 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/P31> ) ) ) . } LIMIT 101 } OPTIONAL { ?var2 ?var4 ?var8 . ?var9 <http://wikiba.se/ontology#qualifier> ?var4 . } } GROUP BY ?var1 ?var2 ?var3


Question: Which organizations have the Twitter usernames FCM_online and uclg_org?

SELECT ?organization ?twitterUsername WHERE { ?organization wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "FCM_online" "uclg_org" } }

What are the Wikidata entities for the Twitter accounts @FCM_online and @uclg_org?

Please list the organizations on Wikidata that are associated with the Twitter handles FCM_online and uclg_org.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "FCM_online" ) ( "c40cities" ) ( "ICLEI" ) ( "theUSDN" ) ( "UNSDSN" ) ( "uclg_org" ) ( "amyluers" ) ( "string4" ) ( "string5" ) } }


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

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

What are the English or German Wikipedia pages for the film identified by IMDb ID tt1992138?

Show me the Wikipedia pages in English or German about the movie with IMDb ID tt1992138.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1992138". } ?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: Monarchs who were Catholic and died by homicide, and their children.

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 ?monarch ?child ?childLabel WHERE {
  ?monarch wdt:P106 wd:Q116 .
  ?monarch wdt:P140 wd:Q1841 .
  ?monarch wdt:P1196 wd:Q149086 .
  ?monarch wdt:P40 ?child .
  ?child rdfs:label ?childLabel .
  FILTER ( LANG( ?childLabel ) = "en" )
}

Which Catholic monarchs died by homicide, and who were their children?

List the children of monarchs who practiced Catholicism and were victims of homicide.

SELECT ?var1 ?var2 ?var2Label 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/P106> <http://www.wikidata.org/entity/Q116> . ?var1 <http://www.wikidata.org/prop/direct/P140> <http://www.wikidata.org/entity/Q1841> . ?var1 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q149086> . OPTIONAL { } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var2 . } }


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

SELECT ?item ?wikipedia_page WHERE { ?item wdt:P345 "tt0047138" . ?wikipedia_page schema:about ?item . { ?wikipedia_page schema:inLanguage "en" . } UNION { ?wikipedia_page schema:inLanguage "de" . } }

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

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

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


Question: What is the English title of the movie with IMDb ID tt1075832, and is there an English Wikipedia page about it?

SELECT ?item ?itemLabel ?imdbId ?wikipediaArticle WHERE { ?item wdt:P345 ?imdbId . FILTER(?imdbId = "tt1075832") OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = 'en') } OPTIONAL { ?wikipediaArticle schema:about ?item . ?wikipediaArticle schema:inLanguage 'en' } }

Find the English label and IMDb ID for the film identified by tt1075832, along with its English Wikipedia article if it exists.

Tell me about the movie with IMDb ID tt1075832 — what’s its English name, and does it have an English Wikipedia page?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1075832". } ?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 name of the ancient Roman footwear called buskin

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?itemLabel WHERE {
  BIND( wd:Q605341 AS ?item ) .
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" )
}

What is the English label for the Wikidata item Q605341?

Show me the English name of the ancient Greek/Roman laced boot known as buskin.

SELECT ?var1 ?var1Label WHERE { BIND ( <http://www.wikidata.org/entity/Q605341> AS ?var1 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


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

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

What are the English and German language Wikipedia and Wikiquote pages about the movie "Divine Secrets of the Ya-Ya Sisterhood"?

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

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt0279778". } ?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: Which property is most commonly used to classify items as gluten-free beer?

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

What property links the most number of items to the concept of gluten-free beer on Wikidata?

Show me the property that is used most often to state that something is a gluten-free beer, 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/Q656235> . ?var1 <http://wikiba.se/ontology#directClaim> ?var4 . ?var1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . } LIMIT 10000 } } GROUP BY ?var1 ORDER BY DESC( ?var2 ) LIMIT 1


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

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

Show me the Wikipedia articles in English or German about the film identified by IMDb ID tt3868150.

Which Wikipedia pages in English or German are about the movie with the IMDb identifier tt3868150?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt3868492". } ?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: Google Scholar ID and VIAF ID for Alexander Meiklejohn

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?googleScholarId ?viafId WHERE {
  OPTIONAL {
    wd:Q15527262 wdt:P1960 ?googleScholarId .
  }
  OPTIONAL {
    wd:Q15527262 wdt:P214 ?viafId .
  }
}

What are the Google Scholar and VIAF identifiers for the philosopher Alexander Meiklejohn?

Please provide the available online academic identifiers for Alexander Meiklejohn, including Google Scholar and VIAF.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q15527262> <http://www.wikidata.org/prop/direct/P1960> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q15527262> <http://www.wikidata.org/prop/direct/P214> ?var2 . } }


Question: English label and description for Great Russian Encyclopedia Online ID 2334183

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

What is the English name and description of the entry in the Great Russian Encyclopedia with ID 2334183?

Show me the English label and description of the Wikidata item linked to the old Great Russian Encyclopedia Online ID 2334183.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2924> "3534576". 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: Is there a person or entity in Wikidata with the VIAF ID 197456237?

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

Can you confirm if the VIAF cluster ID 197456237 is linked to any item in Wikidata?

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


Question: What Wikimedia category is about the property "category's main topic"?

SELECT DISTINCT ?category WHERE { ?category wdt:P301 wd:Q18616576 . } LIMIT 101

Which category on Wikidata has its main topic set to the property P301?

List all categories that are dedicated to the Wikidata property that defines the main topic of a category.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P301> ?var2 . ?var2 <http://www.wikidata.org/prop/statement/P301> <http://www.wikidata.org/entity/Q18616576> . } LIMIT 101


Question: What is the English and Turkish title of the movie with IMDb ID tt4788722?

SELECT ?item ?imdbId ?label WHERE { ?item wdt:P345 "tt4788722" . BIND("tt4788722" AS ?imdbId) . ?item rdfs:label ?label . FILTER(LANG(?label) = "en" || LANG(?label) = "tr") }

Show me the IMDb ID and titles in English or Turkish for the film identified by tt4788722.

Can you find the movie with IMDb ID tt4788722 and tell me its names in English and Turkish?

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


Question: Who is Loïc Mizon, a human with the French name 'Loïc Mizon'?

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

What is the Wikidata identifier for the human named Loïc Mizon in French?

Find the Wikidata entity for the person named Loïc Mizon, using the French label.

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


Question: Image of William August Kobbé with SNAC ARK ID w65c64x6

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

What is the image associated with William August Kobbé in Wikidata, identified by the SNAC ARK ID w65c64x6?

Show me the Wikimedia Commons image for the person whose SNAC ARK ID is w65c64x6.

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


Question: Japanese labels and descriptions of properties used on Kita-ku, Kobe

SELECT ?propItem ?propItemLabel ?propItemDescription WHERE { wd:Q1078814 ?property ?value . ?propItem wikibase:directClaim ?property . ?propItem rdfs:label ?propItemLabel . ?propItem schema:description ?propItemDescription . FILTER(LANG(?propItemLabel) = "ja") FILTER(LANG(?propItemDescription) = "ja") } LIMIT 100

What are the Japanese labels and descriptions of the properties that describe Kita-ku in Wikidata?

Show me the Japanese names and descriptions of all properties that are used to describe Kita-ku, a ward in Kobe.

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/Q1078814> . ?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 ) = "ja" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "ja" ) ) ) . } LIMIT 100


Question: Scholarly articles that cite Vitamin D.

SELECT ?citingArticle WHERE { ?citingArticle wdt:P2860 wd:Q27919675 .}

Which academic papers reference Vitamin D as a source?

List all scholarly works that cite the article on Vitamin D.

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


Question: Swedish urban areas with population ranges, coordinates, and English names.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?urbanArea ?urbanAreaLabel ?population ?coordinate ?populationRange WHERE {
  ?urbanArea wdt:P775 ?code ; wdt:P1082 ?population ; wdt:P625 ?coordinate .
  ?urbanArea rdfs:label ?urbanAreaLabel .
  FILTER(LANG(?urbanAreaLabel) = "en")
  .
  BIND(IF(?population < 1000000 , "<1M" , IF(?population < 2000000 , "1M-2M" , IF(?population < 5000000 , "2M-5M" , IF(?population < 10000000 , "5M-10M" , IF(?population < 20000000 , "10M-20M" , ">20M"))))) AS ?populationRange)
}
GROUP BY ?urbanArea ?urbanAreaLabel ?population ?coordinate ?populationRange

What are the Swedish urban areas, their populations, coordinates, and population categories (e.g., <1M, 1M-2M)?

List all Swedish urban areas in English, along with their population, geographic coordinates, and population size ranges (e.g., <1M, 1M-2M, etc.).

SELECT DISTINCT ?var1 ?var1Label ( SAMPLE ( ?var2 ) AS ?var2 )( MAX ( ?var3 ) AS ?var3 )( SAMPLE ( ?var4 ) AS ?var4 ) WHERE { BIND ( IF ( ( ?var3 < "1000000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "<1M", IF ( ( ?var3 < "2000000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "1M-2M", IF ( ( ?var3 < "5000000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "2M-5M", IF ( ( ?var3 < "10000000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "5M-10M", IF ( ( ?var3 < "20000000"^^<http://www.w3.org/2001/XMLSchema#integer> ), "10M-20M", ">20M" ) ) ) ) ) AS ?var4 ). ?var1 <http://www.wikidata.org/prop/direct/P775> [] ; <http://www.wikidata.org/prop/direct/P625> ?var5 ; <http://www.wikidata.org/prop/direct/P1082> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } } GROUP BY ?var1 ?var1Label


Question: Subclasses of number and their direct parent classes

SELECT ?subclass ?subclassLabel ?directParent WHERE { ?subclass wdt:P279* wd:Q11563 . OPTIONAL { ?subclass wdt:P279 ?directParent . } OPTIONAL { ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = "en") } }

What are all the subclasses of the number concept in Wikidata, their English labels, and their immediate parent classes?

List all subclasses of numbers along with their English names and the classes they directly inherit from.

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


Question: Which Wikidata items have Twitter usernames jessamyn, cliffski, or smkmuseum?

SELECT ?item ?twitter WHERE { ?item wdt:P2002 ?twitter . VALUES ?twitter { "jessamyn" "cliffski" "smkmuseum" } }

Who are the people or organizations on Wikidata with the Twitter handles @jessamyn, @cliffski, or @smkmuseum?

List all entities in Wikidata that are linked to the Twitter accounts jessamyn, cliffski, or smkmuseum.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "fagerving" ) ( "string1" ) ( "smkmuseum" ) ( "string2" ) ( "MCirlanaru" ) ( "aemkei" ) ( "string3" ) ( "SFB_Cork" ) ( "innesmck" ) ( "jessamyn" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "RClaremont" ) ( "cliffski" ) } } ORDER BY ASC( ?var3 )


Question: What are the Twitter usernames for Crystal Palace F.C. and the World Society for Virology?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "CPFC" "WSVirology"
  }
}

Which Wikidata entities have the Twitter usernames "CPFC" or "WSVirology"?

Show me the entities on Wikidata that are associated with the Twitter accounts CPFC and WSVirology.

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


Question: Items in the Neues Museum collection with images on Wikimedia Commons.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?image WHERE {
  ?item wdt:P195 wd:Q157316 .
  ?item wdt:P18 ?image .
}

What artifacts from the Neues Museum in Berlin have images available on Wikimedia Commons?

Show me the images of objects held in the Neues Museum’s collection.

SELECT ?var1 ?var2 ?var3 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/P195> <http://www.wikidata.org/entity/Q157316> . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } LIMIT 10000


Question: Journal with ISSN 0021-2571

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?journal WHERE {
  ?journal wdt:P236 "0021-2571" .
}
LIMIT 1

Tell me the name of the journal that uses the ISSN 0021-2571.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> "0021-2571". } LIMIT 1


Question: Countries with capitals and their English names

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 ?country ?label WHERE {
  ?country wdt:P31 wd:Q6256 .
  ?country wdt:P36 ?capital .
  ?country rdfs:label ?label .
  FILTER(LANG(?label) = "en")
}
LIMIT 10

What are 10 countries that have a capital city, and what are their English names?

List 10 countries that have a capital, along with their official English names.

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


Question: Does the journal Organic and Biomolecular Chemistry have LCCN 2003261024?

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

Is there a Wikidata item for the journal Organic and Biomolecular Chemistry with the Library of Congress Control Number 2003261024?

Confirm if the LCCN 2003261024 is assigned to the journal Organic and Biomolecular Chemistry in Wikidata.

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


Question: Journal with ISSN 2159-4937

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?journal WHERE {
  ?journal wdt:P236 "2159-4937" .
}
LIMIT 1

What is the name of the journal with ISSN 2159-4937?

Find the Wikidata item for the journal that has the ISSN 2159-4937.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P236> "2159-4937". } LIMIT 1


Question: What is the name of the movie with IMDb ID tt1345836?

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

Which film is identified by the IMDb identifier tt1345836?

Can you tell me the title of the movie with IMDb ID tt1345836?

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


Question: What are the populations of countries in English?

SELECT ?countryLabel ?population WHERE { ?country wdt:P31 wd:Q6256 . ?country wdt:P1082 ?population . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } LIMIT 10

Can you list the names of countries and their populations, using English labels?

Which countries have recorded population data, and what are their populations in English?

SELECT ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var1 <http://www.wikidata.org/prop/direct/P36> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P1082> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } LIMIT 10


Question: List U.S. presidents with their spouses, number of children, images, and start dates of their presidencies, ordered chronologically.

SELECT ?presidentLabel ?spouseLabel ?image ?children ?startDate WHERE { ?president wdt:P31 wd:Q5 . ?president p:P39 ?position . ?position ps:P39 wd:Q11696 . ?position pq:P580 ?startDate . ?president wdt:P26 ?spouse . ?president wdt:P1971 ?children . ?president wdt:P18 ?image . ?president rdfs:label ?presidentLabel . ?spouse rdfs:label ?spouseLabel . FILTER(LANG(?presidentLabel) = "en") FILTER(LANG(?spouseLabel) = "en") } ORDER BY ASC(?startDate)

Who are the U.S. presidents, who did they marry, how many children did they have, what do they look like, and when did they take office?

Please provide a chronological list of U.S. presidents, including their official portraits, their spouses’ names, the number of children they had, and the dates they began their presidencies.

SELECT ?var1Label ?var2Label ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/P39> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P39> <http://www.wikidata.org/entity/Q11696> . ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P26> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P1971> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var5 )


Question: Does the Journal of Generic Medicines have Library of Congress Control Number 2007206198?

Is there a journal in Wikidata with the LCCN 2007206198?

Confirm whether the LCCN 2007206198 is assigned to any journal in Wikidata.

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


Question: Is the Library of Congress Control Number for Community College Review 73644969?

Does the academic journal "Community College Review" have the LCCN "73644969" in Wikidata?

Confirm whether the journal "Community College Review" is identified in Wikidata by the LCCN 73644969.

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


Question: What are the direct properties and their values for Stan Lauryssens, along with their Wikidata property IDs (P-numbers)?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property ?value ?pNumber WHERE {
  wd:Q447070 ?property ?value .
  FILTER ( STRSTARTS( STR( ?property ) , "http://www.wikidata.org/prop/direct/" ) ) BIND( REPLACE( STR( ?property ) , ".*direct/" , "" ) AS ?pNumber )
}

Can you list all the facts about Belgian writer Stan Lauryssens and their corresponding P-numbers?

Show me all the direct statements made about Stan Lauryssens in Wikidata and identify each property by its P-number.

SELECT DISTINCT * WHERE { <http://www.wikidata.org/entity/Q447070> ?var1 ?var2 . ?var1 <http://wikiba.se/ontology#directClaim> ?var3 . }


Question: German municipalities starting with "Bad"

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?municipality ?label WHERE {
  ?municipality ( wdt:P31 / wdt:P279 * ) wd:Q15284 ; wdt:P17 wd:Q183 ; rdfs:label ?label .
  FILTER ( LANG( ?label ) = "de" ) FILTER ( STRSTARTS( ?label , "Bad " ) )
}
LIMIT 1000

Which municipalities in Germany have names starting with "Bad"?

List all spa towns in Germany (municipalities with "Bad" in their name) in German language.

SELECT ?var1 ?var1Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q15284> ; <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q183> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "de" ) ) ) . FILTER ( ( STRSTARTS ( ?var1Label , "Bad " ) ) ) . } LIMIT 1000


Question: Italian Wikipedia category pages for standalone tennis tournament editions, excluding sub-events.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?wikipediaCategoryName ?tournament WHERE {
  ?tournament wdt:P31 wd:Q47345468 ; wdt:P910 ?mainCategory .
  FILTER NOT EXISTS {
    ?something wdt:P361 ?tournament .
  }
  ?article schema:about ?mainCategory ; schema:isPartOf <https://it.wikipedia.org/> ; schema:name ?wikipediaCategoryName .
}
ORDER BY ASC(?tournament)
LIMIT 1000

Which tennis tournament editions have Italian Wikipedia category pages and are not part of a larger tournament?

List the names of Italian Wikipedia categories for tennis tournament editions that are not sub-events of another tournament, sorted by tournament ID.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q47345468> ; <http://www.wikidata.org/prop/direct/P910> ?var3 . FILTER ( ( NOT EXISTS { [] <http://www.wikidata.org/prop/direct/P361> ?var2 . } ) ) . [] <http://schema.org/about> ?var3 ; <http://schema.org/isPartOf> <https://it.wikipedia.org/> ; <http://schema.org/name> ?var1 . } ORDER BY ASC( ?var2 ) OFFSET 0 LIMIT 1000


Question: What countries, administrative regions, and continent are associated with the Royal Palace of Brussels?

SELECT ?item ?itemLabel ?type WHERE {
  {
    wd:Q635307 wdt:P17 ?item .
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
    BIND("country" AS ?type)
  }
  UNION
  {
    wd:Q635307 wdt:P131+ ?item .
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
    BIND("administrative territorial entity" AS ?type)
  }
  UNION
  {
    wd:Q635307 wdt:P17 ?country .
    ?country wdt:P30 ?item .
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = "en")
    BIND("continent" AS ?type)
  }
}

Can you show me the geographic hierarchy of the Royal Palace of Brussels, including its country and continent?

List all the places the Royal Palace of Brussels is located in, from the city level up to the continent.

SELECT DISTINCT ?var1 WHERE { BIND ( <http://www.wikidata.org/entity/Q635307> 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: Paternal ancestors of Wilhelm II up to four generations, with their images and children.

SELECT ?ancestor ?ancestorLabel ?image ?child WHERE { { wd:Q2677 wdt:P22 ?ancestor . } UNION { wd:Q2677 wdt:P22 ?gen1 . ?gen1 wdt:P22 ?ancestor . } UNION { wd:Q2677 wdt:P22 ?gen1 . ?gen1 wdt:P22 ?gen2 . ?gen2 wdt:P22 ?ancestor . } UNION { wd:Q2677 wdt:P22 ?gen1 . ?gen1 wdt:P22 ?gen2 . ?gen2 wdt:P22 ?gen3 . ?gen3 wdt:P22 ?ancestor . } OPTIONAL { ?ancestor rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = "en") } OPTIONAL { ?ancestor wdt:P18 ?image } OPTIONAL { ?ancestor wdt:P40 ?child } }

Who are the paternal ancestors of Emperor Wilhelm II up to four generations back, and what are their images and children?

Show me the names, images, and children of Wilhelm II’s father, grandfather, great-grandfather, and great-great-grandfather.

SELECT ?var1 ?var1Label ?var2 ?var3 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/Q2677> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var4 ; <http://www.bigdata.com/rdf/gas#maxIterations> "4"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P22> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de,en". } }


Question: Is there a TV series that has a list of episodes linked to the article "Anexo:Episodios de Ugly Betty"?

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

Does the TV series Ugly Betty have an episode list article on Wikipedia?

Is the Wikipedia page "Anexo:Episodios de Ugly Betty" used as the episode list for any TV series?

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


Question: Does Mozart in the Jungle have an episode list on Wikipedia?

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

Is there a television series that links to the episode list article Q24254342?

Confirm whether the TV series Mozart in the Jungle is connected to its episode list via the P1811 property.

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


Question: Does The Good Wife have a list of episodes on Wikipedia?

Is there a Wikipedia page listing the episodes of the TV series The Good Wife?

Confirm whether the TV series The Good Wife is linked to its episode list on Wikipedia.

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


Question: Who are the humans named 'Regula' in French?

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 "Regula" @fr .
  ?person wdt:P31 wd:Q5 .
}

Which people have the French name 'Regula'?

List all individuals in Wikidata who are classified as human and are called 'Regula' in French.

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


Question: What are the subfields of data science?

SELECT ?subfield ?subfieldLabel WHERE { ?subfield wdt:P361 wd:Q2374463 . ?subfield rdfs:label ?subfieldLabel . FILTER(LANG(?subfieldLabel) = "en") }

Which fields are part of data science as components?

List the academic disciplines that are components of data science.

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


Question: What are the subclasses of document repository, and what are their English labels and images?

SELECT ?subclass ?label ?image WHERE { ?subclass wdt:P279 wd:Q1235234 . OPTIONAL { ?subclass wdt:P18 ?image . } ?subclass rdfs:label ?label . FILTER(LANG(?label) = "en") } LIMIT 100

Show me digital archives and their subtypes along with their labels and pictures, if available.

List all types of digital repositories, including their names and associated images.

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


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

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

Show me the Wikipedia articles in English and German about the movie "Any Number Can Win".

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

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


Question: What are the English and German Wikipedia articles about the film with IMDb ID tt0057518?

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

Show me the Wikipedia pages in English and German for the movie "Son of Flubber" (tt0057518).

Which language versions of Wikipedia have articles about the 1963 Disney film "Son of Flubber" identified by IMDb ID tt0057518?

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


Question: Humans with "Viberti" in their French label

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

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

List all humans whose French Wikipedia-style name includes "Viberti".

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


Question: List all current municipalities in Germany and the districts they belong to.

SELECT ?municipality ?district WHERE { ?municipality p:P31 ?instanceStatement . ?instanceStatement ps:P31/wdt:P279* wd:Q262166 . MINUS { ?instanceStatement pq:P582 ?endTime . } MINUS { ?instanceStatement pq:P576 ?dissolvedDate . } ?municipality wdt:P131 ?district . ?district wdt:P31 wd:Q106658 . }

Which districts in Germany contain currently active municipalities, and what are those municipalities?

Show me the names of all municipalities in Germany that are still active (not dissolved or abolished) along with the administrative district each one is located in.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 ( <http://www.wikidata.org/prop/statement/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q262166> . MINUS { ?var3 <http://www.wikidata.org/prop/qualifier/P582> ?var4 . } MINUS { ?var3 <http://www.wikidata.org/prop/qualifier/P576> ?var5 . } ?var1 <http://www.wikidata.org/prop/direct/P131> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q106658> . }


Question: German citizens with notable works

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 ?work ?workLabel WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P27 wd:Q183 .
  ?human wdt:P800 ?work .
  ?human rdfs:label ?humanLabel .
  ?work rdfs:label ?workLabel .
  FILTER ( LANG( ?humanLabel ) = "en" ) FILTER ( LANG( ?workLabel ) = "en" )
}
LIMIT 100

Who are some German citizens and what are their notable works?

List German people along with their significant artistic, literary, or scientific contributions.

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


Question: What are all the ancestors and descendants of Zeus up to three generations away?

SELECT DISTINCT ?person ?personLabel WHERE { { BIND(wd:Q34201 AS ?person) } UNION { wd:Q34201 wdt:P40 ?person . } UNION { wd:Q34201 wdt:P40 ?child . ?child wdt:P40 ?person . } UNION { wd:Q34201 wdt:P40 ?child . ?child wdt:P40 ?grandchild . ?grandchild wdt:P40 ?person . } UNION { ?person wdt:P40 wd:Q34201 . } UNION { ?person wdt:P40 ?parent . ?parent wdt:P40 wd:Q34201 . } UNION { ?person wdt:P40 ?parent . ?parent wdt:P40 ?grandparent . ?grandparent wdt:P40 wd:Q34201 . } ?person rdfs:label ?personLabel . FILTER(LANG(?personLabel) = "en")}

List the names of Zeus’s children, grandchildren, great-grandchildren, parents, grandparents, and great-grandparents.

Who are Zeus’s family members within three degrees of kinship through parent-child relationships?

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/Q34201> ; <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> "3"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } } 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/Q34201> ; <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> "3"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P40> . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P40> ?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 for the movie with IMDb ID tt1027747?

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

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

Find the Wikipedia links in English and German for the movie that has the IMDb identifier tt1027747.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt1027747". } ?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: Given names with English and German labels that are not identical.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?givenName ?labelEn ?labelDe WHERE {
  ?givenName wdt:P31 wd:Q202444 .
  ?givenName rdfs:label ?labelEn .
  ?givenName rdfs:label ?labelDe .
  FILTER ( LANG( ?labelEn ) = "en" ) .
  FILTER ( LANG( ?labelDe ) = "de" ) .
  FILTER ( STR( ?labelEn ) != STR( ?labelDe ) ) .
}
LIMIT 300

Which given names have different English and German translations in Wikidata?

Show me given names that have both an English and a German label, where the two labels are not the same string.

SELECT DISTINCT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q202444> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "de" ) ) ) . FILTER ( ( ( STR ( ?var4 ) != STR ( ?var5 ) ) ) ) . } LIMIT 300