Simple Question (Direct)
Simple Question
Q6861069
P166
Q1788716
USER
What was awarded to Milton E. Miles ?
(Q6861069,P166,c(Q1788716))
action filter_type
action find
entity Q6861069
relation P166
type Q1788716
['Q6861069', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1788716 . resource:Q6861069 property:P166 ?i }
Milton E. Miles
action filter_type
action find
entity Milton E. Miles
relation award received
type military decoration
['Milton E. Miles', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:military_decoration . resource:Milton_E._Miles property:award_received ?i }
[]
military decoration
Q17231624
SYSTEM
legionnaire of Legion of Merit
Q17231624
(Q6861069,P166,c(Q1788716))
action filter_type
action find
entity Q6861069
relation P166
type Q1788716
The [ANSWER] was awarded to Milton E. Miles
['Q6861069', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1788716 . resource:Q6861069 property:P166 ?i }
legionnaire of Legion of Merit
The legionnaire of Legion of Merit was awarded to Milton E. Miles
legionnaire of Legion of Merit
action filter_type
action find
entity Milton E. Miles
relation award received
type military decoration
['Milton E. Miles', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:military_decoration . resource:Milton_E._Miles property:award_received ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6861069
P21
Q290
USER
Which sex does Milton E. Miles belong to ?
(Q6861069,P21,c(Q290))
action filter_type
action find
entity Q6861069
relation P21
type Q290
['Q6861069', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q6861069 property:P21 ?c . ?c rdf:type ontology:Q290 }
Milton E. Miles
action filter_type
action find
entity Milton E. Miles
relation gender
type sex
['Milton E. Miles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Milton_E._Miles property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6861069,P21,c(Q290))
action filter_type
action find
entity Q6861069
relation P21
type Q290
Milton E. Miles belongs to [ANSWER]
['Q6861069', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q6861069 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Milton E. Miles belongs to male
male
action filter_type
action find
entity Milton E. Miles
relation gender
type sex
['Milton E. Miles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Milton_E._Miles property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19560192
Q290
USER
And what about Federico Campagna?
(Q19560192,P21,c(Q290))
action filter_type
action find
entity Q19560192
relation P21
type Q290
['Q19560192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q19560192 property:P21 ?v . ?v rdf:type ontology:Q290 }
Federico Campagna
action filter_type
action find
entity Federico Campagna
relation gender
type sex
['Federico Campagna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Federico_Campagna property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19560192,P21,c(Q290))
action filter_type
action find
entity Q19560192
relation P21
type Q290
[ANSWER]
['Q19560192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q19560192 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Federico Campagna
relation gender
type sex
['Federico Campagna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Federico_Campagna property:gender ?v . ?v rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1595539
P21
Q502895
USER
Does Thomas Streimelweger have that sex as the sex ?
(Q1595539,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1595539
relation P21
['Q1595539', 'P21', 'Q6581097']
ASK WHERE { resource:Q1595539 property:P21 resource:Q6581097 }
male Thomas Streimelweger
action is_in
entity male
action find
entity Thomas Streimelweger
relation gender
['Thomas Streimelweger', 'gender', 'male']
ASK WHERE { resource:Thomas_Streimelweger property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1595539,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1595539
relation P21
[ANSWER]
['Q1595539', 'P21', 'Q6581097']
ASK WHERE { resource:Q1595539 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Thomas Streimelweger
relation gender
['Thomas Streimelweger', 'gender', 'male']
ASK WHERE { resource:Thomas_Streimelweger property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q44361
P88
Q502895 Q2668072 Q386724
USER
How many people were the persons who commissioned more number of collections or works than Ludwig I of Bavaria ?
(c(Q2668072)|c(Q386724),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q44361
relation P88
type Q2668072
type Q386724
[[{'concept': 'Q2668072'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?z WHERE { { ?s property:P88 ?z . ?z rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2668072 } UNION { ?s property:P88 ?z . ?z rdf:type ontology:Q502895 . ?s rdf:type ontology:Q386724 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P88 resource:Q44361 . { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q386724 } } } } . FILTER ( ?g > ?o ) }
Ludwig I of Bavaria
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
action count
action filter_multi_types
action find_reverse
entity Ludwig I of Bavaria
relation commissioned by
type collection
type work
[[{'concept': 'collection'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?z WHERE { { ?s property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?s rdf:type ontology:collection } UNION { ?s property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?s rdf:type ontology:work } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:commissioned_by resource:Ludwig_I_of_Bavaria . { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work } } } } . FILTER ( ?g > ?o ) }
[]
common name collection work
SYSTEM
16
Q7758 Q2161266 Q3291384 Q60568 Q57628 Q150726 Q49237 Q177854 Q51056 Q7771 Q715054 Q540802 Q153586 Q62594 Q2551650 Q196055
(c(Q2668072)|c(Q386724),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q44361
relation P88
type Q2668072
type Q386724
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?z WHERE { { ?s property:P88 ?z . ?z rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2668072 } UNION { ?s property:P88 ?z . ?z rdf:type ontology:Q502895 . ?s rdf:type ontology:Q386724 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P88 resource:Q44361 . { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q386724 } } } } . FILTER ( ?g > ?o ) }
Charles X of France Rodolphe d'Erlanger Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Leo X Lorenzo de' Medici Franz Joseph I of Austria Louis Philippe I Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara Edward James
16
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
action count
action filter_multi_types
action find_reverse
entity Ludwig I of Bavaria
relation commissioned by
type collection
type work
[[{'concept': 'collection'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?z WHERE { { ?s property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?s rdf:type ontology:collection } UNION { ?s property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?s rdf:type ontology:work } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:commissioned_by resource:Ludwig_I_of_Bavaria . { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work } } } } . FILTER ( ?g > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q140106
P88
Q502895 Q2668072 Q386724
USER
And what about Francesco Maria del Monte?
(c(Q2668072)|c(Q386724),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q140106
relation P88
type Q2668072
type Q386724
[[{'concept': 'Q2668072'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?z WHERE { { ?v property:P88 ?z . ?z rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2668072 } UNION { ?v property:P88 ?z . ?z rdf:type ontology:Q502895 . ?v rdf:type ontology:Q386724 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q386724 } } . ?j property:P88 resource:Q140106 } } . FILTER ( ?l > ?t ) }
Francesco Maria del Monte
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
action count
action filter_multi_types
action find_reverse
entity Francesco Maria del Monte
relation commissioned by
type collection
type work
[[{'concept': 'collection'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?z WHERE { { ?v property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?v rdf:type ontology:collection } UNION { ?v property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?v rdf:type ontology:work } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work } } . ?j property:commissioned_by resource:Francesco_Maria_del_Monte } } . FILTER ( ?l > ?t ) }
[]
common name collection work
SYSTEM
16
Q7758 Q2161266 Q3291384 Q60568 Q57628 Q150726 Q49237 Q177854 Q51056 Q7771 Q715054 Q540802 Q153586 Q62594 Q2551650 Q196055
(c(Q2668072)|c(Q386724),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q140106
relation P88
type Q2668072
type Q386724
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?z WHERE { { ?v property:P88 ?z . ?z rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2668072 } UNION { ?v property:P88 ?z . ?z rdf:type ontology:Q502895 . ?v rdf:type ontology:Q386724 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q386724 } } . ?j property:P88 resource:Q140106 } } . FILTER ( ?l > ?t ) }
Charles X of France Rodolphe d'Erlanger Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Leo X Lorenzo de' Medici Franz Joseph I of Austria Louis Philippe I Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara Edward James
16
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
action count
action filter_multi_types
action find_reverse
entity Francesco Maria del Monte
relation commissioned by
type collection
type work
[[{'concept': 'collection'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?z WHERE { { ?v property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?v rdf:type ontology:collection } UNION { ?v property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?v rdf:type ontology:work } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work } } . ?j property:commissioned_by resource:Francesco_Maria_del_Monte } } . FILTER ( ?l > ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q13406554
USER
Which people were the statistical leaders of atleast 3 tournaments and sport competitions ?
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 3
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?b rdf:type ?j } GROUP BY ?n } . FILTER ( ?o >= 3 ) }
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 3
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?b rdf:type ?j } GROUP BY ?n } . FILTER ( ?o >= 3 ) }
[]
common name tournament sport competition
Q41421 Q29545 Q182455
SYSTEM
Michael Jordan, Kevin Durant, Wilt Chamberlain
Q352110 Q314185 Q360219 Q466385 Q190094 Q41421 Q1353620 Q504835 Q553232 Q29545 Q24002 Q27187285 Q182455 Q380015 Q351862 Q6547747
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 3
[ANSWERS] were the statistical leaders of atleast 3 tournaments and sport competitions
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q500834 ) } . ?b rdf:type ?j } GROUP BY ?n } . FILTER ( ?o >= 3 ) }
George Gervin George Mikan Łukasz Sosin Rainer Rauffmann Allen Iverson Michael Jordan Neil Johnston Andrew Gaze Bob McAdoo Kevin Durant Andy Panko Panikos Efthymiades Wilt Chamberlain Igor Rakočević Sotiris Kaiafas Liliana Kostova
Michael Jordan, Kevin Durant and Wilt Chamberlain were the statistical leaders of atleast 3 tournaments and sport competitions
Michael Jordan Kevin Durant Wilt Chamberlain
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 3
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:tournament ) } . ?b rdf:type ?j } GROUP BY ?n } . FILTER ( ?o >= 3 ) }
[]