Simple Question (Direct)
Simple Question
Q4755032
P641
Q349
USER
Which sport did Andrea Cossu participate in ?
(Q4755032,P641,c(Q349))
action filter_type
action find
entity Q4755032
relation P641
type Q349
['Q4755032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q4755032 property:P641 ?s }
Andrea Cossu
action filter_type
action find
entity Andrea Cossu
relation sport
type sport
['Andrea Cossu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Andrea_Cossu property:sport ?s }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4755032,P641,c(Q349))
action filter_type
action find
entity Q4755032
relation P641
type Q349
Andrea Cossu participated in [ANSWER]
['Q4755032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q4755032 property:P641 ?s }
association football
Andrea Cossu participated in association football
association football
action filter_type
action find
entity Andrea Cossu
relation sport
type sport
['Andrea Cossu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Andrea_Cossu property:sport ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P101
Q502895
USER
Which people have specialisation in that sport ?
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q2736 . ?j rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:association_football . ?j rdf:type ontology:common_name }
[]
common name
Q189587 Q860276 Q2091463
SYSTEM
Bobby Robson, Bilal Gülden, Anthony Martial
Q860276 Q2091463 Q6116226 Q189587 Q2639740
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P101
type Q502895
[ANSWERS] have specialisation in that sport
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q2736 . ?j rdf:type ontology:Q502895 }
Bilal Gülden Anthony Martial Jackie Benyon Bobby Robson Frédérique Jossinet
Bobby Robson, Bilal Gülden and Anthony Martial have specialisation in that sport
Bobby Robson Bilal Gülden Anthony Martial
action filter_type
action find_reverse
entity association football
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:association_football . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1343007
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than electronic keyboard ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q1343007 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?p > ?q ) }
electronic keyboard
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:electronic_keyboard property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?q ) }
[]
musical instrument common name
SYSTEM
9
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q1343007 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?p > ?q ) }
viola bass guitar double bass piano trumpet cello violin organ drum kit
9
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:electronic_keyboard property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q963150
P1303
Q34379 Q502895
USER
And how about tenor guitar?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q963150 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?a > ?u ) }
tenor guitar
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:tenor_guitar property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?a > ?u ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q963150 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?a > ?u ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:tenor_guitar property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?a > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2660670
P1303
Q34379 Q502895
USER
How many musical instruments can greater number of people perform with than Irish bouzouki ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1303 ?h . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q2660670 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?r > ?f ) }
Irish bouzouki
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:instrument ?h . ?e rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Irish_bouzouki property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?r > ?f ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1303 ?h . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q2660670 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?r > ?f ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:instrument ?h . ?e rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Irish_bouzouki property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?r > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q120585
P1303
Q34379 Q502895
USER
And how about Tsuzumi?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q120585 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } }
Tsuzumi
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Tsuzumi property:instrument ?o . ?o rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q120585 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Tsuzumi property:instrument ?o . ?o rdf:type ontology:musical_instrument } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the country of origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the country of origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?e WHERE { resource:Q2736 property:P495 ?e . ?e rdf:type ontology:Q1496967 }
England
England is the country of origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:association_football property:country_of_origin ?e . ?e rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P163
Q14660
USER
What is associated with that territory ?
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { resource:Q21 property:P163 ?p . ?p rdf:type ontology:Q14660 }
England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { resource:England property:flag ?p . ?p rdf:type ontology:flag }
[]
flag
Q171117
SYSTEM
flag of England
Q171117
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
The [ANSWER] is associated with that territory
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { resource:Q21 property:P163 ?p . ?p rdf:type ontology:Q14660 }
flag of England
The flag of England is associated with that territory
flag of England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { resource:England property:flag ?p . ?p rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P85
Q484692
USER
What are the anthems for that territory ?
(Q171117,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
['Q171117', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { resource:Q21 property:P85 ?x . ?x rdf:type ontology:Q484692 }
England
action filter_type
action find
entity England
relation anthem
type hymn
['flag of England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { resource:England property:anthem ?x . ?x rdf:type ontology:hymn }
[]
hymn
Q489607 Q182268
SYSTEM
And did those feet in ancient time, Land of Hope and Glory
Q489607 Q182268
(Q171117,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
The anthems for that territory are sung [ANSWERS]
['Q171117', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { resource:Q21 property:P85 ?x . ?x rdf:type ontology:Q484692 }
And did those feet in ancient time Land of Hope and Glory
The anthems for that territory are sung And did those feet in ancient time and Land of Hope and Glory
And did those feet in ancient time Land of Hope and Glory
action filter_type
action find
entity England
relation anthem
type hymn
['flag of England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { resource:England property:anthem ?x . ?x rdf:type ontology:hymn }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q208987
P85
Q1496967
USER
Do Polesia have those hymns as their national anthem ?
(Q208987,P85,Q489607) (Q208987,P85,Q182268)
action is_in
entity prev_answer
action find
entity Q208987
relation P85
['Q208987', 'P85', 'Q489607'] ['Q208987', 'P85', 'Q182268']
ASK WHERE { resource:Q208987 property:P85 ?d . VALUES ( ?d ) { ( resource:Q489607 ) ( resource:Q182268 ) } }
Polesia
action is_in
entity prev_answer
action find
entity Polesia
relation anthem
['Polesia', 'anthem', 'And did those feet in ancient time'] ['Polesia', 'anthem', 'Land of Hope and Glory']
ASK WHERE { resource:Polesia property:anthem ?d . VALUES ( ?d ) { ( resource:And_did_those_feet_in_ancient_time ) ( resource:Land_of_Hope_and_Glory ) } }
[]
territorial entity
SYSTEM
NO
(Q208987,P85,Q489607) (Q208987,P85,Q182268)
action is_in
entity prev_answer
action find
entity Q208987
relation P85
[ANSWER]
['Q208987', 'P85', 'Q489607'] ['Q208987', 'P85', 'Q182268']
ASK WHERE { resource:Q208987 property:P85 ?d . VALUES ( ?d ) { ( resource:Q489607 ) ( resource:Q182268 ) } }
No
action is_in
entity prev_answer
action find
entity Polesia
relation anthem
['Polesia', 'anthem', 'And did those feet in ancient time'] ['Polesia', 'anthem', 'Land of Hope and Glory']
ASK WHERE { resource:Polesia property:anthem ?d . VALUES ( ?d ) { ( resource:And_did_those_feet_in_ancient_time ) ( resource:Land_of_Hope_and_Glory ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4351964
P3091
Q3745054 Q502895 Q502895
USER
Which people rides on a greater number of horse breeds and people than Björn Goop ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q4351964
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?g rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q4351964 property:P3091 ?u . { { ?u rdf:type ontology:Q3745054 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?r > ?h ) }
Björn Goop
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Björn Goop
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?g rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Björn_Goop property:mount ?u . { { ?u rdf:type ontology:horse_breed } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?r > ?h ) }
[]
horse breed common name common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
Q2831786 Q2120529 Q2964761 Q2643622 Q69084 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q527657 Q364671 Q235022 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q724288 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q538006 Q8409 Q2831635 Q952736 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q2287454 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q60968 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1277320 Q6369922 Q1985582 Q1342822 Q76246 Q1691413 Q288267 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q1343527 Q690536 Q175930 Q43958 Q3428878 Q673136 Q886901 Q1261810 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q4351964
relation P3091
type Q3745054
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?g rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q4351964 property:P3091 ?u . { { ?u rdf:type ontology:Q3745054 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?r > ?h ) }
Alberto Larraguibel Pénélope Leprevost Chris Kappler Alexandra Ledermann Paul Schockemöhle Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Margit Otto-Crépin Jean Teulère Anky van Grunsven Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Rodrigo Pessoa Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Pat Eddery Alexander the Great Albert Voorn Nelson Pessoa Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton William Fox-Pitt Marcus Ehning Joseph Fargis Éric Navet Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Karin Rehbein Pius Schwizer Ian Millar El Cid Reynald Angot Steve Guerdat Blyth Tait Eddie Macken Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
Elizabeth II, Napoleon and Arthur Wellesley, 1st Duke of Wellington ride on a greater number of horse breeds and people than Björn Goop
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Björn Goop
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?g rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Björn_Goop property:mount ?u . { { ?u rdf:type ontology:horse_breed } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?r > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1798603
P1303
Q34379 Q502895
USER
Which musical instruments do greater number of people know to play than string instrument ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q34379 . resource:Q1798603 property:P1303 ?j } } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?a } }
string instrument
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:musical_instrument . resource:string_instrument property:instrument ?j } } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?a } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1798603
relation P1303
type Q34379
[ANSWERS] greater number of people know to play than string instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q34379 . resource:Q1798603 property:P1303 ?j } } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?a } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot greater number of people know to play than string instrument
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:musical_instrument . resource:string_instrument property:instrument ?j } } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18341254
P180
Q34379 Q340169
USER
How many medias demonstrate more number of musical instruments than Young couple on horseback ?
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q18341254
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?p ) WHERE { ?r rdf:type ontology:Q340169 . ?t rdf:type ontology:Q34379 . ?r property:P180 ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q18341254 property:P180 ?l . ?l rdf:type ontology:Q340169 } } . FILTER ( ?p > ?w ) }
Young couple on horseback
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Young couple on horseback
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?p ) WHERE { ?r rdf:type ontology:media . ?t rdf:type ontology:musical_instrument . ?r property:depicts ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Young_couple_on_horseback property:depicts ?l . ?l rdf:type ontology:media } } . FILTER ( ?p > ?w ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q18341254
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?p ) WHERE { ?r rdf:type ontology:Q340169 . ?t rdf:type ontology:Q34379 . ?r property:P180 ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q18341254 property:P180 ?l . ?l rdf:type ontology:Q340169 } } . FILTER ( ?p > ?w ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Young couple on horseback
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?p ) WHERE { ?r rdf:type ontology:media . ?t rdf:type ontology:musical_instrument . ?r property:depicts ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Young_couple_on_horseback property:depicts ?l . ?l rdf:type ontology:media } } . FILTER ( ?p > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23308984
P180
Q34379 Q340169
USER
And also tell me about Prima Europe Tabula?
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q23308984
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?m ) WHERE { ?y property:P180 ?x . ?y rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q23308984 property:P180 ?r . ?r rdf:type ontology:Q340169 } } . FILTER ( ?m > ?j ) }
Prima Europe Tabula
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Prima Europe Tabula
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?m ) WHERE { ?y property:depicts ?x . ?y rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Prima_Europe_Tabula property:depicts ?r . ?r rdf:type ontology:media } } . FILTER ( ?m > ?j ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q23308984
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?m ) WHERE { ?y property:P180 ?x . ?y rdf:type ontology:Q340169 . ?x rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q23308984 property:P180 ?r . ?r rdf:type ontology:Q340169 } } . FILTER ( ?m > ?j ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Prima Europe Tabula
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?m ) WHERE { ?y property:depicts ?x . ?y rdf:type ontology:media . ?x rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Prima_Europe_Tabula property:depicts ?r . ?r rdf:type ontology:media } } . FILTER ( ?m > ?j ) }
[]