Question: How many articles citing "Measuring and modeling hydrological processes of sand-storage dams on different spatial scales" were published each year, and did they have authors?

SELECT ?year ( COUNT( DISTINCT ?citingArticle ) AS ?count ) ?hasAuthor WHERE { BIND( wd:Q46570449 AS ?citedArticle ) . ?citingArticle wdt:P2860 ?citedArticle . ?citingArticle wdt:P577 ?pubDate . BIND( YEAR( ?pubDate ) AS ?yearNum ) . FILTER( BOUND( ?yearNum ) ) . BIND( STR( ?yearNum ) AS ?year ) . BIND( IF( EXISTS { ?citingArticle wdt:P50 [] } , "has author" , "no author" ) AS ?hasAuthor ) . } GROUP BY ?year ?hasAuthor ORDER BY DESC ( ?year )

Can you show me the publication years of articles that cite the 2009 study on sand-storage dams, along with whether each citing article has an author listed?

List the number of citing articles per year for the scholarly paper on sand-storage dams, grouped by whether they have authors or not.

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


Question: Image of the person with SNAC ARK ID w6282xws

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

What is the image associated with George Ratcliffe Woodward in Wikidata?

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

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


Question: Railway stations in Belgium with their irail.be IDs and connected train lines in Dutch, French, or German.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?externalId(GROUP_CONCAT(DISTINCT ?lineLabel ; SEPARATOR = "|") AS ?connectedLines) ?stationName WHERE {
  ?station wdt:P31 wd:Q55488 .
  ?station wdt:P17 wd:Q31 .
  ?station wdt:P2888 ?externalId .
  OPTIONAL {
    ?station wdt:P81 ?line .
    ?line rdfs:label ?lineLabel .
    FILTER(LANG(?lineLabel) IN("nl" , "fr" , "de"))
  }
  OPTIONAL {
    ?station rdfs:label ?stationName .
    FILTER(LANG(?stationName) IN("nl" , "fr" , "de"))
  }
}
GROUP BY ?externalId ?stationName
ORDER BY ASC(?externalId)

What are the names of railway stations in Belgium, their corresponding irail.be identifiers, and the railway lines they connect to, in the official languages of Belgium?

List all railway stations in Belgium, including their external irail.be links, the names of the train lines they are on (in Dutch, French, or German), and their official station names in those languages.

SELECT DISTINCT ?var1 ( GROUP_CONCAT ( DISTINCT ?var2Label ; SEPARATOR = "|" ) AS ?var3 ) ?var4 WHERE { ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q55488> . ?var5 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q31> . ?var5 <http://www.wikidata.org/prop/direct/P2888> ?var1 . OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P81> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . } OPTIONAL { ?var5 <http://www.wikidata.org/prop/direct/P1705> ?var4 . } } GROUP BY ?var1 ?var4 ORDER BY ASC( ?var1 )


Question: What are the 10 earliest dates recorded for historical events in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?time WHERE {
  ?item wdt:P585 ?time .
}
ORDER BY ASC ( ?time )
LIMIT 10

Which 10 oldest time points are documented in Wikidata for cosmic and geological events?

List the 10 oldest events by date from Wikidata’s point-in-time data.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P585> ?var1 . } ORDER BY ASC( ?var1 ) LIMIT 10


Question: Which days of the year had events between 2011 and 2020, and in which years did they occur?

SELECT ?month ?day (GROUP_CONCAT(DISTINCT STR(YEAR(?date)); separator=",") AS ?years) WHERE { ?event wdt:P31 wd:Q205892 ; wdt:P585 ?date . BIND(MONTH(?date) AS ?month) BIND(DAY(?date) AS ?day) FILTER(YEAR(?date) >= 2011 && YEAR(?date) <= 2020) } GROUP BY ?month ?day ORDER BY ?month ?day

For each month and day, what years between 2011 and 2020 had at least one event recorded on that date?

Show me a list of all month-day combinations from 2011 to 2020 that had events, along with the years those events happened.

SELECT ?var1 ?var2 ( GROUP_CONCAT ( STRAFTER ( STR ( ?var3 ) , "y/" ) ) AS ?var3 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var4 ) , "y/" ) ) AS ?var4 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var5 ) , "y/" ) ) AS ?var5 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var6 ) , "y/" ) ) AS ?var6 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var7 ) , "y/" ) ) AS ?var7 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var8 ) , "y/" ) ) AS ?var8 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var9 ) , "y/" ) ) AS ?var9 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var10 ) , "y/" ) ) AS ?var10 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var11 ) , "y/" ) ) AS ?var11 )( GROUP_CONCAT ( STRAFTER ( STR ( ?var12 ) , "y/" ) ) AS ?var12 ) WHERE { BIND ( YEAR ( ?var13 ) AS ?var14 ). BIND ( MONTH ( ?var13 ) AS ?var1 ). BIND ( DAY ( ?var13 ) AS ?var2 ). BIND ( CONCAT ( STR ( ?var1 ) , "-", STR ( ?var2 ) ) AS ?var15 ). BIND ( IF ( ( ?var14 = "2011"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var3 ). BIND ( IF ( ( ?var14 = "2012"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var4 ). BIND ( IF ( ( ?var14 = "2013"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var5 ). BIND ( IF ( ( ?var14 = "2014"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var6 ). BIND ( IF ( ( ?var14 = "2015"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var7 ). BIND ( IF ( ( ?var14 = "2016"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var8 ). BIND ( IF ( ( ?var14 = "2017"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var9 ). BIND ( IF ( ( ?var14 = "2018"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var10 ). BIND ( IF ( ( ?var14 = "2019"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var11 ). BIND ( IF ( ( ?var14 = "2020"^^<http://www.w3.org/2001/XMLSchema#integer> ), ?var16 , "" ) AS ?var12 ). ?var16 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> ; <http://www.wikidata.org/prop/direct/P585> ?var13 . FILTER ( ( ( ?var14 > "2010"^^<http://www.w3.org/2001/XMLSchema#integer> ) && ( ?var14 < "2021"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } GROUP BY ?var2 ?var1 ORDER BY ASC( ?var1 )ASC( ?var2 )


Question: Items with catalog codes and their corresponding catalog names.

SELECT ?item ?itemLabel ?catalogCode ?catalogName ?catalogNameLabel WHERE { ?item wdt:P528 ?catalogCode . ?item p:P528 ?statement . ?statement pq:P972 ?catalogName . OPTIONAL { ?catalogName rdfs:label ?catalogNameLabel . FILTER(LANG(?catalogNameLabel) = "en") } OPTIONAL { ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } } LIMIT 100

Which astronomical or archival items have catalog codes, and what are the names of the catalogs they belong to?

Show me a list of items that have catalog codes, along with the names of the catalogs (like NGC or HD) that those codes belong to.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P528> ?var2 . OPTIONAL { ?var2 ?var3 [] . [] <http://wikiba.se/ontology#qualifier> ?var3 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "de". } } LIMIT 100


Question: Which organizations have Twitter handles "lemondefr", "InseeFr", "InseeFr_News", or "letudiant"?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "lemondefr" "InseeFr" "InseeFr_News" "letudiant" } }

What Wikidata entities are associated with the Twitter usernames lemondefr, InseeFr, InseeFr_News, or letudiant?

List all entities on Wikidata that use any of these Twitter handles: lemondefr, InseeFr, InseeFr_News, or letudiant.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "InseeFr" ) ( "lemondefr" ) ( "La_FIM" ) ( "string3" ) ( "COPACEL_" ) ( "string4" ) ( "string5" ) ( "letudiant" ) ( "FEBEA_FR" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "medef" ) ( "string10" ) } } ORDER BY ASC( ?var3 )


Question: What entities are located in South Tyrol?

SELECT ?item WHERE { ?item wdt:P276 wd:Q15124 . }

List all items that are situated in the autonomous province of South Tyrol.

Which cultural, economic, or geographic entities are associated with South Tyrol by location?

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


Question: Works authored by Merete Sanderhoff, including their publication date, type, number of pages, venue, and co-authors, sorted by latest publication first.

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 ( MIN( ?pubDate ) AS ?minPubDate ) ?work ?workLabel ( GROUP_CONCAT( DISTINCT ?typeLabel ; SEPARATOR = ", " ) AS ?types ) ( SAMPLE( ?pages ) AS ?samplePages ) ?publicationVenue ?venueLabel ( GROUP_CONCAT( DISTINCT ?authorLabel ; SEPARATOR = ", " ) AS ?authorLabels ) WHERE {
  ?work wdt:P50 wd:Q43018417 .
  ?work wdt:P50 ?author .
  OPTIONAL {
    ?author rdfs:label ?authorLabelRaw .
    FILTER ( LANG( ?authorLabelRaw ) = "en" )
  }
  BIND( COALESCE ( ?authorLabelRaw , SUBSTR( STR( ?author ) , 32 ) ) AS ?authorLabel ) OPTIONAL {
    ?work wdt:P31 ?type .
    ?type rdfs:label ?typeLabel .
    FILTER ( LANG( ?typeLabel ) = "en" )
  }
  OPTIONAL {
    ?work wdt:P577 ?pubDate
  }
  OPTIONAL {
    ?work wdt:P1104 ?pages
  }
  OPTIONAL {
    ?work wdt:P1433 ?publicationVenue .
    ?publicationVenue rdfs:label ?venueLabel .
    FILTER ( LANG( ?venueLabel ) = "en" )
  }
  OPTIONAL {
    ?work rdfs:label ?workLabel .
    FILTER ( LANG( ?workLabel ) = "en" )
  }
}
GROUP BY ?work ?workLabel ?publicationVenue ?venueLabel
ORDER BY DESC ( ?minPubDate )

What are the works authored by Merete Sanderhoff, and what are their publication dates, types, page counts, publication venues, and co-authors, listed from most recent to oldest?

Please list all works where Merete Sanderhoff is an author, showing their English labels, publication dates, types (e.g., article or chapter), number of pages, publication venues, and all co-authors, ordered by publication date in descending order.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( DISTINCT ?var4Label ; SEPARATOR = ", " ) AS ?var5 )( SAMPLE ( ?var6 ) AS ?var7 ) ?var8 ?var8Label ( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = ", " ) AS ?var10 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q43018417> . ?var3 <http://www.wikidata.org/prop/direct/P50> ?var11 . OPTIONAL { ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12 . FILTER ( ( ( LANG ( ?var12 ) = "en" ) ) ) . } BIND ( COALESCE ( ?var12 , SUBSTR ( STR ( ?var11 ) ,"32"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var9Label ). OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P31> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var13 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var13 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1104> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var8 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ?var8 ?var8Label ORDER BY DESC( ?var2 )


Question: What images are associated with Ewan Klein, excluding images of people?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?image WHERE {
  wd:Q30086013 ?property ?entity .
  ?entity wdt:P18 ?image .
  FILTER(?entity != wd:Q5)
}

Can you show me pictures of things related to Ewan Klein, like institutions or languages, but not of humans?

Show me the Wikimedia Commons images of entities connected to Ewan Klein, such as his employer or the language he speaks.

SELECT DISTINCT ?var1 WHERE { { <http://www.wikidata.org/entity/Q30086013> <http://www.wikidata.org/prop/direct/P18> ?var1 . } UNION { <http://www.wikidata.org/entity/Q30086013> ?var2 ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P18> ?var1 . FILTER ( ( ( ?var3 != <http://www.wikidata.org/entity/Q5> ) ) ) . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q30086013> . { ?var4 <http://www.wikidata.org/prop/direct/P921> [ <http://www.wikidata.org/prop/direct/P18> ?var1 ] . } UNION { ?var5 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var5 <http://www.wikidata.org/prop/direct/P18> ?var1 . } } }


Question: Which entities on Wikidata have the Twitter usernames "prefpolice", "RemiFeraud", "annegab2A", or "jbdef"?

SELECT ?item ?username ?itemLabel WHERE { ?item wdt:P2002 ?username . FILTER(?username IN ("prefpolice", "RemiFeraud", "annegab2A", "jbdef")) . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } ORDER BY ?username

Who are the people or organizations on Wikidata with Twitter handles prefpolice, RemiFeraud, annegab2A, and jbdef?

List the English labels and Twitter usernames for the Wikidata items with the handles prefpolice, RemiFeraud, annegab2A, and jbdef.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "prefpolice" ) ( "dburkli" ) ( "AGovciyan" ) ( "string2" ) ( "string3" ) ( "gybloch" ) ( "string4" ) ( "RecycLivre" ) ( "Paris" ) ( "string5" ) ( "string6" ) ( "RemiFeraud" ) ( "string7" ) ( "Aicom_Actu" ) ( "aguillem1" ) ( "G_Vajda" ) ( "LeydetS" ) ( "sdulermo" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "BsppGso" ) ( "audouze1" ) ( "jbdef" ) ( "string12" ) ( "string13" ) ( "annegab2A" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata entities have Twitter accounts "LesEchos", "Gallimard", "ComedieFr", "Telerama", or "Thom_astro"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?entity ?twitterUsername WHERE {
  ?entity wdt:P2002 ?twitterUsername .
  VALUES ?twitterUsername {
    "LesEchos" "Gallimard" "ComedieFr" "Telerama" "Thom_astro"
  }
}
ORDER BY ?twitterUsername

Who are the entities on Wikidata that are linked to the Twitter usernames LesEchos, Gallimard, ComedieFr, Telerama, and Thom_astro?

List the Wikidata items that have these Twitter handles: LesEchos, Gallimard, ComedieFr, Telerama, and Thom_astro.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "pchevilley" ) ( "string1" ) ( "sceneweb" ) ( "104paris" ) ( "T2G_tweet" ) ( "Telerama" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "Thom_astro" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "LesEchos" ) ( "string10" ) ( "string11" ) ( "DisputeFC" ) ( "Gallimard" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "lucommo" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "string24" ) ( "ComedieFr" ) ( "Th_Atelier" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata entities have Twitter usernames ComedieFr, ericrevel1, mvoinchet, brunola, or bibicheri, sorted by number of Wikipedia pages?

SELECT ?entity ?username (COUNT(?sitelink) AS ?sitelinks) WHERE { ?entity wdt:P2002 ?username . ?sitelink schema:about ?entity ; schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), "https://")) VALUES ?username { "ComedieFr" "ericrevel1" "mvoinchet" "brunola" "bibicheri" } } GROUP BY ?entity ?username ORDER BY ASC(?sitelinks)

Who are the people or organizations on Wikidata with the Twitter handles ComedieFr, ericrevel1, mvoinchet, brunola, or bibicheri, and how many Wikipedia articles exist about them?

List the Wikidata items for the Twitter accounts ComedieFr, ericrevel1, mvoinchet, brunola, and bibicheri, ordered by how many language versions of Wikipedia they have.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "ComedieFr" ) ( "string3" ) ( "string4" ) ( "latrive" ) ( "Tertio7" ) ( "string5" ) ( "RoubaLeroi" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "ericrevel1" ) ( "mvoinchet" ) ( "string13" ) ( "brunola" ) ( "Lecoultre_" ) ( "Taspasidee" ) ( "combedouce" ) ( "FC_Hashtag" ) ( "string14" ) ( "string15" ) ( "EditionsRF" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "bibicheri" ) } } ORDER BY ASC( ?var3 )


Question: What is the Wikidata item for the Twitter username "France5tv"?

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

Which entity on Wikidata has the Twitter handle France5tv?

Can you find the Wikidata entry for the Twitter account @France5tv?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "France5tv" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "cavousf5" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata entities have Twitter usernames Sidaction, CDEssonne, durovray, ARS_IDF, RERD_SNCF, robinreda, or VilledEvry?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitter WHERE {
  ?item wdt:P2002 ?twitter .
  VALUES ?twitter {
    "Sidaction" "robinreda" "RERD_SNCF" "CDEssonne" "durovray" "ARS_IDF" "VilledEvry"
  }
}

Who or what on Wikidata uses the Twitter accounts "Sidaction", "CDEssonne", "durovray", "ARS_IDF", "RERD_SNCF", "robinreda", or "VilledEvry"?

List the Wikidata items that are associated with the Twitter usernames: Sidaction, CDEssonne, durovray, ARS_IDF, RERD_SNCF, robinreda, and VilledEvry.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "JFMiaux" ) ( "string2" ) ( "CDEssonne" ) ( "durovray" ) ( "string3" ) ( "ARS_IDF" ) ( "Sidaction" ) ( "c_paratre" ) ( "string4" ) ( "string5" ) ( "VilledEvry" ) ( "string6" ) ( "OVH" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "EFS_91" ) ( "groupesni" ) ( "robinreda" ) ( "string10" ) ( "RERD_SNCF" ) } } ORDER BY ASC( ?var3 )


Question: Which entities have Twitter usernames fchouat, VilledEvry, Romeiro1L, or Prefet91?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle WHERE {
  ?item wdt:P2002 ?twitterHandle .
  FILTER(STR(?twitterHandle) = "fchouat" || STR(?twitterHandle) = "VilledEvry" || STR(?twitterHandle) = "Romeiro1L" || STR(?twitterHandle) = "Prefet91")
}

Who are the people or organizations on Wikidata with the Twitter handles @fchouat, @VilledEvry, @Romeiro1L, or @Prefet91?

List all Wikidata items that are associated with the Twitter accounts fchouat, VilledEvry, Romeiro1L, or Prefet91.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "fchouat" ) ( "VilledEvry" ) ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "JP_Dugault" ) ( "Romeiro1L" ) ( "Prefet91" ) ( "prefet91" ) ( "fmary_pro" ) } } ORDER BY ASC( ?var3 )


Question: What is the English description of the artwork with EK number 11472?

SELECT ?artwork ?description WHERE { ?artwork wdt:P4627 "11472" . OPTIONAL { ?artwork schema:description ?description . FILTER (LANG(?description) = "en") } }

Can you find the English description for the painting identified by the Entartete Kunst ID 11472?

Show the English-language description of the artwork in the Degenerate Art database with ID 11472.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4627> "11472". 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: Which entities on Wikidata have Twitter usernames matching "envlh", "string1", "KialoHQ", "dark_shark", "MarkScherz", or "TeamKMCC"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  FILTER(?username IN("envlh" , "string1" , "KialoHQ" , "dark_shark" , "MarkScherz" , "TeamKMCC"))
}

Show me the Wikidata items and their Twitter handles for the usernames: envlh, string1, KialoHQ, dark_shark, MarkScherz, and TeamKMCC.

Find all Wikidata entities that use any of these Twitter usernames: envlh, string1, KialoHQ, dark_shark, MarkScherz, or TeamKMCC.

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


Question: List geolocated places in Southeast Asia (between 2°N–10°N and 94°E–100°E) with their images, Commons categories, and addresses.

SELECT ?item ?itemLabel ?location ?image ?commonsCategory ?address WHERE { ?item wdt:P625 ?location . FILTER(geof:longitude(?location) >= 94 && geof:longitude(?location) <= 100) FILTER(geof:latitude(?location) >= 2 && geof:latitude(?location) <= 10) OPTIONAL { ?item wdt:P18 ?image . } OPTIONAL { ?item wdt:P373 ?commonsCategory . } OPTIONAL { ?item wdt:P969 ?address . } ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 3000

What are the English-named locations in southern Thailand and nearby regions that have coordinates, images, Wikimedia Commons categories, and street addresses?

Show me up to 3,000 places in Southeast Asia with geographic coordinates, along with their images, Commons categories, and street addresses, using English labels.

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


Question: What entities in Wikidata have a defined color, and what are those colors?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?entity ?color ?entityLabel ?colorLabel WHERE {
  ?entity wdt:P462 ?color .
  ?entity rdfs:label ?entityLabel .
  ?color rdfs:label ?colorLabel .
  FILTER(LANG(?entityLabel) = 'en')
  .
  FILTER(LANG(?colorLabel) = 'en')
  .
}

Can you list the names of items and their corresponding colors in English?

Which products or objects are associated with specific colors, and what are the English names of those colors?

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P255> ?var2 . }


Question: Which Wikidata entities have Twitter usernames "AAWaberi" or "ActesSud"?

SELECT ?item ?twitterUsername WHERE { ?item wdt:P2002 ?twitterUsername . VALUES ?twitterUsername { "AAWaberi" "ActesSud" } }

Who or what is associated with the Twitter handles AAWaberi and ActesSud on Wikidata?

Show me the Wikidata items linked to the Twitter usernames AAWaberi and ActesSud.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "LecturesG" ) ( "string2" ) ( "AAWaberi" ) ( "string3" ) ( "string4" ) ( "babelio2" ) ( "babelio" ) ( "gwordia" ) ( "string5" ) ( "string6" ) ( "IntranQ" ) ( "string7" ) ( "Vivilivres" ) ( "string8" ) ( "ActesSud" ) ( "string9" ) ( "diacritik" ) ( "keimiller" ) ( "string10" ) } } ORDER BY ASC( ?var3 )


Question: Which entities on Wikidata have the Twitter usernames "CityOfBoston", "deventergem", or "melroserugby"?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "CityOfBoston" "deventergem" "melroserugby"
  }
}
ORDER BY ASC ( ?username )

Can you show me the Wikidata items linked to the Twitter accounts @CityOfBoston, @deventergem, and @melroserugby?

What are the Wikidata entities corresponding to these Twitter handles: CityOfBoston, deventergem, and melroserugby?

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "FVauglin" ) ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "EricPiolle" ) ( "string5" ) ( "alainjuppe" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "bayrou" ) ( "GilAverous" ) ( "FLeturque" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "VilleArras" ) ( "ledauphine" ) ( "EELV" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "f3Alpes" ) ( "string15" ) ( "Mairiedu11" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "ArielWeilT" ) ( "string19" ) ( "string20" ) ( "IanBrossat" ) ( "Luc_Lebon" ) ( "string21" ) ( "string22" ) ( "PuzelatM" ) ( "string23" ) ( "paris" ) ( "string24" ) ( "d_restino" ) ( "string25" ) ( "string26" ) ( "Fredhoc" ) ( "string27" ) ( "Semaest" ) ( "string28" ) ( "pbloche" ) ( "string29" ) ( "string30" ) ( "string31" ) ( "string32" ) ( "string33" ) ( "Libe75" ) ( "string34" ) ( "string35" ) ( "Mairiedu3" ) ( "string36" ) ( "PAidenbaum" ) ( "Paris" ) ( "string37" ) ( "string38" ) ( "string39" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata entity has the Twitter username "vpecresse", and how many Wikipedia language editions feature an article about it?

SELECT ?item ?twitter (COUNT(?article) AS ?sitelinks) WHERE { ?item wdt:P2002 ?twitter . ?article schema:about ?item ; schema:isPartOf ?wikipedia . FILTER(STRSTARTS(STR(?wikipedia), "https://")) FILTER(?twitter = "vpecresse") } GROUP BY ?item ?twitter ORDER BY ASC(?sitelinks)

Who is the person with the Twitter handle @vpecresse, and across how many Wikipedias is there an article about them?

Show me the Wikidata item for the Twitter user "vpecresse" along with the number of Wikipedia articles about them, sorted by least coverage.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "JoDBC" ) ( "string2" ) ( "vpecresse" ) ( "string3" ) ( "RepIDF" ) ( "string4" ) ( "string5" ) ( "string6" ) } } ORDER BY ASC( ?var3 )


Question: People who died on September 1, 1967

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?person WHERE {
  ?person wdt:P570 ?deathDate .
  FILTER(?deathDate >= "1967-09-01T00:00:00Z" ^^ xsd:dateTime && ?deathDate <= "1967-09-01T23:59:59Z" ^^ xsd:dateTime)
}

List all individuals whose date of death was exactly September 1, 1967.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P570> ?var2 . FILTER ( ( ( ?var2 >= "1967-09-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1967-09-01T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What works, discoveries, or institutions were created, published, discovered, or officially opened on September 1, 1967?

SELECT DISTINCT ?item WHERE { ?item (wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date . FILTER ( ?date >= "1967-09-01T00:00:00Z"^^xsd:dateTime && ?date <= "1967-09-01T23:59:59Z"^^xsd:dateTime ) }

Which entities had their inception, publication, discovery, or official opening on September 1, 1967?

List all items from Wikidata that were founded, published, discovered, or opened on September 1, 1967.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P571> | <http://www.wikidata.org/prop/direct/P575> | <http://www.wikidata.org/prop/direct/P577> | <http://www.wikidata.org/prop/direct/P1619> ) ?var2 . FILTER ( ( ( ?var2 >= "1967-09-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1967-09-01T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Books by J.K. Rowling, their genres, series, and publication 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 ?book ?bookLabel ?authorLabel ?genreLabel ?seriesLabel ?pubDate WHERE {
  ?author rdfs:label "J. K. Rowling" @en .
  ?book wdt:P50 ?author .
  ?book wdt:P31 ?type .
  FILTER(?type IN(wd:Q571 , wd:Q7725634))
  OPTIONAL {
    ?book wdt:P136 ?genre .
    ?genre rdfs:label ?genreLabel .
    FILTER(LANG(?genreLabel) = "en")
  }
  OPTIONAL {
    ?book wdt:P179 ?series .
    ?series rdfs:label ?seriesLabel .
    FILTER(LANG(?seriesLabel) = "en")
  }
  OPTIONAL {
    ?book wdt:P577 ?pubDate .
  }
}

What are the books written by J.K. Rowling, their genres, the series they belong to, and when were they published?

List all literary works by J.K. Rowling along with their genres, series, and publication dates.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4Label ?var5 WHERE { ?var2 ?var6Label "string1"@en . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P136> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var8 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "pl". } }


Question: Image of Frank Harris with SNAC ARK ID w6ht2qgg

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

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

Show me the Wikimedia Commons image for the person identified by SNAC ARK ID w6ht2qgg.

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


Question: What is the English Wikipedia page and Rotten Tomatoes ID for the film with IMDb ID tt0061619, and what awards did it win?

SELECT ?wikipediaPage ?rottenTomatoesId ?award WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 "tt0061619" . OPTIONAL { ?wikipediaPage schema:about ?film ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?film p:P166 ?awardStatement . ?awardStatement ps:P166 ?awardItem . ?awardItem rdfs:label ?award . FILTER (LANG(?award) = "en") . } OPTIONAL { ?film wdt:P1258 ?rottenTomatoesId . } }

Can you find the English Wikipedia link and Rotten Tomatoes identifier for the movie El Dorado (1966), and list any awards it received in English?

Please provide the English Wikipedia page, Rotten Tomatoes ID, and any English-language awards for the film identified by IMDb ID tt0061619.

SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var5 . OPTIONAL { ?var1 <http://schema.org/about> ?var4 . ?var1 <http://schema.org/inLanguage> "en". ?var1 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/P166> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P166> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } OPTIONAL { ?var4 <http://www.wikidata.org/prop/direct/P1258> ?var2 . } FILTER ( ( ( ?var5 = "tt0061619" ) ) ) . }


Question: What is the Japanese description of Hitsuji-jinja (Nagoya)?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?description WHERE {
  wd:Q22120105 schema:description ?description .
  FILTER(LANG(?description) = "ja")
}

How is Hitsuji-jinja (Nagoya) described in Japanese?

Can you show me the Japanese text that describes Hitsuji-jinja in Nagoya?

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


Question: Image of James Kelman with SNAC ARK ID w6934dtw

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

What is the image of the Scottish writer James Kelman, identified by the SNAC ARK ID w6934dtw?

Show me the Commons image associated with James Kelman’s SNAC ARK ID w6934dtw.

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


Question: What are the youth wings of political parties and organizations, and what are their English labels?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?organization ?organizationLabel ?youthWing ?youthWingLabel WHERE {
  ?organization wdt:P4379 ?youthWing .
  OPTIONAL {
    ?organization rdfs:label ?organizationLabel .
    FILTER(LANG(?organizationLabel) = "en")
  }
  OPTIONAL {
    ?youthWing rdfs:label ?youthWingLabel .
    FILTER(LANG(?youthWingLabel) = "en")
  }
}
LIMIT 1000

List organizations and their youth wings in English.

Show me the organizations that have youth wings along with the names of those youth wings in English.

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


Question: What events or organizations has Andy Mabbett participated in or been associated with, and where are they located?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?image ?entity ?entityLabel ?location ?propertyLabel WHERE {
  wd:Q15136093 ?directClaim ?entity .
  ?propertyItem wikibase:directClaim ?directClaim .
  ?propertyItem rdfs:label ?propertyLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" ) {
    ?entity p:P159 / pq:P625 ?location .
  } UNION {
    ?entity wdt:P276 ?locationItem .
    ?locationItem wdt:P625 ?location .
  } UNION {
    ?entity wdt:P625 ?location .
  }
  OPTIONAL {
    ?entity wdt:P18 ?image .
  }
  ?entity rdfs:label ?entityLabel .
  FILTER ( LANG( ?entityLabel ) = "en" )
}

Show me the names of the events and groups Andy Mabbett is linked to, along with their locations and the nature of his connection (e.g., participant, member), and include any available images.

Which conferences or organizations connected to Andy Mabbett have geographic coordinates, and what type of relationship does he have with them?

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q15136093> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . }


Question: Japanese citizens without Japanese-language labels in Wikidata

SELECT ?human ?label WHERE { ?human wdt:P31 wd:Q5 . ?human wdt:P27 wd:Q17 . FILTER (NOT EXISTS { ?human rdfs:label ?jlabel . FILTER (LANG(?jlabel) = "ja") }) . ?human rdfs:label ?label . FILTER (LANG(?label) != "ja") } ORDER BY ?human

Which humans who are citizens of Japan do not have a label in Japanese?

Show me the non-Japanese labels of people who are citizens of Japan but lack a Japanese label.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q17> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,fr,en,de,it,es,no,pt,zh". } FILTER ( ( NOT EXISTS { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "ja" ) ) ) . } ) ) . } ORDER BY ASC( ?var1Label )


Question: Organizations that operate ships

SELECT DISTINCT ?organization ?organizationLabel WHERE { ?organization p:P121 ?statement . ?statement ps:P121 wd:Q11446 . ?organization rdfs:label ?organizationLabel . FILTER(LANG(?organizationLabel) = "en") } LIMIT 101

Which navies or military organizations operate ships?

List the organizations that have ships in their fleet.

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


Question: Japanese Wikipedia page for Kitanomaru Park

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?page ?title WHERE {
  ?page schema:about wd:Q1075966 .
  ?page schema:inLanguage "ja" .
  BIND(STRAFTER(STR(?page) , "https://ja.wikipedia.org/wiki/") AS ?title)
}

What is the Japanese Wikipedia article about Kitanomaru Park?

Show me the URL and title of the Japanese Wikipedia page about Kitanomaru Park.

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


Question: What are the main topics of Andy Brunning’s works, and what are the titles of those works?

SELECT ?workCount ?mainSubjectLabel ?workLabelShort WHERE { { SELECT ?mainSubject (COUNT(?work) AS ?workCount) WHERE { ?work wdt:P50 wd:Q44476967 . ?work wdt:P921 ?mainSubject . } GROUP BY ?mainSubject ORDER BY DESC(?workCount) } ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = "en") ?work wdt:P50 wd:Q44476967 . ?work wdt:P921 ?mainSubject . ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") BIND(SUBSTR(?workLabel, 1, 60) AS ?workLabelShort) }

Which subjects are associated with the works authored by Andy Brunning, and what are the titles of those works?

List the main subjects of Andy Brunning’s publications along with the shortened titles of the works and how many works are linked to each subject.

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


Question: Image of Herbert James Draper (SNAC ARK ID: w6mk7pc4)

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

What is the Wikimedia Commons image associated with the SNAC ARK ID "w6mk7pc4"?

Show me the image of the person whose SNAC ARK ID is w6mk7pc4.

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


Question: U.S. citizens with blood type A, their Wikipedia pages, and images.

SELECT DISTINCT ?person ?personLabel ?wikipedia_page (SAMPLE(?image) AS ?sampledImage)
WHERE {
  ?person wdt:P27 wd:Q30 .                    # U.S. citizen
  ?person wdt:P1853 wd:Q19831453 .            # Blood type A
  ?person rdfs:label ?personLabel .           # Get label
  FILTER(LANG(?personLabel) = "en")           # Only English labels
  OPTIONAL {
    ?person wdt:P18 ?image .                  # Image on Commons
  }
  OPTIONAL {
    ?wikipedia_page schema:about ?person .
    ?wikipedia_page schema:isPartOf <https://en.wikipedia.org/> .
  }
}
GROUP BY ?person ?personLabel ?wikipedia_page
LIMIT 100

Who are some U.S. citizens with blood type A, and what are their Wikipedia pages and images on Wikimedia Commons?

List up to 100 U.S. citizens who have blood type A, along with their English names, Wikipedia links, and one representative image each.

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


Question: What are the names of some children listed in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?childLabel ?child WHERE {
  ?parent wdt:P40 ?child .
  ?child rdfs:label ?childLabel .
  FILTER ( LANG( ?childLabel ) = "en" )
}
LIMIT 100

Can you list 100 children from Wikidata along with their English labels?

Who are some individuals in Wikidata who have at least one parent recorded, and what are their names in English?

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


Question: What is the Japanese Wikipedia page for Hōden-chō, Nagoya, and what is its Japanese name?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?wikipediaPage ?label WHERE {
  ?wikipediaPage schema:about wd:Q24872648 .
  ?wikipediaPage schema:inLanguage "ja" .
  wd:Q24872648 rdfs:label ?label .
  FILTER ( LANG( ?label ) = "ja" )
}

Show the Japanese Wikipedia article and the Japanese label for the place Hōden-chō, Nagoya.

Find the Japanese-language Wikipedia page about Hōden-chō, Nagoya, and its Japanese label.

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


Question: People with blood type A who perform anime songs, their occupations, and Wikipedia links.

PREFIX schema: <http://schema.org/>
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 ?personLabel ?occupationLabel ( SAMPLE( ?image ) AS ?sampledImage ) ?wikipediaPage WHERE {
  ?person wdt:P1853 wd:Q19831453 .
  ?work wdt:P136 wd:Q608862 .
  ?work wdt:P175 ?person .
  OPTIONAL {
    ?person wdt:P18 ?image .
  }
  OPTIONAL {
    ?wikipediaPage schema:about ?person ; schema:isPartOf <https://en.wikipedia.org/> .
  }
  ?person wdt:P106 ?occupation .
  ?occupation rdfs:label ?occupationLabel .
  FILTER ( LANG( ?occupationLabel ) = "en" ) .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
GROUP BY ?person ?personLabel ?occupationLabel ?wikipediaPage
LIMIT 300

Who are the singers and voice actors with blood type A that perform anime songs, and what are their occupations and Wikipedia pages?

List people with blood type A who are performers of anime songs, including their occupations, an image if available, and their English Wikipedia page.

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


Question: Which rivers flow into the Mississippi River?

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 ?var1Label WHERE {
  ?var1 wdt:P403 wd:Q1497 .
  ?var1 rdfs:label ?var1Label .
  FILTER(LANG(?var1Label) = "en")
}
LIMIT 1000

Rivers that drain into the Mississippi River

List the tributaries of the Mississippi River

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


Question: What properties are used on academic departments in Wikidata, and what are their Russian labels and descriptions?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?property ?propertyLabel ?propertyDescription WHERE {
  ?entity wdt:P31 / wdt:P279 * wd:Q2467461 .
  ?entity ?prop ?value .
  BIND(IRI(REPLACE(STR(?prop) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/")) AS ?property)
  .
  ?property rdfs:label ?propertyLabel .
  ?property schema:description ?propertyDescription .
  FILTER(LANG(?propertyLabel) = "ru")
  .
  FILTER(LANG(?propertyDescription) = "ru")
}
LIMIT 100

Show me Russian-language labels and descriptions of properties associated with university departments.

Which properties describe academic departments, and how are they labeled in Russian?

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


Question: Who are the people who have held the position of president, and what are their occupations and countries of citizenship?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?person ?personLabel ?occupationLabel ?countryLabel WHERE {
  ?person wdt:P39 wd:Q30461 ; wdt:P106 ?occupation ; wdt:P27 ?country .
  ?person rdfs:label ?personLabel .
  ?occupation rdfs:label ?occupationLabel .
  ?country rdfs:label ?countryLabel .
  FILTER(LANG(?personLabel) = 'en')
  .
  FILTER(LANG(?occupationLabel) = 'en')
  .
  FILTER(LANG(?countryLabel) = 'en')
}

Presidents, their occupations, and countries of citizenship.

List all individuals who have been presidents, along with their jobs and nationalities.

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


Question: Who has the Dictionary of Swedish National Biography ID 10763?

SELECT ?person WHERE { ?person wdt:P3217 "10763" . } LIMIT 1

Which person is identified by the SBL ID 10763?

Tell me the name of the person with SBL ID 10763.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3217> "10763". } LIMIT 1


Question: Proteins with Ensembl IDs and their English labels

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

What are the English names of proteins that have an Ensembl protein ID?

List all proteins from Wikidata that are assigned an Ensembl ID, along with their English labels.

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


Question: Who are the notable people born in Castleisland, and what are their birth and death dates?

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

Can you list people from Castleisland along with their dates of birth and death?

Which humans were born in Castleisland, Ireland, and when were they born or died?

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


Question: What are the birth and death dates of Ramiro I of Aragon?

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

Can you tell me when Ramiro I of Aragon was born and when he died?

Who was Ramiro I of Aragon, and what are his dates of birth and death?

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


Question: What are the birth and death dates of Hong Gi, the First Lady of South Korea?

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

Can you tell me the English name, birth date, and death date of the person with Wikidata ID Q11287136?

Provide the life span (birth and death dates) of Hong Gi, along with her name in English.

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


Question: What are the locations and images of the organizations where Tim Berners-Lee has worked?

SELECT DISTINCT ?image ?employer ?employerLabel ?coordinates ?propertyLabel WHERE { wd:Q80 wdt:P108 ?employer . ?employer wdt:P625 ?coordinates . OPTIONAL { ?employer wdt:P18 ?image . } ?employer rdfs:label ?employerLabel . wd:P108 rdfs:label ?propertyLabel . FILTER(LANG(?employerLabel) = "en") FILTER(LANG(?propertyLabel) = "en") }

Show me the employers of Tim Berners-Lee, their headquarters coordinates, and associated images.

Which institutions is Tim Berners-Lee affiliated with, and where are they located? Include images if available.

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ( ?var4Label AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q42717750> ?var6 ?var2 . ?var2 (( <http://www.wikidata.org/prop/P159> / <http://www.wikidata.org/prop/qualifier/P625> )|( <http://www.wikidata.org/prop/direct/P276> */ <http://www.wikidata.org/prop/direct/P625> )) ?var3 . ?var7 <http://wikiba.se/ontology#directClaim> ?var6 . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P18> ?var1 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . }


Question: Swedish municipalities and their four-digit codes

SELECT ?municipality ?municipalityLabel ?code WHERE { ?municipality wdt:P525 ?code . ?municipality rdfs:label ?municipalityLabel . FILTER(LANG(?municipalityLabel) = "en") }

What are the English names and municipal codes of all Swedish municipalities?

List all Swedish municipalities with their official four-digit codes in English.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P525> ?var2 . }


Question: List Wikidata IDs of Czech cultural heritage sites with street addresses.

SELECT (STRAFTER(STR(?item), STR(wd:)) AS ?itemId) WHERE { ?item wdt:P762 [] ; wdt:P669 [] .}

Which Czech cultural heritage items are located on a street?

Show me the Q-IDs of all heritage sites in the Czech Republic that have a street location assigned in Wikidata.

SELECT( STRAFTER ( STR ( ?var1 ) , STR ( <http://www.wikidata.org/entity/> ) ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P762> [] ; <http://www.wikidata.org/prop/direct/P669> [] . }


Question: Is the main subject of the article "Respiratory Antiviral Immunity and Immunobiotics..." a disease?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  wd:Q37528740 wdt:P921 ?topic .
  ?topic wdt:P279 * wd:Q12136 .
}

Does the article on respiratory antiviral immunity and immunobiotics focus on a disease?

Confirm whether the topic of this article is classified as a disease.

ASK WHERE { <http://www.wikidata.org/entity/Q37528740> ( <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: Number of works citing Hirsch’s 2005 paper on the h-index, grouped by authorship status.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?year(COUNT(DISTINCT ?citingWork) AS ?citationCount) ?hasAuthor WHERE {
  BIND(wd:Q24537699 AS ?citedWork)
  ?citingWork wdt:P2860 ?citedWork .
  BIND(STR(YEAR(?pubDate)) AS ?year)
  ?citingWork wdt:P577 ?pubDate .
  OPTIONAL {
    BIND(IF(EXISTS {
      ?citingWork wdt:P50 []
    }
    , "has author" , "no author") AS ?hasAuthor)
  }
}
GROUP BY ?year ?hasAuthor
ORDER BY DESC(?year)

How many academic works cite the original h-index paper by Hirsch, and do they have listed authors?

Show me the count of works that cite Hirsch’s seminal 2005 paper on the h-index, and indicate whether each has an author.

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


Question: What is the English title of the 2014 film Chef?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?title WHERE {
  wd:Q15046490 wdt:P1476 ?title .
  FILTER(LANGMATCHES(LANG(?title) , "en"))
}

What is the title of the 2014 movie Chef in English?

What is the English name of the film Chef directed by Jon Favreau?

SELECT * WHERE { <http://www.wikidata.org/entity/Q15046490> <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "EN" ) ) ) . } LIMIT 1


Question: What are some films from Argentina?

SELECT ?filmLabel WHERE { ?film wdt:P495 wd:Q414 ; wdt:P31 wd:Q11424 . ?film rdfs:label ?filmLabel FILTER(LANG(?filmLabel) = "en") } LIMIT 10

Can you list the English titles of movies that originate from Argentina?

Show me the names of Argentine films in English.

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


Question: What are the buildings and places in Łódź, and what images are available for them?

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 ?item ?label ?image WHERE {
  ?item wdt:P131 wd:Q580 .
  ?item rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) OPTIONAL {
    ?item wdt:P18 ?image .
  }
}

Can you list the English-named locations in Łódź along with their associated Wikimedia Commons images?

Show me all the entities located in Łódź, their English names, and the images linked to them on Commons.

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


Question: What is the English title and description of the Broadway show with IBDB ID 4608?

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

Can you tell me about the musical "I Married an Angel" from the Internet Broadway Database?

Show me the details (title and description in English) of the Broadway production identified by IBDB show ID 4608.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1219> "4607". 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: Who is the spouse of Gottfrid Adlerz?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?spouse ?spouseLabel WHERE {
  ?spouse p:P26 ?statement .
  ?statement ps:P26 wd:Q5542913 .
  OPTIONAL {
    ?spouse rdfs:label ?spouseLabel .
    FILTER(LANG(?spouseLabel) = "en")
  }
}

What is the name of Gottfrid Adlerz’s spouse?

Can you tell me who Gottfrid Adlerz was married to?

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


Question: List all programming paradigms in Wikidata.

SELECT ?paradigm ?paradigmLabel WHERE { ?paradigm wdt:P31 wd:Q188267 . ?paradigm rdfs:label ?paradigmLabel . FILTER(LANG(?paradigmLabel) = "en")}

What are the known programming paradigms according to Wikidata?

Can you show me the English names of all items classified as programming paradigms in Wikidata?

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


Question: Most common Russian family names in Wikidata, ranked by number of people with that surname.

SELECT DISTINCT ?surname ?surnameLabel ( COUNT( DISTINCT ?person ) AS ?count ) WHERE { ?surname wdt:P31 wd:Q101352 . ?surname wdt:P407 wd:Q7737 . ?person wdt:P734 ?surname . ?surname rdfs:label ?surnameLabel . FILTER(LANG(?surnameLabel) = "en") } GROUP BY ?surname ?surnameLabel ORDER BY DESC ( ?count )

What are the most frequent Russian surnames, and how many people in Wikidata have each one?

List Russian family names in descending order of popularity based on how many individuals in Wikidata bear them, along with their English labels.

SELECT DISTINCT ?var1 ?var1Label ( COUNT ( DISTINCT ?var2 ) AS ?var3 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q101352> . ?var1 <http://www.wikidata.org/prop/direct/P407> <http://www.wikidata.org/entity/Q7737> . ?var2 <http://www.wikidata.org/prop/direct/P734> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "ru". } } GROUP BY ?var1 ?var1Label ORDER BY DESC( ?var3 )


Question: Football clubs in Poland with their coordinates

SELECT ?club ?clubLabel ?location WHERE { ?club wdt:P31 wd:Q476028 ; wdt:P17 wd:Q36 ; wdt:P625 ?location . ?club rdfs:label ?clubLabel . FILTER(LANG(?clubLabel) = "en") }

What are the names and geographic locations of association football clubs in Poland?

List the English-named football clubs in Poland along with their coordinates.

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


Question: What are some things that have parts, excluding units of measurement, and what are their types?

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 ?item ?itemLabel ?type ?typeLabel WHERE {
  ?item wdt:P527 ?part .
  OPTIONAL {
    ?item wdt:P31 ?type
  }
  .
  FILTER NOT EXISTS {
    ?item wdt:P31 / wdt:P279 * wd:Q47574
  }
  .
  OPTIONAL {
    ?item rdfs:label ?itemLabel .
    FILTER(LANG(?itemLabel) = 'en')
  }
  .
  OPTIONAL {
    ?type rdfs:label ?typeLabel .
    FILTER(LANG(?typeLabel) = 'en')
  }
}
LIMIT 10

Show me entities with components (not units of measurement) along with their English labels and categories.

List items that consist of parts, but are not units of measure, and provide their names and classifications.

SELECT ?var1 ?var1Label ?var2 ?var2Label WHERE { { SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P558> [] . MINUS { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q47574> ) } ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P31> ?var2 . } } LIMIT 100 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Is the entity Q32949263 a human?

Does Q32949263 belong to the class of humans or any of its subclasses?

Is Q32949263 classified as a human being?

ASK WHERE { <http://www.wikidata.org/entity/Q32949263> ( <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: Names of cubic centimetre in different languages

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?label ?lang WHERE {
  wd:Q1022113 rdfs:label ?label .
  FILTER(LANG(?label) != "")
}
LIMIT 100

What are the names for "cubic centimetre" in various languages?

Show me how "cubic centimetre" is called in other languages.

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


Question: Is Advanced Audio Coding (AAC) a type of human?

Does the audio format AAC belong to the category of humans or any of its subclasses?

Confirm whether AAC is classified as a human or a descendant of human in the Wikidata ontology.

ASK WHERE { <http://www.wikidata.org/entity/Q337594> ( <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: Is Rakudo a type of software?

ASK WHERE { wd:Q63629 wdt:P31 ?class . ?class wdt:P279 wd:Q7397 }

Does Rakudo belong to the category of software through its classification as an implementation of a programming language?

Is Rakudo considered software because it is an implementation of a programming language, which is a subclass of software?

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


Question: Is HTML::Mason a human or a subclass of human?

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

Is the web application framework HTML::Mason considered a human being?

Confirm whether HTML::Mason is classified under the category of humans in Wikidata.

ASK WHERE { <http://www.wikidata.org/entity/Q1907225> ( <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: Composers and their notable works in English

SELECT ?var2 ?var2Label ?var3 ?var3Label WHERE { ?var2 wdt:P106 wd:Q36834 . ?var2 rdfs:label ?var2Label . FILTER(LANG(?var2Label) = "en") . OPTIONAL { ?var2 wdt:P800 ?var3 . ?var3 rdfs:label ?var3Label . FILTER(LANG(?var3Label) = "en") . } }

Who are the composers and what are their notable works, with English labels?

List all composers (in English) along with any notable works they created, also in English.

SELECT ?var1Label ?var2 ?var2Label ?var3 ?var3Label WHERE { OPTIONAL { } FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . ?var2 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q36834> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P800> ?var3 . } }


Question: Composers and their notable works with publication dates

SELECT ?composer ?composerLabel ?notableWork ?notableWorkLabel ?publicationDate WHERE { ?composer wdt:P106 wd:Q36834 . ?composer wdt:P800 ?notableWork . ?notableWork wdt:P577 ?publicationDate . ?composer rdfs:label ?composerLabel . ?notableWork rdfs:label ?notableWorkLabel . FILTER(LANG(?composerLabel) = "en" || LANG(?composerLabel) = "") FILTER(LANG(?notableWorkLabel) = "en" || LANG(?notableWorkLabel) = "") } LIMIT 10

Which composers have notable works, and when were those works published?

List composers along with their significant creative works and the years those works were released.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?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/P106> <http://www.wikidata.org/entity/Q36834> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P800> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . } } LIMIT 1000


Question: List of artists with their names.

SELECT ?artist ?artistLabel WHERE { ?artist wdt:P106 wd:Q483501 . ?artist rdfs:label ?artistLabel . FILTER(LANG(?artistLabel) = "en") } LIMIT 100

Who are some people whose occupation is artist, and what are their names?

Show me up to 100 artists and their English names from Wikidata.

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


Question: What are the names of rivers and streams that flow into the Cumberland River?

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 ?watercourse ?watercourseLabel WHERE {
  ?watercourse wdt:P403 wd:Q1143718 .
  ?watercourse ( wdt:P31 / wdt:P279 * ) wd:Q355304 .
  ?watercourse rdfs:label ?watercourseLabel .
  FILTER ( LANG( ?watercourseLabel ) = "en" )
}

Which watercourses drain into the Cumberland River in Kentucky and Tennessee?

List the tributaries of the Cumberland River with their English names.

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


Question: Who are some actors, politicians, and restaurateurs listed on Wikidata?

SELECT ?item ?itemLabel WHERE { VALUES ?occupation { wd:Q33999 wd:Q82955 wd:Q3427922 } ?item wdt:P31 wd:Q5 ; wdt:P106 ?occupation . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 10

List people whose occupations are actor, politician, or restaurateur.

Show me English-labeled individuals who are directly identified as actors, politicians, or restaurateurs.

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


Question: Who were the Prime Ministers of the United Kingdom, when did their terms start and end, and who did they replace or get replaced by?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?primeMinister ?startDate ?endDate ?predecessor ?successor WHERE {
  ?primeMinister wdt:P31 wd:Q5 .
  ?primeMinister p:P39 ?position .
  ?position ps:P39 wd:Q14211 .
  OPTIONAL {
    ?position pq:P580 ?startDate .
  }
  OPTIONAL {
    ?position pq:P582 ?endDate .
  }
  OPTIONAL {
    ?position pq:P1365 ?predecessor .
  }
  OPTIONAL {
    ?position pq:P1366 ?successor .
  }
}
ORDER BY DESC ( ?startDate )

List the UK Prime Ministers in reverse chronological order, along with their term start and end dates, and their predecessors and successors.

Show the succession line of UK Prime Ministers, including who held office, when, and who came before and after them.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5Label 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/Q14211> . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P580> ?var2 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P582> ?var3 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1365> ?var4 . } OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P1366> ?var5 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY DESC( ?var2 )


Question: List all sovereign states with their English names.

SELECT ?country ?countryLabel WHERE { ?country wdt:P31 wd:Q3624078 . ?country rdfs:label ?countryLabel . FILTER(LANG(?countryLabel) = "en") } ORDER BY ?countryLabel

What are the names of all countries in English?

Can you provide an alphabetically sorted list of all sovereign nations with their English labels?

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


Question: What properties are used by Ludlow Typograph, and what are their values and labels in English?

SELECT ?property (SAMPLE(?propLabel) AS ?propertyLabel) (COUNT(?object) AS ?count) (GROUP_CONCAT(?objectLabel; SEPARATOR=", ") AS ?objectLabels) WHERE { wd:Q730247 ?property ?object . ?object rdfs:label ?objectLabel . FILTER(LANG(?objectLabel) = "en") . ?propEntity wikibase:directClaim ?property . ?propEntity rdfs:label ?propLabel . FILTER(LANG(?propLabel) = "en") . } GROUP BY ?property

For each property connected to Ludlow Typograph, what is its English label, how many times is it used, and what are the English labels of its objects?

Show me a summary of all English-labeled properties of Ludlow Typograph, including the count of objects and the object labels.

SELECT ?var1 ( SAMPLE ( ?var2 ) AS ?var2 )( COUNT ( ?var3 ) AS ?var4 )( GROUP_CONCAT ( ?var5 ; SEPARATOR = ", " ) AS ?var5 ) WHERE { <http://www.wikidata.org/entity/Q730247> ?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: What are the coordinates of Alderley Edge Mines and the county it is located in?

SELECT ?mineCoordinates ?countyCoordinates WHERE { wd:Q19587065 wdt:P625 ?mineCoordinates . wd:Q19587065 wdt:P7959 ?county . ?county wdt:P625 ?countyCoordinates . }

Show the geographic location of Alderley Edge Mines along with the coordinates of its historic county, Cheshire.

Where is Alderley Edge Mines located, and where is the historic county of Cheshire centered?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q19587065> <http://www.wikidata.org/prop/direct/P625> ?var1 . OPTIONAL { <http://www.wikidata.org/entity/Q19587065> <http://www.wikidata.org/prop/direct/P131> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P625> ?var2 . } }


Question: Wikidata classes equivalent to Schema.org classes

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?wikidataClass ?schemaOrgClass WHERE {
  ?wikidataClass wdt:P1709 ?schemaOrgClass .
  FILTER ( REGEX( STR( ?schemaOrgClass ) , "schema.org" ) )
}

Which Wikidata categories are mapped to Schema.org classes?

List the Wikidata items and their corresponding Schema.org URIs for classes that are considered equivalent.

SELECT ?var1 ?var2 WHERE { { SELECT ?var2 ( <http://www.wikidata.org/prop/direct/P1709> AS ?var3 ) ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1709> ?var1 . FILTER ( ( REGEX ( STR ( ?var1 ) , "schema.org" ) ) ) . } } }


Question: Which taxa are classified at the subclass rank, and what are their parent taxa?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?taxon ?parent WHERE {
  ?taxon wdt:P105 wd:Q5867051 .
  ?taxon wdt:P171 ?parent .
}

Taxa with rank subclass and their parent taxa

Show me all organisms classified as subclass and their higher taxonomic groups

SELECT DISTINCT( CONCAT ( "Cash['", STRAFTER ( STR ( ?var1 ) , "/entity/" ) , "string1" ) AS ?var2 )( CONCAT ( "string2", STRAFTER ( STR ( ?var3 ) , "/entity/" ) , "' }" ) AS ?var4 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P105> <http://www.wikidata.org/entity/Q5867051> . ?var1 <http://www.wikidata.org/prop/direct/P171> ?var3 . }


Question: Which French media outlets on Twitter have the fewest Wikipedia articles?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle ( COUNT( ?sitelink ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?twitterHandle .
  ?sitelink schema:about ?item .
  VALUES ?twitterHandle {
    "le_gorafi" "Lesjoursfr" "top14rugby"
  }
}
GROUP BY ?item ?twitterHandle
ORDER BY ASC ( ?sitelinkCount )

How many Wikipedia language editions cover the Twitter accounts @le_gorafi, @Lesjoursfr, and @top14rugby, sorted by least coverage?

List the Twitter accounts le_gorafi, Lesjoursfr, and top14rugby along with how many Wikipedia versions mention them, ordered from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "manchettes" ) ( "string3" ) ( "briandotjp" ) ( "marcsteves" ) ( "string4" ) ( "netsabes" ) ( "Foone" ) ( "string5" ) ( "Y_saxo" ) ( "MaximeHaes" ) ( "vpecresse" ) ( "Bekouz" ) ( "string6" ) ( "string7" ) ( "g_allegre" ) ( "string8" ) ( "russeurope" ) ( "paldama" ) ( "string9" ) ( "9253_d" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "W_Chloe" ) ( "ChadHusby" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "Lesjoursfr" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "MuslimIQ" ) ( "le_gorafi" ) ( "dascritch" ) ( "cameo" ) ( "Chaoborus" ) ( "maamyisa" ) ( "ash_crow" ) ( "string21" ) ( "string22" ) ( "string23" ) ( "string24" ) ( "string25" ) ( "top14rugby" ) ( "string26" ) ( "flojess5" ) ( "benestaar" ) ( "MPI_TUM" ) ( "Jules78120" ) ( "TrizekWP" ) ( "nightrose" ) ( "_cyanv" ) } } ORDER BY ASC( ?var3 )


Question: Which French organizations and individuals have Twitter accounts with usernames Inria, Etalab, CNNum, aprilorg, ow2, LIGLab, SWHeritage, cnll_fr, or rdicosmo?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "Inria" "Etalab" "CNNum" "aprilorg" "ow2" "LIGLab" "SWHeritage" "cnll_fr" "rdicosmo"
  }
}

What Wikidata entities are associated with the Twitter usernames "Inria", "Etalab", "CNNum", "aprilorg", "ow2", "LIGLab", "SWHeritage", "cnll_fr", and "rdicosmo"?

List the Wikidata items and their Twitter usernames for the following accounts: Inria, Etalab, CNNum, aprilorg, ow2, LIGLab, SWHeritage, cnll_fr, and rdicosmo.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "gt_ll" ) ( "string1" ) ( "cedricth" ) ( "sfermigier" ) ( "string2" ) ( "ebothorel" ) ( "string3" ) ( "string4" ) ( "Etalab" ) ( "CNNum" ) ( "string5" ) ( "aprilorg" ) ( "mounir" ) ( "ow2" ) ( "string6" ) ( "OSS_Paris" ) ( "vxjumel" ) ( "string7" ) ( "aquinetic" ) ( "string8" ) ( "olberger" ) ( "rdicosmo" ) ( "string9" ) ( "string10" ) ( "phpillet" ) ( "swheritage" ) ( "inria" ) ( "LIGLab" ) ( "SWHeritage" ) ( "Inria" ) ( "string11" ) ( "cnll_fr" ) ( "_CapLibre" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "EIRL_Hisyl" ) ( "string17" ) ( "smetsjp" ) ( "string18" ) } } ORDER BY ASC( ?var3 )


Question: How many people have software as their field of work?

SELECT (COUNT(?person) AS ?count) WHERE { ?person wdt:P101 wd:Q7397 .}

What is the number of individuals whose field of work is software?

Count the number of people who work in the field of software.

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


Question: Which Wikidata entities have Twitter accounts for Fnac, Les Inrockuptibles, AlloCiné, Le Figaro, ARTEfr, Télérama, Paris Match, or Canal+?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "Fnac" "lesinrocks" "allocine" "Le_Figaro" "ARTEfr" "Telerama" "ParisMatch" "canalplus" } }

What are the Wikidata items associated with the Twitter handles @Fnac, @lesinrocks, @allocine, @Le_Figaro, @ARTEfr, @Telerama, @ParisMatch, and @canalplus?

List all entities in Wikidata that are linked to these Twitter usernames: Fnac, lesinrocks, allocine, Le_Figaro, ARTEfr, Telerama, ParisMatch, and canalplus.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "libe" ) ( "string2" ) ( "CedMaruani" ) ( "YoliFuller" ) ( "string3" ) ( "string4" ) ( "Fnac" ) ( "lesinrocks" ) ( "Rebotini" ) ( "allocine" ) ( "string5" ) ( "Le_Figaro" ) ( "ARTEfr" ) ( "mycineplus" ) ( "Telerama" ) ( "string6" ) ( "iTunes" ) ( "iTunesTV" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "ParisMatch" ) ( "lobs" ) ( "string11" ) ( "string12" ) ( "baphometx" ) ( "string13" ) ( "canalplus" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata items have Twitter usernames "MuseeOrsay", "fsimode", "correards", "NASA", or "BBCNews", sorted by number of Wikipedia articles linked to them?

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 .
  OPTIONAL {
    ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  }
  VALUES ?username {
    "MuseeOrsay" "fsimode" "correards" "NASA" "BBCNews"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinks )

Who are the people or organizations on Wikidata with Twitter handles like "MuseeOrsay" or "NASA", and how many Wikipedia pages are linked to each?

List the entities on Wikidata with Twitter usernames "MuseeOrsay", "fsimode", "correards", "NASA", and "BBCNews", ordered by how many Wikipedia language editions mention them, from least to most.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "fsimode" ) ( "JulCamy" ) ( "string1" ) ( "string2" ) ( "correards" ) ( "string3" ) ( "string4" ) ( "b_porcher" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "MACCRETEIL" ) ( "string12" ) ( "lio_red" ) ( "string13" ) ( "MuseeOrsay" ) ( "string14" ) ( "string15" ) } } ORDER BY ASC( ?var3 )


Question: What are the most common properties linking other items to Twickenham Stadium in Wikidata?

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

Which properties connect the most number of items to Twickenham Stadium, and how many times are they used?

Show me the properties that are used to reference Twickenham Stadium more than once, ordered by frequency.

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


Question: What is the Russian word for the class that Fedorova Natalia Borisovna belongs to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?instanceClass ?label WHERE {
  wd:Q43228536 wdt:P31 ?instanceClass .
  ?instanceClass rdfs:label ?label .
  FILTER(LANG(?label) = "ru")
}
LIMIT 50

Russian label of the type of Fedorova Natalia Borisovna

Can you tell me the Russian term for the category that Fedorova Natalia Borisovna is an instance of?

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


Question: Which Twitter accounts (WorldRugby and FritzALee) have the fewest Wikipedia sitelinks, and how many do they have?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?page ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2002 ?username .
  ?page schema:about ?item .
  FILTER ( CONTAINS( STR( ?page ) , ".wikipedia.org" ) ) VALUES ?username {
    "WorldRugby" "FritzALee"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinkCount )

How many Wikipedia pages are linked to the Twitter accounts @WorldRugby and @FritzALee, and which one has fewer?

Show me the Wikipedia sitelink counts for the Twitter users WorldRugby and FritzALee, sorted from least to most popular.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "FritzALee" ) ( "string1" ) ( "ChrisVui_" ) ( "string2" ) ( "danleo82" ) ( "string3" ) ( "slimrab89" ) ( "string4" ) ( "string5" ) ( "WorldRugby" ) ( "PurePapua" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "tiipaulo" ) ( "LugieJ" ) ( "p_betham" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "lakijoelee" ) ( "orange" ) } } ORDER BY ASC( ?var3 )


Question: Image of the person with SNAC ARK ID w65x2rcg

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

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

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

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


Question: What are the public holidays observed in each country?

SELECT DISTINCT ?country ?holiday ?holidayLabel WHERE { ?country wdt:P31 wd:Q6256 . ?country p:P832 ?holidayStatement . ?holidayStatement ps:P832 ?holiday . ?holiday rdfs:label ?holidayLabel . FILTER(LANG(?holidayLabel) = "en") }

Can you list all countries along with the names of their public holidays in English?

Which holidays are officially recognized as public holidays in sovereign nations?

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


Question: What public holidays are observed in each country?

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

Which countries have which public holidays, and what are the English names of those countries?

List all public holidays celebrated in every country, along with the English name of the country.

SELECT ?var1 ?var2 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6256> . ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1445650> . ?var1 <http://www.wikidata.org/prop/direct/P832> ?var2 . }


Question: What properties are used to associate entities with the HGNC gene symbol (P353) in Wikidata?

PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?property WHERE {
  ?subject ?property wd:P353 .
}
LIMIT 50

Which properties link to the HGNC gene symbol property (P353) as their object?

How is the HGNC gene symbol property (P353) referenced in Wikidata’s metadata?

SELECT DISTINCT ?var1 ?var2 WHERE { ?var3 ?var2 <http://www.wikidata.org/prop/direct/P353> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 50


Question: Who has the National Library of Spain ID XX1470003?

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

What is the English label of the person with the BNE ID XX1470003?

Show me the English name and description of the person identified by the National Library of Spain ID XX1470003.

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


Question: What are the subclasses of aircraft power class in Wikidata?

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

Can you list the types of aircraft power classifications and their names?

Which categories of aircraft are classified based on power generation, and what are they called?

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


Question: Is Lord Voldemort classified as a human in Wikidata, either directly or through inheritance via subclass relationships?

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

Does Wikidata consider the fictional character Lord Voldemort to be a human?

Is there a path from Lord Voldemort to human in Wikidata’s classification hierarchy using instance of and subclass of relationships?

ASK WHERE { <http://www.wikidata.org/entity/Q1029086> ( <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: Chilean people executed by capital punishment with Spanish labels and their death dates.

SELECT ?personLabel ?mannerOfDeathLabel ?dateOfDeath WHERE { ?person wdt:P27 wd:Q298 . ?person wdt:P1196 wd:Q8454 . ?person wdt:P570 ?dateOfDeath . ?person rdfs:label ?personLabel . wd:Q8454 rdfs:label ?mannerOfDeathLabel . FILTER(LANG(?personLabel) = "es") FILTER(LANG(?mannerOfDeathLabel) = "es") }

Who are the Chilean citizens who were executed by capital punishment, and what were their Spanish names and dates of death?

List the Spanish names, manner of death (in Spanish), and dates of death for people from Chile who were executed.

SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3918> . ?var4 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q298> . ?var5 <http://www.wikidata.org/prop/direct/P1196> <http://www.wikidata.org/entity/Q8454> . ?var5 <http://www.wikidata.org/prop/direct/P570> ?var3 . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P1196> ?var2 . FILTER ( ( ( LANG ( ?var1 ) = "es" ) ) ) . FILTER ( ( ( LANG ( ?var2 ) = "es" ) ) ) . }


Question: Who has the Twitter username "xavmira"?

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

Which Wikidata item is associated with the Twitter handle xavmira?

Find the person on Wikidata whose X (Twitter) username is xavmira, and show their name and username.

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


Question: What are all the subclasses of collection?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?subclass WHERE {
  ?subclass wdt:P279 * wd:Q2668072 .
}

What types of collections exist as subclasses of collection in Wikidata?

List all the subclasses of the concept 'collection'.

SELECT ?var1 ?var2 WHERE { VALUES ( ?var3 ) { ( <http://www.wikidata.org/entity/Q2668072> ) } ?var1 <http://www.wikidata.org/prop/direct/P279> * ?var3 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P279> ?var2 . } }


Question: Film with elCinema ID 1006422

SELECT ?film WHERE { ?film wdt:P3135 "1006422" . }

Show me the Wikidata entry for the movie identified by elCinema ID 1006422.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3135> "1006422". }


Question: Image of Charles Robert Sherman with SNAC ARK ID w63r290t

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

What is the Wikimedia Commons image associated with Charles Robert Sherman, identified by SNAC ARK ID w63r290t?

Show me the image of the person whose SNAC ARK ID is w63r290t.

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