Simple Question (Direct)
Simple Question
Q21111754
P703
Q16521
USER
Which taxon is Colorectal mutant cancer protein found in ?
(Q21111754,P703,c(Q16521))
action filter_type
action find
entity Q21111754
relation P703
type Q16521
['Q21111754', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q21111754 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Colorectal mutant cancer protein
action filter_type
action find
entity Colorectal mutant cancer protein
relation found in taxon
type taxon
['Colorectal mutant cancer protein', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:Colorectal_mutant_cancer_protein property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21111754,P703,c(Q16521))
action filter_type
action find
entity Q21111754
relation P703
type Q16521
Colorectal mutant cancer protein is found in [ANSWER]
['Q21111754', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q21111754 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Homo sapiens
Colorectal mutant cancer protein is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Colorectal mutant cancer protein
relation found in taxon
type taxon
['Colorectal mutant cancer protein', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:Colorectal_mutant_cancer_protein property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21111754
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21111754
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . ?h property:P688 resource:Q21111754 }
Colorectal mutant cancer protein
action filter_type
action find_reverse
entity Colorectal mutant cancer protein
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . ?h property:encodes resource:Colorectal_mutant_cancer_protein }
[]
nucleic acid sequence
Q18028926
SYSTEM
MCC
Q18028926
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21111754
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . ?h property:P688 resource:Q21111754 }
MCC
MCC encodes that nutrient
MCC
action filter_type
action find_reverse
entity Colorectal mutant cancer protein
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . ?h property:encodes resource:Colorectal_mutant_cancer_protein }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3238275
P921
Q838948
USER
Which work of art was primarily based on Homo sapiens sapiens ?
(c(Q838948),P921,Q3238275)
action filter_type
action find_reverse
entity Q3238275
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q3238275']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P921 resource:Q3238275 }
Homo sapiens sapiens
action filter_type
action find_reverse
entity Homo sapiens sapiens
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Homo sapiens sapiens']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:main_subject resource:Homo_sapiens_sapiens }
[]
work of art
Q504697
SYSTEM
WarGames
Q504697
(c(Q838948),P921,Q3238275)
action filter_type
action find_reverse
entity Q3238275
relation P921
type Q838948
[ANSWER] was primarily based on Homo sapiens
[{'concept': 'Q838948'}, 'P921', 'Q3238275']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P921 resource:Q3238275 }
WarGames
WarGames was primarily based on Homo sapiens
WarGames
action filter_type
action find_reverse
entity Homo sapiens sapiens
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Homo sapiens sapiens']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:main_subject resource:Homo_sapiens_sapiens }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q504697
P161
Q502895
USER
Which people starred in that work of art ?
(Q504697,P161,c(Q502895))
action filter_type
action find
entity Q504697
relation P161
type Q502895
['Q504697', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q504697 property:P161 ?q . ?q rdf:type ontology:Q502895 }
WarGames
action filter_type
action find
entity WarGames
relation cast member
type common name
['WarGames', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:WarGames property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
common name
Q28755 Q446717 Q599439
SYSTEM
Matthew Broderick, Dabney Coleman, John Wood
Q446717 Q747824 Q28755 Q599439 Q951634 Q2344900 Q607678 Q6301509 Q1189312 Q1254992 Q352748 Q220584 Q547310 Q783369 Q253513
(Q504697,P161,c(Q502895))
action filter_type
action find
entity Q504697
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q504697', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q504697 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Dabney Coleman Eddie Deezen Matthew Broderick John Wood Maury Chaykin Stephen Lee Barry Corbin Juanin Clay Dennis Lipscomb Michael Ensign John Spencer Michael Madsen Art LaFleur James Tolkan Ally Sheedy
Matthew Broderick, Dabney Coleman and John Wood starred in that work of art
Matthew Broderick Dabney Coleman John Wood
action filter_type
action find
entity WarGames
relation cast member
type common name
['WarGames', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:WarGames property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q28755
P725
Q11424
USER
Which film had its voice dubbing done by that person ?
(c(Q11424),P725,Q28755)
action filter_type
action find_reverse
entity Q28755
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', 'Q28755']
SELECT DISTINCT ?e WHERE { ?e property:P725 resource:Q28755 . ?e rdf:type ontology:Q11424 }
Matthew Broderick
action filter_type
action find_reverse
entity Matthew Broderick
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'Matthew Broderick']
SELECT DISTINCT ?e WHERE { ?e property:voice_actor resource:Matthew_Broderick . ?e rdf:type ontology:film }
[]
film
Clarification for simple ques.
Q446717
SYSTEM
Did you mean Dabney Coleman ?
Q28755 Q446717 Q599439
(c(Q11424),P725,Q28755) (c(Q11424),P725,Q446717) (c(Q11424),P725,Q599439)
[ANSWER]
[{'concept': 'Q11424'}, 'P725', 'Q28755'] [{'concept': 'Q11424'}, 'P725', 'Q446717'] [{'concept': 'Q11424'}, 'P725', 'Q599439']
SELECT DISTINCT ?e WHERE { ?e property:P725 resource:Q28755 . ?e rdf:type ontology:Q11424 }
Matthew Broderick Dabney Coleman John Wood
Did you mean Dabney Coleman ?
Dabney Coleman
[{'concept': 'film'}, 'voice actor', 'Matthew Broderick'] [{'concept': 'film'}, 'voice actor', 'Dabney Coleman'] [{'concept': 'film'}, 'voice actor', 'John Wood']
SELECT DISTINCT ?e WHERE { ?e property:voice_actor resource:Matthew_Broderick . ?e rdf:type ontology:film }
[]
Simple Question (Coreferenced)
USER
No, I meant Matthew Broderick. Could you tell me the answer for that?
(c(Q11424),P725,Q28755)
Q28755
[{'concept': 'Q11424'}, 'P725', 'Q28755']
[{'concept': 'film'}, 'voice actor', 'Matthew Broderick']
[]
Q36479
SYSTEM
The Lion King
Q36479
(c(Q11424),P725,Q28755)
action filter_type
action find_reverse
entity Q28755
relation P725
type Q11424
[ANSWER] had its voice dubbing done by that person
[{'concept': 'Q11424'}, 'P725', 'Q28755']
SELECT DISTINCT ?e WHERE { ?e property:P725 resource:Q28755 . ?e rdf:type ontology:Q11424 }
The Lion King
The Lion King had its voice dubbing done by that person
The Lion King
action filter_type
action find_reverse
entity Matthew Broderick
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'Matthew Broderick']
SELECT DISTINCT ?e WHERE { ?e property:voice_actor resource:Matthew_Broderick . ?e rdf:type ontology:film }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1979254 Q446717
P27 P17
Q15617994
USER
Which administrative territories do Dabney Coleman belong to or are Itampolo present in ?
OR((Q446717,P27,c(Q15617994)), (Q1979254,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q446717
relation P27
action find
entity Q1979254
relation P17
type Q15617994
{'OR': [['Q446717', 'P27', {'concept': 'Q15617994'}], ['Q1979254', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1979254 property:P17 ?u } UNION { resource:Q446717 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Itampolo Dabney Coleman
action filter_type
action union
action find
entity Dabney Coleman
relation country of citizenship
action find
entity Itampolo
relation country
type designation for an administrative territorial entity
{'OR': [['Dabney Coleman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Itampolo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Itampolo property:country ?u } UNION { resource:Dabney_Coleman property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1019
SYSTEM
United States of America, Madagascar
Q30 Q1019
OR((Q446717,P27,c(Q15617994)), (Q1979254,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q446717
relation P27
action find
entity Q1979254
relation P17
type Q15617994
Or are Itampolo present in [ANSWERS] Dabney Coleman belong
{'OR': [['Q446717', 'P27', {'concept': 'Q15617994'}], ['Q1979254', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1979254 property:P17 ?u } UNION { resource:Q446717 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
United States of America Madagascar
Or are Itampolo present in United States of America and Madagascar Dabney Coleman belong
United States of America Madagascar
action filter_type
action union
action find
entity Dabney Coleman
relation country of citizenship
action find
entity Itampolo
relation country
type designation for an administrative territorial entity
{'OR': [['Dabney Coleman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Itampolo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Itampolo property:country ?u } UNION { resource:Dabney_Coleman property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P276
Q838948 Q1914636
USER
How many works of art and activities are situated at United States of America ?
(c(Q838948),P276,Q30) (c(Q1914636),P276,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P276
type Q838948
action filter_type
action find_reverse
entity Q30
relation P276
type Q1914636
[{'concept': 'Q838948'}, 'P276', 'Q30'] [{'concept': 'Q1914636'}, 'P276', 'Q30']
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q1914636 ) } . ?d rdf:type ?y }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location
type work of art
action filter_type
action find_reverse
entity United States of America
relation location
type activity
[{'concept': 'work of art'}, 'location', 'United States of America'] [{'concept': 'activity'}, 'location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:activity ) } . ?d rdf:type ?y }
[]
work of art activity
SYSTEM
1 works of art and 1 activities
Q1236347 Q23058648
(c(Q838948),P276,Q30) (c(Q1914636),P276,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P276
type Q838948
action filter_type
action find_reverse
entity Q30
relation P276
type Q1914636
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q30'] [{'concept': 'Q1914636'}, 'P276', 'Q30']
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q1914636 ) } . ?d rdf:type ?y }
Dolores Claiborne protests against Donald Trump
1 works of art and 1 activities
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location
type work of art
action filter_type
action find_reverse
entity United States of America
relation location
type activity
[{'concept': 'work of art'}, 'location', 'United States of America'] [{'concept': 'activity'}, 'location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:activity ) } . ?d rdf:type ?y }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atmost 24 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 24
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:P530 ?l . ?q rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?n <= 24 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:diplomatic_relation ?l . ?q rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?n <= 24 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 24
[ANSWERS] hold diplomatic relationship with atmost 24 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:P530 ?l . ?q rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?n <= 24 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with atmost 24 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:diplomatic_relation ?l . ?q rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?n <= 24 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4374113
P530
Q15617994
USER
Do Pospelikha have diplomatic relations with those political territories ?
(Q4374113,P530,Q35) (Q4374113,P530,Q40) (Q4374113,P530,Q664)
action is_in
entity prev_answer
action find
entity Q4374113
relation P530
['Q4374113', 'P530', 'Q35'] ['Q4374113', 'P530', 'Q40'] ['Q4374113', 'P530', 'Q664']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q4374113 property:P530 ?x }
Pospelikha
action is_in
entity prev_answer
action find
entity Pospelikha
relation diplomatic relation
['Pospelikha', 'diplomatic relation', 'Denmark'] ['Pospelikha', 'diplomatic relation', 'Austria'] ['Pospelikha', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?x ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Pospelikha property:diplomatic_relation ?x }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4374113,P530,Q35) (Q4374113,P530,Q40) (Q4374113,P530,Q664)
action is_in
entity prev_answer
action find
entity Q4374113
relation P530
[ANSWER]
['Q4374113', 'P530', 'Q35'] ['Q4374113', 'P530', 'Q40'] ['Q4374113', 'P530', 'Q664']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q4374113 property:P530 ?x }
No
action is_in
entity prev_answer
action find
entity Pospelikha
relation diplomatic relation
['Pospelikha', 'diplomatic relation', 'Denmark'] ['Pospelikha', 'diplomatic relation', 'Austria'] ['Pospelikha', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?x ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Pospelikha property:diplomatic_relation ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q710 Q804
P47
Q15617994
USER
Does United States of America have an adjacent border with Kiribati and Panama ?
(Q30,P47,Q710) (Q30,P47,Q804)
action is_in
entity Q30
action intersection
action find_reverse
entity Q710
relation P47
action find_reverse
entity Q804
relation P47
['Q30', 'P47', 'Q710'] ['Q30', 'P47', 'Q804']
ASK WHERE { resource:Q30 property:P47 resource:Q710 . resource:Q30 property:P47 resource:Q804 }
United States of America Kiribati Panama
action is_in
entity United States of America
action intersection
action find_reverse
entity Kiribati
relation shares border with
action find_reverse
entity Panama
relation shares border with
['United States of America', 'shares border with', 'Kiribati'] ['United States of America', 'shares border with', 'Panama']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Kiribati . resource:United_States_of_America property:shares_border_with resource:Panama }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P47,Q710) (Q30,P47,Q804)
action is_in
entity Q30
action intersection
action find_reverse
entity Q710
relation P47
action find_reverse
entity Q804
relation P47
[ANSWER]
['Q30', 'P47', 'Q710'] ['Q30', 'P47', 'Q804']
ASK WHERE { resource:Q30 property:P47 resource:Q710 . resource:Q30 property:P47 resource:Q804 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Kiribati
relation shares border with
action find_reverse
entity Panama
relation shares border with
['United States of America', 'shares border with', 'Kiribati'] ['United States of America', 'shares border with', 'Panama']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Kiribati . resource:United_States_of_America property:shares_border_with resource:Panama }
[]