Question: List all episodes of the TV series ER, including their season, overall episode number, and episode number within the season, sorted by season and episode order.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?episode ?episodeLabel ?season ?seasonLabel ?overallEpisodeNumber ?seasonEpisodeNumber WHERE {
  VALUES ?episodeType {
    wd:Q21191270 wd:Q29197 wd:Q653916
  }
  ?episode wdt:P31 ?episodeType .
  ?episode wdt:P179 wd:Q207375 .
  ?episode wdt:P4908 ?season .
  ?episode p:P179 ?stmt1 .
  ?episode p:P4908 ?stmt2 .
  ?stmt1 pq:P1545 ?overallEpisodeNumber .
  ?stmt2 pq:P1545 ?seasonEpisodeNumber .
  OPTIONAL {
    ?episode rdfs:label ?episodeLabel .
    FILTER ( LANG( ?episodeLabel ) = "en" )
  }
  OPTIONAL {
    ?season rdfs:label ?seasonLabel .
    FILTER ( LANG( ?seasonLabel ) = "en" )
  }
}
ORDER BY ASC ( ?season ) ASC ( xsd:integer ( ?overallEpisodeNumber ) )

What are all the episodes of the TV show ER, and what are their positions in the overall series and within their respective seasons?

Please provide a sorted list of every episode from the TV series ER, showing the episode title, the season it belongs to, its number in the entire series, and its number within the season.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var3 ?var3Label ?var4 ?var4Label ?var5 ?var6 WHERE { VALUES ( ?var7 ) { ( <http://www.wikidata.org/entity/Q21191270> ) ( <http://www.wikidata.org/entity/Q653916> ) ( <http://www.wikidata.org/entity/Q29197> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> ?var7 . ?var1 <http://www.wikidata.org/prop/direct/P179> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q207375> . ?var1 <http://www.wikidata.org/prop/direct/P4908> ?var4 . ?var1 <http://www.wikidata.org/prop/P179> ?var8 . ?var1 <http://www.wikidata.org/prop/P4908> ?var9 . ?var8 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . ?var9 <http://www.wikidata.org/prop/qualifier/P1545> ?var6 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". } } ORDER BY ASC( ?var3 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var5 ) )


Question: What is the author of the article "On Crenellating in Kent and Beyond - A Retrospection", and what is their ORCID or a link to their profile if no ORCID is available?

SELECT ?author ?authorLabel ( COALESCE ( ?orcid , CONCAT ( "https://orcid.org/" , ENCODE_FOR_URI( ?authorLabel ) ) ) AS ?identifier ) WHERE { wd:Q42355108 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER (LANG(?authorLabel) = "en") }

Find the author of the academic article "On Crenellating in Kent and Beyond - A Retrospection" and generate a URL to their profile using their name if their ORCID is not listed.

Who wrote "On Crenellating in Kent and Beyond - A Retrospection"? If they have an ORCID, show it; otherwise, show a link constructed from their name.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q42355108> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: Cited references of CSF markers for incipient Alzheimer's disease

SELECT ?citedWork WHERE { wd:Q35541472 wdt:P2860 ?citedWork .}

What academic papers are cited in the article "CSF markers for incipient Alzheimer's disease"?

Can you list the scholarly works referenced by the study on CSF markers for incipient Alzheimer's disease?

SELECT ?var1 WHERE { <http://www.wikidata.org/entity/Q35541472> <http://www.wikidata.org/prop/direct/P2860> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en". } }


Question: Who are the people or organizations working in the field of Semantic Web?

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

List individuals and institutions whose academic discipline is the Semantic Web.

What entities have the Semantic Web as their field of work?

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P101> ?var3 . FILTER ( ( CONTAINS ( STR ( ?var3 ) , "dbpedia" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What item and property are linked to the statement s:Q24784239-AABEDD4A-3765-4140-A7A5-D6B5E6549D63?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?item ?property WHERE {
  ?item ?property s:Q24784239-AABEDD4A-3765-4140-A7A5-D6B5E6549D63 .
}

Which protein and property does the statement s:Q24784239-AABEDD4A-3765-4140-A7A5-D6B5E6549D63 refer to?

Show me the subject and property of the Wikidata statement with identifier s:Q24784239-AABEDD4A-3765-4140-A7A5-D6B5E6549D63.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24784239-AABEDD4A-3765-4140-A7A5-D6B5E6549D63> . }


Question: Does the National Women's Soccer League Players Association have the Twitter username NWSL_PA?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
ASK WHERE {
  ?organization wdt:P2002 "NWSL_PA" .
}

Is NWSL_PA the Twitter handle for the National Women's Soccer League Players Association?

Does the organization with Twitter username NWSL_PA exist in Wikidata?

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


Question: English-language films and their actors

SELECT ?film ?actor ?filmTitle ?actorLabel WHERE { ?film (wdt:P31/wdt:P279*) wd:Q11424 . ?film wdt:P1476 ?filmTitle . FILTER(LANG(?filmTitle) = "en") . ?film wdt:P161 ?actor . ?actor rdfs:label ?actorLabel . FILTER(LANG(?actorLabel) = "en") . }

What are the English-titled films and who are the actors in them?

List all films in English along with the names of their cast members.

SELECT ?var1 ?var2 ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var3Label . FILTER ( ( ( LANG ( ?var3Label ) = "en" ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P161> ?var2 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10000 OFFSET 160000


Question: What properties are commonly used to describe scholarly articles?

SELECT ?property ?propertyLabel WHERE { wd:Q13442814 wdt:P1963 ?property . ?property rdfs:label ?propertyLabel . FILTER(LANG(?propertyLabel) = "en") }

Which properties, such as author or title, are typically associated with scholarly articles in Wikidata?

Can you list the standard metadata properties used for academic papers, like publication date and author?

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


Question: What is the population of Montigny-le-Tilleul?

SELECT ?city ?population WHERE { VALUES ?city { wd:Q668437 } OPTIONAL { ?city wdt:P1082 ?population . } }

Can you tell me how many people live in Montigny-le-Tilleul?

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


Question: How many diseases are listed in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ( COUNT( ?disease ) AS ?count ) WHERE {
  ?disease wdt:P31 wd:Q12136 .
}

What is the total number of entities classified as diseases in Wikidata?

Count all items in Wikidata that are instances of a disease.

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


Question: What is the English label for the property "author" in Wikidata?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT(SAMPLE(?lbl) AS ?label) WHERE {
  wd:P50 rdfs:label ?lbl .
  FILTER(LANGMATCHES(LANG(?lbl) , "en"))
}

How is the property P50 (author) labeled in English?

Can you tell me the English term used for the "author" property in Wikidata?

SELECT( SAMPLE ( ?var1 ) AS ?var2Label ) WHERE { <http://www.wikidata.org/prop/novalue/P50> <http://www.w3.org/2000/01/rdf-schema#label> ?var1 . FILTER ( ( LANGMATCHES ( LANG ( ?var1 ) , "en" ) ) ) . }


Question: What is the English label for the property "author name string" in Wikidata?

SELECT ?label WHERE { wd:P2093 rdfs:label ?label . FILTER (LANGMATCHES(LANG(?label), "en")) }

How is the property for storing unspecified author names called in English?

What is the English term used in Wikidata for the property that stores author names as strings when no Wikidata item exists?

SELECT ?var1Label WHERE { <http://www.wikidata.org/prop/novalue/P2093> <http://www.w3.org/2004/02/skos/core#prefLabel> ?var1Label . FILTER ( ( LANGMATCHES ( LANG ( ?var1Label ) , "en" ) ) ) . }


Question: German descriptions of scholarly articles written by Albert Einstein.

SELECT ?article ?description WHERE { ?article wdt:P31 wd:Q13442814 . ?article wdt:P50 wd:Q937 . ?article schema:description ?description . FILTER (LANG(?description) = "de") . } LIMIT 100

What are the German-language descriptions of Albert Einstein’s scholarly articles?

Show me the German descriptions of all academic papers authored by Albert Einstein.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q937> . ?var1 <http://schema.org/description> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "de" ) ) ) . } LIMIT 100


Question: Statements supported by the HomoloGene build68 reference (ID: ref:9b51dbd503923cb58402fc802c143dec2c592379)

PREFIX ref: <http://www.wikidata.org/reference/>
PREFIX prov: <http://www.w3.org/ns/prov#>
SELECT ?statement WHERE {
  ?statement prov:wasDerivedFrom ref:9b51dbd503923cb58402fc802c143dec2c592379 .
}

Which Wikidata statements cite the HomoloGene build68 source?

List all statements in Wikidata that use the reference to HomoloGene build68.

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


Question: What are the descriptions of the article "Recent advances involving the renin–angiotensin system" in different languages?

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

In which languages is the article "Recent advances involving the renin–angiotensin system" described as a scientific paper from 2012?

Can you list the multilingual abstracts for the 2012 scientific article on the renin–angiotensin system?

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


Question: What is the most common property used to associate items with endemic disease on Wikidata?

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

Which property is most often used to indicate that something is an endemic disease, when accounting for property aliases?

How many times is the main subject property (P921) used to tag endemic disease, and is it the most frequent property for this purpose?

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


Question: Which academic articles cite "Cortisone-cocarboxylase antagonism in regard to induced abscess in the rat"?

SELECT ?citingArticle ?citingArticleLabel ?citationProperty ?citationPropertyLabel WHERE { ?citingArticle wdt:P2860 wd:Q44800958 . ?citationProperty wikibase:directClaim wdt:P2860 . ?citingArticle rdfs:label ?citingArticleLabel . ?citationProperty rdfs:label ?citationPropertyLabel . FILTER(LANG(?citingArticleLabel) = "en") FILTER(LANG(?citationPropertyLabel) = "en") } LIMIT 100

What articles reference the study on cortisone-cocarboxylase antagonism in rats?

Show me the papers that cite the 1954 study on cortisone and cocarboxylase in rat abscesses, along with the citation property used.

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


Question: What scholarly articles have W. Tecumseh Fitch listed as the author?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?article ?authorName WHERE {
  ?article wdt:P31 wd:Q13442814 .
  ?article wdt:P2093 "W. Tecumseh Fitch" .
}

Show me academic papers where the author is named "W. Tecumseh Fitch".

Which research articles are authored by W. Tecumseh Fitch according to Wikidata?

SELECT ?var1 ?var2 WHERE { { ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . } { ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var1 . } FILTER ( ( CONTAINS ( LCASE ( ?var1 ) , "fitch" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var1 ) , "tecum" ) ) ) . } GROUP BY ?var1 ?var2


Question: What is the ORCID iD of the author of the article "Bridging the Aesthetic Gap: The Wild Beauty of Web Imagery"?

SELECT ?author ?authorLabel ( COALESCE( ?orcid, ENCODE_FOR_URI( ?authorLabel ) ) AS ?orcidOrName ) WHERE { wd:Q48326412 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") }

Show the ORCID of Miriam Redi, or if unavailable, display their name encoded as a URL.

Retrieve the author and their ORCID identifier for the academic paper "Bridging the Aesthetic Gap: The Wild Beauty of Web Imagery", using the author’s name as a fallback.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q48326412> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: Which Wikidata entities have Twitter usernames "metafilter", "thedbk", or "NYMag"?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "metafilter" "thedbk" "NYMag" } } ORDER BY ?username

What are the entities on Wikidata that use "metafilter", "thedbk", or "NYMag" as their Twitter/X handle?

List the Wikidata items and their Twitter handles for the usernames metafilter, thedbk, and NYMag.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "fagerving" ) ( "string1" ) ( "string2" ) ( "ibmsverige" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "thedbk" ) ( "innesmck" ) ( "string7" ) ( "NYMag" ) ( "selectall" ) ( "metafilter" ) ( "string8" ) } } ORDER BY ASC( ?var3 )


Question: Is there a TV series that has its episode list on the page "Anexo:Episodios de Yin Yang Yo!"?

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

Does the animated series "Yin Yang Yo!" have an episode list page on Wikimedia?

Which TV series is linked to the episode list "Anexo:Episodios de Yin Yang Yo!"?

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


Question: What is the English Wikipedia page, Rotten Tomatoes ID, and awards for the film or TV special with IMDb ID tt4050552?

SELECT ?wikipedia ?rotten_tomatoes_id ?award_label WHERE { { ?item wdt:P31 wd:Q11424 . } UNION { ?item wdt:P31 wd:Q1261214 . } ?item wdt:P345 "tt4050552" . OPTIONAL { ?wikipedia schema:about ?item . ?wikipedia schema:inLanguage "en" . ?wikipedia schema:isPartOf <https://en.wikipedia.org/> . } OPTIONAL { ?item wdt:P1258 ?rotten_tomatoes_id . } OPTIONAL { ?item p:P166 ?award_stmt . ?award_stmt ps:P166 ?award . ?award rdfs:label ?award_label . FILTER(LANG(?award_label) = "en") } }

Can you find the Wikipedia article, Rotten Tomatoes identifier, and any awards received by the TV special or movie identified by tt4050552?

Show me the English Wikipedia link, Rotten Tomatoes ID, and award names for the work with IMDb ID tt4050552, whether it's a film or TV special.

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


Question: How many academic papers cite "The Alzheimer's Disease Assessment Scale: patterns and ... performance in multicenter Alzheimer's disease trials"?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT(COUNT(?citation) AS ?count) WHERE {
  ?citation wdt:P2860 wd:Q34429543 .
}

What is the citation count of the article on the Alzheimer's Disease Assessment Scale in multicenter trials?

Show me how many scholarly works reference the study on the Alzheimer's Disease Assessment Scale.

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


Question: Which academic articles cite "Inhibition of the glycerol 3-phosphate oxidation by free fatty acids"?

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

Articles citing "Inhibition of the glycerol 3-phosphate oxidation by free fatty acids"

Can you list the scholarly works that reference the article on inhibition of glycerol 3-phosphate oxidation by free fatty acids?

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


Question: What are the multilingual descriptions and key metadata (like publication date, volume, and PubMed ID) for the article "Biosynthesis of 1-alkyl-sn-glycero-3-phosphate via adenosine triphosphate:1-alkyl-sn-glycerol phosphotransferase"?

SELECT ?description ?title ?publicationDate ?volume ?issue ?pubmedId ?mainSubjectLabel WHERE { wd:Q28240654 schema:description ?description . wd:Q28240654 wdt:P1476 ?title . wd:Q28240654 wdt:P577 ?publicationDate . wd:Q28240654 wdt:P478 ?volume . wd:Q28240654 wdt:P433 ?issue . wd:Q28240654 wdt:P698 ?pubmedId . wd:Q28240654 wdt:P921 ?mainSubject . ?mainSubject rdfs:label ?mainSubjectLabel .}

Can you show me the title, publication date, volume, issue, PubMed ID, and main subject of the 1974 scientific article on adenosine triphosphate biosynthesis, along with its descriptions in different languages?

What does the scholarly article on 1-alkyl-sn-glycero-3-phosphate biosynthesis published in 1974 in volume 249, issue 17 of the Journal of Biological Chemistry say in different languages, and what is its main subject?

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


Question: What are the descriptions and Ensembl transcript IDs for the DLD gene?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?description ?ensemblTranscriptId WHERE {
  wd:Q14909011 schema:description ?description .
  wd:Q14909011 p:P704 ?statement .
  ?statement ps:P704 ?ensemblTranscriptId .
}

In what languages is the DLD gene described, and what are its corresponding Ensembl transcript IDs?

Show me the multilingual descriptions and Ensembl transcript IDs for the human DLD gene.

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


Question: Which Wikidata entities have the Twitter usernames "elonmusk" or "BarackObama"?

SELECT ?entity ?username WHERE { ?entity wdt:P2002 ?username . VALUES ?username { "elonmusk" "BarackObama" } }

Find entities on Wikidata with Twitter usernames elonmusk and BarackObama.

Show me the people on Wikidata who use the Twitter handles @elonmusk and @BarackObama.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "Tara_Ma_rs" ) ( "efoulon1" ) ( "string1" ) } }


Question: Which Wikidata entities have the Twitter usernames elonmusk, BarackObama, timberners_lee, nasa, or google?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?username WHERE {
  ?item wdt:P2002 ?username .
  VALUES ?username {
    "elonmusk" "BarackObama" "timberners_lee" "nasa" "google"
  }
}

Who are the people or organizations on Wikidata with the Twitter handles elonmusk, BarackObama, timberners_lee, nasa, or google?

Show me the Wikidata items and their corresponding Twitter usernames for elonmusk, BarackObama, timberners_lee, nasa, and google.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 . VALUES ( ?var2 ) { ( "string1" ) ( "string2" ) ( "string3" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "string7" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "string14" ) ( "string15" ) ( "Toyyib1986" ) ( "string16" ) ( "string17" ) } }


Question: List all co-authors of Daniela Balslev by name string in her publications, along with how many times each appears.

SELECT ?authorName (COUNT(?work) AS ?count)
WHERE {
  ?work wdt:P50 wd:Q20984787 .
  ?work wdt:P2093 ?authorName .
}
GROUP BY ?authorName
ORDER BY DESC(?count)

Who are the co-authors listed by name in Daniela Balslev’s publications, and how many publications is each associated with?

Show me the names of all co-authors (as stored in author name string) in Daniela Balslev’s scientific works, sorted by frequency.

SELECT ?var1 ( COUNT ( ?var2 ) AS ?var3 ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P50> <http://www.wikidata.org/entity/Q20984787> . ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var1 . } GROUP BY ?var1 ORDER BY DESC( ?var3 )


Question: All properties and values for the academic article "Aspects on human amyloid forms and their fibril polypeptides".

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

What metadata and statement properties are associated with the 2005 scientific article on human amyloid forms?

Show me every piece of information stored in Wikidata about the article "Aspects on human amyloid forms and their fibril polypeptides".

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


Question: Humans with Royal Academy identifiers and ORCID iDs

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 ?orcid WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P4808 ?ra_id .
  ?person wdt:P496 ?orcid .
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}

Which historical figures associated with the Royal Academy have ORCID iDs, and what are their ORCID numbers?

List the names and ORCID iDs of people who are both humans and have been assigned a Royal Academy new identifier.

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


Question: What properties link other items to the article "Amyloid Beta peptides differentially affect hippocampal theta rhythms in vitro"?

SELECT DISTINCT ?property WHERE { ?item ?property wd:Q37002863 .}

Which properties are used to connect other entities to the scholarly article about Amyloid Beta peptides and hippocampal theta rhythms?

Show me all the ways this academic article is referenced or connected to other items in Wikidata.

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


Question: Does the list of Chico and the Man episodes belong to a TV series in Wikidata?

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

Is there a TV series that has the list of Chico and the Man episodes as its episode list?

Confirm that the episode list for Chico and the Man is linked to the TV series in Wikidata.

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


Question: What is the English Wikipedia page and Rotten Tomatoes ID for the film with IMDb ID tt3369806?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?wikipediaPage ?rottenTomatoesId ?awardLabel WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P345 "tt3369806" .
  OPTIONAL {
    ?wikipediaPage schema:about ?film ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
  OPTIONAL {
    ?film p:P166 ?awardStmt .
    ?awardStmt ps:P166 ?award .
    ?award rdfs:label ?awardLabel .
    FILTER(LANG(?awardLabel) = "en")
  }
  OPTIONAL {
    ?film wdt:P1258 ?rottenTomatoesId .
  }
}

Can you find the Wikipedia link and Rotten Tomatoes identifier for the movie Max (2015), and list any awards it won?

Show me the English Wikipedia article, Rotten Tomatoes ID, and awards for the film identified by tt3369806.

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


Question: Entrez Gene IDs for citrate synthase, pyruvate carboxylase, and fumarate hydratase in humans.

SELECT ?gene ?entrezId WHERE { VALUES ?gene { wd:Q416426 wd:Q417743 wd:Q418634 } ?gene wdt:P351 ?entrezId ; wdt:P703 wd:Q15978631 . }

What are the Entrez Gene IDs for the human genes citrate synthase, pyruvate carboxylase, and fumarate hydratase?

Please provide the NCBI Entrez Gene IDs for the human genes CS, PC, and FH.

SELECT DISTINCT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q416426> ) ( <http://www.wikidata.org/entity/Q417743> ) ( <http://www.wikidata.org/entity/Q418634> ) } ?var1 <http://www.wikidata.org/prop/direct/P351> ?var2 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }


Question: Ensembl transcript IDs for gene CS

SELECT ?geneLabel ?transcriptId WHERE { wd:Q416426 wdt:P704 ?transcriptId . wd:Q416426 rdfs:label ?geneLabel . FILTER(LANG(?geneLabel) = 'en') }

What are the Ensembl transcript IDs associated with the CS gene?

List all Ensembl transcript IDs for the gene labeled "CS" in Wikidata.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q416426-06B14109-8957-4CED-B7E6-6DA29BA84D73> ?var1 ?var2 . }


Question: Does the TV series "TV Nation" have a list of episodes on Wikipedia?

Is there a Wikipedia article listing the episodes of TV Nation?

What TV series has its episode list linked to the Wikipedia page "List of TV Nation episodes"?

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


Question: Authors of "Enhancement of the chemical semantic web through the use of InChI identifiers" and their ORCID IDs

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?author ( COALESCE ( ?orcid , CONCAT ( "https://www.wikidata.org/wiki/" , SUBSTR( STR( ?author ) , 31 ) ) ) AS ?link ) WHERE {
  wd:Q28133283 wdt:P50 ?author .
  OPTIONAL {
    ?author wdt:P496 ?orcid .
  }
}

Who are the authors of the article "Enhancement of the chemical semantic web through the use of InChI identifiers", and what are their ORCID identifiers? If an ORCID is not available, what is the link to their Wikidata page?

List the authors of the 2005 scholarly article on InChI identifiers, showing their ORCID IDs where available, and provide a Wikidata link otherwise.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q28133283> <http://www.wikidata.org/prop/direct/P50> ?var1 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P496> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "[AUTO_LANGUAGE],en,da,de,es,fr,nl,no,ru,sv,zh". } }


Question: What properties and values describe the scientific article "Diastolic dyssynchrony is associated with exercise intolerance in hypertensive patients with left ventricular hypertrophy"?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?property ?propertyLabel ?value WHERE {
  wd:Q50723511 ?property ?value .
  BIND( IRI( REPLACE( STR( ?property ) , "http://www.wikidata.org/prop/direct/" , "http://www.wikidata.org/entity/" ) ) AS ?propertyItem ) .
  ?propertyItem rdfs:label ?propertyLabel .
  FILTER ( LANG( ?propertyLabel ) = "en" )
}

How is the article Q50723511 described in Wikidata? Show the property names and their values.

List all the direct properties and their values linked to the scholarly article with ID Q50723511.

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


Question: What properties connect the ADAL gene to other entities, and what are the English labels of those properties and their values?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT DISTINCT ?property ?propertyLabel ?object ?objectLabel WHERE {
  wd:Q18052507 ?property ?object .
  ?propItem wikibase:directClaim ?property .
  ?propItem rdfs:label ?propertyLabel .
  ?object rdfs:label ?objectLabel .
  FILTER(LANG(?propertyLabel) = "en")
  FILTER(LANG(?objectLabel) = "en")
}
ORDER BY ASC(?property) ASC(?object)

List all English-labeled relationships and their targets for the human gene ADAL (Q18052507).

Show me the English labels of all properties and objects linked to the ADAL gene in Wikidata.

SELECT DISTINCT ?var1 ?var2Label ?var3 ?var4Label ?var5 ?var6Label WHERE { <http://www.wikidata.org/entity/Q18052507> ?var1 ?var3 . ?var7 ?var5 ?var1 . ?var7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://wikiba.se/ontology#Property> . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var3 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . } ORDER BY ASC( ?var1 )ASC( ?var3 )


Question: What is the Wikimedia Commons image for Michael Jackson, identified by SNAC ARK ID w64467gw?

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

Does Michael Jackson have an image on Wikimedia Commons, and if so, what is it, using his SNAC ARK ID w64467gw?

Please show me the image associated with Michael Jackson in Wikidata, using his SNAC ARK ID w64467gw.

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


Question: What is the scholarly article with PubMed ID 18356873, who are its authors (as name strings), and in which journal was it published?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?journal ?article ?articleLabel ?authorName ?ordinal WHERE {
  ?article wdt:P698 "18356873" .
  ?article wdt:P31 wd:Q13442814 .
  ?article wdt:P1433 ?journal .
  ?article rdfs:label ?articleLabel
  FILTER ( LANG( ?articleLabel ) = "en" ) .
  ?article wdt:P2093 ?authorName .
  OPTIONAL {
    ?authorName pq:P1545 ?ordinal
  }
}
LIMIT 10

Show me the title, journal, and author names of the article with PubMed ID 18356873, and include the author position in the author list if available.

Retrieve the English label, publication venue, and author name strings for the scholarly article identified by PubMed ID 18356873, along with any series ordinal qualifiers for the authors.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P1433> ?var1 . ?var2 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P698> "18356873". ?var3 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . } LIMIT 10


Question: Films from 1975 onwards with IMDb IDs and at least one of: award, nomination, Netflix, Metacritic, or Rotten Tomatoes ID.

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 ?film(YEAR(?date) AS ?year) ?label ?imdb ?director ?date ?genre WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P345 ?imdb .
  ?film wdt:P57 ?director .
  ?film rdfs:label ?label .
  ?film wdt:P577 ?date .
  ?film wdt:P136 ?genre .
  OPTIONAL {
    ?film wdt:P1411 ?nomination .
  }
  OPTIONAL {
    ?film wdt:P166 ?award .
  }
  OPTIONAL {
    ?film wdt:P1874 ?netflix .
  }
  OPTIONAL {
    ?film wdt:P1712 ?metacritic .
  }
  OPTIONAL {
    ?film wdt:P1258 ?rotten .
  }
  FILTER(LANG(?label) = "en")
  FILTER(YEAR(?date) >= 1975)
  FILTER(BOUND(?nomination) || BOUND(?award) || BOUND(?netflix) || BOUND(?metacritic) || BOUND(?rotten))
}
LIMIT 1

What are some films released since 1975 that have an IMDb ID and were either nominated for an award, won an award, or have a presence on Netflix, Metacritic, or Rotten Tomatoes?

Show me a film from 1975 or later that has an IMDb ID and is listed on at least one of these platforms or has received an award or nomination: Netflix, Metacritic, or Rotten Tomatoes.

SELECT ?var1 ( YEAR ( ?var2 ) AS ?var3 ) ?var4 ?var5 ?var6 ?var7 ?var2 ?var8 ?var9 ?var10 ?var11 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P345> ?var5 . ?var1 <http://www.wikidata.org/prop/direct/P57> ?var6 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var2 . ?var1 <http://www.wikidata.org/prop/direct/P136> ?var8 . <http://www.wikidata.org/entity/Q15046490> <http://www.w3.org/2000/01/rdf-schema#label> ?var12Label . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1411> ?var13 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P166> ?var14 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1874> ?var9 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1712> ?var10 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1258> ?var11 . } FILTER ( ( LANGMATCHES ( LANG ( ?var12Label ) , "EN" ) ) ) . FILTER ( ( ( YEAR ( ?var2 ) >= "1975"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . FILTER ( ( BOUND ( ?var13 ) || BOUND ( ?var14 ) || BOUND ( ?var11 ) && BOUND ( ?var10 ) && BOUND ( ?var5 ) && BOUND ( ?var9 ) ) ) . } LIMIT 1


Question: What are the Belarusian films that are not part of a series and are not pornographic?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?film WHERE {
  ?film wdt:P31 / wdt:P279 * wd:Q11424 . MINUS {
    ?film wdt:P179 ?series .
  }
  ?film wdt:P495 wd:Q184 . MINUS {
    ?film wdt:P4665 ?cineMagiaId .
  } MINUS {
    ?film wdt:P136 wd:Q185529 .
  }
}

List all films originating from Belarus that don’t have a CineMagia.ro ID and aren’t part of a franchise.

Show me independent Belarusian movies — exclude those that are part of a series, are pornographic, or are listed on CineMagia.ro.

SELECT ?var1 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q11424> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . } ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q184> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P4665> ?var3 . } MINUS { ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q185529> . } } GROUP BY ?var1


Question: What metadata is associated with the statement that the article "Glycerol-3-phosphate content and triacylglycerol synthesis in isolated hepatocytes from fed and starved rats" is a scholarly article?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:Q28609536-AAF493FE-32AF-4E7E-923B-D22EC5BE87E3 ?property ?value .
}

Show all properties and values of the statement identifying this scholarly article.

What are the rank, type, and provenance of the claim that this paper is a scholarly article?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q28609536-AAF493FE-32AF-4E7E-923B-D22EC5BE87E3> ?var1 ?var2 . }


Question: Films with their IMDb IDs, English Wikipedia links, titles, and review scores.

PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?film ?imdbId ?wikipediaPage ?title ?reviewScore WHERE {
  ?film wdt:P31 wd:Q11424 .
  OPTIONAL {
    ?film wdt:P345 ?imdbId .
  }
  ?wikipediaPage schema:about ?film ; schema:isPartOf <https://en.wikipedia.org/> .
  ?film wdt:P1476 ?title .
  ?film wdt:P444 ?reviewScore .
}
LIMIT 1000

What are the titles, IMDb IDs, Wikipedia pages, and review scores of all films listed on Wikidata?

Can you list all films (including their English Wikipedia pages, titles, IMDb IDs, and all available review scores) from Wikidata?

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } ?var3 <http://schema.org/about> ?var1 . ?var3 <http://schema.org/isPartOf> <https://en.wikipedia.org/> . ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P444> ?var5 . } LIMIT 1000


Question: What are some films classified as pornographic films in Wikidata, and what are their names?

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 ?film ?filmLabel WHERE {
  ?film wdt:P31 wd:Q185529 .
  ?film rdfs:label ?filmLabel .
}
LIMIT 100

Can you list the titles of movies that are categorized as pornographic films?

Show me the items that are examples of pornographic films along with their labels.

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


Question: Who is the first author of the publication with PubMed ID 18356873?

SELECT ?authorName WHERE { ?pub wdt:P698 "18356873" . ?pub p:P2093 ?statement . ?statement ps:P2093 ?authorName ; pq:P1545 "1" . }

What is the name of the lead author of the paper identified by PubMed ID 18356873?

Return the author name string for the first author in the series of authors of the article with PubMed ID 18356873.

SELECT ?var1 WHERE { ?var2 <http://www.wikidata.org/prop/direct/P698> "18356873". ?var2 <http://www.wikidata.org/prop/direct/P2093> ?var1 . ?var2 ?var3 [ <http://www.wikidata.org/prop/qualifier/P1545> "1" ] . } LIMIT 100


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

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

Show me the Wikipedia articles in English and German about the film Wrong Turn 3: Left for Dead.

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

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


Question: Is there a TV series with a list of episodes at "list of Only Fools and Horses episodes"?

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

Is the Wikipedia list "list of Only Fools and Horses episodes" linked as the episode list for the TV series "Only Fools and Horses"?

Confirm if the episode list article Q6593019 is associated with any TV series.

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


Question: English Wikipedia page, Rotten Tomatoes ID, and awards for the film Groundhog Day (IMDb tt0107048).

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?wikipediaPage ?rottenTomatoesId ?award WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P345 "tt0107048" .
  OPTIONAL {
    ?wikipediaPage schema:about ?film ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> .
  }
  OPTIONAL {
    ?film p:P166 ?awardStatement .
    ?awardStatement ps:P166 ?awardItem .
    ?awardItem rdfs:label ?award .
    FILTER(LANG(?award) = "en")
  }
  OPTIONAL {
    ?film wdt:P1258 ?rottenTomatoesId .
  }
}

What are the English Wikipedia page, Rotten Tomatoes ID, and awards received by the movie Groundhog Day (IMDb ID: tt0107048)?

Show me the English Wikipedia link, Rotten Tomatoes identifier, and all awards won by the film Groundhog Day (1993).

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


Question: Humans with ORCID IDs and affiliations

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 ?human ?humanLabel ?orcid ?affiliation WHERE {
  ?human wdt:P31 wd:Q5 .
  OPTIONAL {
    ?human wdt:P496 ?orcid .
  }
  OPTIONAL {
    ?human wdt:P1416 ?affiliation .
  }
  ?human rdfs:label ?humanLabel .
  FILTER(LANG(?humanLabel) = "en")
}
LIMIT 10

Which humans have ORCID identifiers and organizational affiliations?

Show me a list of humans along with their ORCID IDs and any organizations they are affiliated with.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var3Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/496> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1416> ?var3 . } } LIMIT 10


Question: People affiliated with UC Berkeley, their publication count, birth dates, and ORCID IDs, sorted by most publications.

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(COUNT(?work) AS ?publicationCount) ?person ?personLabel(MAX(?birthDate) AS ?maxBirthDate) ?orcid WHERE {
  ?person(wdt:P108 | wdt:P463) wd:Q168756 .
  OPTIONAL {
    ?person wdt:P50 ?work .
  }
  OPTIONAL {
    ?person wdt:P569 ?birthDate .
  }
  OPTIONAL {
    ?person wdt:P496 ?orcid .
  }
  ?person rdfs:label ?personLabel .
  FILTER(LANG(?personLabel) = "en")
}
GROUP BY ?person ?personLabel ?orcid
ORDER BY DESC(?publicationCount)

Who are the people affiliated with UC Berkeley, how many works have they authored, when were they born, and what are their ORCID IDs, ordered by number of publications?

List all individuals associated with UC Berkeley, including their birth dates and ORCID identifiers, and show how many publications each has, sorted from highest to lowest publication count.

SELECT( SAMPLE ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( MAX ( ?var4 ) AS ?var5 ) ?var6 WHERE { <http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". { SELECT( COUNT ( ?var7 ) AS ?var1 ) ?var3 WHERE { { SELECT DISTINCT ?var3 WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P108> | <http://www.wikidata.org/prop/direct/P463> ) <http://www.wikidata.org/entity/Q168756> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q168756> . } } } OPTIONAL { ?var7 <http://www.wikidata.org/prop/direct/P50> ?var3 . } } GROUP BY ?var3 } OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var8 ) AS ?var4 ). ?var3 <http://www.wikidata.org/prop/direct/P569> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P496> ?var6 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,nl,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ?var6 ORDER BY DESC( ?var2 )


Question: What is the most specific common superclass in the Wikidata hierarchy that both Prince and Germany belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonClass WHERE {
  wd:Q7542 wdt:P31 ?c1 .
  wd:Q183 wdt:P31 ?c2 .
  ?c1 wdt:P279 * wd:Q103940464 .
  ?c2 wdt:P279 * wd:Q103940464 .
}

Which entity class is the lowest common ancestor of Prince and Germany in the subclass hierarchy?

Find the common superclass of the classes that Prince and Germany are instances of, with the fewest superclasses.

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/Q7542> ; <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: List the titles and authors of articles published in the University of Edinburgh journal, sorted by newest publication date first.

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 ( MIN( ?pubDate ) AS ?earliestDate ) ?item ?title ( GROUP_CONCAT( ?authorLabel ; SEPARATOR = " // " ) AS ?authors ) WHERE {
  ?item wdt:P1433 wd:Q27716493 .
  ?item wdt:P577 ?pubDate .
  ?item wdt:P1476 ?title .
  FILTER ( LANG( ?title ) = "en" ) OPTIONAL {
    ?item wdt:P50 ?author .
    ?author rdfs:label ?authorLabel .
    FILTER ( LANG( ?authorLabel ) = "en" )
  }
}
GROUP BY ?item ?title
ORDER BY DESC ( ?earliestDate )
LIMIT 1000

What are the most recent publications from the University of Edinburgh journal, and who are their authors?

Show me the titles and author names (if any) of works published in the University of Edinburgh journal, ordered from newest to oldest, with publication dates included.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( ?var4Label ; SEPARATOR = " // " ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q27716493> . OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var6 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var6 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/direct/P50> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Movie with Rotten Tomatoes ID m/hero

SELECT ?movie ?movieLabel WHERE { ?movie wdt:P1258 "m/hero" . ?movie rdfs:label ?movieLabel . FILTER(LANG(?movieLabel) = "en") }

What is the name of the movie with Rotten Tomatoes ID m/hero?

Tell me the title of the movie identified by m/hero on Rotten Tomatoes.

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


Question: Image of Lucy Terry Prince with SNAC ARK ID w6xs6kxj

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

What is the image associated with Lucy Terry Prince’s SNAC ARK ID (w6xs6kxj)?

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

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


Question: What is the most specific category that both Pennsylvania and Chris Hemsworth belong to in Wikidata's taxonomy?

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 ?lca ?lcaLabel WHERE {
  wd:Q35657 wdt:P279 * wd:Q106559804 .
  wd:Q5 wdt:P279 * wd:Q106559804 .
  wd:Q106559804 rdfs:label ?lcaLabel .
  FILTER(LANG(?lcaLabel) = "en")
  .
  BIND(wd:Q106559804 AS ?lca)
}

Which concept is a superclass of both a U.S. state and a human?

Find the least common ancestor in the subclass hierarchy between the type of Pennsylvania and the type of Chris Hemsworth.

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/Q1400> ; <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/Q54314> ; <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: Is epidermolytic hyperkeratosis classified as a disease?

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

Does epidermolytic hyperkeratosis belong to the category of diseases?

Is epidermolytic hyperkeratosis a type of disease?

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


Question: Works about the brain with alternative titles

SELECT ?work ?workLabel ?qualifierProperty ?qualifierValue ?qualifierValueLabel WHERE { ?work p:P921 ?statement . ?statement ps:P921 wd:Q1073 . ?statement ?qualifierProperty ?qualifierValue . FILTER(STRSTARTS(STR(?qualifierProperty), "http://www.wikidata.org/prop/qualifier/")) OPTIONAL { ?work rdfs:label ?workLabel . FILTER(LANG(?workLabel) = "en") } OPTIONAL { ?qualifierValue rdfs:label ?qualifierValueLabel . FILTER(LANG(?qualifierValueLabel) = "en") } OPTIONAL { ?qualifierProperty rdfs:label ?qualifierPropertyLabel . FILTER(LANG(?qualifierPropertyLabel) = "en") } } ORDER BY ?work

Which scholarly articles have the brain as their main subject, and what alternative names are given to them?

List all academic works whose main topic is the brain, along with any alternative titles used in their Wikidata entries.

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


Question: Which property is most commonly used to link items to the PubMed ID property?

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

What property is used most often to associate items with the Wikidata property for PubMed ID?

Show me the property that is most frequently used to indicate that an item has the PubMed ID property.

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


Question: What are the film rating categories under the RTC classification system?

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

Which film ratings are classified as RTC film classification categories?

List the English labels of all film ratings that are instances of the RTC film classification category.

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


Question: Number of works citing Leo Breiman’s publications by year, distinguishing self-citations.

SELECT ?year (COUNT(DISTINCT ?citingWork) AS ?count) ?isSelfCitation WHERE { ?breimanWork wdt:P50 wd:Q931461 . ?citingWork wdt:P2860 ?breimanWork . ?citingWork wdt:P577 ?pubDate . FILTER(isLiteral(?pubDate)) BIND(STR(YEAR(?pubDate)) AS ?year) BIND(IF(EXISTS { ?citingWork wdt:P50 wd:Q931461 }, "self-citation", "other-citation") AS ?isSelfCitation) } GROUP BY ?year ?isSelfCitation ORDER BY DESC(?year)

How many works citing Leo Breiman’s research were published each year, and how many of those were written by Leo Breiman himself?

Show me a breakdown of works that cite Leo Breiman’s publications, grouped by publication year and whether they are self-citations.

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


Question: Which organizations have Twitter handles UNFCCC, NOAA, WMO, ECMWF, eumetsat, mesosphere, or ENS_ULM?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?entity ?twitterHandle WHERE {
  ?entity p:P2002 ?stmt .
  ?stmt ps:P2002 ?twitterHandle .
  VALUES ?twitterHandle {
    "UNFCCC" "NOAA" "WMO" "ECMWF" "eumetsat" "mesosphere" "ENS_ULM"
  }
}

What Wikidata entities are associated with the Twitter usernames UNFCCC, NOAA, WMO, ECMWF, eumetsat, mesosphere, and ENS_ULM?

List the entities in Wikidata that use any of these Twitter handles: UNFCCC, NOAA, WMO, ECMWF, eumetsat, mesosphere, or ENS_ULM.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2002> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . VALUES ( ?var2 ) { ( "string1" ) ( "ENS_ULM" ) ( "string2" ) ( "string3" ) ( "libe" ) ( "mesosphere" ) ( "string4" ) ( "string5" ) ( "string6" ) ( "Carbone4" ) ( "UNFCCC" ) ( "NOAA" ) ( "string7" ) ( "WMO" ) ( "ECMWF" ) ( "string8" ) ( "string9" ) ( "string10" ) ( "SabOceano" ) ( "string11" ) ( "string12" ) ( "string13" ) ( "eumetsat" ) } } ORDER BY ASC( ?var3 )


Question: What is the average number of pages per author per year for scholarly articles authored by researchers affiliated with Université catholique de Louvain?

SELECT ?authorLabel ?year (SUM(?pages) / SUM(?authorCount) AS ?avgPagesPerAuthor) WHERE { ?article wdt:P31 wd:Q13442814 . ?article wdt:P577 ?date . BIND(YEAR(?date) AS ?year) . ?article wdt:P1104 ?pages . ?article (wdt:P50|wdt:P2093) ?author . ?author (wdt:P108|wdt:P1416) wd:Q378134 . ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = 'en') { SELECT ?article (COUNT(?a) AS ?authorCount) WHERE { ?article wdt:P31 wd:Q13442814 . ?article (wdt:P50|wdt:P2093) ?a . } GROUP BY ?article } } GROUP BY ?authorLabel ?year ORDER BY ?year

For each year, what is the average page count per author across all scholarly articles published by UCL-affiliated authors?

How many pages on average does each author contribute per year to scholarly articles linked to Université catholique de Louvain?

SELECT ?var1 ( SUM ( ?var2 ) AS ?var3 ) ?var4Label WHERE { { SELECT ?var4Label ?var5 ?var1 ( ( SAMPLE ( ?var6 )/COUNT ( ?var7 ) ) AS ?var2 ) WHERE { { ?var8 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q378134> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q378134> . } UNION { ?var8 <http://www.wikidata.org/prop/direct/P1416> ?var9 . ?var9 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q378134> . } BIND ( STR ( YEAR ( ?var10 ) ) AS ?var1 ). ?var5 ( <http://www.wikidata.org/prop/direct/P50> | <http://www.wikidata.org/prop/direct/P2093> ) ?var7 . ?var5 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var5 <http://www.wikidata.org/prop/direct/P50> ?var8 . ?var5 <http://www.wikidata.org/prop/direct/P1104> ?var6 . ?var5 <http://www.wikidata.org/prop/direct/P577> ?var10 . ?var8 <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } GROUP BY ?var5 ?var4Label ?var1 } } GROUP BY ?var1 ?var4Label ORDER BY ASC( ?var1 )


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

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

Show me the Wikipedia articles in English and German about the film Sami Blood.

Which language versions of the Wikipedia page for Sami Blood are available in English and German?

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt5287168". } ?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: Films from Andorra without IMDb IDs

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?film WHERE {
  ?film wdt:P31 wd:Q11424 .
  ?film wdt:P495 wd:Q228 . MINUS {
    ?film wdt:P345 ?imdbId .
  }
}

Which films originate from Andorra but are not listed on IMDb?

List all films from Andorra that don't have an IMDb identifier.

SELECT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var1 <http://www.wikidata.org/prop/direct/P495> <http://www.wikidata.org/entity/Q228> . MINUS { ?var1 <http://www.wikidata.org/prop/direct/P345> ?var2 . } } GROUP BY ?var1


Question: Scholarly articles about patient ethics in English, excluding those mentioning methicillin.

SELECT ?item ?label WHERE { ?item wdt:P31 wd:Q13442814 ; rdfs:label ?label . FILTER(LANGMATCHES(LANG(?label), 'en')) . FILTER(CONTAINS(LCASE(?label), 'patient')) . FILTER(CONTAINS(LCASE(?label), 'ethic')) . FILTER(!CONTAINS(LCASE(?label), 'methicillin')) . FILTER(!CONTAINS(LCASE(?label), 'ethicill')) } LIMIT 20

What are some English-language scholarly articles that discuss patient ethics but do not refer to methicillin or ethicill?

List English scholarly articles with titles containing both “patient” and “ethic”, but not “methicillin” or “ethicill”.

SELECT DISTINCT ?var1 ?var1Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var1Label . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "patient" ) ) ) . FILTER ( ( CONTAINS ( LCASE ( ?var1Label ) , "ethic" ) ) ) . FILTER ( ( !( CONTAINS ( LCASE ( ?var1Label ) , "ethicill" ) ) ) ) . FILTER ( ( ( LANG ( ?var1Label ) = "en" ) ) ) . }


Question: What is the title, author names, journal, and publication date of the PubMed article with ID 1305469?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?publication ?title ?authorName ?publishedIn ?publicationDate WHERE {
  ?publication wdt:P698 "1305469" .
  OPTIONAL {
    ?publication wdt:P1476 ?title .
  }
  OPTIONAL {
    ?publication wdt:P2093 ?authorName .
  }
  OPTIONAL {
    ?publication wdt:P1433 ?publishedIn .
  }
  OPTIONAL {
    ?publication wdt:P577 ?publicationDate .
  }
}

Can you find the publication details — including title, authors, where it was published, and when — for the paper with PubMed ID 1305469?

Show me the title, author names, publication venue, and date for the scientific paper identified by PubMed ID 1305469.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P698> "string1". OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2093> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1433> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P577> ?var5 . } }


Question: List all Danish ancient monuments with an official ID from the Heritage Agency of Denmark.

SELECT ?monument WHERE { ?monument wdt:P3596 [] .}

Which sites in Denmark are registered as protected ancient monuments with a unique ID?

Show me all protected ancient monument sites in Denmark that have been assigned an identifier by the Heritage Agency.

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


Question: What is the title and description of the scientific article with PubMed ID 22016355?

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

Can you find the English label and description of the article identified by PubMed ID 22016355?

Show me the title and English description of the research paper with PubMed ID 22016355.

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


Question: Image of John B. Watson using his SNAC ARK ID w6j965f2

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

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

Show me the image of the person identified by the SNAC ARK ID w6j965f2.

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


Question: What is the most specific category that both Wall Street and Seattle belong to in Wikidata's taxonomy?

SELECT ?commonAncestor ?label WHERE { wd:Q79007 wdt:P279* ?commonAncestor . wd:Q515 wdt:P279* ?commonAncestor . ?commonAncestor rdfs:label ?label . FILTER(LANG(?label) = "en") FILTER(?commonAncestor = wd:Q53617407) }

What is the lowest common superclass of the type of Wall Street and the type of Seattle?

What is the shared parent category in the hierarchy for the street Wall Street and the city Seattle?

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/Q11690> ; <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/Q5083> ; <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: Oldest articles published in ChemMedChem with their authors.

SELECT (MIN(?pubDate) AS ?earliestDate) ?article ?articleLabel (GROUP_CONCAT(?authorLabel; SEPARATOR=" // ") AS ?authors) WHERE { ?article wdt:P1433 wd:Q2962252 . OPTIONAL { ?article wdt:P577 ?pubDate . } OPTIONAL { ?article rdfs:label ?articleLabel . FILTER(LANG(?articleLabel) = "en") } OPTIONAL { ?article wdt:P50 / rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") } } GROUP BY ?article ?articleLabel ORDER BY ASC(?earliestDate) LIMIT 1000

What are the earliest articles published in ChemMedChem, and who are their authors?

Show me the 1000 oldest research articles from the journal ChemMedChem, including their English titles and author names.

SELECT( MIN ( ?var1 ) AS ?var2 ) ?var3 ?var3Label ( GROUP_CONCAT ( ?var4Label ; SEPARATOR = " // " ) AS ?var5 ) WHERE { ?var3 <http://www.wikidata.org/prop/direct/P1433> <http://www.wikidata.org/entity/Q2962252> . OPTIONAL { BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var6 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P577> ?var6 . } OPTIONAL { ?var3 ( <http://www.wikidata.org/prop/direct/P50> / <http://www.w3.org/2000/01/rdf-schema#label> ) ?var4Label . FILTER ( ( ( LANG ( ?var4Label ) = "en" ) ) ) . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,no,ru,sv,zh". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 1000


Question: Recent papers citing research from Pierre and Marie Curie University authors.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?publicationDate ?citingWork ?citingWorkLabel ?citedWork ?citedWorkLabel WHERE {
  ?author wdt:P108 wd:Q1144549 .
  ?citedWork wdt:P50 ?author .
  ?citingWork wdt:P2860 ?citedWork .
  ?citingWork wdt:P577 ?publicationDate .
  ?citingWork rdfs:label ?citingWorkLabel .
  ?citedWork rdfs:label ?citedWorkLabel .
  FILTER ( LANG( ?citingWorkLabel ) = "en" ) FILTER ( LANG( ?citedWorkLabel ) = "en" )
}
ORDER BY DESC ( ?publicationDate )
LIMIT 100

What are the most recent scientific papers that cite work by researchers who worked at Pierre and Marie Curie University?

Show me the latest publications that reference studies authored by scientists employed by Pierre and Marie Curie University, along with the original works they cite.

SELECT DISTINCT ?var1 ?var2 ?var2Label ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q1144549> . } UNION { ?var4 ( <http://www.wikidata.org/prop/direct/P1416> / <http://www.wikidata.org/prop/direct/P361> *) <http://www.wikidata.org/entity/Q1144549> . } BIND ( <http://www.w3.org/2001/XMLSchema#date> ( ?var5 ) AS ?var1 ). ?var3 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var2 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P577> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,da,de,es,fr,jp,nl,nl,ru,sv,zh". } } ORDER BY DESC( ?var1 )


Question: Top cited scientific papers by first authors affiliated with LEO Pharma.

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT(COUNT(DISTINCT ?citingWork) AS ?citationCount) ?citedWork ?title WHERE {
  {
    ?author wdt:P108 wd:Q1798020 .
  } UNION {
    ?author wdt:P1416 wd:Q1798020 .
  } UNION {
    ?author wdt:P1416 ?org .
    ?org wdt:P361 wd:Q1798020 .
  }
  ?citedWork p:P50 ?citationStatement .
  ?citationStatement ps:P50 ?author ; pq:P1545 "1" .
  ?citingWork wdt:P2860 ?citedWork .
  ?citedWork wdt:P1476 ?title .
}
GROUP BY ?citedWork ?title
ORDER BY DESC(?citationCount)
LIMIT 20

Which research papers authored by first authors from LEO Pharma have been cited the most times?

List the 20 most frequently cited publications where the first author is affiliated with LEO Pharma, either directly or through a subsidiary organization.

SELECT( COUNT ( DISTINCT ?var1 ) AS ?var2 ) ?var3 ?var3Label WHERE { { ?var4 <http://www.wikidata.org/prop/direct/P108> <http://www.wikidata.org/entity/Q1798020> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> <http://www.wikidata.org/entity/Q1798020> . } UNION { ?var4 <http://www.wikidata.org/prop/direct/P1416> ?var5 . ?var5 <http://www.wikidata.org/prop/direct/P361> <http://www.wikidata.org/entity/Q1798020> . } ?var3 <http://www.wikidata.org/prop/P50> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P50> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P1545> "1". ?var1 <http://www.wikidata.org/prop/direct/P2860> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var7 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp,da". } } GROUP BY ?var3 ?var3Label ORDER BY DESC( ?var2 ) LIMIT 20


Question: Which scholarly articles cite the 1992 paper on cytoplasmic chaperonin catalyzing beta-actin folding?

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

Articles citing "A cytoplasmic chaperonin that catalyzes beta-actin folding"

Please list the academic papers that reference the study on cytoplasmic chaperonin-mediated beta-actin folding.

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


Question: What is the closest common superclass shared by the class of Kabul and the class of the Las Vegas Strip, and what is the sum of the subclass distances from each to that superclass?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?common ?dist1 ?dist2 ( ?dist1 + ?dist2 AS ?totalDist ) WHERE {
  {
    SELECT ?ancestor1 ( COUNT( ?mid1 ) AS ?dist1 ) WHERE {
      wd:Q515 wdt:P279 + ?mid1 .
      ?mid1 wdt:P279 * ?ancestor1 .
      FILTER ( ?ancestor1 != wd:Q515 )
    }
    GROUP BY ?ancestor1
  }
  {
    SELECT ?ancestor2 ( COUNT( ?mid2 ) AS ?dist2 ) WHERE {
      wd:Q3055075 wdt:P279 + ?mid2 .
      ?mid2 wdt:P279 * ?ancestor2 .
      FILTER ( ?ancestor2 != wd:Q3055075 )
    }
    GROUP BY ?ancestor2
  }
  FILTER ( ?ancestor1 = ?ancestor2 ) BIND( ?ancestor1 AS ?common )
}
ORDER BY ASC ( ?totalDist )
LIMIT 1

How many subclass steps away is the nearest common category between a city and an entertainment district?

Which category is the most specific shared ancestor of cities and entertainment districts, and how far is it from each?

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/Q5838> ; <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/Q745608> ; <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 administrative category shared by Los Angeles and South Dakota, based on their hierarchical classification in Wikidata?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?ancestor ?dist1 ?dist2(?dist1 + ?dist2 AS ?total) WHERE {
  {
    SELECT ?ancestor(COUNT(?mid) AS ?dist1) WHERE {
      wd:Q65 wdt:P31 ?class1 .
      ?class1 wdt:P279 + ?mid .
      ?mid wdt:P279 * ?ancestor .
    }
    GROUP BY ?ancestor
  }
  {
    SELECT ?ancestor(COUNT(?mid) AS ?dist2) WHERE {
      wd:Q1211 wdt:P31 ?class2 .
      ?class2 wdt:P279 + ?mid .
      ?mid wdt:P279 * ?ancestor .
    }
    GROUP BY ?ancestor
  }
}
ORDER BY ASC(?total)
LIMIT 1

Which superclass is closest (in subclass steps) to both Los Angeles and South Dakota, and what is the total distance from each?

Find the common ancestor in the Wikidata taxonomy with the smallest total number of subclass steps from both Los Angeles and South Dakota.

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/Q65> ; <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/Q1211> ; <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: Multilingual descriptions of skin disease

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?language ?description WHERE {
  wd:Q949302 schema:description ?description .
  BIND(LANG(?description) AS ?language)
}
ORDER BY ?language

What are the definitions of skin disease in different languages?

Show me how "skin disease" is described in various languages.

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


Question: What are the main subjects of works by Robert M. West, how many works are there per subject, and what are the titles of those works?

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

For each work authored by Robert M. West, what is its main subject, how many other works share that subject, and what is the truncated title of the work?

List all works by Robert M. West, showing the frequency of their main subjects and the first 60 characters of each work’s title, sorted by subject popularity.

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/Q47493725> . ?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/Q47493725> . ?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 Nevada and the Commodity Futures Trading Commission belong to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonAncestor ?commonAncestorLabel(COUNT(?mid1) AS ?depth1)(COUNT(?mid2) AS ?depth2)(COUNT(?mid1) + COUNT(?mid2) AS ?totalDepth) WHERE {
  wd:Q35657 wdt:P279 + ?mid1 .
  ?mid1 wdt:P279 * ?commonAncestor .
  wd:Q1752939 wdt:P279 + ?mid2 .
  ?mid2 wdt:P279 * ?commonAncestor .
  ?commonAncestor rdfs:label ?commonAncestorLabel .
  FILTER(LANG(?commonAncestorLabel) = "en")
}
GROUP BY ?commonAncestor ?commonAncestorLabel
ORDER BY ASC(?totalDepth)
LIMIT 1

What do U.S. states and U.S. federal agencies have in common in terms of legal classification?

What is the highest-level shared classification between the state of Nevada and the CFTC?

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/Q1227> ; <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/Q611748> ; <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 films and TV shows did Steven Spielberg direct, and what are their titles and release dates?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?work ?title ?date WHERE {
  ?work wdt:P57 wd:Q8877 .
  OPTIONAL {
    ?work wdt:P1476 ?title .
  }
  OPTIONAL {
    ?work wdt:P585 ?date .
  }
}

Steven Spielberg directed works: titles and release dates

List all works directed by Steven Spielberg along with their titles and when they were released.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P57> <http://www.wikidata.org/entity/Q8877> . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1476> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P585> ?var3 . } }


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

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?wikipediaPage ?imdbId WHERE {
  ?item wdt:P345 "tt6892206" .
  ?wikipediaPage schema:about ?item .
  {
    ?wikipediaPage schema:inLanguage "en" .
  } UNION {
    ?wikipediaPage schema:inLanguage "de" .
  }
  BIND("tt6892206" AS ?imdbId)
}

Which Wikipedia articles in English or German are about the film identified by IMDb ID tt6892206?

Show me the Wikidata item, the corresponding English or German Wikipedia page, and the IMDb ID for the film tt6892206.

SELECT ?var1 ?var2 ?var3 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P345> "tt6892206". } ?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: Films with their IMDb IDs and English Wikipedia pages

SELECT ?film ?imdb ?wikipedia_page WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P345 ?imdb . ?wikipedia_page schema:about ?film ; schema:isPartOf <https://en.wikipedia.org/> . }

What are the IMDb IDs and English Wikipedia pages for all films on Wikidata?

Show me a list of films, along with their IMDb identifiers and corresponding English Wikipedia articles.

SELECT ?var1 ?var2 ?var3 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var4 <http://www.wikidata.org/prop/direct/P345> ?var2 . ?var5 <http://www.w3.org/2002/07/owl#sameAs> ?var6 . ?var5 <http://dbpedia.org/ontology/wikiPageID> ?var1 . VALUES ( ?var6 ) { ( <http://www.wikidata.org/entity/Q123> ) } ?var3 <http://schema.org/about> ?var4 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . }


Question: What film series have been directed by women?

SELECT ?filmSeries ?filmSeriesLabel ?directorLabel WHERE { ?filmSeries wdt:P31 wd:Q24856 . ?filmSeries wdt:P57 ?director . ?director wdt:P21 wd:Q6581072 . ?filmSeries rdfs:label ?filmSeriesLabel . ?director rdfs:label ?directorLabel . FILTER(LANG(?filmSeriesLabel) = "en") FILTER(LANG(?directorLabel) = "en") }

List the English-named film series and their female directors.

Can you show me the female directors of film series?

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


Question: Subclasses of disease with cited sources

SELECT ?subclass ?subclassLabel ?reference WHERE { ?subclass p:P279 ?statement . ?statement ps:P279 wd:Q12136 . ?statement prov:wasDerivedFrom ?reference . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = 'en') }

Which diseases are classified as subclasses of disease and have references in their Wikidata entries?

List the English names of conditions that are subclasses of disease and have provenance references.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q12136> . ?var1 <http://www.w3.org/ns/prov#wasDerivedFrom> ?var2 . }


Question: What is the most general category that both Earth and Seoul belong to in Wikidata's ontology?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?commonAncestor WHERE {
  wd:Q2 wdt:P31 ?class1 .
  wd:Q8684 wdt:P31 ?class2 .
  ?class1 wdt:P279 * ?commonAncestor .
  ?class2 wdt:P279 * ?commonAncestor .
  FILTER(?commonAncestor = wd:Q35120)
}
LIMIT 1

Which top-level class in Wikidata includes both the planet Earth and the city of Seoul as instances?

What is the highest-level concept that connects Earth and Seoul through their classifications?

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/Q2> ; <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/Q8684> ; <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 Marathi-language films released in recent years, listed by release date?

SELECT DISTINCT ?film ?filmLabel ?date WHERE { ?film wdt:P31 wd:Q11424 . ?film wdt:P577 ?date . ?film wdt:P364 wd:Q1571 . ?film rdfs:label ?filmLabel . FILTER(LANG(?filmLabel) = "en") } ORDER BY DESC(?date) LIMIT 50

Show me the titles and release dates of Marathi films in English, sorted from newest to oldest.

List the English titles and publication years of Marathi movies, ordered by year descending.

SELECT DISTINCT ?var1 ?var2Label ?var3Label ?var4Label ?var5Label ?var6Label WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11424> . ?var3 <http://www.wikidata.org/prop/direct/P577> ?var1 . ?var3 <http://www.wikidata.org/prop/direct/P364> ?var2 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P57> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P86> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P161> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } ?var3 <http://www.wikidata.org/prop/direct/P364> <http://www.wikidata.org/entity/Q1571> . } ORDER BY DESC( ?var1 )


Question: Films with English labels, director, genre, release date, country, duration, and IMDb ID

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?film ?filmLabel ?director ?genre ?releaseDate ?country ?duration ?imdbId WHERE {
  ?film wdt:P31 wd:Q11424 .
  OPTIONAL {
    ?film wdt:P57 ?director .
  }
  OPTIONAL {
    ?film wdt:P136 ?genre .
  }
  OPTIONAL {
    ?film wdt:P577 ?releaseDate .
  }
  OPTIONAL {
    ?film wdt:P495 ?country .
  }
  OPTIONAL {
    ?film wdt:P2047 ?duration .
  }
  OPTIONAL {
    ?film wdt:P345 ?imdbId .
  }
  ?film rdfs:label ?filmLabel .
  FILTER ( LANG( ?filmLabel ) = "en" )
}
LIMIT 100

What are the English titles, directors, genres, release dates, countries of origin, durations, and IMDb IDs of all films in Wikidata?

Please list 100 films with their English names and key details like director, genre, release year, country, duration, and IMDb number.

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


Question: Biographical films listed in Wikidata

SELECT ?film WHERE { ?film wdt:P136 wd:Q645928 . } LIMIT 100

What are some biographical films according to Wikidata?

List up to 100 films that have the biographical film genre.

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


Question: Academic papers and the journals they were published in.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?work ?workLabel ?publication ?publicationLabel WHERE {
  ?work wdt:P1433 ?publication .
  ?work rdfs:label ?workLabel .
  ?publication rdfs:label ?publicationLabel .
  FILTER(LANG(?workLabel) = "en")
  FILTER(LANG(?publicationLabel) = "en")
}
LIMIT 5000

Which research papers have been published in which scientific journals?

List English-language academic publications along with the journals they appeared in.

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


Question: All properties and values for the scholarly article on lysophosphatidic acid.

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

What properties and values are associated with the article "Lysophosphatidic acid, a multifunctional phospholipid messenger"?

Show me every property and its corresponding value for the 1995 scientific article about lysophosphatidic acid, including multilingual descriptions and publication details.

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


Question: What is the most general category that both Auckland and Mars belong to?

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

What is the highest-level common superclass of the city Auckland and the planet Mars in the Wikidata ontology?

Which entity class encompasses both cities and planets 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/Q37100> ; <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/Q111> ; <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