Simple Question (Direct)
Simple Question
Q16820515
P69
Q3918
USER
Where was Roger Batzel educated ?
(Q16820515,P69,c(Q3918))
action filter_type
action find
entity Q16820515
relation P69
type Q3918
['Q16820515', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q16820515 property:P69 ?i . ?i rdf:type ontology:Q3918 }
Roger Batzel
action filter_type
action find
entity Roger Batzel
relation educated at
type university
['Roger Batzel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Batzel property:educated_at ?i . ?i rdf:type ontology:university }
[]
university
Q1854488
SYSTEM
University of Idaho
Q1854488
(Q16820515,P69,c(Q3918))
action filter_type
action find
entity Q16820515
relation P69
type Q3918
Roger Batzel was educated by [ANSWER]
['Q16820515', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q16820515 property:P69 ?i . ?i rdf:type ontology:Q3918 }
University of Idaho
Roger Batzel was educated by University of Idaho
University of Idaho
action filter_type
action find
entity Roger Batzel
relation educated at
type university
['Roger Batzel', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Batzel property:educated_at ?i . ?i rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16820515
P184
Q502895
USER
Which person was the doctoral superviser of Roger Batzel ?
(Q16820515,P184,c(Q502895))
action filter_type
action find
entity Q16820515
relation P184
type Q502895
['Q16820515', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16820515 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Roger Batzel
action filter_type
action find
entity Roger Batzel
relation doctoral advisor
type common name
['Roger Batzel', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Batzel property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q48973
SYSTEM
Glenn Seaborg
Q48973
(Q16820515,P184,c(Q502895))
action filter_type
action find
entity Q16820515
relation P184
type Q502895
[ANSWER] was the doctoral superviser of Roger Batzel
['Q16820515', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16820515 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Glenn Seaborg
Glenn Seaborg was the doctoral superviser of Roger Batzel
Glenn Seaborg
action filter_type
action find
entity Roger Batzel
relation doctoral advisor
type common name
['Roger Batzel', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Batzel property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q48973 Q30
P551
Q15617994
USER
Did that person reside United States of America ?
(Q48973,P551,Q30)
action is_in
entity Q30
action find
entity Q48973
relation P551
['Q48973', 'P551', 'Q30']
ASK WHERE { resource:Q48973 property:P551 resource:Q30 }
Glenn Seaborg United States of America
action is_in
entity United States of America
action find
entity Glenn Seaborg
relation residence
['Glenn Seaborg', 'residence', 'United States of America']
ASK WHERE { resource:Glenn_Seaborg property:residence resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q48973,P551,Q30)
action is_in
entity Q30
action find
entity Q48973
relation P551
[ANSWER]
['Q48973', 'P551', 'Q30']
ASK WHERE { resource:Q48973 property:P551 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Glenn Seaborg
relation residence
['Glenn Seaborg', 'residence', 'United States of America']
ASK WHERE { resource:Glenn_Seaborg property:residence resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 3599 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3599
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?w = 3599 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3599
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?w = 3599 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3599
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?w = 3599 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3599
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?w = 3599 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 3585 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3585
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?u >= 3585 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3585
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?u >= 3585 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3585
[ANSWERS] can atleast 3585 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?u >= 3585 ) }
piano violin
Piano and violin can atleast 3585 people perform with
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3585
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?u >= 3585 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6830288
P1303
Q502895
USER
Does Michael Fields know to play those musical instruments ?
(Q6830288,P1303,Q5994) (Q6830288,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q6830288
relation P1303
['Q6830288', 'P1303', 'Q5994'] ['Q6830288', 'P1303', 'Q8355']
ASK WHERE { resource:Q6830288 property:P1303 ?k . VALUES ( ?k ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Michael Fields
action is_in
entity prev_answer
action find
entity Michael Fields
relation instrument
['Michael Fields', 'instrument', 'piano'] ['Michael Fields', 'instrument', 'violin']
ASK WHERE { resource:Michael_Fields property:instrument ?k . VALUES ( ?k ) { ( resource:piano ) ( resource:violin ) } }
[]
common name
SYSTEM
NO
(Q6830288,P1303,Q5994) (Q6830288,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q6830288
relation P1303
[ANSWER]
['Q6830288', 'P1303', 'Q5994'] ['Q6830288', 'P1303', 'Q8355']
ASK WHERE { resource:Q6830288 property:P1303 ?k . VALUES ( ?k ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
No
action is_in
entity prev_answer
action find
entity Michael Fields
relation instrument
['Michael Fields', 'instrument', 'piano'] ['Michael Fields', 'instrument', 'violin']
ASK WHERE { resource:Michael_Fields property:instrument ?k . VALUES ( ?k ) { ( resource:piano ) ( resource:violin ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q34379 Q386724
USER
Which works depict max number of musical instruments ?
(c(Q386724),P180,c(Q34379))
action argmax
action find_tuple_counts
relation P180
type Q386724
type Q34379
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { ?q property:P180 ?z . ?z rdf:type ontology:Q34379 . ?q rdf:type ontology:Q386724 } GROUP BY ?q } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l property:P180 ?r . ?l rdf:type ontology:Q386724 . ?r rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?m = ?y ) }
action argmax
action find_tuple_counts
relation depicts
type work
type musical instrument
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { ?q property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?q rdf:type ontology:work } GROUP BY ?q } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l property:depicts ?r . ?l rdf:type ontology:work . ?r rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?m = ?y ) }
[]
musical instrument work
Q2901063
SYSTEM
Borghese Vase
Q2901063
(c(Q386724),P180,c(Q34379))
action argmax
action find_tuple_counts
relation P180
type Q386724
type Q34379
[ANSWER] depict max number of musical instruments
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { ?q property:P180 ?z . ?z rdf:type ontology:Q34379 . ?q rdf:type ontology:Q386724 } GROUP BY ?q } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l property:P180 ?r . ?l rdf:type ontology:Q386724 . ?r rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?m = ?y ) }
Borghese Vase
Borghese Vase depict max number of musical instruments
Borghese Vase
action argmax
action find_tuple_counts
relation depicts
type work
type musical instrument
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?x ) WHERE { ?q property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?q rdf:type ontology:work } GROUP BY ?q } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l property:depicts ?r . ?l rdf:type ontology:work . ?r rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?m = ?y ) }
[]