Question: Which Twitter accounts (jmblanquer, agnesbuzyn, N_Hulot, esa, LeCLEMI, Thom_astro) have the fewest Wikipedia language editions?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?handle(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?handle .
  VALUES ?handle {
    "jmblanquer" "agnesbuzyn" "N_Hulot" "esa" "LeCLEMI" "Thom_astro"
  }
  .
  ?item ^ schema:about ?sitelink .
}
GROUP BY ?item ?handle
ORDER BY ASC(?sitelinkCount)

How many Wikipedia language editions do the official Twitter accounts of Jean-Michel Blanquer, Agnès Buzyn, Nicolas Hulot, the European Space Agency, LeCLEMI, and Thomas Pesquet have, sorted from least to most?

List the Twitter handles and their corresponding Wikipedia language edition counts for the French public figures and institutions with Twitter accounts jmblanquer, agnesbuzyn, N_Hulot, LeCLEMI, Thom_astro, and esa, ordered by the number of editions from lowest to highest.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "jmblanquer" ) ( "string2" ) ( "string3" ) ( "ofaj_dfjw" ) ( "CIEP_DLF" ) ( "string4" ) ( "string5" ) ( "StTRAVERT" ) ( "string6" ) ( "agnesbuzyn" ) ( "string7" ) ( "N_Hulot" ) ( "_Bercy_" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "unss" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "LeCLEMI" ) ( "LaSpme" ) ( "string15" ) ( "Eduscol" ) ( "string16" ) ( "string17" ) ( "EDUCNUM" ) ( "ESA_fr" ) ( "esa" ) ( "Thom_astro" ) } } ORDER BY ASC( ?var3 )


Question: Entities that started between 1981 and 1991 and ended between 1991 and 2001.

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

Which organizations or events began in the early 1980s and ended in the early 2000s?

List all items that were active from the late 1980s to the early 2000s, specifically starting between December 1981 and December 1991, and ending between December 1991 and December 2001.

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


Question: What is the only shared category between Kim Jong-un and Ryan Leslie?

SELECT ?commonType ?label WHERE { wd:Q56226 wdt:P31 ?commonType . wd:Q1361271 wdt:P31 ?commonType . ?commonType rdfs:label ?label . FILTER(LANG(?label) = "en") } ORDER BY ?label LIMIT 1

What do Kim Jong-un and Ryan Leslie have in common in terms of their classification on Wikidata?

Which entity type is common to both Kim Jong-un and Ryan Leslie?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q56226> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q1361271> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What events occurred on March 15, 1999?

SELECT DISTINCT ?item WHERE { ?item (wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191) ?date . FILTER ( ?date >= "1999-03-15T00:00:00Z"^^xsd:dateTime && ?date <= "1999-03-15T23:59:59Z"^^xsd:dateTime ) FILTER NOT EXISTS { ?item wdt:P31 wd:Q2403 } FILTER NOT EXISTS { ?item wdt:P31 wd:Q47150325 } }

Which entities had a significant event — such as a launch, flight, service entry, or premiere — on March 15, 1999?

List all items that were launched, first flown, debuted, or entered service on March 15, 1999.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "1999-03-15T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1999-03-15T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Which entities on Wikidata have the Twitter usernames "fchollet", "Google", or "JeffDean"?

SELECT ?entity ?twitterUsername WHERE { ?entity wdt:P2002 ?twitterUsername . VALUES ( ?twitterUsername ) { ( "fchollet" ) ( "Google" ) ( "JeffDean" ) } }

Who are the people or organizations on Wikidata with Twitter accounts @fchollet, @Google, or @JeffDean?

List the Wikidata entities linked to the Twitter usernames fchollet, Google, and JeffDean.

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


Question: Events that began between 1986 and 1996 and ended between 1996 and 2006

SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P580 ?startDate . ?item wdt:P582 ?endDate . FILTER ( ?startDate >= "1986-02-08T00:00:00Z"^^xsd:dateTime && ?startDate <= "1996-02-08T23:59:59Z"^^xsd:dateTime ) FILTER ( ?endDate >= "1996-02-08T00:00:00Z"^^xsd:dateTime && ?endDate <= "2006-02-08T23:59:59Z"^^xsd:dateTime ) ?item rdfs:label ?itemLabel . }

Which TV shows, exhibitions, or events started in the 1986–1996 period and ended in the 1996–2006 period?

List all entities that were active from the late 1980s through the late 1990s, specifically starting between 1986 and 1996 and ending between 1996 and 2006.

SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P582> ?var3 . FILTER ( ( ( ?var2 >= "1986-02-08T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1996-02-08T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( ?var3 >= "1996-02-08T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 <= "2006-02-08T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Which entities have Twitter handles like EELV, RMCinfo, or AFD_France, and how many Wikipedia pages link to them?

SELECT ?item ?twitterHandle (COUNT(?wikipediaPage) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterHandle . ?wikipediaPage schema:about ?item . FILTER(STRSTARTS(STR(?wikipediaPage), "https://")) VALUES ?twitterHandle { "string1" "EELV" "string2" "string3" "string4" "GEF_Europe" "string5" "ATDQM" "hey_loudie" "string6" "string7" "string8" "string9" "J_B_Levy" "string10" "string11" "string12" "libe" "string13" "RMCinfo" "Novethic" "MdM_France" "string14" "string15" "string16" "AFD_France" "RiouxRemy" "josebove" "awajdzik" "EvaJoly" "string17" "euroecolos" "string18" "string19" "string20" } } GROUP BY ?item ?twitterHandle ORDER BY ASC (?sitelinkCount)

What are the Twitter accounts of political organizations and journalists, sorted by the number of Wikipedia language editions they appear on?

List the entities with the Twitter handles EELV, RMCinfo, AFD_France, and EvaJoly, ordered by how many Wikipedia sites link to them.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "EELV" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "GEF_Europe" ) ( "string5" ) ( "ATDQM" ) ( "hey_loudie" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "J_B_Levy" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "libe" ) ( "string13" ) ( "RMCinfo" ) ( "Novethic" ) ( "MdM_France" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "AFD_France" ) ( "RiouxRemy" ) ( "josebove" ) ( "awajdzik" ) ( "EvaJoly" ) ( "string17" ) ( "euroecolos" ) ( "string18" ) ( "string19" ) ( "string20" ) } } ORDER BY ASC( ?var3 )


Question: What is the Twitter username of Matt Blaze, and how many Wikipedia articles are linked to his Wikidata item?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?username(COUNT(?site) AS ?sitelinks) WHERE {
  ?item wdt:P2002 ?username .
  ?site schema:about ?item .
  VALUES ?username {
    "mattblaze"
  }
}
GROUP BY ?item ?username
ORDER BY ASC(?sitelinks)

How many Wikipedia links does the Wikidata item for the Twitter user "mattblaze" have?

Can you find the Wikidata item for the Twitter handle "mattblaze" and tell me how many language versions of Wikipedia link to it?

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


Question: Calendar dates without explicit dates and their cultural variations

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 ?calendarDate ?calendarLabel ?subtype ?subtypeLabel WHERE {
  ?calendarDate wdt:P31 wd:Q205892 .
  ?calendarDate rdfs:label ?calendarLabel .
  FILTER ( LANG( ?calendarLabel ) = "en" ) .
  FILTER ( NOT EXISTS {
    ?calendarDate wdt:P585 []
  }
  ) .
  ?subtype wdt:P361 ?calendarDate .
  ?subtype rdfs:label ?subtypeLabel .
  FILTER ( LANG( ?subtypeLabel ) = "en" )
}

What are general calendar dates (like New Year) that don't have a fixed date, and what are their specific cultural versions?

List all calendar dates that are not tied to a specific day but have named cultural observances, along with the names of those observances.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 ( STRAFTER ( STR ( ?var1 ) , "y/" ) AS ?var7 )( "P577" AS ?var8 )( REPLACE ( "", ?var3 , "string1" ) AS ?var9 ) WHERE { BIND ( REPLACE ( STR ( ?var2 ) , "string2", "$2" ) AS ?var3 ). BIND ( REPLACE ( STR ( ?var2 ) , "string3", "$1" ) AS ?var6 ). ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> . FILTER ( ( NOT EXISTS { ?var1 <http://www.wikidata.org/prop/direct/P585> [] . } ) ) . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . ?var10 <http://www.wikidata.org/prop/direct/P2837> ?var5 . ?var10 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . FILTER ( ( CONTAINS ( STR ( ?var2 ) , STR ( ?var4 ) ) ) ) . }


Question: What is the most specific category that both San José, Costa Rica and San Jose, California belong to?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonType ?commonTypeLabel WHERE {
  VALUES ?commonType {
    wd:Q1549591
  }
  ?commonType rdfs:label ?commonTypeLabel .
  FILTER ( LANG( ?commonTypeLabel ) = 'en' )
}

What do San José, Costa Rica and San Jose, California have in common in terms of their classification in Wikidata?

Which class is shared by both San José, Costa Rica and San Jose, California?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q7414418> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q3070> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What items were created, published, discovered, or officially opened on February 25, 1996?

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item WHERE {
  ?item ( wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ) ?date .
  FILTER ( ?date >= "1996-02-25T00:00:00Z" ^^ xsd:dateTime && ?date <= "1996-02-25T23:59:59Z" ^^ xsd:dateTime )
}

Which entities on Wikidata have a creation date, publication date, discovery date, or official opening date exactly on February 25, 1996?

List all works, organizations, or events that were published, invented, founded, or officially opened on February 25, 1996.

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 >= "1996-02-25T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1996-02-25T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What entities were created, discovered, published, or officially opened on February 23, 1996?

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

Which items on Wikidata have a creation, invention, publication, or official opening date on February 23, 1996?

Show me all works, organizations, or inventions that came into existence on February 23, 1996, including their publication, inception, discovery, or official opening dates.

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 >= "1996-02-23T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1996-02-23T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What events, works, or items had their first performance, launch, service entry, or other key temporal milestone in the year 2001?

List all entities in Wikidata that occurred or were enacted in 2001, such as spacecraft launches, aircraft first flights, or legislative acts.

Which items in Wikidata are associated with a date in 2001, including premiere dates, service entry, or spacecraft events?

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "2001-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "2001-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What are the official names of the countries where Novruz is a public holiday?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?officialName WHERE {
  ?country wdt:P31 wd:Q6256 .
  ?country wdt:P832 wd:Q483236 .
  OPTIONAL {
    ?country wdt:P1448 ?officialName .
  }
}

Official names of nations celebrating Novruz as a public holiday

Can you tell me the official names in their native languages of the countries that observe Novruz as a public holiday?

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q6266> . ?var2 <http://www.wikidata.org/prop/direct/P832> <http://www.wikidata.org/entity/Q483236> . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P1448> ?var1 . } }


Question: Days of the week in English and their category

SELECT ?day ?dayLabel ?classLabel WHERE { ?day wdt:P31 wd:Q41825 . ?day rdfs:label ?dayLabel . wd:Q41825 rdfs:label ?classLabel . FILTER(LANG(?dayLabel) = "en") FILTER(LANG(?classLabel) = "en") }

What are the days of the week, and what is their class?

List all the days of the week in English along with the name of the class they belong to.

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


Question: Which organizations have Twitter accounts "Reuters" or "SFR", sorted by number of Wikipedia links?

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

What are the Wikidata items for the Twitter accounts "Reuters" and "SFR", ordered by how many language versions of Wikipedia they have?

Show me the Wikidata entities for the Twitter handles "Reuters" and "SFR", sorted from least to most Wikipedia language editions.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "m8urnett" ) ( "OllyPlumx" ) ( "SFR" ) ( "string1" ) ( "string2" ) ( "Broony26" ) ( "Reuters" ) ( "PoulpyWP" ) ( "Heliox_Lab" ) ( "m4d_z" ) } } ORDER BY ASC( ?var3 )


Question: Which organizations have Twitter accounts named Harvard, HarvardHBS, harvardmed, nytimes, oscharvard, or UCSUSA?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?twitterHandle WHERE {
  ?item wdt:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "Harvard" "HarvardHBS" "harvardmed" "nytimes" "oscharvard" "UCSUSA"
  }
}

What are the Wikidata entities for institutions with Twitter usernames like "Harvard", "HarvardHBS", or "nytimes"?

List the institutional entities on Wikidata that use the Twitter handles: Harvard, HarvardHBS, harvardmed, nytimes, oscharvard, and UCSUSA.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "hlrdmp" ) ( "string1" ) ( "boydcm_" ) ( "jgolds2" ) ( "string2" ) ( "UCSUSA" ) ( "ICPSR" ) ( "string3" ) ( "string4" ) ( "TheDMPTool" ) ( "harvardmed" ) ( "Harvard" ) ( "string5" ) ( "NNLM_RD3" ) ( "oscharvard" ) ( "string6" ) ( "IQSS" ) ( "BD2KTCC" ) ( "string7" ) ( "HarvardLIL" ) ( "fasrc" ) ( "HarvardHBS" ) ( "hms_rc" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "nytimes" ) } }


Question: Japanese labels and descriptions of properties used in Encyclopædia Britannica's Wikidata entry.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?propertyItem ?propertyItemLabel ?propertyItemDescription WHERE {
  wd:Q455 ?property ?value .
  ?propertyItem wikibase:directClaim ?property .
  ?propertyItem rdfs:label ?propertyItemLabel .
  ?propertyItem schema:description ?propertyItemDescription .
  FILTER(LANG(?propertyItemLabel) = "ja")
  FILTER(LANG(?propertyItemDescription) = "ja")
}
LIMIT 100

What properties describing Encyclopædia Britannica have Japanese labels and descriptions?

Show me the Japanese labels and descriptions of all properties that are used to describe Encyclopædia Britannica on Wikidata.

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


Question: Wikidata properties with Japanese labels and descriptions

SELECT ?item ?label ?description WHERE { ?item rdfs:label ?label . ?item schema:description ?description . FILTER (LANG(?label) = "ja") . FILTER (LANG(?description) = "ja") . } LIMIT 100

Which properties in Wikidata have both a Japanese label and a Japanese description?

Show me up to 100 Wikidata properties that have Japanese-language labels and descriptions.

SELECT ?var1 ?var2Label ?var3 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT DISTINCT ?var1 WHERE { ?var4 <https://query.wikidata.org/bigdata/namespace/wdq/?s> ?var1 . } LIMIT 100 } ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var1 <http://schema.org/description> ?var3 . FILTER ( ( ( LANG ( ?var2Label ) = "ja" ) ) ) . FILTER ( ( ( LANG ( ?var3 ) = "ja" ) ) ) . } LIMIT 100


Question: Which French media and sports organizations have Twitter accounts on Wikidata, and how many Wikipedia links do they have?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?username(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?username .
  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  VALUES ?username {
    "lequipe" "TF1" "ffhandball" "Francetele" "Paris2024"
  }
}
GROUP BY ?item ?username
ORDER BY ASC(?sitelinkCount)

What are the Twitter usernames of French organizations like TF1, L'Équipe, and the French Handball Federation, and how many Wikipedia articles are linked to each?

List the Twitter handles of major French entities such as TF1, L'Équipe, and Paris 2024, sorted by the number of Wikipedia sitelinks they have.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "unss" ) ( "string2" ) ( "Paris2024" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "FootdElles" ) ( "string7" ) ( "Mc_Lanne" ) ( "string8" ) ( "srebouh" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "nihilcec" ) ( "bbarbusse" ) ( "FabSintes" ) ( "Leo_lgbTP" ) ( "string13" ) ( "string14" ) ( "lequipe" ) ( "tilc2018" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "FFSportU" ) ( "string18" ) ( "usepvm" ) ( "string19" ) ( "lpetrynka" ) ( "string20" ) ( "mc_naves" ) ( "UFOLEP" ) ( "string21" ) ( "string22" ) ( "AnnabelBe" ) ( "elsagpp" ) ( "ANESTAPS" ) ( "string23" ) ( "string24" ) ( "weblaligue" ) ( "string25" ) ( "Francetele" ) ( "string26" ) ( "nsonnac" ) ( "string27" ) ( "string28" ) ( "string29" ) ( "CNEWSMatin" ) ( "string30" ) ( "string31" ) ( "string32" ) ( "string33" ) ( "string34" ) ( "ffhandball" ) ( "string35" ) ( "string36" ) ( "string37" ) ( "string38" ) ( "TF1" ) ( "string39" ) ( "string40" ) ( "Graace_Z" ) } } ORDER BY ASC( ?var3 )


Question: What are the most specific shared categories between the type of the Oval Office and the type of Germany?

SELECT ?commonAncestor WHERE { wd:Q1759167 wdt:P279* ?commonAncestor . wd:Q6256 wdt:P279* ?commonAncestor . } LIMIT 5

Which classes are common ancestors of both "study" (the type of the Oval Office) and "country" (the type of Germany)?

Find entities that are subclasses of both the class that the Oval Office belongs to and the class that Germany belongs to.

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q338067> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q183> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What is the most specific shared category in the hierarchy between a historical region like Judea and a city like Kunduz?

SELECT ?ancestor ?ancestorLabel WHERE { wd:Q1048835 rdfs:label ?ancestorLabel . FILTER(LANG(?ancestorLabel) = "en") }

Which class do both Judea and Kunduz belong to through their types, with the shortest path in the subclass hierarchy?

What is the common superclass that best connects the category of historical regions and cities, based on Wikidata’s ontology?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q104028> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q108155> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What English or German language pages are associated with the movie "The Kelly Gang" (IMDb ID tt0319661)?

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

Which Wikipedia or Wikimedia Commons pages in English or German are about the film with IMDb ID tt0319661?

Show me the English and German language pages linked to the movie "The Kelly Gang" on Wikidata.

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


Question: What calendar systems does Wikidata use for recording dates?

SELECT DISTINCT ?calendarModel ?calendarModelLabel WHERE { ?entity ?prop ?stmt . ?stmt wikibase:timeCalendarModel ?calendarModel . ?calendarModel rdfs:label ?calendarModelLabel . FILTER(LANG(?calendarModelLabel) = "en") }

Which calendar models are associated with date values in Wikidata?

Show the names of the calendars used in Wikidata for dates like birth or event times.

SELECT ?var1Label ?var2Label ?var3 ?var4Label ?var5 ?var5Label WHERE { { <http://www.wikidata.org/entity/Q823319> <http://www.wikidata.org/prop/wdt:P569> ?var1 . } UNION { <http://www.wikidata.org/entity/Q1038233> ( <http://www.wikidata.org/prop/P569> / <http://www.wikidata.org/prop/statement/value/P569> ) ?var6 . } UNION { <http://www.wikidata.org/entity/Q1038233> ( <http://www.wikidata.org/prop/P571> / <http://www.wikidata.org/prop/statement/value/P571> ) ?var6 . } UNION { <http://www.wikidata.org/entity/Q1038233> ( <http://www.wikidata.org/prop/P580> / <http://www.wikidata.org/prop/statement/value/P580> ) ?var6 . } ?var6 <http://wikiba.se/ontology#timeValue> ?var2 . ?var6 <http://wikiba.se/ontology#timePrecision> ?var1 . ?var6 <http://wikiba.se/ontology#timeTimezone> ?var4 . ?var6 <http://wikiba.se/ontology#timeCalendarModel> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Publication years and truncated titles of scientific papers by Jens Juul Holst

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 ?year ?truncatedLabel WHERE {
  ?work wdt:P50 wd:Q28373106 ; wdt:P577 ?date ; rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  BIND(YEAR(?date) AS ?year)
  BIND(SUBSTR(?label , 1 , 20) AS ?truncatedLabel)
}
ORDER BY ?year

What are the publication years and first 20 characters of the English titles of works authored by Jens Juul Holst?

Show me the years and shortened titles (first 20 characters) of all English-language publications by the physiologist Jens Juul Holst, ordered by year.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28373106> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28373106> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: Public holidays and their establishment years

SELECT ?holiday ?inceptionDate ?holidayLabel WHERE { ?holiday wdt:P31 wd:Q1197685 . OPTIONAL { ?holiday wdt:P571 ?inceptionDate . } ?holiday rdfs:label ?holidayLabel . } OFFSET 20 LIMIT 10

What are some public holidays and when were they established?

List public holidays along with their names and the years they began, if known.

SELECT ?var1 ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q1197685> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P571> ?var2 . } OPTIONAL { } } OFFSET 20 LIMIT 10


Question: Events that took place on February 9, 1996

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?event WHERE {
  ?event ( wdt:P585 | wdt:P606 | wdt:P619 | wdt:P620 | wdt:P621 | wdt:P622 | wdt:P729 | wdt:P1191 ) ?date .
  FILTER ( ?date = "1996-02-09T00:00:00Z" ^^ xsd:dateTime )
}

What events happened on February 9, 1996?

List all recorded events such as sports matches, bombings, flights, or performances that occurred on February 9, 1996.

SELECT DISTINCT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P585> | <http://www.wikidata.org/prop/direct/P606> | <http://www.wikidata.org/prop/direct/P619> | <http://www.wikidata.org/prop/direct/P620> | <http://www.wikidata.org/prop/direct/P621> | <http://www.wikidata.org/prop/direct/P622> | <http://www.wikidata.org/prop/direct/P729> | <http://www.wikidata.org/prop/direct/P1191> ) ?var2 . FILTER ( ( ( ?var2 >= "1996-02-09T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1996-02-09T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: What are the categories and subclasses that Bulgaria belongs to, and which of them have English Wikipedia pages?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?class ?classLabel ?wikipediaPage WHERE {
  wd:Q219 ( wdt:P31 / wdt:P279 * ) ?class .
  ?class rdfs:label ?classLabel .
  FILTER ( LANG( ?classLabel ) = "en" ) OPTIONAL {
    ?wikipediaPage schema:about ?class ; schema:isPartOf <https://en.wikipedia.org/> .
  }
}

What classes, including superclasses, is Bulgaria an instance of, and which of those classes have corresponding articles on English Wikipedia?

Show me all the abstract categories (from direct types to their ancestors) that Bulgaria fits into, along with their English labels and links to English Wikipedia pages if they exist.

SELECT DISTINCT ?var1 ?var1Label ?var2 WHERE { <http://www.wikidata.org/entity/Q219> ( <http://www.wikidata.org/prop/direct/P31> ?/ <http://www.wikidata.org/prop/direct/P279> *) ?var1 . OPTIONAL { ?var2 <http://schema.org/about> ?var1 . ?var2 <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> "en". } }


Question: Which French media and government accounts on Twitter (France2tv, franceinfo, Elysee) have the fewest Wikipedia language editions linked to them?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?twitterHandle(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?twitterHandle .
  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  VALUES ?twitterHandle {
    "France2tv" "franceinfo" "Elysee"
  }
}
GROUP BY ?item ?twitterHandle
ORDER BY ASC(?sitelinkCount)

How many Wikipedia language versions are linked to each of the Twitter accounts @France2tv, @franceinfo, and @Elysee, sorted from least to most?

List the Twitter handles @France2tv, @franceinfo, and @Elysee along with the number of Wikipedia language editions associated with each, ordered by the smallest number of editions first.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "France2tv" ) ( "20hFrance2" ) ( "string2" ) ( "franceinfo" ) ( "cdelabaume" ) ( "string3" ) ( "Francetele" ) ( "evedx" ) ( "string4" ) ( "string5" ) ( "19hLD" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "Yossi_eli" ) ( "string13" ) ( "aslapix" ) ( "string14" ) ( "RMCinfo" ) ( "mediathom" ) ( "string15" ) ( "string16" ) ( "SoMabrouk" ) ( "string17" ) ( "Elysee" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) } } ORDER BY ASC( ?var3 )


Question: Image of Pierre de Ronsard with SNAC ARK ID w66d5txr

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

What is the image associated with Pierre de Ronsard’s SNAC ARK ID w66d5txr?

Show me the portrait of the person identified by the SNAC ARK ID w66d5txr.

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


Question: What scientific works were published, discovered, or created on October 1, 1983?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?item WHERE {
  ?item(wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619) ?date .
  FILTER(?date = "1983-10-01T00:00:00Z" ^^ xsd:dateTime)
}

List all items in Wikidata that have a date of inception, discovery, publication, or official opening on October 1, 1983.

Which academic papers or taxonomic descriptions were released on October 1, 1983?

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 >= "1983-10-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1983-10-01T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Which organizations and people have Twitter accounts on Wikidata, and how many Wikipedia sitelinks do they have, sorted by least to most?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?twitterUsername(COUNT(?sitelink) AS ?sitelinkCount) WHERE {
  ?item wdt:P2002 ?twitterUsername .
  ?sitelink schema:about ?item ; schema:isPartOf ?wiki .
  VALUES ?twitterUsername {
    "FDJ" "Wikimedia" "metmuseum" "mediawiki" "mapillary" "maddow" "craigslist" "humble" "CCastaner" "Padre_Pio" "gchampeau" "Ludovic_P_" "Berochon" "leCMN"
  }
}
GROUP BY ?item ?twitterUsername
ORDER BY ASC(?sitelinkCount)

Can you list the entities on Wikidata that have Twitter usernames like FDJ, Wikimedia, or metmuseum, along with the number of Wikipedia sitelinks they have, ordered from fewest to most?

Show me the Twitter usernames and their corresponding Wikipedia sitelink counts for entities like Wikimedia Foundation, Metropolitan Museum of Art, and others, sorted by the number of sitelinks in ascending order.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "sarahjeong" ) ( "joelgombin" ) ( "gchampeau" ) ( "string3" ) ( "Ludovic_P_" ) ( "caligans" ) ( "FDJ_Sport" ) ( "FDJ" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "mapillary" ) ( "string8" ) ( "Padre_Pio" ) ( "CCastaner" ) ( "Wikimedia" ) ( "metmuseum" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "ash_crow" ) ( "string14" ) ( "maddow" ) ( "mesosphere" ) ( "string15" ) ( "mediawiki" ) ( "string16" ) ( "pgstef" ) ( "string17" ) ( "eva_dun" ) ( "Askewtt" ) ( "zefede" ) ( "MekuCube" ) ( "HatinTime" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "Mr_Jarad" ) ( "string22" ) ( "string23" ) ( "craigslist" ) ( "marccold" ) ( "string24" ) ( "string25" ) ( "string26" ) ( "Pyb75" ) ( "string27" ) ( "mathdenel" ) ( "string28" ) ( "string29" ) ( "string30" ) ( "GoogleFR" ) ( "framawiki" ) ( "Berochon" ) ( "string31" ) ( "LabFabfr" ) ( "leCMN" ) ( "LoicTallon" ) ( "string32" ) ( "humble" ) } } ORDER BY ASC( ?var3 )


Question: Which organizations have Twitter/X accounts (MongoDB, gnome, franceinfo, DavidLammy, JSTOR, outreachy, THR) and how many Wikipedia sitelinks do they have, sorted by least to most?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username ( COUNT( ?site ) AS ?sitelinks ) WHERE {
  ?item wdt:P2002 ?username .
  ?site schema:about ?item ; schema:isPartOf ?siteWiki .
  VALUES ?username {
    "MongoDB" "gnome" "franceinfo" "DavidLammy" "JSTOR" "outreachy" "THR"
  }
}
GROUP BY ?item ?username
ORDER BY ASC ( ?sitelinks )

What are the Twitter usernames and corresponding Wikipedia sitelink counts for entities like MongoDB, GNOME, France Info, David Lammy, JSTOR, Outreachy, and THR, ordered by the number of sitelinks in ascending order?

List the entities with Twitter handles MongoDB, gnome, franceinfo, DavidLammy, JSTOR, outreachy, or THR, along with their number of Wikipedia sitelinks, sorted from the fewest to the most sitelinks.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "franceinfo" ) ( "string2" ) ( "apacherya" ) ( "string3" ) ( "ApacheFluo" ) ( "MongoDB" ) ( "string4" ) ( "outreachy" ) ( "gnome" ) ( "kylosjedi" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "ComHemAB" ) ( "NatMus_SWE" ) ( "string8" ) ( "string9" ) ( "oatweet" ) ( "string10" ) ( "SkrivaFel" ) ( "string11" ) ( "SKS_finlit" ) ( "LKarppi" ) ( "string12" ) ( "string13" ) ( "Finansliv" ) ( "string14" ) ( "string15" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "Envarch" ) ( "string19" ) ( "string20" ) ( "string21" ) ( "MTvarana" ) ( "TheDerw" ) ( "aral" ) ( "mstephens7" ) ( "perbj" ) ( "string22" ) ( "lutheratur" ) ( "string23" ) ( "string24" ) ( "string25" ) ( "sueperkins" ) ( "string26" ) ( "jwsal" ) ( "string27" ) ( "string28" ) ( "string29" ) ( "string30" ) ( "string31" ) ( "DavidLammy" ) ( "Blinkymanx" ) ( "string32" ) ( "string33" ) ( "KathyRanks" ) ( "string34" ) ( "ellen" ) ( "Rosie" ) ( "THR" ) ( "parr2_parr" ) ( "slooterman" ) ( "JSTOR" ) ( "string35" ) ( "cececebe" ) ( "Wiki_Con" ) } } ORDER BY ASC( ?var3 )


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

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

Can you show me the Wikipedia articles in English and German about the film "Heaven Is for Real"?

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

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


Question: What are the key biographical details of Cerinthus, such as his occupation, place of birth, and gender?

SELECT DISTINCT ?property ?propertyLabel ?value ?valueLabel WHERE { wd:Q447428 ?wdProperty ?value . ?property wikibase:directClaim ?wdProperty . ?property rdfs:label ?propertyLabel . ?value rdfs:label ?valueLabel . FILTER(LANG(?propertyLabel) = "en") FILTER(LANG(?valueLabel) = "en") FILTER(?property IN (wd:P31, wd:P106, wd:P21, wd:P19, wd:P569, wd:P570)) }

Was Cerinthus a philosopher or theologian, and where was he born?

Can you tell me the occupation, gender, and birthplace of the ancient Syrian figure Cerinthus?

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


Question: Publication years and truncated titles of works by Rebecca Elliott.

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 ?year ?title WHERE {
  ?work wdt:P50 wd:Q26388845 .
  ?work wdt:P577 ?date .
  ?work rdfs:label ?label .
  FILTER ( LANG( ?label ) = "en" ) .
  BIND( YEAR( ?date ) AS ?year ) .
  BIND( SUBSTR( ?label , 1 , 20 ) AS ?title )
}
ORDER BY ASC ( ?year )

What are the publication years and shortened English titles of books and papers authored by Rebecca Elliott?

Show me the years and first 20 characters of the English titles of all works written by Rebecca Elliott, sorted by year.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q26388845> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q26388845> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: Works by Matthew Champion, including publication date, type, number of pages, and where they were published.

SELECT
  (MIN(?date) AS ?minDate)
  ?work
  ?workLabel
  (GROUP_CONCAT(DISTINCT ?instanceLabel; SEPARATOR=", ") AS ?instanceTypes)
  (SAMPLE(?pages) AS ?numPages)
  ?publishedIn
  ?publishedInLabel
  (GROUP_CONCAT(DISTINCT ?authorLabel; SEPARATOR=", ") AS ?authors)
WHERE {
  ?work wdt:P50 wd:Q47544243 .  # Work authored by Matthew Champion

  # Get work label
  OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") }

  # Get instance types (P31)
  OPTIONAL {
    ?work wdt:P31 ?instance .
    ?instance rdfs:label ?instanceLabel .
    FILTER(LANG(?instanceLabel) = "en")
  }

  # Get publication date
  OPTIONAL {
    ?work wdt:P577 ?pubDate .
    BIND(SUBSTR(STR(?pubDate), 1, 10) AS ?dateStr)
    BIND(xsd:date(?dateStr) AS ?date)
  }

  # Get number of pages
  OPTIONAL { ?work wdt:P1104 ?pages }

  # Get published in (P1433)
  OPTIONAL {
    ?work wdt:P1433 ?publishedIn .
    ?publishedIn rdfs:label ?publishedInLabel .
    FILTER(LANG(?publishedInLabel) = "en")
  }

  # Get author label (Matthew Champion)
  wd:Q47544243 rdfs:label ?authorLabel .
  FILTER(LANG(?authorLabel) = "en")
}
GROUP BY ?work ?workLabel ?publishedIn ?publishedInLabel
ORDER BY DESC(?minDate)

What are the scholarly works authored by Matthew Champion, and what are their publication dates, types, page counts, and publication venues?

List all works written by Matthew Champion, showing their publication dates, whether they are books or articles, how many pages they have, where they were published, and confirm the author's name.

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/Q47544243> . ?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: Which entities have Twitter usernames like jessamyn, Wikimania, BBC, Snowden, esa, or ESA_EO, sorted by how many Wikipedia pages they have?

SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item . VALUES ?username { "jessamyn" "Wikimania" "BBC" "Snowden" "esa" "ESA_EO" } } GROUP BY ?item ?username ORDER BY ASC (?sitelinkCount)

What are the Twitter accounts of entities like BBC and Snowden, and how many Wikipedia articles are linked to each?

List the Twitter handles for BBC, Snowden, and other notable organizations, ordered by the number of Wikipedia pages they have, 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 ) { ( "jessamyn" ) ( "string1" ) ( "string2" ) ( "facebook" ) ( "string3" ) ( "string4" ) ( "Wikimania" ) ( "lescarr" ) ( "tomscocca" ) ( "string5" ) ( "lchu3n" ) ( "string6" ) ( "erodley" ) ( "string7" ) ( "wikilgbt" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "Iron_Spike" ) ( "string11" ) ( "string12" ) ( "HettaHowes" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "rsimmon" ) ( "ESA" ) ( "string16" ) ( "ESA_EO" ) ( "string17" ) ( "textfiles" ) ( "string18" ) ( "string19" ) ( "SkrivaFel" ) ( "TheoKL" ) ( "string20" ) ( "string21" ) ( "string22" ) ( "Rosiestep" ) ( "Moneyish" ) ( "string23" ) ( "Snowden" ) ( "desigonz" ) ( "maxseddon" ) ( "WikiIndaba" ) ( "string24" ) ( "string25" ) ( "string26" ) ( "string27" ) ( "string28" ) ( "BBC" ) ( "string29" ) ( "string30" ) ( "string31" ) ( "string32" ) ( "string33" ) ( "string34" ) ( "string35" ) ( "string36" ) ( "J_amesp" ) ( "Rebastion" ) ( "planetlabs" ) ( "string37" ) ( "plainspace" ) ( "dpla" ) ( "BPLBoston" ) } } ORDER BY ASC( ?var3 )


Question: French-formatted calendar dates with day, month name, and year

SELECT ?formattedDate WHERE { ?item wdt:P31 wd:Q205892 . ?item wdt:P585 ?date . BIND(MONTH(?date) AS ?monthNum) VALUES (?month ?monthNumValue) { (wd:Q108 1) (wd:Q109 2) (wd:Q110 3) (wd:Q118 4) (wd:Q119 5) (wd:Q120 6) (wd:Q121 7) (wd:Q122 8) (wd:Q123 9) (wd:Q124 10) (wd:Q125 11) (wd:Q126 12) } FILTER(?monthNum = ?monthNumValue) ?month rdfs:label ?monthName . FILTER(LANG(?monthName) = "fr") BIND(STRLANG(CONCAT(STR(DAY(?date)), " ", ?monthName, " ", STR(YEAR(?date))), "fr") AS ?formattedDate) } LIMIT 10

What are some dates in French format like "day month year"?

Show me 10 dates formatted in French as "day month_name year", using the month's French name.

SELECT * WHERE { BIND ( STRLANG ( CONCAT ( STR ( DAY ( ?var1 ) ) , " ", STR ( ?var2 ) , " ", STR ( YEAR ( ?var1 ) ) ) , "fr" ) AS ?var3 ). ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q205892> . ?var4 <http://www.wikidata.org/prop/direct/P585> ?var1 . ?var5 <http://www.wikidata.org/prop/direct/P2837> ?var6 . FILTER ( ( ( STR ( MONTH ( ?var1 ) ) = STR ( ?var6 ) ) ) ) . ?var5 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "fr" ) ) ) . } LIMIT 10


Question: Which organizations have Twitter accounts (TechCrunch, intel, WIRED, AOL, Gizmodo, MacRumors, engadget, latimes) and how many Wikipedia articles exist about them?

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 .
  FILTER(?twitterHandle IN("TechCrunch" , "intel" , "WIRED" , "AOL" , "Gizmodo" , "MacRumors" , "engadget" , "latimes"))
}
GROUP BY ?item ?twitterHandle
ORDER BY ASC(?sitelinkCount)

What are the Twitter handles of TechCrunch, Intel, WIRED, AOL, Gizmodo, MacRumors, Engadget, and the Los Angeles Times, and how many language versions of their Wikipedia pages are there?

List the entities on Wikidata with Twitter usernames including TechCrunch, intel, WIRED, AOL, Gizmodo, MacRumors, engadget, and latimes, along with the number of Wikipedia sitelinks they have, sorted by least to most sitelinks.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "xychelsea" ) ( "string2" ) ( "intel" ) ( "string3" ) ( "Inteliot" ) ( "string4" ) ( "aionescu" ) ( "i0n1c" ) ( "s1guza" ) ( "string5" ) ( "Niktereuto" ) ( "string6" ) ( "funder" ) ( "string7" ) ( "TechCrunch" ) ( "Intel" ) ( "MarkWarner" ) ( "string8" ) ( "intelnews" ) ( "LouDobbs" ) ( "POTUS" ) ( "AOL" ) ( "string9" ) ( "WIRED" ) ( "Gizmodo" ) ( "string10" ) ( "MacRumors" ) ( "julipuli" ) ( "thehill" ) ( "eastdakota" ) ( "engadget" ) ( "inafried" ) ( "latimes" ) } } ORDER BY ASC( ?var3 )


Question: Which Twitter accounts have the fewest Wikipedia articles, among Wikimedia, SvD, techdirt, and other known handles?

SELECT ?item ?handle (COUNT(?sitelink) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?handle . ?sitelink schema:about ?item ; schema:isPartOf ?wiki . VALUES ?handle { "allisonl" "Anthere" "cneudecker" "ewg118" "fnielsen" "joemuggs" "Joinup_eu" "BnFMonde" "laBnF" "mstephens7" "kestinen" "deeped" "archasa" "lowenhamn" "namnfragor" "omskolning" "SKS_finlit" "ksnyberg" "SvD" "realkmmag" "glynmoody" "mmasnick" "techdirt" "WikiDigi" "wikidata" "Wikimedia" } } GROUP BY ?item ?handle ORDER BY ASC(?sitelinkCount)

Can you list the Twitter accounts (like Wikimedia, SvD, techdirt) ordered by how many language versions of Wikipedia they have articles in, from least to most?

Show me the Twitter handles of organizations like Wikimedia and SvD, sorted by the number of Wikipedia language editions they appear in, starting with the least.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "Wikimedia" ) ( "SkrivaFel" ) ( "string1" ) ( "moppematte" ) ( "string2" ) ( "opassande" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "i4oc_org" ) ( "primalpoly" ) ( "string9" ) ( "sbb_news" ) ( "string10" ) ( "Anthere" ) ( "string11" ) ( "selanna" ) ( "fnielsen" ) ( "string12" ) ( "joemuggs" ) ( "string13" ) ( "string14" ) ( "jessamyn" ) ( "string15" ) ( "Joinup_eu" ) ( "ewg118" ) ( "string16" ) ( "string17" ) ( "string18" ) ( "string19" ) ( "string20" ) ( "BnFMonde" ) ( "laBnF" ) ( "cneudecker" ) ( "sadads" ) ( "allisonl" ) ( "TheoKL" ) ( "CARRIONIER" ) ( "string21" ) ( "mstephens7" ) ( "string22" ) ( "kestinen" ) ( "deeped" ) ( "string23" ) ( "string24" ) ( "archasa" ) ( "lowenhamn" ) ( "string25" ) ( "string26" ) ( "string27" ) ( "string28" ) ( "namnfragor" ) ( "omskolning" ) ( "SKS_finlit" ) ( "string29" ) ( "ksnyberg" ) ( "string30" ) ( "string31" ) ( "SvD" ) ( "realkmmag" ) ( "glynmoody" ) ( "mmasnick" ) ( "techdirt" ) ( "string32" ) ( "WikiDigi" ) ( "wikidata" ) ( "ChBonacchi" ) ( "caatue" ) ( "MKrz17" ) ( "string33" ) ( "string34" ) ( "cececebe" ) ( "string35" ) } } ORDER BY ASC( ?var3 )


Question: What entities were created, published, discovered, or officially opened in 1961?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?item WHERE {
  ?item wdt:P571 | wdt:P575 | wdt:P577 | wdt:P1619 ?date .
  FILTER(?date >= "1961-01-01T00:00:00Z" ^^ xsd:dateTime && ?date <= "1961-12-31T23:59:59Z" ^^ xsd:dateTime)
}

Which items in Wikidata have a date of inception, publication, discovery, or official opening in 1961?

List all works, organizations, or discoveries that came into existence in 1961, including their publication, invention, or opening dates.

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 >= "1961-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1961-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Top authority control identifiers used by art dealers on Wikidata

SELECT ?authorityPropLabel ?count WHERE { ?authorityProp wdt:P31 wd:Q19595382 ; wikibase:propertyType wikibase:ExternalId ; wikibase:claim ?property . { SELECT ?property ( COUNT( DISTINCT ?artDealer ) AS ?count ) WHERE { ?artDealer wdt:P106 wd:Q173950 . ?artDealer wdt:P31 wd:Q5 . ?artDealer ?property ?value . } GROUP BY ?property } ?authorityProp rdfs:label ?authorityPropLabel . FILTER(LANG(?authorityPropLabel) = "en") } ORDER BY DESC(?count) LIMIT 100

Which international identity identifiers (like VIAF or ISNI) are most commonly used by art dealers in Wikidata?

Show me the 100 most frequently used authority control IDs for art dealers, ranked by usage count.

SELECT ?var1Label ?var2 ?var3 WHERE { { SELECT ?var4 ( COUNT (* ) AS ?var3 ) WHERE { ?var5 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q173950> . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var5 ?var4 _:b2 . } GROUP BY ?var4 } ?var1 <http://wikiba.se/ontology#propertyType> <http://wikiba.se/ontology#ExternalId> . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q19595382> . ?var1 <http://wikiba.se/ontology#claim> ?var4 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY DESC( ?var3 ) LIMIT 100


Question: What items from the Victoria and Albert Museum collection have English descriptions in Wikidata?

PREFIX schema: <http://schema.org/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?itemLabel ?description WHERE {
  ?item wdt:P3929 ?vandaId .
  OPTIONAL {
    ?item schema:description ?description .
    FILTER ( LANG( ?description ) = "en" )
  }
}
LIMIT 10

Show me items from the V&A with their English descriptions.

Which items in Wikidata have V&A IDs and associated English descriptions?

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P3929> "O550268". 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: Journals with most publications by Gert Vriend

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 ?publication ?pubLabel(COUNT(?work) AS ?count) WHERE {
  ?work wdt:P50 wd:Q28874031 .
  ?work wdt:P1433 ?publication .
  ?publication rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  OPTIONAL {
    ?publication wdt:P1813 ?shortName .
  }
  BIND(COALESCE(?shortName , ?label) AS ?pubLabel)
}
GROUP BY ?publication ?pubLabel
ORDER BY DESC(?count)

Which journals have published the most papers by Dutch biologist Gert Vriend?

List the publications where Gert Vriend has published the most works, showing the count and using journal abbreviations if available.

SELECT ?var1 ?var2Label ( COUNT ( ?var3 ) AS ?var4 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q28874031> . ?var3 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1813> ?var6 . } BIND ( COALESCE ( ?var6 , ?var5Label ) AS ?var2Label ). } GROUP BY ?var1 ?var2Label ORDER BY DESC( ?var4 )


Question: What items were created, published, discovered, or officially opened in 1999?

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

Which entities in Wikidata have a creation date, publication date, discovery date, or official opening date in the year 1999?

List all works, organizations, or places that began to exist in 1999, including those published, invented, discovered, or officially opened that year.

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 >= "1999-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1999-12-31T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


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

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

Can you show me the Wikimedia Commons image associated with Fridtjof Nansen’s SNAC identifier?

Which image file on Commons is linked to the SNAC ARK ID w6m90fnd?

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


Question: List all artists and their Benezit IDs from Wikidata.

SELECT ?artist ?benezitId WHERE { ?artist wdt:P2843 ?benezitId . } ORDER BY ?artist

Who are the artists listed in the Benezit Dictionary of Artists, and what are their corresponding Benezit IDs?

Please provide a sorted list of artists along with their Benezit identifiers.

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


Question: Croatian labels for years in Wikidata

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

What are the years in Croatian language on Wikidata?

Show me the Croatian labels for all years listed as point in time on Wikidata.

SELECT ?var1 ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> + <http://www.wikidata.org/entity/Q1790144> . ?var1 ( <http://www.wikidata.org/prop/P585> / <http://www.wikidata.org/prop/statement/value/P585> ) ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "hr" ) ) ) . ?var3 <http://wikiba.se/ontology#timeValue> ?var4 . ?var3 <http://wikiba.se/ontology#timePrecision> ?var5 . ?var3 <http://wikiba.se/ontology#timeTimezone> ?var6 . ?var3 <http://wikiba.se/ontology#timeCalendarModel> ?var7 . }


Question: List Wikidata items linked to U.S. National Archives identifiers (NAIDs) with their English labels.

SELECT ?item ?itemLabel ?naid WHERE { ?item wdt:P1225 ?naid . ?item rdfs:label ?itemLabel . FILTER(LANG(?itemLabel) = "en") } LIMIT 1000

Which items in Wikidata have a U.S. National Archives Identifier, and what are their English names?

Show me the English names of Wikidata entities that are associated with NARA’s online catalog identifiers.

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


Question: Members of the Royal Academy of Arts and their RA Collections IDs

SELECT ?member ?memberLabel ?raCollectionId WHERE { ?member wdt:P463 wd:Q270920 . ?member wdt:P4553 ?raCollectionId . ?member rdfs:label ?memberLabel . FILTER(LANG(?memberLabel) = "en") }

Who are the members of the Royal Academy of Arts, and what are their RA Collections IDs?

List all members of the Royal Academy of Arts along with their identifiers in the RA’s collections database.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P463> <http://www.wikidata.org/entity/Q270920> . ?var1 <http://www.wikidata.org/prop/direct/P4553> ?var2 . }


Question: What are the publication years and titles (first 20 characters) of works authored by Marta C. González?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?year ?titlePrefix WHERE {
  ?work wdt:P50 wd:Q47484431 .
  ?work wdt:P577 ?pubDate .
  BIND( YEAR( ?pubDate ) AS ?year ) .
  ?work wdt:P1476 ?title .
  BIND( SUBSTR( ?title , 1 , 20 ) AS ?titlePrefix )
}

Show me the year and shortened title of each publication by Marta C. González.

Which papers did Marta C. González write, and when were they published? Include the first 20 characters of each title.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47484431> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q47484431> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: What are some recent events (from 2023 onwards) recorded in Wikidata, and when did they occur?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?event ?eventLabel ?date WHERE {
  ?event ( wdt:P31 / wdt:P279 * ) wd:Q1190554 .
  OPTIONAL {
    ?event wdt:P585 ?date .
  }
  OPTIONAL {
    ?event wdt:P580 ?date .
  }
  FILTER ( BOUND( ?date ) && DATATYPE( ?date ) = xsd:dateTime ) FILTER ( ?date >= "2023-01-01T00:00:00Z" ^^ xsd:dateTime ) OPTIONAL {
    ?event rdfs:label ?eventLabel .
    FILTER ( LANG( ?eventLabel ) = "en" )
  }
}
LIMIT 10

List events that happened since 2023, including their names and dates.

Show me notable occurrences (like accidents, elections, or matches) from the last two years with their English labels and timestamps.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q1190554> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var2 . } BIND ( ( NOW ( ) - ?var2 ) AS ?var3 ). FILTER ( ( BOUND ( ?var2 ) && ( DATATYPE ( ?var2 ) = <http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . FILTER ( ( ( "0"^^<http://www.w3.org/2001/XMLSchema#integer> <= ?var3 ) && ( ?var3 < "61"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . } } LIMIT 2


Question: What entities were created, published, discovered, or officially opened on May 23, 1999?

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

Which items on Wikidata have a date of inception, publication, discovery, or official opening exactly on May 23, 1999?

List all cultural, artistic, or institutional entities that had their founding, release, or opening on May 23, 1999.

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 >= "1999-05-23T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var2 <= "1999-05-23T23:59:59Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . }


Question: Who is the artist with RKDartists ID 71754?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
SELECT ?artist ?artistLabel WHERE {
  ?artist wdtn:P650 <https://data.rkd.nl/artists/71754> .
  ?artist rdfs:label ?artistLabel .
  FILTER(LANG(?artistLabel) = "en")
}

What is the English label of the person linked to the RKDartists URL https://data.rkd.nl/artists/71754?

Find the name in English of the artist whose RKDartists identifier is 71754.

SELECT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P650> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en". } FILTER ( ( ( ?var2 = "71799"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . } LIMIT 5


Question: What calendar systems or time units are considered equivalent to a year?

SELECT ?calendarYear ?statement (SAMPLE(?qualifier) AS ?qualifierSample) WHERE { { SELECT DISTINCT ?calendarYear ?statement WHERE { ?statement ps:P460 wd:Q577 . ?calendarYear p:P460 ?statement . } LIMIT 101 } OPTIONAL { ?statement ?qualifier ?qualifierValue . ?qualifier wikibase:qualifier true . } } GROUP BY ?calendarYear ?statement

Can you list calendar years that are said to be the same as the standard year, along with any additional qualifiers used in those statements?

Which entities are linked to the concept of a year through the "said to be the same as" relationship?

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


Question: What Wikipedia templates are linked to Germany?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?template WHERE {
  ?template wdt:P1423 wd:Q183
}

Which infobox templates on Wikipedia are associated with the country of Germany?

Can you tell me the Wikipedia template that covers Germany as its main topic?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/Q64> <http://www.wikidata.org/prop/direct/P1423> ?var1 . }


Question: List Gregorian years with their English labels and associated dates, ordered chronologically.

SELECT ?label ?pointInTime ?startTime ?endTime ?follows ?followedBy WHERE { ?year wdt:P31 wd:Q577 . OPTIONAL { ?year rdfs:label ?label . FILTER(LANG(?label) = "en") } ?year wdt:P585 ?pointInTime . OPTIONAL { ?year wdt:P580 ?startTime } OPTIONAL { ?year wdt:P582 ?endTime } OPTIONAL { ?year wdt:P155 ?follows } OPTIONAL { ?year wdt:P156 ?followedBy } } ORDER BY ASC(?pointInTime)

What are the English names of all Gregorian years, along with their start dates and the years that come before and after them?

Show me all known Gregorian years in chronological order, including their labels, start and end times, and the years that precede or follow them.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q950135> . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q28892> . } MINUS { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q577> . ?var3 <http://www.wikidata.org/prop/qualifier/P361> <http://www.wikidata.org/entity/Q950135> . } MINUS { ?var1 <http://www.wikidata.org/prop/P31> ?var3 . ?var3 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q577> . ?var3 <http://www.wikidata.org/prop/qualifier/P361> <http://www.wikidata.org/entity/Q44722> . } FILTER ( ( ( ?var1 != <http://www.wikidata.org/entity/Q7415545> ) ) ) . OPTIONAL { BIND ( YEAR ( ?var4 ) AS ?var5 ). ?var1 <http://www.wikidata.org/prop/direct/P585> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P580> ?var6 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P582> ?var7 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P156> ?var9 . } FILTER ( ( ( STR ( ?var5 ) != STR ( ?var2 ) ) ) ) . } ORDER BY ASC( ?var4 )


Question: List years in Mongolian with their dates and corresponding Mongolian Wikipedia pages.

SELECT ?year ?date ?label ?wikipediaPage ?pageTitle WHERE { ?year wdt:P31 wd:Q577 . ?year wdt:P585 ?date . ?year rdfs:label ?label . FILTER (LANG(?label) = "mn") . OPTIONAL { ?wikipediaPage schema:about ?year ; schema:inLanguage "mn" ; schema:name ?pageTitle . } } ORDER BY ASC(?date)

Which years have Mongolian labels on Wikidata, and what are their corresponding dates and Mongolian Wikipedia page titles?

Show me all years from Wikidata that are labeled in Mongolian, along with their dates and links to the Mongolian Wikipedia articles about them.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var1 <http://www.wikidata.org/prop/direct/P585> ?var2 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "mn" ) ) ) . OPTIONAL { ?var4 <http://schema.org/about> ?var1 ; <http://schema.org/inLanguage> "mn"; <http://schema.org/name> ?var5 . } } ORDER BY ASC( ?var2 )


Question: How many human painters with Dutch labels are missing an RKDartists ID in Wikidata?

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(COUNT(?painter) AS ?count) WHERE {
  ?painter wdt:P106 wd:Q1028181 .
  ?painter wdt:P31 wd:Q5 .
  ?painter rdfs:label ?label .
  FILTER(LANG(?label) = "nl") MINUS {
    ?painter wdt:P650 ?rkdId .
  }
}

Can you tell me the number of painters in Wikidata who are identified in Dutch but do not have a record in the RKDartists database?

What is the count of Dutch-speaking human painters in Wikidata who are not linked to the RKDartists database?

SELECT( COUNT ( ?var1 ) AS ?var2 ) WHERE { ?var1 <http://www.wikidata.org/prop/direct/P106> <http://www.wikidata.org/entity/Q1028181> . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P650> ?var4 . } FILTER ( ( ( LANG ( ?var3 ) = "nl" ) ) ) . FILTER ( ( !( BOUND ( ?var4 ) ) ) ) . } LIMIT 1000


Question: Titles of works by Ron Wehrens and their publication years, truncated to 20 characters.

SELECT ?year ?shortTitle WHERE { ?work wdt:P50 wd:Q27134800 . ?work wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?work rdfs:label ?title . FILTER(LANG(?title) = "en") . BIND(SUBSTR(?title, 1, 20) AS ?shortTitle) } ORDER BY ?year

What are the first 20 characters of the English titles of publications authored by Ron Wehrens, and when were they published?

List the abbreviated English titles (first 20 characters) of Ron Wehrens’s publications along with their publication years, sorted chronologically.

SELECT ?var1 ?var2 ?var3Label WHERE { { SELECT ?var1 ( SAMPLE ( ?var4 ) AS ?var2 ) ?var3Label WHERE { { SELECT( STR ( ?var5 ) AS ?var1 )( "0"^^<http://www.w3.org/2001/XMLSchema#integer> AS ?var4 )( "_" AS ?var3Label ) WHERE { BIND ( YEAR ( ?var6 ) AS ?var5 ). ?var7 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q577> . ?var7 <http://www.wikidata.org/prop/direct/P585> ?var6 . { SELECT( MIN ( ?var5 ) AS ?var8 )( MAX ( ?var5 ) AS ?var9 ) WHERE { BIND ( YEAR ( ?var10 ) AS ?var5 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27134800> . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var10 . } } FILTER ( ( ( ?var5 >= ?var8 ) && ( ?var5 <= ?var9 ) ) ) . } } UNION { BIND ( SUBSTR ( ?var12Label ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"20"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var3Label ). BIND ( STR ( YEAR ( ?var6 ) ) AS ?var1 ). ?var11 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q27134800> . ?var11 <http://www.wikidata.org/prop/direct/P1104> ?var4 . ?var11 <http://www.wikidata.org/prop/direct/P577> ?var6 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . FILTER ( ( ( LANG ( ?var12Label ) = "en" ) ) ) . } } GROUP BY ?var1 ?var11 ?var3Label ORDER BY ASC( ?var1 ) } }


Question: Publications with a Library of Congress Control Number (LCCN)

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?publication WHERE {
  ?publication wdt:P1144 ?lccn .
}
LIMIT 100

Which publications in Wikidata have a Library of Congress Control Number?

List up to 100 items from Wikidata that are assigned a Library of Congress Control Number (LCCN) for bibliographic records.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P1144> ?var2 . } LIMIT 100


Question: What countries and continents is the American Society of Plant Taxonomists associated with geographically?

SELECT DISTINCT ?location WHERE { wd:Q1936351 (wdt:P30|wdt:P17|wdt:P131|wdt:P376|wdt:P501)* ?location . ?location wdt:P31 ?geoType . VALUES ?geoType { wd:Q6256 wd:Q15634347 wd:Q5107 wd:Q234420 wd:Q2 } }

Find all geographic locations (like countries or continents) that the American Society of Plant Taxonomists is connected to through location relationships.

Show the geographic hierarchy (country, continent, etc.) linked to the American Society of Plant Taxonomists.

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


Question: Which Twitter/X accounts from this list (CNNum, Amtrak, Airbus, etc.) have the fewest Wikipedia language versions?

SELECT ?item ?username (COUNT(?site) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . VALUES ?username { "iChap_" "string1" "mdeverges" "lucbronner" "IciLondres" "string2" "string3" "string4" "bibicheri" "pygeoffard" "CNNum" "TerryKIRO7" "Amtrak" "string5" "GuyDutheil" "vechocron" "string6" "string7" "string8" "Airbus" "AirbusHeli" "RiskArbOFI" "JeroFeno" "string9" "string10" } . ?site schema:about ?item ; schema:isPartOf ?wiki . FILTER(STRSTARTS(STR(?wiki), "https://")) } GROUP BY ?item ?username ORDER BY ASC(?sitelinks)

What are the Twitter usernames in this list that correspond to Wikidata items, and how many Wikipedia editions do they have, sorted by the least number?

List the Wikidata items and their Twitter usernames from the provided list, ordered by how many Wikipedia language versions they have, from lowest to highest.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "iChap_" ) ( "string1" ) ( "mdeverges" ) ( "lucbronner" ) ( "IciLondres" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "bibicheri" ) ( "pygeoffard" ) ( "CNNum" ) ( "TerryKIRO7" ) ( "Amtrak" ) ( "string5" ) ( "GuyDutheil" ) ( "vechocron" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "Airbus" ) ( "AirbusHeli" ) ( "RiskArbOFI" ) ( "JeroFeno" ) ( "string9" ) ( "string10" ) } } ORDER BY ASC( ?var3 )


Question: List entities with Twitter usernames and their Wikipedia sitelink counts, sorted by lowest sitelinks first.

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

Which entities on Wikidata have Twitter accounts, and how many Wikipedia language versions are linked to them, ordered from least to most popular?

Show me the Twitter usernames of Wikidata items along with the number of Wikipedia articles about them, starting with the least covered ones.

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


Question: Main subjects of works by Isabelle Augenstein, counted by frequency.

SELECT ?count ?mainSubjectLabel WHERE { { SELECT ?mainSubject (COUNT(?work) AS ?count) WHERE { ?work wdt:P50 wd:Q30338957 . ?work wdt:P921 ?mainSubject . } GROUP BY ?mainSubject ORDER BY DESC(?count) } ?mainSubject rdfs:label ?mainSubjectLabel . FILTER(LANG(?mainSubjectLabel) = "en") }

What are the most common topics in the academic works authored by Isabelle Augenstein, and how many times does each appear?

List the main subjects of all works written by Isabelle Augenstein, along with how often each subject occurs, using English labels.

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/Q30338957> . ?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/Q30338957> . ?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: What is the most specific category that both Algeria and South Korea belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonType WHERE {
  wd:Q262 wdt:P31 ?commonType .
  wd:Q884 wdt:P31 ?commonType .
}
ORDER BY ASC ( ?commonType )
LIMIT 1

Which category is shared by Algeria and South Korea, and is the most specific one?

What do Algeria and South Korea have in common in terms of their classification in Wikidata?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q262> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q380123> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: What are the Wikimedia Commons creator pages for the Art UK artist IDs van-eyck-jan-c-138013901441 and della-robbia-giovanni-146915291530?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?commonsPage WHERE {
  VALUES ?artukId {
    "van-eyck-jan-c-138013901441" "della-robbia-giovanni-146915291530"
  }
  ?artist wdt:P1367 ?artukId ; wdt:P1472 ?commonsPage .
}

Which Wikimedia Commons templates correspond to the Art UK artist IDs for Jan van Eyck and Giovanni della Robbia?

Show me the Commons Creator page names for the artists with Art UK IDs van-eyck-jan-c-138013901441 and della-robbia-giovanni-146915291530.

SELECT ?var1 WHERE { VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) } ?var3 <http://www.wikidata.org/prop/direct/P1367> ?var2 ; <http://www.wikidata.org/prop/direct/P1472> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "nl,en". } }


Question: Bilateral relations with English labels and main categories not labeled in Bengali

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 wdt:P31 wd:Q15221623 . ?var1 rdfs:label ?var1Label . ?var1 wdt:P910 ?var2 . FILTER (LANG(?var1Label) = "en") FILTER NOT EXISTS { ?var2 rdfs:label ?var3Label . FILTER (LANG(?var3Label) = "bn") } }

What are the bilateral relations in English, along with their main Wikimedia categories, excluding those whose categories are labeled in Bengali?

List all bilateral relations with their English names and main categories, but only if the category does not have a Bengali label.

SELECT ?var1 ?var1Label ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q15221623> . ?var1 <http://www.wikidata.org/prop/direct/P910> ?var2 . FILTER ( ( NOT EXISTS { ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "bn" ) ) ) . } ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "bn". } }


Question: Which organizations and individuals on Wikidata have Twitter/X usernames like "Wikimedia", "nytimes", or "Atlassian", and how many language versions of their pages do they have?

SELECT ?item ?username (COUNT(?sitelink) AS ?sitelinks) WHERE { ?item wdt:P2002 ?username . ?sitelink schema:about ?item ; schema:isPartOf ?site . VALUES ?username { "Wikimedia" "nytimes" "Atlassian" "datadoghq" "belett" "wikisource" "juliasilge" } } GROUP BY ?item ?username ORDER BY ASC(?sitelinks)

What are the Wikidata items with Twitter/X usernames such as "Wikimedia", "nytimes", "Atlassian", or "juliasilge", and how popular are they based on the number of language sitelinks?

List the entities on Wikidata that use the Twitter/X usernames "Wikimedia", "nytimes", "Atlassian", "datadoghq", "belett", "wikisource", or "juliasilge", sorted by the number of language versions of their pages, 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 ) { ( "Litlok" ) ( "SocBiblio" ) ( "SqreenIO" ) ( "PoulpyWP" ) ( "AlsBoy" ) ( "onlmaps" ) ( "string1" ) ( "string2" ) ( "ash_crow" ) ( "nirzardp" ) ( "Wikimedia" ) ( "belett" ) ( "wikisource" ) ( "string3" ) ( "ohmymagfr" ) ( "Mac_Picsou" ) ( "mathdenel" ) ( "string4" ) ( "string5" ) ( "Hugo_Lz" ) ( "sauce_lab" ) ( "maamyisa" ) ( "string6" ) ( "nytimes" ) ( "TacoTaxFR" ) ( "string7" ) ( "string8" ) ( "Pouhiou" ) ( "Framasoft" ) ( "Modj0r" ) ( "teslawf" ) ( "Jean_no" ) ( "string9" ) ( "darth" ) ( "string10" ) ( "Atlassian" ) ( "string11" ) ( "LomitaWP" ) ( "Theoliane" ) ( "jarvmiller" ) ( "juliasilge" ) ( "string12" ) ( "Chaoborus" ) ( "string13" ) ( "WikidataAT" ) ( "datadoghq" ) ( "Erdrokan" ) ( "Gallorum" ) ( "amaranto__" ) ( "K_rho" ) ( "string14" ) ( "UrbanDemog" ) ( "string15" ) ( "Moez_TN" ) ( "string16" ) ( "string17" ) ( "Invidiosa" ) ( "string18" ) } } ORDER BY ASC( ?var3 )


Question: Which Wikidata items have Twitter usernames "cliquetv", "ADNanime", or "reach_ina", and how many Wikipedia sitelinks do they have?

SELECT ?item ?twitterUsername (COUNT(?site) AS ?sitelinkCount) WHERE { ?item wdt:P2002 ?twitterUsername . ?site schema:about ?item . VALUES ?twitterUsername { "cliquetv" "ADNanime" "reach_ina" } } GROUP BY ?item ?twitterUsername ORDER BY ASC(?sitelinkCount)

What are the Twitter accounts "cliquetv", "ADNanime", and "reach_ina" linked to in Wikidata, and how many language versions of their Wikipedia pages exist?

List the Wikidata entities associated with the Twitter usernames cliquetv, ADNanime, and reach_ina, sorted by the number of Wikipedia links they have, 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" ) ( "SamOuStach" ) ( "normandyFT" ) ( "Normandie" ) ( "GDorison" ) ( "rcade_play" ) ( "Pixnlove" ) ( "TsumeArt" ) ( "DotEmu" ) ( "cliquetv" ) ( "string3" ) ( "manga_news" ) ( "string4" ) ( "string5" ) ( "MangaMag" ) ( "ADNanime" ) ( "Sedeto" ) ( "string6" ) ( "Icotaku" ) ( "CCointault" ) ( "string7" ) ( "reach_ina" ) ( "BoichiCom" ) } } ORDER BY ASC( ?var3 )


Question: What Wikidata items have the Twitter handles "BFMTV" or "LCI"?

SELECT ?item ?twitterHandle WHERE { ?item wdt:P2002 ?twitterHandle . VALUES ?twitterHandle { "BFMTV" "LCI" } }

Can you find the entities on Wikidata that are associated with the Twitter accounts BFMTV and LCI?

Show me the Wikidata entries for the Twitter accounts BFMTV and LCI.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "applenews" ) ( "NSegaunes" ) ( "string3" ) ( "jjbertolus" ) ( "DevedjianP" ) ( "mmotte" ) ( "LEGENRA" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "BFMTV" ) ( "AureCasse" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "krstv" ) ( "P_Airault" ) ( "LVigogne" ) ( "jmblanquer" ) ( "helkaroui" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "MdM_France" ) ( "string14" ) ( "FeProtest" ) ( "string15" ) ( "string16" ) ( "sbechaux" ) ( "LCI" ) ( "jdomerchet" ) ( "HK__49_3" ) } } ORDER BY ASC( ?var3 )


Question: Who are some actors born in France?

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

Which individuals have the occupation of actor and were born in France?

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


Question: Who are the actors born in Nice, France?

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 ?person ?personLabel WHERE {
  ?person wdt:P31 wd:Q5 ; wdt:P19 wd:Q33959 ; wdt:P106 ?occupation .
  ?occupation wdt:P279 * wd:Q33999 .
  ?person rdfs:label ?personLabel .
  FILTER ( LANG( ?personLabel ) = "en" )
}
ORDER BY ?personLabel
LIMIT 10

List people from Nice who have worked as actors.

Which individuals were born in Nice and pursued acting as a profession?

SELECT ?var1 ( ( ?var2 + ?var3 ) AS ?var4 ) WHERE { SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q33959> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var2 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } SERVICE <http://www.bigdata.com/rdf/gas#service> { <http://www.bigdata.com/rdf/gas#program> <http://www.bigdata.com/rdf/gas#gasClass> "com.bigdata.rdf.graph.analytics.SSSP"; <http://www.bigdata.com/rdf/gas#in> <http://www.wikidata.org/entity/Q241471> ; <http://www.bigdata.com/rdf/gas#traversalDirection> "Forward"; <http://www.bigdata.com/rdf/gas#out> ?var1 ; <http://www.bigdata.com/rdf/gas#out1> ?var3 ; <http://www.bigdata.com/rdf/gas#maxIterations> "10"^^<http://www.w3.org/2001/XMLSchema#integer> ; <http://www.bigdata.com/rdf/gas#linkType> <http://www.wikidata.org/prop/direct/P279> . } } ORDER BY ASC( ?var4 ) LIMIT 1


Question: Image of the person with SNAC ARK ID w69c89tx

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

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

Show me the Wikimedia Commons image for the entity identified by the SNAC ARK ID w69c89tx.

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


Question: What are the English, French, and Latvian labels for concepts related to human migration and human rights?

Can you provide the English, French, and Latvian translations for terms like apartheid, immigration, refugee, and human rights?

I need the multilingual labels (English, French, and Latvian) for a list of social concepts including migration, discrimination, and human rights terms.

SELECT ?var1 ?var2Label ?var3 ?var4Label ?var5Label WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q177626> ) ( <http://www.wikidata.org/entity/Q131288> ) ( <http://www.wikidata.org/entity/Q187668> ) ( <http://www.wikidata.org/entity/Q1932461> ) ( <http://www.wikidata.org/entity/Q12547146> ) ( <http://www.wikidata.org/entity/Q706601> ) ( <http://www.wikidata.org/entity/Q473741> ) ( <http://www.wikidata.org/entity/Q15320003> ) ( <http://www.wikidata.org/entity/Q280958> ) ( <http://www.wikidata.org/entity/Q2608153> ) ( <http://www.wikidata.org/entity/Q47191833> ) ( <http://www.wikidata.org/entity/Q4354288> ) ( <http://www.wikidata.org/entity/Q7317170> ) ( <http://www.wikidata.org/entity/Q837556> ) ( <http://www.wikidata.org/entity/Q379693> ) ( <http://www.wikidata.org/entity/Q133004> ) ( <http://www.wikidata.org/entity/Q705818> ) ( <http://www.wikidata.org/entity/Q181784> ) ( <http://www.wikidata.org/entity/Q8463> ) ( <http://www.wikidata.org/entity/Q7167> ) ( <http://www.wikidata.org/entity/Q47192123> ) ( <http://www.wikidata.org/entity/Q59816> ) ( <http://www.wikidata.org/entity/Q11409> ) ( <http://www.wikidata.org/entity/Q41397> ) ( <http://www.wikidata.org/entity/Q230533> ) ( <http://www.wikidata.org/entity/Q154278> ) ( <http://www.wikidata.org/entity/Q166005> ) ( <http://www.wikidata.org/entity/Q8461> ) ( <http://www.wikidata.org/entity/Q8458> ) ( <http://www.wikidata.org/entity/Q79913> ) ( <http://www.wikidata.org/entity/Q1338878> ) ( <http://www.wikidata.org/entity/Q192989> ) ( <http://www.wikidata.org/entity/Q1368367> ) ( <http://www.wikidata.org/entity/Q16513600> ) ( <http://www.wikidata.org/entity/Q36192> ) ( <http://www.wikidata.org/entity/Q18344718> ) ( <http://www.wikidata.org/entity/Q912512> ) ( <http://www.wikidata.org/entity/Q8434> ) ( <http://www.wikidata.org/entity/Q7181> ) ( <http://www.wikidata.org/entity/Q1397926> ) ( <http://www.wikidata.org/entity/Q131572> ) ( <http://www.wikidata.org/entity/Q2382319> ) ( <http://www.wikidata.org/entity/Q283509> ) ( <http://www.wikidata.org/entity/Q49993410> ) ( <http://www.wikidata.org/entity/Q564811> ) ( <http://www.wikidata.org/entity/Q128393> ) ( <http://www.wikidata.org/entity/Q133346> ) ( <http://www.wikidata.org/entity/Q185598> ) ( <http://www.wikidata.org/entity/Q4006> ) ( <http://www.wikidata.org/entity/Q170404> ) ( <http://www.wikidata.org/entity/Q1351807> ) ( <http://www.wikidata.org/entity/Q196756> ) ( <http://www.wikidata.org/entity/Q1522225> ) ( <http://www.wikidata.org/entity/Q43812> ) ( <http://www.wikidata.org/entity/Q2918584> ) ( <http://www.wikidata.org/entity/Q61509> ) ( <http://www.wikidata.org/entity/Q5843> ) ( <http://www.wikidata.org/entity/Q865054> ) ( <http://www.wikidata.org/entity/Q200814> ) ( <http://www.wikidata.org/entity/Q3172759> ) ( <http://www.wikidata.org/entity/Q367293> ) } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "lv" ) ) ) . } OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "fr" ) ) ) . } }