Question: List speculative fiction novels with their English titles, authors' birth dates, and images.

SELECT ?novel ?novelLabel ?author ?authorBirthDate ?image ?alternativeName WHERE { ?novel wdt:P31 wd:Q571 ; wdt:P136 wd:Q9326077 . OPTIONAL { ?novel rdfs:label ?novelLabel . FILTER (LANG(?novelLabel) = "en") } OPTIONAL { ?novel wdt:P50 ?author . ?author wdt:P569 ?authorBirthDate . } OPTIONAL { ?novel wdt:P18 ?image . } OPTIONAL { ?novel wdt:P2561 ?alternativeName . } }

What are the speculative fiction books in Wikidata, who wrote them, when were the authors born, and do they have cover images?

Please provide the English names, authors, author birth dates, and images of all speculative fiction novels in Wikidata, along with any alternative titles they might have.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P136> <http://www.wikidata.org/entity/Q10992055> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var3 . FILTER ( ( ( LANG ( ?var3 ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P2561> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var11 . ?var11 <http://www.w3.org/2000/01/rdf-schema#label> ?var4 . FILTER ( ( ( LANG ( ?var4 ) = "en" ) ) ) . ?var11 <http://www.wikidata.org/prop/direct/P569> ?var2 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P768> ?var12 . ?var12 <http://www.w3.org/2000/01/rdf-schema#label> ?var5 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P214> ?var8 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var10 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "he,en". } }


Question: What are the populations of minor localities in Sweden as of December 31, 2015, excluding partial-area estimates?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
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 ?code ?locality ?localityLabel ?population WHERE {
  ?locality p:P31 ?instanceStmt .
  ?instanceStmt ps:P31 wd:Q14839548 .
  ?locality wdt:P776 ?code .
  ?locality p:P1082 ?populationStmt .
  ?populationStmt ps:P1082 ?population .
  ?populationStmt pq:P585 "2015-12-31T00:00:00Z" ^^ xsd:dateTime .
  OPTIONAL {
    ?populationStmt pq:P518 ?part .
  }
  FILTER ( ! BOUND( ?part ) ) .
  ?locality rdfs:label ?localityLabel .
  FILTER ( LANG( ?localityLabel ) = "en" )
}
ORDER BY ASC ( ?code )

List Swedish småorter with their population codes and population figures for the year 2015, ensuring the data applies to the entire locality and not just a part.

Show me the English names and population counts of all minor urban areas in Sweden as of the end of 2015, where the population data is not restricted to a specific part of the area.

SELECT ?var1 ?var2 ?var2Label ?var3 ?var4 WHERE { ?var2 <http://www.wikidata.org/prop/P31> ?var5 . ?var5 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q14839548> . ?var2 <http://www.wikidata.org/prop/direct/P776> ?var1 . ?var2 <http://www.wikidata.org/prop/P1082> ?var6 . ?var6 <http://www.wikidata.org/prop/statement/P1082> ?var4 . ?var6 <http://www.wikidata.org/prop/qualifier/P585> ?var7 . OPTIONAL { ?var6 <http://www.wikidata.org/prop/qualifier/P518> ?var8 . } FILTER ( ( !( BOUND ( ?var8 ) ) ) ) . FILTER ( ( ( ?var7 = "2015-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "sv,en". } } ORDER BY ASC( ?var1 )


Question: What subject and property are associated with the statement about the 3-dehydroquinate dehydratase active site being part of the Pentafunctional AroM protein?

SELECT ?subject ?property WHERE { ?subject ?property s:Q24777669-0FBA8973-F65C-444C-9BC3-5CA6408F99FE .}

Which entity and property does the statement s:Q24777669-0FBA8973-F65C-444C-9BC3-5CA6408F99FE refer to?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24777669-0FBA8973-F65C-444C-9BC3-5CA6408F99FE> . }


Question: What categories do Hartsfield–Jackson Atlanta International Airport and India have in common?

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 ?commonClass ?label WHERE {
  wd:Q214861 wdt:P31 ?type1 .
  ?type1 wdt:P279 * ?commonClass .
  FILTER EXISTS {
    wd:Q668 wdt:P31 ?type2 .
    ?type2 wdt:P279 * ?commonClass
  }
  .
  ?commonClass rdfs:label ?label .
  FILTER ( LANG( ?label ) = 'en' )
}
ORDER BY ?label

Which classes are shared by both India and Atlanta Airport through their type hierarchies?

Find the most specific shared superclass categories between India and Hartsfield–Jackson Atlanta International Airport.

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/Q214861> ; <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/Q668> ; <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: How many editions exist for each of Ptolemy’s major works?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?work ?workLabel(COUNT(?edition) AS ?editionCount) WHERE {
  ?edition wdt:P629 ?work .
  ?work wdt:P50 wd:Q34943 .
  ?work rdfs:label ?workLabel .
  FILTER(LANG(?workLabel) = "en")
}
GROUP BY ?work ?workLabel
ORDER BY DESC(?editionCount)

Which of Ptolemy’s works have the most editions, and how many editions does each have?

List Ptolemy’s works in English along with the number of known editions for each, sorted by most editions first.

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


Question: Chemical compounds with formula C₂₃H₂₅O₁₂ and their images

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?compound ?label ?image WHERE {
  ?compound wdt:P274 ?formula .
  FILTER(?formula = "C₂₃H₂₅O₁₂" || ?formula = "C₂₃H₂₅O₁₂⁺")
  .
  ?compound rdfs:label ?label .
  FILTER(LANG(?label) = "en")
  .
  OPTIONAL {
    ?compound wdt:P18 ?image
  }
}
LIMIT 10

What are the English names of chemical compounds with the molecular formula C₂₃H₂₅O₁₂ or C₂₃H₂₅O₁₂⁺, and do they have images on Wikimedia Commons?

List the English-labeled chemical compounds with the formula C₂₃H₂₅O₁₂ or C₂₃H₂₅O₁₂⁺, along with any available images.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P274> "C₂₃H₂₅O₁₂+". SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P18> ?var3 . } } LIMIT 100


Question: What is the Swedish minor urban area code, administrative district, population, and area of Norrskedika as of 2015?

SELECT ?swedishCode ?item ?administrativeUnit ?population ?area WHERE { VALUES ?item { wd:Q2146619 } ?item wdt:P776 ?swedishCode . ?item p:P31 ?p31stmt . ?p31stmt ps:P31 wd:Q14839548 . OPTIONAL { ?p31stmt pq:P582 ?endTime . } FILTER ( !BOUND(?endTime) ) ?item p:P1082 ?popStmt . ?popStmt ps:P1082 ?population . ?popStmt pq:P585 "2015-12-31T00:00:00Z"^^xsd:dateTime . ?item p:P2046 ?areaStmt . ?areaStmt ps:P2046 ?area . ?areaStmt pq:P585 "2015-12-31T00:00:00Z"^^xsd:dateTime . OPTIONAL { ?item wdt:P131 ?administrativeUnit . ?administrativeUnit wdt:P31 wd:Q18333556 . } }

Can you tell me the population and area of Norrskedika in 2015, along with its registration district and official code?

Provide the 2015 population and area data for Norrskedika, Sweden, including its administrative division and unique urban area identifier.

SELECT ?var1 ?var2 ?var3 ?var4 ?var5 ?var6 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/entity/Q2146619> ) } ?var2 <http://www.wikidata.org/prop/direct/P776> ?var1 . ?var2 <http://www.wikidata.org/prop/P31> ?var7 . ?var7 <http://www.wikidata.org/prop/statement/P31> <http://www.wikidata.org/entity/Q14839548> . OPTIONAL { ?var7 <http://www.wikidata.org/prop/qualifier/P582> ?var8 . } FILTER ( ( !( BOUND ( ?var8 ) ) ) ) . ?var2 <http://www.wikidata.org/prop/P1082> ?var9 . ?var9 <http://www.wikidata.org/prop/statement/P1082> ?var5 . ?var9 <http://www.wikidata.org/prop/qualifier/P585> ?var10 . FILTER ( ( ( ?var10 = "2015-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var2 <http://www.wikidata.org/prop/P2046> ?var11 . ?var11 <http://www.wikidata.org/prop/statement/P2046> ?var6 . ?var11 <http://www.wikidata.org/prop/qualifier/P585> ?var12 . FILTER ( ( ( ?var12 = "2015-12-31T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . OPTIONAL { ?var2 <http://www.wikidata.org/prop/direct/P131> ?var4 . ?var4 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q18333556> . } }


Question: What entity is classified as a protein family, and what is the source of this classification?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX s: <http://www.wikidata.org/entity/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?entity ?entityLabel ?value ?valueLabel ?reference WHERE {
  ?entity p:P31 s:Q24768037-F14A438B-C211-4F12-9526-1CEB069816A2 .
  s:Q24768037-F14A438B-C211-4F12-9526-1CEB069816A2 ps:P31 ?value .
  s:Q24768037-F14A438B-C211-4F12-9526-1CEB069816A2 prov:wasDerivedFrom ?reference .
  ?entity rdfs:label ?entityLabel .
  ?value rdfs:label ?valueLabel .
  FILTER(LANG(?entityLabel) = "en")
  FILTER(LANG(?valueLabel) = "en")
}

Which protein family does the ABC transporter, haem export, CcmA belong to, and where is this information sourced from?

Can you tell me the source of the claim that ABC transporter, haem export, CcmA is a protein family?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q24768037-F14A438B-C211-4F12-9526-1CEB069816A2> ?var1 ?var2 . }


Question: What are some specific types of literary works (like novels or poems), and what broader category do they 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 ?var1 ?var2 ?var3 ?var4 WHERE {
  wd:Q7725634 wdt:P279 ?var3 .
  ?var1 wdt:P279 ?var3 .
  OPTIONAL {
    ?var1 rdfs:label ?var2 .
    FILTER(LANG(?var2) = "en")
  }
  ?var3 rdfs:label ?var4 .
  FILTER(LANG(?var4) = "en")
}

Can you list the sub-subclasses of literary works along with their immediate parent classes and their English labels?

Show me the hierarchy two levels below literary works: what kinds of works are subclasses of types like 'written work' or 'creative work', and what are their names in English?

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


Question: Scholarly articles on climate change and their publication dates.

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?article ?date WHERE {
  ?article wdt:P31 wd:Q13442814 .
  ?article wdt:P921 wd:Q125928 .
  ?article wdt:P577 ?date .
}

What scholarly articles have been published on climate change, and when were they published?

List the academic papers about climate change along with their publication years.

SELECT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q13442814> . ?var1 ?var3 <http://www.wikidata.org/entity/Q125928> . ?var4 <http://www.wikidata.org/prop/direct/P585> ?var2 . }


Question: What are the individual reaction steps involved in the N-glycan synthesis pathway in humans?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?component ?componentLabel WHERE {
  ?component wdt:P361 wd:Q45317674 .
  ?component schema:name ?componentLabel .
  FILTER(LANG(?componentLabel) = "en")
}

List the biological reactions that are part of the Reactome pathway R-HSA-975578.

Which enzyme-catalyzed reactions make up the complex N-glycan synthesis pathway?

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


Question: English-titled articles published in the journal Nuclear Science and Techniques

SELECT ?title (COUNT(*) AS ?count) WHERE { ?article wdt:P1433 wd:Q14511704 . ?article wdt:P1476 ?title . FILTER(LANG(?title) = "en") } GROUP BY ?title ORDER BY DESC(?count) ASC(?title)

What are the titles of articles published in the journal Nuclear Science and Techniques in English, and how many are there?

List all English titles of articles published in Nuclear Science and Techniques, sorted alphabetically, along with their count.

SELECT ?var1 ?var2 ( COUNT (* ) AS ?var3 ) WHERE { ?var4 <http://www.wikidata.org/prop/direct/P180> <http://www.wikidata.org/entity/Q14511704> . ?var4 <http://www.wikidata.org/prop/direct/P2561> ?var1 . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2 . FILTER ( ( ( LANG ( ?var2 ) = "en" ) ) ) . } } GROUP BY ?var1 ?var2 ORDER BY DESC( ?var3 )ASC( ?var2 )


Question: WikiPathways IDs for human biological pathways

SELECT ?pathwayId WHERE { ?pathway wdt:P2410 ?pathwayId ; wdt:P703 wd:Q15978631 . }

What are the WikiPathways identifiers of pathways associated with Homo sapiens?

List all WikiPathways IDs of biological pathways found in humans.

SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP3401_r87463> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }


Question: What entity and property are associated with the statement about melatonin metabolism and effects having CALM1 as a part?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?subject ?property WHERE {
  ?subject ?property s:Q28922670-F557E652-22BD-4935-A6FD-847E4CF90ACB .
}

For the specific statement identifying CALM1 as a component of melatonin metabolism and effects, what is the subject and property?

Which entity and property does the statement s:Q28922670-F557E652-22BD-4935-A6FD-847E4CF90ACB connect?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q28922670-F557E652-22BD-4935-A6FD-847E4CF90ACB> . }


Question: Firearms manufactured by Birmingham

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?itemLabel ?statement WHERE {
  ?statement ps:P176 wd:Q2256 .
  ?item p:P176 ?statement .
  ?item rdfs:label ?itemLabel .
}

What products were manufactured by the city of Birmingham?

List the items manufactured by Birmingham along with their labels and statement identifiers.

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


Question: What are pairs of distinct topics (other than linked data) that appear together as main subjects of the same work, where at least one topic is related to linked data?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {
  {
    ?work ( wdt:P921 / wdt:P31 * / wdt:P279 * ) wd:Q515701 .
  } UNION {
    ?work ( wdt:P921 / wdt:P361 + ) wd:Q515701 .
  } UNION {
    ?work ( wdt:P921 / wdt:P1269 + ) wd:Q515701 .
  }
  ?work wdt:P921 ?topic1 , ?topic2 .
  FILTER ( ?topic1 != wd:Q515701 ) FILTER ( ?topic2 != wd:Q515701 ) FILTER ( ?topic1 != ?topic2 ) ?topic1 rdfs:label ?topic1Label .
  ?topic2 rdfs:label ?topic2Label .
  FILTER ( lang( ?topic1Label ) IN ( "en" , "" ) ) FILTER ( lang( ?topic2Label ) IN ( "en" , "" ) ) FILTER ( STRLEN( ?topic1Label ) > 0 ) FILTER ( STRLEN( ?topic2Label ) > 0 )
}
LIMIT 20

Show me works that are about two different subjects, one of which is connected to linked data through hierarchy or part relationships.

Which topics commonly co-occur with linked data as main subjects of the same article or dataset?

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q515701> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q515701> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q515701> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q515701> != ?var1 ) && ( <http://www.wikidata.org/entity/Q515701> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Authors of the academic article "Platypus" and their ORCID IDs.

SELECT ?author ?authorLabel ?orcid WHERE { wd:Q50281845 wdt:P50 ?author . OPTIONAL { ?author wdt:P496 ?orcid . } ?author rdfs:label ?authorLabel . FILTER(LANG(?authorLabel) = "en") }

Who are the authors of the article "Platypus – A Multilingual Question Answering Platform for Wikidata", and what are their ORCID identifiers?

Please list the English names and ORCID IDs of all authors of the article "Platypus – A Multilingual Question Answering Platform for Wikidata".

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q50281845> <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 items have the Twitter usernames "elonmusk" or "metafilter"?

SELECT ?item ?username WHERE { ?item wdt:P2002 ?username . VALUES ?username { "elonmusk" "metafilter" } }

Who are the entities on Wikidata that use "elonmusk" or "metafilter" as their Twitter handle?

Show me the Wikidata items corresponding to the Twitter usernames "elonmusk" and "metafilter".

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


Question: What are the Twitter/X usernames for Elon Musk and Tesla, Inc.?

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

Which Wikidata entities have the Twitter usernames "elonmusk" or "Tesla"?

Show me the entities on Wikidata that are linked to the Twitter accounts @elonmusk and @Tesla.

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


Question: What is the most specific administrative category that both Croydon and Pyongyang belong to?

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 ?commonSuper ?commonSuperLabel WHERE {
  wd:Q2213391 wdt:P31 ?class1 .
  wd:Q18808 wdt:P31 ?class2 .
  ?class1 wdt:P279 * ?commonSuper .
  ?class2 wdt:P279 * ?commonSuper .
  ?commonSuper rdfs:label ?commonSuperLabel .
  FILTER(LANG(?commonSuperLabel) = "en")
  .
  FILTER(?commonSuper = wd:Q56061)
}

What class is the common ancestor of the categories that Croydon and Pyongyang are instances of?

What is the shared administrative classification for Croydon and Pyongyang 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/Q2213391> ; <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/Q18808> ; <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: Books published in 2000 and their genres

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 ?bookLabel ?genreLabel WHERE {
  ?book wdt:P31 wd:Q571 ; wdt:P577 ?pubDate ; wdt:P136 ?genre .
  FILTER(YEAR(?pubDate) = 2000)
  .
  ?book rdfs:label ?bookLabel .
  ?genre rdfs:label ?genreLabel .
  FILTER(LANG(?bookLabel) = "en")
  .
  FILTER(LANG(?genreLabel) = "en")
}

What are the titles and genres of books published in the year 2000?

List the English titles and genres of books released in 2000.

SELECT ?var1Label ?var2Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> ; <http://www.wikidata.org/prop/direct/P577> ?var3 ; <http://www.wikidata.org/prop/direct/P136> ?var2 . FILTER ( ( ( ?var3 >= "2000-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) && ( ?var3 < "2001-00-00T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } }


Question: Polish climbers who died on mountains above 8000 meters, ordered by most recent death.

SELECT ?person ?personLabel ?deathPlaceLabel ?birthPlaceLabel ?elevation ?deathDate WHERE { ?person wdt:P19 ?birthPlace . ?birthPlace wdt:P17 wd:Q36 . ?person wdt:P20 ?deathPlace . ?deathPlace wdt:P2044 ?elevation . FILTER (?elevation > 8000) . ?person wdt:P570 ?deathDate . ?person rdfs:label ?personLabel . ?deathPlace rdfs:label ?deathPlaceLabel . ?birthPlace rdfs:label ?birthPlaceLabel . FILTER(LANG(?personLabel) = "en") FILTER(LANG(?deathPlaceLabel) = "en") FILTER(LANG(?birthPlaceLabel) = "en") } ORDER BY DESC(?deathDate)

Which Polish mountaineers died at elevations higher than 8000 meters, and when did they die?

List the names of Polish climbers who died on peaks above 8000 meters, including their birthplaces, death locations, elevations, and dates of death, sorted from most recent to oldest.

SELECT ?var1 ?var1Label ?var2Label ?var3Label ?var4 ?var5 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P19> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P17> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P2044> ?var4 . FILTER ( ( ( ?var4 > "8000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P570> ?var5 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY DESC( ?var5 )


Question: Polish climbers who died on mountains over 8000 meters

PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?mountain ?mountainLabel ?elevation WHERE {
  ?person wdt:P27 wd:Q36 .
  ?person wdt:P20 ?mountain .
  ?mountain p:P2044 / psn:P2044 / wikibase:quantityAmount ?elevation .
  FILTER ( ?elevation >= 8000 ) OPTIONAL {
    ?person rdfs:label ?personLabel FILTER ( LANG( ?personLabel ) = "en" )
  }
  OPTIONAL {
    ?mountain rdfs:label ?mountainLabel FILTER ( LANG( ?mountainLabel ) = "en" )
  }
}
LIMIT 20

Which Polish mountaineers died on peaks higher than 8000 meters above sea level?

List the names of Polish citizens who died on 8000-meter mountains and the names of those mountains.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P27> <http://www.wikidata.org/entity/Q36> . ?var1 <http://www.wikidata.org/prop/direct/P20> ?var2 . ?var2 ( <http://www.wikidata.org/prop/P2044> / <http://www.wikidata.org/prop/statement/value-normalized/P2044> / <http://wikiba.se/ontology#quantityAmount> ) ?var3 . FILTER ( ( ( ?var3 >= "8000"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 20


Question: What are the premiere dates and titles of episodes from the TV series Archer?

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

Can you list the English titles and air dates of all episodes of the animated series Archer?

Show me the names and premiere dates of episodes belonging to the TV show Archer.

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


Question: What subject and property does the statement with ID s:Q100058010-c11728d7-03c9-4872-b268-b642688a667e belong to?

SELECT ?subject ?property WHERE { ?subject ?property s:Q100058010-c11728d7-03c9-4872-b268-b642688a667e . }

Find the entity and property linked to the Wikidata statement s:Q100058010-c11728d7-03c9-4872-b268-b642688a667e.

Which person and occupation claim does this statement identifier refer to?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30230798-7E5E55AD-AEA9-4240-81E6-FC2DEF9DE48B> . }


Question: What is the image associated with the SNAC ARK ID "w64n1bx7"?

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

Can you find the Wikimedia Commons image for the person identified by the SNAC ARK ID w64n1bx7?

Show the image of the entity that has the SNAC ARK ID w64n1bx7, if one exists.

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


Question: Which entity has the Twitter username 'elonmusk'?

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT ?entity ?username WHERE {
  ?entity p:P2002 ?statement .
  ?statement ps:P2002 ?username .
  FILTER(?username = "elonmusk")
}

Who is the person or organization associated with the Twitter handle elonmusk?

Show me the Wikidata entity that uses elonmusk as its X (Twitter) username.

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


Question: Publication date of Faust, Part Two between 1800 and 2018

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?publicationDate WHERE {
  wd:Q267510 wdt:P577 ?publicationDate .
  FILTER ( ?publicationDate > "1800-04-11T00:00:00Z" ^^ xsd:dateTime && ?publicationDate < "2018-06-11T00:00:00Z" ^^ xsd:dateTime )
}

When was Faust, Part Two published, and was it between April 1800 and June 2018?

Tell me the publication date of Faust, Part Two, assuming it was released sometime between 1800 and 2018.

SELECT * WHERE { <http://www.wikidata.org/entity/Q267510> <http://www.wikidata.org/prop/direct/P577> ?var1 . FILTER ( ( ( ?var1 > "1800-04-11"^^<http://www.w3.org/2001/XMLSchema#date> ) && ( ?var1 < "2018-06-11"^^<http://www.w3.org/2001/XMLSchema#date> ) ) ) . }


Question: What is the author of the book with ISBN 978-1-59448-000-3, and what is their English Wikipedia page?

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 ?edition ?author ?wikipedia_url WHERE {
  ?edition wdt:P31 wd:Q3331189 .
  ?edition wdt:P212 ?isbn .
  FILTER(REPLACE(?isbn , "-" , "") = "9781594480003")
  .
  ?edition wdt:P629 ?work .
  ?work wdt:P50 ?author .
  ?author rdfs:label ?author_label .
  FILTER(LANG(?author_label) = "en")
  .
  BIND(REPLACE(STR(?author_label) , " " , "_") AS ?wikipedia_title)
  .
  BIND(IRI(CONCAT("https://en.wikipedia.org/wiki/" , ?wikipedia_title)) AS ?wikipedia_url)
}
LIMIT 10

Find the Wikipedia page of the author of the edition of 'The Kite Runner' that has ISBN 9781594480003.

Which author wrote the book with ISBN 978-1-59448-000-3, and where can I find their English Wikipedia article?

SELECT ?var1 ?var2 ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var1 <http://www.wikidata.org/prop/direct/P212> ?var2 . ?var3 <http://schema.org/about> ?var4 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . FILTER ( ( ( REPLACE ( ?var2 , "-", "" ) = "9780307237699" ) ) ) . } LIMIT 10


Question: What is the book with ISBN 978-0-307-23769-9, who is its author, and what are their Wikipedia pages?

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?book ?bookLabel ?isbn ?author ?authorLabel ?bookWikipedia ?authorWikipedia WHERE {
  ?book wdt:P212 ?isbn .
  FILTER ( REPLACE( ?isbn , "-" , "" ) = "9780307237699" ) OPTIONAL {
    ?book rdfs:label ?bookLabel .
    FILTER ( LANG( ?bookLabel ) = "en" )
  }
  OPTIONAL {
    ?book wdt:P50 ?author .
    ?author rdfs:label ?authorLabel .
    FILTER ( LANG( ?authorLabel ) = "en" )
  }
  OPTIONAL {
    ?bookWikipedia schema:about ?book ; schema:isPartOf <https://en.wikipedia.org/>
  }
  OPTIONAL {
    ?authorWikipedia schema:about ?author ; schema:isPartOf <https://en.wikipedia.org/>
  }
}
LIMIT 10

Can you find the English title and author of the book with ISBN 9780307237699, along with links to their Wikipedia pages?

Show me the details of the book identified by ISBN 978-0-307-23769-9, including its author and corresponding English Wikipedia links.

SELECT ?var1 ?var2Label ?var3 ?var4 ?var5Label ?var6 ?var7 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P212> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . OPTIONAL { ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "en" ) ) ) . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P50> ?var4 . ?var4 <http://www.w3.org/2000/01/rdf-schema#label> ?var5Label . FILTER ( ( ( LANG ( ?var5Label ) = "en" ) ) ) . } OPTIONAL { ?var6 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } OPTIONAL { ?var7 <http://schema.org/about> ?var4 ; <http://schema.org/isPartOf> <https://en.wikipedia.org/> . } FILTER ( ( ( REPLACE ( ?var3 , "-", "" ) = "9780307237699" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } LIMIT 10


Question: Chemical compounds with InChIKey, PubChem CID, and ChemSpider ID

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?compound ?inchikey ?compoundLabel ?pubchem_cid ?chemspider_id WHERE {
  ?compound wdt:P235 ?inchikey .
  OPTIONAL {
    ?compound wdt:P662 ?pubchem_cid .
  }
  OPTIONAL {
    ?compound wdt:P661 ?chemspider_id .
  }
  ?compound rdfs:label ?compoundLabel .
  FILTER ( LANG( ?compoundLabel ) = "en" )
}
LIMIT 10

What are the English names, InChIKeys, PubChem IDs, and ChemSpider IDs of chemical compounds in Wikidata?

Show me chemical compounds along with their InChIKeys, and if available, their PubChem and ChemSpider identifiers, using English labels.

SELECT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , "Q1" ) ) ) . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What are the chemical identifiers (InChIKey, CAS number, ChemSpider ID, and PubChem CID) for zingerone?

SELECT ?compound (COALESCE(?enLabel, STR(?compound)) AS ?compoundLabel) ?inchikey ?cas ?chemspider ?pubchem WHERE { wd:Q1064625 wdt:P235 ?inchikey . OPTIONAL { wd:Q1064625 rdfs:label ?enLabel . FILTER(LANG(?enLabel) = "en") } OPTIONAL { wd:Q1064625 wdt:P231 ?cas . } OPTIONAL { wd:Q1064625 wdt:P661 ?chemspider . } OPTIONAL { wd:Q1064625 wdt:P662 ?pubchem . } BIND(wd:Q1064625 AS ?compound) }

Retrieve the InChIKey, CAS number, ChemSpider ID, and PubChem CID for the compound zingerone.

Show me the identification numbers for zingerone from major chemical databases like CAS, ChemSpider, and PubChem.

SELECT ?var1 ?var1Label ?var2 ?var3 ?var4 ?var5 WHERE { <http://www.wikidata.org/entity/Q1064625> <http://www.wikidata.org/prop/direct/P235> ?var6 . ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P231> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var5 . } FILTER ( ( REGEX ( STR ( ?var2 ) , CONCAT ( "^", SUBSTR ( ?var6 ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"14"^^<http://www.w3.org/2001/XMLSchema#integer> ) , "-" ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: Metadata for the statement that Vitamin D metabolism includes CYP24A1-mediated inactivation of 1,25(OH)2D.

SELECT ?property ?value WHERE { wd:Q29971817 p:P527 ?statement . ?statement ps:P527 wd:Q50294329 . ?statement ?property ?value . }

What are the rank, type, and source references for the claim that Vitamin D metabolism has a part involving CYP24A1 hydroxylating 1,25(OH)2D?

Show all properties and values associated with the Wikidata statement asserting that Vitamin D metabolism includes the biochemical process where CYP24A1 inactivates 1,25(OH)2D.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q29971817-1554C59C-9DCF-407A-89AE-ECAB61C8258B> ?var1 ?var2 . }


Question: What are the scientific journals published by The MIT Press, listed from newest to oldest, along with their founding years?

SELECT ?inceptionDate ?journal ?journalLabel WHERE { ?journal wdt:P123 wd:Q73820 . ?journal wdt:P31 wd:Q5633421 . ?journal wdt:P571 ?inceptionDate . ?journal rdfs:label ?journalLabel . FILTER(LANG(?journalLabel) = "en") } ORDER BY DESC(?inceptionDate) LIMIT 50

List the English-named scientific journals published by MIT Press, sorted by their year of inception, with the most recent first.

Which academic journals were started by The MIT Press, and when were they founded? Show the most recent ones first.

SELECT ?var1 ?var2 ?var2Label WHERE { ?var2 <http://www.wikidata.org/prop/direct/P123> <http://www.wikidata.org/entity/Q73820> . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5633421> . ?var2 <http://www.wikidata.org/prop/direct/P571> ?var1 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } ORDER BY DESC( ?var1 ) LIMIT 50


Question: List all episodes of Family Guy with their season number, episode number, IMDb ID, and air date, sorted by season and episode order.

SELECT DISTINCT ?episode ?episodeLabel ?season ?seasonLabel ?episodeNum ?seasonNum ?imdb ?premiere ?prev ?next WHERE { ?episode wdt:P31 wd:Q21191270 . ?episode wdt:P179 wd:Q5930 . ?episode wdt:P4908 ?season . ?episode p:P179 ?episodeStmt . ?episodeStmt pq:P1545 ?episodeNum . ?season p:P179 ?seasonStmt . ?seasonStmt pq:P1545 ?seasonNum . OPTIONAL { ?episode wdt:P345 ?imdb . } OPTIONAL { ?episode wdt:P1191 ?premiere . } OPTIONAL { ?episode wdt:P155 ?prev . } OPTIONAL { ?episode wdt:P156 ?next . } OPTIONAL { ?episode rdfs:label ?episodeLabel . FILTER(LANG(?episodeLabel) = "en") } OPTIONAL { ?season rdfs:label ?seasonLabel . FILTER(LANG(?seasonLabel) = "en") } } ORDER BY ASC(xsd:integer(?seasonNum)) ASC(xsd:integer(?episodeNum))

What are all the episodes of Family Guy in order, including their season, episode number, IMDb ID, and premiere dates?

Please provide a complete ordered list of Family Guy episodes, showing the season and episode number for each, along with their IMDb IDs and premiere dates, and indicate which episode comes before and after each one.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 ?var12 ?var13 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q5930> . ?var3 <http://www.wikidata.org/prop/direct/P4908> ?var2 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/P179> ?var14 . } ?var14 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . OPTIONAL { ?var3 <http://www.wikidata.org/prop/P361> ?var15 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P155> ?var10 . } OPTIONAL { ?var15 <http://www.wikidata.org/prop/qualifier/P156> ?var11 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P155> ?var12 . } OPTIONAL { ?var14 <http://www.wikidata.org/prop/qualifier/P156> ?var13 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it". } } ORDER BY ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )


Question: Chemical compounds with InChIKey starting with "DFG", including PubChem and ChemSpider IDs.

SELECT DISTINCT ?compound ?inchikey ?pubchem_cid ?chemspider_id ?label WHERE { ?compound wdt:P235 ?inchikey . FILTER ( STRSTARTS( ?inchikey , "DFG" ) ) . OPTIONAL { ?compound wdt:P662 ?pubchem_cid . } OPTIONAL { ?compound wdt:P661 ?chemspider_id . } ?compound rdfs:label ?label . FILTER ( LANGMATCHES( LANG( ?label ), "en" ) ) }

Which chemical compounds have an InChIKey that starts with "DFG", and what are their PubChem CID and ChemSpider ID?

Show me all chemical compounds whose InChIKey begins with "DFG", along with their PubChem and ChemSpider identifiers and English names.

SELECT DISTINCT ?var1 ?var2 ?var1Label ?var3 ?var4 WHERE { { SELECT * WHERE { VALUES ( ?var1 ) { ( <http://www.wikidata.org/entity/Q707283> ) ( <http://www.wikidata.org/entity/Q11104175> ) ( <http://www.wikidata.org/entity/Q1201772> ) ( <http://www.wikidata.org/entity/Q29710154> ) ( <http://www.wikidata.org/entity/Q29719588> ) ( <http://www.wikidata.org/entity/Q3269046> ) ( <http://www.wikidata.org/entity/Q3269047> ) } ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q11173> . } } UNION { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . FILTER ( ( STRSTARTS ( ?var2 , "DFG" ) ) ) . } } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P662> ?var3 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P661> ?var4 . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P235> ?var2 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } }


Question: What Wikidata item corresponds to the WikiPathways pathway WP1602 in humans?

SELECT ?item WHERE { ?item wdt:P2410 "WP1602" ; wdt:P703 wd:Q15978631 }

Which biological pathway in humans has the WikiPathways ID WP1602?

Find the Wikidata entry for the human pathway identified as WP1602 in WikiPathways.

SELECT ?var1 WHERE { <http://identifiers.org/wikipathways/WP1602_r78486> <http://www.wikidata.org/prop/direct/P2410> ?var1 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> . }


Question: List ring roads in Russia.

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?ringRoad WHERE {
  ?ringRoad wdt:P31 wd:Q510662 ; wdt:P17 wd:Q159 .
}
LIMIT 100

What are the ring roads located in Russia?

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


Question: French-named streets in Paris with their coordinates.

SELECT ?street ?label ?coordinates WHERE { ?street (wdt:P31/wdt:P279*) wd:Q79007 . ?street wdt:P131 wd:Q90 . ?street wdt:P625 ?coordinates . ?street rdfs:label ?label . FILTER(LANG(?label) = "fr") } ORDER BY ASC(?label) LIMIT 100

What are the French-language names and geographic coordinates of streets and alleys in Paris?

List up to 100 streets in Paris, including their French names and coordinates, sorted alphabetically by name.

SELECT ?var1 ?var2Label ?var3 WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q79007> . ?var1 <http://www.wikidata.org/prop/direct/P131> <http://www.wikidata.org/entity/Q90> . ?var1 <http://www.wikidata.org/prop/direct/P625> ?var3 . ?var1 <http://www.w3.org/2000/01/rdf-schema#label> ?var2Label . FILTER ( ( ( LANG ( ?var2Label ) = "fr" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } ORDER BY ASC( ?var2Label ) LIMIT 100


Question: What is the related property to PubChem CID (P662), and what is its description in English?

SELECT ?var1 ?var2Label ?var3 WHERE { wd:P662 wdt:P1659 ?var1 . ?var1 rdfs:label ?var2Label . ?var1 schema:description ?var3 . FILTER (LANG(?var2Label) = "en") . FILTER (LANG(?var3) = "en") . }

Which PubChem identifier property is linked to PubChem CID, and what does it represent?

Can you tell me the English label and description of the property that provides substance IDs in PubChem, which is related to compound IDs?

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


Question: Does Hallmark Hall of Fame have a list of episodes?

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

Is there a Wikipedia page listing all episodes of Hallmark Hall of Fame?

Confirm whether Hallmark Hall of Fame has an official episode list page.

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


Question: List human genes encoding membrane-localized proteins with their Entrez IDs, UniProt IDs, protein names, and gene symbols.

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 ?cellComponent ?uniprotId ?protein ?geneLabel ?entrezId ?gene WHERE {
  ?gene wdt:P351 ?entrezId ; wdt:P703 wd:Q15978631 ; rdfs:label ?geneLabel ; wdt:P688 ?protein .
  ?protein wdt:P352 ?uniprotId ; wdt:P681 ?cellComponent .
  ?cellComponent wdt:P686 "GO:0016020" .
  FILTER ( LANG( ?geneLabel ) = "en" )
}

What are the human genes that encode proteins located in the cell membrane, and what are their Entrez Gene IDs, UniProt IDs, protein names, and gene symbols?

Show me all human genes whose protein products are found in the cell membrane, including the gene symbol, Entrez ID, UniProt ID, and protein name.

SELECT ?var1 ?var2 ?var3 ?var4Label ?var5 ?var4 WHERE { ?var4 <http://www.wikidata.org/prop/direct/P351> ?var5 ; <http://www.wikidata.org/prop/direct/P703> <http://www.wikidata.org/entity/Q15978631> ; <http://www.w3.org/2000/01/rdf-schema#label> ?var4Label ; <http://www.wikidata.org/prop/direct/P688> ?var3 . ?var3 <http://www.wikidata.org/prop/direct/P352> ?var2 ; <http://www.wikidata.org/prop/direct/P681> ?var1 . ?var1 <http://www.wikidata.org/prop/direct/P686> "GO:0016020". FILTER ( ( ( "en" = LANG ( ?var4Label ) ) ) ) . }


Question: Image of William Hayley with SNAC ARK ID w63x8b6x

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

What is the image associated with William Hayley in Wikidata, given his SNAC ARK ID is w63x8b6x?

Show me the Wikimedia Commons image of the person identified by the SNAC ARK ID w63x8b6x.

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


Question: Part of ABC transporter, spermidine/putrescine import ATP-binding protein, PotA

SELECT ?value ?valueLabel WHERE { s:Q24768061-F98E3556-543B-4057-94F6-43B6970B5798 ps:P527 ?value . ?value rdfs:label ?valueLabel . FILTER(LANG(?valueLabel) = "en") }

What part does the protein "ABC transporter, spermidine/putrescine import ATP-binding protein, PotA" have?

Show the English label of the component that is part of the protein ABC transporter, spermidine/putrescine import ATP-binding protein, PotA.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24768061-F98E3556-543B-4057-94F6-43B6970B5798> . }


Question: Which public spaces in the 20th arrondissement of Paris are named after humans, and who are those people?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE {
  ?var1 wdt:P31 / wdt:P279 * wd:Q294440 .
  ?var1 wdt:P131 wd:Q210720 .
  ?var1 wdt:P138 ?var2 .
  ?var2 wdt:P31 wd:Q5 .
  ?var1 rdfs:label ?var1Label .
  ?var2 rdfs:label ?var2Label .
  FILTER(LANG(?var1Label) = "en")
  FILTER(LANG(?var2Label) = "en")
}

Public spaces in Paris 20th arrondissement named after people

List the names of parks and squares in the 20th arrondissement of Paris and the humans they are named after.

SELECT DISTINCT ?var1 ?var1Label ?var2Label WHERE { ?var1 ( <http://www.wikidata.org/prop/direct/P31> / <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q294440> . ?var1 ( <http://www.wikidata.org/prop/direct/P131> / <http://www.wikidata.org/prop/direct/Q90> *) <http://www.wikidata.org/entity/Q210720> . ?var1 <http://www.wikidata.org/prop/direct/P138> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q5> . ?var2 <http://www.wikidata.org/prop/direct/P106> ?var3 . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en,fr". } }


Question: Controlled-access highways in the United Kingdom with their coordinates

SELECT DISTINCT ?highway ?location WHERE { ?highway wdt:P31 wd:Q46622 . ?highway wdt:P17 wd:Q145 . OPTIONAL { ?highway wdt:P625 ?location . } } LIMIT 50

What are the controlled-access highways in the United Kingdom, and where are they located?

List up to 50 controlled-access highways in the UK along with their geographic coordinates.

SELECT DISTINCT ?var1 ?var2 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q46622> . SERVICE <http://wikiba.se/ontology#box> { ?var1 <http://www.wikidata.org/prop/direct/P625> ?var2 . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerSouthWest> "string1"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#cornerNorthEast> "string1"^^<http://www.opengis.net/ont/geosparql#wktLiteral> . } } LIMIT 50


Question: Entity and property of statement s:Q30231028-DBDA0E7C-61B5-4C89-BFF6-8C8DBACCF898

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?entity ?statementProperty WHERE {
  ?entity ?statementProperty s:Q30231028-DBDA0E7C-61B5-4C89-BFF6-8C8DBACCF898 .
}

What entity and property does the statement s:Q30231028-DBDA0E7C-61B5-4C89-BFF6-8C8DBACCF898 refer to?

Show me the biochemical process and the relationship type for the statement that links it to tetracosanoyl-CoA.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q30231028-DBDA0E7C-61B5-4C89-BFF6-8C8DBACCF898> . }


Question: French autoroutes with road numbers, sorted numerically, excluding those with French Wikipedia pages.

SELECT ?autoroute ?autorouteLabel ?roadNumber WHERE { { ?autoroute wdt:P31 wd:Q3456602 . } UNION { ?autoroute wdt:P16 wd:Q3456602 . } MINUS { ?autoroute schema:about ?autoroute ; schema:isPartOf <https://fr.wikipedia.org/> . } OPTIONAL { ?autoroute wdt:P1824 ?roadNumber . } ?autoroute rdfs:label ?autorouteLabel . BIND(IF(BOUND(?roadNumber), CONCAT(SUBSTR(?roadNumber, 1, 1), CONCAT(IF(STRLEN(REPLACE(SUBSTR(?roadNumber, 2), "[^0-9]", "")) = 1, "000", IF(STRLEN(REPLACE(SUBSTR(?roadNumber, 2), "[^0-9]", "")) = 2, "00", IF(STRLEN(REPLACE(SUBSTR(?roadNumber, 2), "[^0-9]", "")) = 3, "0", ""))), REPLACE(SUBSTR(?roadNumber, 2), "[^0-9]", ""))), "") AS ?sortKey) } ORDER BY ?sortKey ?roadNumber

What are the French autoroutes and their road numbers, ordered by the numeric value of the road number (e.g., A2 before A10), excluding those with French Wikipedia articles?

List all French autoroutes that have a road number assigned, sorted in numeric order (e.g., A1, A2, ..., A10), and exclude any that have a French Wikipedia page.

SELECT ?var1 ?var1Label ?var2 WHERE { { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q3456602> . } UNION { ?var1 <http://www.wikidata.org/prop/direct/P16> <http://www.wikidata.org/entity/Q3456602> . } MINUS { ?var3 <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://fr.wikipedia.org/> . } OPTIONAL { ?var1 <http://www.wikidata.org/prop/direct/P1824> ?var2 . } BIND ( STRLEN ( STR ( ?var2 ) ) AS ?var4 ). BIND ( SUBSTR ( STR ( ?var2 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?var5 ). BIND ( SUBSTR ( STR ( ?var2 ) ,"2"^^<http://www.w3.org/2001/XMLSchema#integer> , ( ?var4 -"1"^^<http://www.w3.org/2001/XMLSchema#integer> ) ) AS ?var6 ). BIND ( REPLACE ( SUBSTR ( STR ( ?var6 ) ,"1"^^<http://www.w3.org/2001/XMLSchema#integer> ,"4"^^<http://www.w3.org/2001/XMLSchema#integer> ) , "[A-Za-z ]", "" ) AS ?var7 ). BIND ( STRLEN ( STR ( ?var7 ) ) AS ?var8 ). BIND ( CONCAT ( IF ( ( ?var8 = "1"^^<http://www.w3.org/2001/XMLSchema#integer> ), "000", IF ( ( ?var8 = "2"^^<http://www.w3.org/2001/XMLSchema#integer> ), "00", IF ( ( ?var8 = "3"^^<http://www.w3.org/2001/XMLSchema#integer> ), "0", "" ) ) ) , STR ( ?var7 ) ) AS ?var9 ). BIND ( CONCAT ( STR ( ?var5 ) , STR ( ?var7 ) ) AS ?var10 ). BIND ( STRLEN ( STR ( ?var10 ) ) AS ?var11 ). BIND ( ( ?var4 - ?var11 ) AS ?var12 ). BIND ( SUBSTR ( STR ( ?var2 ) , ( ?var11 +"1"^^<http://www.w3.org/2001/XMLSchema#integer> ) , ?var12 ) AS ?var13 ). BIND ( CONCAT ( STR ( ?var5 ) , STR ( ?var9 ) , STR ( ?var13 ) ) AS ?var14 ). SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "fr". } } ORDER BY ASC( ?var14 )


Question: Films with NMHH rating not on Hungarian Wikipedia, ordered by sitelinks

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 ?rating ( COUNT( ?site ) AS ?sitelinkCount ) WHERE {
  ?item wdt:P2363 ?rating .
  OPTIONAL {
    ?item schema:isPartOf ?site .
  }
  FILTER NOT EXISTS {
    ?item schema:isPartOf <https://hu.wikipedia.org/>
  }
  ?item rdfs:label ?itemLabel .
  FILTER ( LANG( ?itemLabel ) = "en" || LANG( ?itemLabel ) = "" )
}
GROUP BY ?item ?itemLabel ?rating
ORDER BY DESC ( ?sitelinkCount ) ASC ( ?item )
LIMIT 1000

Which films have been rated by the Hungarian film rating system but don't have a Hungarian Wikipedia page, and how many Wikipedia links do they have?

Show me the top 1000 films rated by the NMHH system that lack a Hungarian Wikipedia article, along with their English labels, ratings, and sitelink counts, sorted by most popular first.

SELECT ?var1 ?var1Label ?var2 ?var3 WHERE { { SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P2363> ?var2 ; <http://wikiba.se/ontology#sitelinks> ?var3 . FILTER ( ( NOT EXISTS { [] <http://schema.org/about> ?var1 ; <http://schema.org/isPartOf> <https://cy.wikipedia.org/> . } ) ) . } ORDER BY DESC( ?var3 )ASC( ?var1 ) LIMIT 1000 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "hu,en". } } ORDER BY DESC( ?var3 )ASC( ?var1 )


Question: Subclasses of two-lane expressway

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 ?subclass ?subclassLabel WHERE {
  ?subclass wdt:P279 wd:Q159184 .
  ?subclass rdfs:label ?subclassLabel .
  FILTER ( LANG( ?subclassLabel ) = "en" )
}

What are some types of two-lane expressways?

List the known types of two-lane expressways with their names.

SELECT ?var1 ?var1Label WHERE { { SELECT DISTINCT ?var1 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P279> <http://www.wikidata.org/entity/Q159184> . } LIMIT 11 } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "undefined". } }


Question: What disease has the statement with ID s:Q416426-1DA34B88-6E93-4D57-B99A-8EBB1BF0721A, and what property does it use?

SELECT ?item ?property WHERE { ?item ?property s:Q416426-1DA34B88-6E93-4D57-B99A-8EBB1BF0721A . }

Which entity and property are linked to the Ensembl transcript ID statement for cystic fibrosis?

For the statement about cystic fibrosis’s Ensembl transcript ID, what is the subject and property?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q416426-1DA34B88-6E93-4D57-B99A-8EBB1BF0721A> . }


Question: What type of biological entity is G1/S DNA Damage Checkpoints?

SELECT ?item ?type WHERE { ?item wdt:P31 ?type . FILTER(?item = wd:Q36804389) }

What class does the G1/S DNA Damage Checkpoints belong to?

Show me the category that G1/S DNA Damage Checkpoints is an instance of.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q36804389-B614D154-D2B2-4596-A7A6-4B31FE798342> . }


Question: What properties are associated with the MTHFD1L gene in Wikidata?

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

Which relationships connect to the MTHFD1L gene as their object in Wikidata?

Show all the properties that have the gene MTHFD1L (Q18037783) as their target, including both direct and statement properties like ps:P702.

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


Question: What properties does the tRNA-Leu encoded by leuZ b1909 have, along with their values and counts?

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

For the tRNA molecule leuZ b1909, what are its properties in English, how many values does each have, and what are those values?

List all properties of the E. coli tRNA-Leu (leuZ b1909) with their English labels, the number of associated values, and the concatenated labels of those values.

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


Question: What is the most specific geographic region that includes both Clearwater and Costa Rica?

SELECT ?common WHERE {
  wd:Q244146 (wdt:P131|wdt:P17|wdt:P30)* ?common .
  wd:Q800 (wdt:P131|wdt:P17|wdt:P30)* ?common .
}
LIMIT 1

Which continent or larger geographic area contains both the city of Clearwater and the country of Costa Rica?

Find the shared geographic location that encompasses both Clearwater, Florida, and Costa Rica.

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/Q244146> ; <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/Q800> ; <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 immediate parent classes of all higher-level categories that thoroughfare belongs to?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE {
  wd:Q83620(wdt:P279 | wdt:P31) + ?var1 .
  ?var1 wdt:P279 ?var2 .
  ?var1 rdfs:label ?var1Label .
  ?var2 rdfs:label ?var2Label .
  FILTER(LANG(?var1Label) = "en")
  FILTER(LANG(?var2Label) = "en")
}

Show the hierarchy of categories above thoroughfare, listing each category and its direct superclass.

What are the grandparent classes in the classification hierarchy of thoroughfare?

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


Question: Does the TV series "The Bureau" have its episode list linked to the German Wikipedia article "Büro der Legenden/Episodenliste"?

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

Is the Wikipedia article "Büro der Legenden/Episodenliste" the official episode list for the TV series "The Bureau"?

Confirm that "The Bureau" uses the German Wikipedia page "Büro der Legenden/Episodenliste" as its episode list.

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


Question: All properties and values of statement s:Q409999-3942D30A-EACC-42D9-8BC9-F9A936E0A5DE

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?property ?value WHERE {
  s:Q409999-3942D30A-EACC-42D9-8BC9-F9A936E0A5DE ?property ?value .
}

What are the properties and values associated with the Wikidata statement identified by s:Q409999-3942D30A-EACC-42D9-8BC9-F9A936E0A5DE?

Show me all the information stored in the Wikidata statement with ID s:Q409999-3942D30A-EACC-42D9-8BC9-F9A936E0A5DE, including qualifiers and references.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q409999-3942D30A-EACC-42D9-8BC9-F9A936E0A5DE> ?var1 ?var2 . }


Question: Main subjects of works cited by or citing the article "A novel Gemini vitamin D analog represses the expression of a stem cell marker CD44 in breast cancer".

SELECT DISTINCT ?mainSubject WHERE { { wd:Q34701077 wdt:P2860 ?citedOrCitingWork . } UNION { ?citedOrCitingWork wdt:P2860 wd:Q34701077 . } ?citedOrCitingWork wdt:P921 ?mainSubject . }

What topics are primarily discussed in the scholarly works that cite or are cited by the article on Gemini vitamin D analogs and CD44 in breast cancer?

Show me the main subjects of all academic works that have a citation relationship (either citing or being cited) with the study on Gemini vitamin D analogs and CD44 expression in breast cancer.

SELECT ?var1 WHERE { { <http://www.wikidata.org/entity/Q34701077> <http://www.wikidata.org/prop/direct/P2860> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P921> ?var1 . } UNION { ?var3 <http://www.wikidata.org/prop/direct/P2860> <http://www.wikidata.org/entity/Q34701077> . ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 . } }


Question: Does the TV series Instant Star have a link to its episode list?

Is there a Wikipedia page listing the episodes of Instant Star linked in Wikidata?

Confirm that the TV show Instant Star is connected to its episode list in Wikidata.

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


Question: What are the genes that are instances of protein-coding genes or their subclasses?

SELECT ?instance ?subclass ?subclassLabel WHERE { ?subclass wdt:P279* wd:Q20747295 . ?instance wdt:P31 ?subclass . ?subclass rdfs:label ?subclassLabel . FILTER(LANG(?subclassLabel) = "en") }

List all known genes classified as protein-coding genes or any of their subtypes, along with their classification labels.

Which specific gene entities belong to the category of protein-coding genes or any of its subcategories?

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


Question: What are the direct properties and English description of the Short-chain dehydrogenase/reductase SDR protein family?

SELECT ?property ?value WHERE { { wd:Q24726117 ?property ?value . FILTER(STRSTARTS(STR(?property), "http://www.wikidata.org/prop/direct/")) } UNION { wd:Q24726117 rdfs:label ?value . BIND(rdfs:label AS ?property) FILTER(LANG(?value) = "en") } UNION { wd:Q24726117 schema:description ?value . BIND(schema:description AS ?property) FILTER(LANG(?value) = "en") } }

What is the classification, molecular function, and InterPro ID of the Short-chain dehydrogenase/reductase SDR protein family, and what is its English description?

Show me all direct facts and the English label and description for the protein family Short-chain dehydrogenase/reductase SDR.

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


Question: What pairs of topics are commonly associated with works related to the World Health Organization?

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 ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE {
  {
    ?work ( wdt:P921 / wdt:P31 * / wdt:P279 * ) wd:Q7817 .
  } UNION {
    ?work ( wdt:P921 / wdt:P361 + ) wd:Q7817 .
  } UNION {
    ?work ( wdt:P921 / wdt:P1269 + ) wd:Q7817 .
  }
  ?work wdt:P921 ?topic1 , ?topic2 .
  FILTER ( ?topic1 != wd:Q7817 && ?topic2 != wd:Q7817 && ?topic1 != ?topic2 ) OPTIONAL {
    ?topic1 rdfs:label ?topic1Label .
    FILTER ( LANG( ?topic1Label ) = "en" )
  }
  OPTIONAL {
    ?topic2 rdfs:label ?topic2Label .
    FILTER ( LANG( ?topic2Label ) = "en" )
  }
}

Which two distinct topics frequently appear together in publications or items connected to the World Health Organization?

Show me pairs of main subjects (excluding WHO itself) that co-occur in works linked to the World Health Organization through topics, parts, or aspects.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q7817> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q7817> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q7817> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q7817> != ?var1 ) && ( <http://www.wikidata.org/entity/Q7817> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Find gene pairs in Wikidata that share the same Entrez Gene ID.

SELECT DISTINCT ?gene1 ?gene1Label ?gene2 ?gene2Label ?entrezId WHERE { ?gene1 wdt:P351 ?entrezId . ?gene2 wdt:P351 ?entrezId . FILTER ( ?gene1 != ?gene2 && STR(?gene1) < STR(?gene2) ) . OPTIONAL { ?gene1 rdfs:label ?gene1Label . FILTER(LANG(?gene1Label) = "en") } OPTIONAL { ?gene2 rdfs:label ?gene2Label . FILTER(LANG(?gene2Label) = "en") } } LIMIT 500

Which genes in Wikidata have conflicting or duplicate Entrez Gene IDs?

List all pairs of distinct gene items in Wikidata that are assigned the same NCBI Entrez Gene identifier, along with their English labels.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 WHERE { ?var1 <http://www.wikidata.org/prop/direct/P351> ?var3 . ?var2 <http://www.wikidata.org/prop/direct/P351> ?var3 . FILTER ( ( ( ?var1 != ?var2 ) && ( STR ( ?var1 ) < STR ( ?var2 ) ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,en". } } LIMIT 500


Question: What entity and property are associated with statement s:Q18258464-AC20CE2E-E1A4-4265-AA7A-D69868AE3732?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?item ?statementProperty WHERE {
  ?item ?statementProperty s:Q18258464-AC20CE2E-E1A4-4265-AA7A-D69868AE3732 .
}

Which item and statement property does the statement s:Q18258464-AC20CE2E-E1A4-4265-AA7A-D69868AE3732 describe?

Show me the subject and property of the Wikidata statement with ID s:Q18258464-AC20CE2E-E1A4-4265-AA7A-D69868AE3732.

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q18258464-AC20CE2E-E1A4-4265-AA7A-D69868AE3732> . }


Question: What is the most specific category that both Sioux Falls and Wall Street belong to, based on their hierarchical classifications?

SELECT ?ancestor (?dist1 + ?dist2 AS ?totalDistance)
WHERE {
  {
    SELECT ?ancestor (COUNT(?mid) AS ?dist1)
    WHERE {
      wd:Q131335 wdt:P31 ?class1 .
      ?class1 wdt:P279+ ?mid .
      ?mid wdt:P279* ?ancestor .
    }
    GROUP BY ?ancestor
  }
  {
    SELECT ?ancestor (COUNT(?mid) AS ?dist2)
    WHERE {
      wd:Q11690 wdt:P31 ?class2 .
      ?class2 wdt:P279+ ?mid .
      ?mid wdt:P279* ?ancestor .
    }
    GROUP BY ?ancestor
  }
}
ORDER BY ASC(?totalDistance)
LIMIT 1

Which shared class in the Wikidata ontology is the closest common ancestor of the city Sioux Falls and the street Wall Street?

How far up the classification hierarchy do Sioux Falls and Wall Street share a common category, and what is that category?

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/Q131335> ; <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/Q11690> ; <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 episodes of Star Trek: The Next Generation Season 7, along with their series number, IMDb ID, and neighboring episodes?

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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
SELECT DISTINCT ?episode ?episodeLabel ?series ?seriesLabel ?ordinal ?imdb ?follows ?followedBy ?partOf ?partOfLabel WHERE {
  wd:Q3469077 wdt:P527 ?episode .
  ?episode wdt:P31 wd:Q21191270 .
  ?episode p:P179 ?statement .
  ?statement ps:P179 ?series .
  OPTIONAL {
    ?statement pq:P1545 ?ordinal .
  }
  OPTIONAL {
    ?episode wdt:P345 ?imdb .
  }
  OPTIONAL {
    ?episode wdt:P155 ?follows .
  }
  OPTIONAL {
    ?episode wdt:P156 ?followedBy .
  }
  OPTIONAL {
    ?episode wdt:P361 ?partOf .
  }
  OPTIONAL {
    ?episode rdfs:label ?episodeLabel .
    FILTER ( LANG( ?episodeLabel ) = "en" )
  }
  OPTIONAL {
    ?series rdfs:label ?seriesLabel .
    FILTER ( LANG( ?seriesLabel ) = "en" )
  }
  OPTIONAL {
    ?partOf rdfs:label ?partOfLabel .
    FILTER ( LANG( ?partOfLabel ) = "en" )
  }
}
ORDER BY ASC ( ?series ) ASC ( xsd:integer ( ?ordinal ) )

Can you list the episodes from Season 7 of Star Trek: The Next Generation, showing their position in the overall series, any preceding or following episodes, and their part of larger story arcs?

Show me the final episode of Star Trek: TNG Season 7, including its series ordinal, the series it belongs to, and any related episodes it follows or is followed by.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var5 ?var6 ?var7 ?var8 ?var9 ?var10 ?var11 WHERE { ?var3 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q21191270> . ?var3 <http://www.wikidata.org/prop/direct/P179> <http://www.wikidata.org/entity/Q3469077> . OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P361> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P1191> ?var7 . } ?var3 <http://www.wikidata.org/prop/direct/P179> ?var1 . ?var3 <http://www.wikidata.org/prop/P179> ?var12 . OPTIONAL { ?var12 <http://www.wikidata.org/prop/qualifier/P1545> ?var4 . } ?var3 <http://www.wikidata.org/prop/P361> ?var13 . OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P1545> ?var5 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P345> ?var6 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P155> ?var8 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P156> ?var9 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P155> ?var10 . } OPTIONAL { ?var13 <http://www.wikidata.org/prop/qualifier/P156> ?var11 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "it,gh". } } ORDER BY ASC( ?var1 )ASC( <http://www.w3.org/2001/XMLSchema#integer> ( ?var4 ) )


Question: Who are the female pirates in Wikidata?

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

List women who worked as pirates, along with their names.

Which historical or fictional characters are both pirates and female?

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


Question: Which scholarly articles cite "Isolation and functional characterization of ... halotolerant photosynthetic organism Aphanothece halophytica"?

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?citingArticle ?citingArticleTitle WHERE {
  ?citingArticle wdt:P2860 wd:Q28216661 .
  ?citingArticle wdt:P31 wd:Q13442814 .
  ?citingArticle wdt:P1476 ?citingArticleTitle .
}

What are the titles of academic papers that reference the study on Aphanothece halophytica published in 2003?

List the titles of research articles that cite the 2003 paper on the halotolerant cyanobacterium Aphanothece halophytica.

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


Question: What is the English label and description of the item with Iconclass code 41C64132?

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

Which item has the Iconclass notation 41C64132, and what is its English name and description?

Show me the English name and description of the item classified under Iconclass code 41C64132.

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


Question: What pairs of medical topics commonly appear together as main subjects in publications about autonomic dysreflexia or its components?

SELECT DISTINCT ?topic1 ?topic1Label ?topic2 ?topic2Label WHERE { { ?work (wdt:P921 / wdt:P31* / wdt:P279*) wd:Q4826775 . } UNION { ?work (wdt:P921 / wdt:P361+) wd:Q4826775 . } UNION { ?work (wdt:P921 / wdt:P1269+) wd:Q4826775 . } ?work wdt:P921 ?topic1 , ?topic2 . FILTER ( ?topic1 != wd:Q4826775 && ?topic2 != wd:Q4826775 && ?topic1 != ?topic2 ) ?topic1 rdfs:label ?topic1Label . ?topic2 rdfs:label ?topic2Label . FILTER (lang(?topic1Label) = "en" && lang(?topic2Label) = "en") }

Which two topics, other than autonomic dysreflexia itself, are frequently mentioned together in scholarly works that discuss autonomic dysreflexia, its parts, or its facets?

Show me all pairs of distinct medical topics that are main subjects of the same works that are about autonomic dysreflexia, its subtypes, parts, or related aspects, along with their English labels.

SELECT DISTINCT ?var1 ?var1Label ?var2 ?var2Label WHERE { { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P31> */ <http://www.wikidata.org/prop/direct/P279> *) <http://www.wikidata.org/entity/Q4826775> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P361> +) <http://www.wikidata.org/entity/Q4826775> . } UNION { ?var3 ( <http://www.wikidata.org/prop/direct/P921> / <http://www.wikidata.org/prop/direct/P1269> +) <http://www.wikidata.org/entity/Q4826775> . } ?var3 <http://www.wikidata.org/prop/direct/P921> ?var1 , ?var2 . FILTER ( ( ( <http://www.wikidata.org/entity/Q4826775> != ?var1 ) && ( <http://www.wikidata.org/entity/Q4826775> != ?var2 ) && ( ?var1 != ?var2 ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en,fr,de,ru,es,zh,jp". } }


Question: Is the film rating "Not recommended for children under 7" restricted to viewers aged 7 and older?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
ASK WHERE {
  wd:Q27253940 wdt:P2899 ?age .
  FILTER ( ?age = 7 )
}

Does the ICAA rating "Not recommended for children under 7" have a minimum age requirement of 7?

Is the minimum age for the film rating "Not recommended for children under 7" exactly 7 years?

ASK WHERE { <http://www.wikidata.org/entity/Q27253940> ( <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: Label, description, Reactome ID, taxon, and type of the biological process 25(OH)D translocates from lysosomal lumen to cytosol.

SELECT ?label ?description ?reactomeId ?taxon ?instanceOf WHERE { wd:Q50294326 rdfs:label ?label . FILTER(LANG(?label) = "en") wd:Q50294326 schema:description ?description . FILTER(LANG(?description) = "en") wd:Q50294326 wdt:P3937 ?reactomeId . wd:Q50294326 wdt:P703 ?taxon . wd:Q50294326 wdt:P31 ?instanceOf .}

What is the English label, description, Reactome ID, taxon, and class of the biological reaction with Reactome ID R-HSA-209766?

Show me the English name, description, Reactome identifier, human taxon, and category of the biological process where 25(OH)D moves from the lysosomal lumen to the cytosol.

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


Question: What is the English name and description of the concept with Iconclass code 12A781?

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

Show me the entity in Wikidata that has the Iconclass notation 12A781, along with its English label and description.

Which concept is represented by the Iconclass code 12A781, and what is its English description?

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


Question: What biological entity has the Reactome ID R-HSA-168882?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX s: <http://www.wikidata.org/entity/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?entity ?entityLabel WHERE {
  ?entity p:P3937 s:Q50289513-ABE25F0B-35F4-40FE-AA38-DA52ECD682A9 .
  ?entity rdfs:label ?entityLabel .
  FILTER(LANG(?entityLabel) = "en")
}

Which Wikidata item corresponds to the statement with ID Q50289513-ABE25F0B-35F4-40FE-AA38-DA52ECD682A9?

Can you tell me the name of the pathway associated with Reactome ID R-HSA-168882?

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q50289513-ABE25F0B-35F4-40FE-AA38-DA52ECD682A9> ?var1 ?var2 . }


Question: What is the image associated with the SNAC ARK ID "w6126dqg"?

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

Can you show me the Wikimedia Commons image for the person or entity with SNAC ARK ID w6126dqg?

Who is the individual identified by the SNAC ARK ID w6126dqg, and what does their photo look like?

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


Question: How many television or radio programs did Douglas Engelbart present?

SELECT (COUNT(?show) AS ?count) WHERE { ?show wdt:P371 wd:Q92614 . }

How many shows feature Douglas Engelbart as the presenter?

Was Douglas Engelbart a presenter on any shows, and if so, how many?

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


Question: TV episodes incorrectly linked to seasons via P4908, with their series and season labels.

SELECT ?episode ?episodeLabel ?seriesDirect ?seriesDirectLabel ?season ?seasonLabel ?seriesSeason ?seriesSeasonLabel WHERE { ?episode wdt:P4908 ?season . ?episode wdt:P179 ?seriesDirect . ?season wdt:P179 ?seriesSeason . ?episode rdfs:label ?episodeLabel . ?seriesDirect rdfs:label ?seriesDirectLabel . ?season rdfs:label ?seasonLabel . ?seriesSeason rdfs:label ?seriesSeasonLabel . FILTER(LANG(?episodeLabel) = "en") FILTER(LANG(?seriesDirectLabel) = "en") FILTER(LANG(?seasonLabel) = "en") FILTER(LANG(?seriesSeasonLabel) = "en") } ORDER BY ASC(?seriesDirectLabel) ASC(?seasonLabel) ASC(?episode) LIMIT 1000

Which TV episodes are mistakenly connected to seasons using the 'season' property (P4908), and what are the corresponding series and season names?

Show me episodes that use the 'season' property (P4908) to link to a season, while also being directly linked to a series — and include the correct series name that the season belongs to.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var3Label ?var4 ?var4Label WHERE { ?var1 <http://www.wikidata.org/prop/direct/P4908> ?var3 . ?var1 <http://www.wikidata.org/prop/direct/P179> ?var2 . MINUS { ?var3 <http://www.wikidata.org/prop/direct/P179> ?var2 . } OPTIONAL { ?var3 <http://www.wikidata.org/prop/direct/P179> ?var4 . } SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } ORDER BY ASC( ?var2Label )ASC( ?var3Label )ASC( ?var1 ) LIMIT 1000


Question: What entity and property does the statement s:Q24786133-081076B9-2231-4092-8A43-CF64CADC96C6 refer to?

PREFIX s: <http://www.wikidata.org/entity/statement/>
SELECT ?entity ?property WHERE {
  ?entity ?property s:Q24786133-081076B9-2231-4092-8A43-CF64CADC96C6 .
}

Which item in Wikidata has a statement about "instance of" with this specific statement ID?

Can you tell me the subject and property linked to the statement node s:Q24786133-081076B9-2231-4092-8A43-CF64CADC96C6?

SELECT ?var1 ?var2 WHERE { ?var1 ?var2 <http://www.wikidata.org/entity/statement/Q24786133-081076B9-2231-4092-8A43-CF64CADC96C6> . }


Question: Books that are instances of the class "book" in Wikidata.

SELECT ?book ?bookLabel WHERE { ?book wdt:P31 wd:Q571 . ?book rdfs:label ?bookLabel . FILTER(LANG(?bookLabel) = "en") } LIMIT 10

What are some examples of books listed in Wikidata?

List 10 English-labeled books from Wikidata, showing their titles and identifiers.

SELECT * WHERE { ?var1 <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q571> . } LIMIT 10


Question: Who are the authors of the article 'A Simple Approach to Learn Polysemous Word Embeddings'?

SELECT ?authorName WHERE { wd:Q32786146 wdt:P2093 ?authorName . }

Which authors of this paper have ORCID identifiers?

List the authors of this article and their ORCID IDs if available.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q32786146> <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 are all the properties and values associated with the AKR1C1 gene in Wikidata?

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

Can you show me everything known about the AKR1C1 gene, including its descriptions in different languages and its Ensembl transcript IDs?

List all data linked to the human gene AKR1C1, such as its type, location, and transcript identifiers.

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


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

SELECT ?item ?label ?wikipedia_page WHERE { ?item wdt:P345 "tt3916378" . ?item rdfs:label ?label . FILTER(LANG(?label) = "en" || LANG(?label) = "de") . ?wikipedia_page schema:about ?item ; schema:inLanguage ?lang . FILTER(?lang = "en" || ?lang = "de") }

Which Wikipedia articles in English or German are about the film identified by the IMDb ID tt3916378, and what is its title?

Show me the title and the English or German Wikipedia link for the movie with IMDb ID tt3916378.

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


Question: What is the source and rank of the claim that ATIC is a gene?

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?rank ?source WHERE {
  wd:Q14914201 p:P31 ?statement .
  ?statement ps:P31 wd:Q7187 ; wikibase:rank ?rank ; prov:wasDerivedFrom ?source .
}

Where does the information that ATIC is a gene come from, and what is its confidence level?

Show the provenance and ranking of the statement that the human gene ATIC is classified as a gene.

SELECT ?var1 ?var2 WHERE { <http://www.wikidata.org/entity/statement/Q14914201-B1B544CA-D150-4228-8A34-04F3DB1B584A> ?var1 ?var2 . }


Question: What gene and species are associated with the BRCA1 protein (UniProt ID P38398)?

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?protein ?proteinLabel ?uniprotId ?gene ?geneLabel ?taxon ?taxonLabel WHERE {
  ?protein wdt:P352 "P38398" ; wdt:P702 ?gene ; wdt:P703 ?taxon .
  ?gene rdfs:label ?geneLabel .
  ?taxon rdfs:label ?taxonLabel .
  ?protein rdfs:label ?proteinLabel .
  FILTER(LANG(?geneLabel) = "en")
  FILTER(LANG(?taxonLabel) = "en")
  FILTER(LANG(?proteinLabel) = "en")
}

Show me the gene that encodes the BRCA1 protein and the species it is found in.

Retrieve the label of the BRCA1 protein, its encoding gene, and its taxon, given its UniProt ID is P38398.

SELECT ?var1 ?var1Label ?var2 ?var2Label ?var3 ?var4Label ?var3Label ?var5 ?var5Label ?var6 ( GROUP_CONCAT ( DISTINCT ?var7 ; SEPARATOR = ", " ) AS ?var8 )( GROUP_CONCAT ( DISTINCT ?var9Label ; SEPARATOR = ", " ) AS ?var8Label ) WHERE { ?var2 <http://www.wikidata.org/prop/direct/P352> "A0A0H3MB23"; <http://www.wikidata.org/prop/direct/P129> ?var3 ; <http://www.wikidata.org/prop/P129> ?var10 . ?var10 ( <http://www.w3.org/ns/prov#wasDerivedFrom> / <http://www.wikidata.org/prop/reference/P248> ) ?var5 ; <http://www.wikidata.org/prop/qualifier/P459> ?var7 . ?var7 <http://www.w3.org/2000/01/rdf-schema#label> ?var9Label . ?var5 <http://www.wikidata.org/prop/direct/P698> ?var6 . ?var3 <http://www.wikidata.org/prop/direct/P703> ?var1 ; <http://www.wikidata.org/prop/direct/P702> ?var4 . FILTER ( ( ( LANG ( ?var9Label ) = "en" ) ) ) . SERVICE <http://wikiba.se/ontology#label> { <http://www.bigdata.com/rdf#serviceParam> <http://wikiba.se/ontology#language> "en". } } GROUP BY ?var2 ?var4Label ?var2Label ?var5 ?var5Label ?var6 ?var3 ?var3Label ?var1 ?var1Label


Question: Speculative fiction literature published before 1921 with author birthplaces

SELECT ?workLabel ?authorLabel ?publicationDate ?birthplaceLabel WHERE { ?work wdt:P136 wd:Q5240628 . ?work wdt:P577 ?publicationDate . FILTER ( ?publicationDate <= "1921-01-01"^^xsd:date ) . ?work wdt:P50 ?author . ?author wdt:P19 ?birthplace . ?work rdfs:label ?workLabel . ?author rdfs:label ?authorLabel . ?birthplace rdfs:label ?birthplaceLabel . FILTER (LANG(?workLabel) = "en") FILTER (LANG(?authorLabel) = "en") FILTER (LANG(?birthplaceLabel) = "en") } LIMIT 100

Which speculative fiction works published before 1921 have authors whose birthplaces are known in Wikidata?

List the titles of speculative fiction literature published on or before 1921, along with their authors and the authors’ places of birth.

SELECT ?var1Label ?var2Label ?var3 ?var4Label ?var5 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/Q10992055> . ?var1 <http://www.wikidata.org/prop/direct/P577> ?var3 . FILTER ( ( ( ?var3 <= "1921-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ) ) ) . ?var1 <http://www.wikidata.org/prop/direct/P50> ?var2 . ?var2 <http://www.wikidata.org/prop/direct/P19> ?var4 . } LIMIT 100


Question: Properties linking to the article "Regional brain stem atrophy in idiopathic Parkinson's disease detected by anatomical MRI"

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

What properties connect other items to the academic article on regional brain stem atrophy in Parkinson’s disease?

List all properties that have the article "Regional brain stem atrophy in idiopathic Parkinson's disease detected by anatomical MRI" as their object.

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


Question: Biological entities with Reactome IDs and their labels

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?entity ?entityLabel ?reactomeId WHERE {
  ?entity wdt:P3937 ?reactomeId .
  ?entity rdfs:label ?entityLabel .
}

What are the biological entities in Wikidata that have Reactome identifiers, and what are their names?

List all biological complexes and molecules in Wikidata that are linked to Reactome pathway IDs, along with their English labels.

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


Question: Author of "Architectural and Social Change During the Roman Period" and their ORCID or name-based URL

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

Who wrote the article "Architectural and Social Change During the Roman Period", and what is their ORCID identifier or a link based on their name if they don't have one?

Show me the author of the article "Architectural and Social Change During the Roman Period" along with their ORCID if available, or a fallback URL constructed from their name otherwise.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q46997483> <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: Author of "The Castle of Lewes" and their ORCID or Wikidata link

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

Who is the author of the academic article "The Castle of Lewes", and if they don't have an ORCID, what is their Wikidata page URL?

Provide the name of the author of "The Castle of Lewes" along with their ORCID identifier if available; otherwise, generate a link to their Wikidata page.

SELECT ?var1 ?var1Label ( COALESCE ( ?var2 , CONCAT ( "string1", ENCODE_FOR_URI ( ?var1Label ) ) ) AS ?var3 ) WHERE { <http://www.wikidata.org/entity/Q47090354> <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 is the direct property in Wikidata used to indicate the author of a written work?

SELECT ?directClaim WHERE { ?property wikibase:directClaim ?directClaim . ?property rdfs:label "author"@en . }

Which property links works to their authors in Wikidata?

How is the author of a book or article represented in Wikidata’s data model?

Describe ?var1 WHERE { VALUES ( ?var2 ) { ( <http://www.wikidata.org/prop/direct/P50> ) } ?var1 <http://wikiba.se/ontology#directClaim> ?var2 . ?var2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> . } LIMIT 100