Simple Question (Direct)
Simple Question
Q3837076
P21
Q290
USER
What is the sex of Lorenzo Scarafoni ?
(Q3837076,P21,c(Q290))
action filter_type
action find
entity Q3837076
relation P21
type Q290
['Q3837076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3837076 property:P21 ?z . ?z rdf:type ontology:Q290 }
Lorenzo Scarafoni
action filter_type
action find
entity Lorenzo Scarafoni
relation gender
type sex
['Lorenzo Scarafoni', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lorenzo_Scarafoni property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3837076,P21,c(Q290))
action filter_type
action find
entity Q3837076
relation P21
type Q290
The sex of Lorenzo Scarafoni is the [ANSWER]
['Q3837076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3837076 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Lorenzo Scarafoni is the male
male
action filter_type
action find
entity Lorenzo Scarafoni
relation gender
type sex
['Lorenzo Scarafoni', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lorenzo_Scarafoni property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3837076
P641
Q349
USER
Which sport did Lorenzo Scarafoni participate in ?
(Q3837076,P641,c(Q349))
action filter_type
action find
entity Q3837076
relation P641
type Q349
['Q3837076', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3837076 property:P641 ?e . ?e rdf:type ontology:Q349 }
Lorenzo Scarafoni
action filter_type
action find
entity Lorenzo Scarafoni
relation sport
type sport
['Lorenzo Scarafoni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Lorenzo_Scarafoni property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3837076,P641,c(Q349))
action filter_type
action find
entity Q3837076
relation P641
type Q349
Lorenzo Scarafoni participated in [ANSWER]
['Q3837076', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3837076 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Lorenzo Scarafoni participated in association football
association football
action filter_type
action find
entity Lorenzo Scarafoni
relation sport
type sport
['Lorenzo Scarafoni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Lorenzo_Scarafoni property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h 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 ?h WHERE { resource:association_football property:country_of_origin ?h . ?h 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 origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
England
England is the origin of that sport
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 ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21 Q8066755
P36
Q56061
USER
Is Zarger called the capital of England ?
(Q21,P36,Q8066755)
action is_in
entity Q8066755
action find
entity Q21
relation P36
['Q21', 'P36', 'Q8066755']
ASK WHERE { resource:Q21 property:P36 resource:Q8066755 }
England Zarger
action is_in
entity Zarger
action find
entity England
relation capital
['England', 'capital', 'Zarger']
ASK WHERE { resource:England property:capital resource:Zarger }
[]
administrative territorial entity
SYSTEM
NO
(Q21,P36,Q8066755)
action is_in
entity Q8066755
action find
entity Q21
relation P36
[ANSWER]
['Q21', 'P36', 'Q8066755']
ASK WHERE { resource:Q21 property:P36 resource:Q8066755 }
No
action is_in
entity Zarger
action find
entity England
relation capital
['England', 'capital', 'Zarger']
ASK WHERE { resource:England property:capital resource:Zarger }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P1376
Q56061
USER
Which administrative territory is the county seat for that territory ?
action filter_type
action find_reverse
entity Q21
relation P1376
type Q56061
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q21 . ?e rdf:type ontology:Q56061 }
England
action filter_type
action find_reverse
entity England
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:England . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
action filter_type
action find_reverse
entity Q21
relation P1376
type Q56061
In [ANSWER] is the county seat for that territory
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q21 . ?e rdf:type ontology:Q56061 }
London
In London is the county seat for that territory
London
action filter_type
action find_reverse
entity England
relation capital of
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:England . ?e rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P30
Q2221906 Q56061
USER
How many administrative territories have their location in less number of geographic locations than that administrative territory ?
(c(Q56061),P30,c(Q2221906))
action count
action less
action find_tuple_counts
relation P30
type Q2221906
type Q56061
action count
action filter_type
action find
entity Q84
relation P30
type Q2221906
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:P30 ?e . ?c rdf:type ontology:Q2221906 . ?e rdf:type ontology:Q56061 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q84 property:P30 ?q . ?q rdf:type ontology:Q2221906 } } . FILTER ( ?z < ?k ) }
action count
action less
action find_tuple_counts
relation continent
type geographic location
type administrative territorial entity
action count
action filter_type
action find
entity London
relation continent
type geographic location
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:continent ?e . ?c rdf:type ontology:geographic_location . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:London property:continent ?q . ?q rdf:type ontology:geographic_location } } . FILTER ( ?z < ?k ) }
[]
geographic location administrative territorial entity
SYSTEM
0
(c(Q56061),P30,c(Q2221906))
action count
action less
action find_tuple_counts
relation P30
type Q2221906
type Q56061
action count
action filter_type
action find
entity Q84
relation P30
type Q2221906
[ANSWER]
[{'concept': 'Q56061'}, 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:P30 ?e . ?c rdf:type ontology:Q2221906 . ?e rdf:type ontology:Q56061 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q84 property:P30 ?q . ?q rdf:type ontology:Q2221906 } } . FILTER ( ?z < ?k ) }
0
action count
action less
action find_tuple_counts
relation continent
type geographic location
type administrative territorial entity
action count
action filter_type
action find
entity London
relation continent
type geographic location
[{'concept': 'administrative territorial entity'}, 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:continent ?e . ?c rdf:type ontology:geographic_location . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:London property:continent ?q . ?q rdf:type ontology:geographic_location } } . FILTER ( ?z < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4245261
P641
Q349 Q500834 Q18608583
USER
How many sports were around the same number of tournaments or recurring sporting events a part of as touring car racing ?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q4245261
relation P641
type Q500834
type Q18608583
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?a WHERE { { ?m rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q349 . ?m property:P641 ?a } UNION { ?m property:P641 ?a . ?a rdf:type ontology:Q349 . ?m rdf:type ontology:Q500834 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { { ?b rdf:type ontology:Q500834 } UNION { ?b rdf:type ontology:Q18608583 } } . ?b property:P641 resource:Q4245261 } } . FILTER ( ?c = ?n ) }
touring car racing
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity touring car racing
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?a WHERE { { ?m rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:sport . ?m property:sport ?a } UNION { ?m property:sport ?a . ?a rdf:type ontology:sport . ?m rdf:type ontology:tournament } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { { ?b rdf:type ontology:tournament } UNION { ?b rdf:type ontology:recurring_sporting_event } } . ?b property:sport resource:touring_car_racing } } . FILTER ( ?c = ?n ) }
[]
sport tournament recurring sporting event
SYSTEM
178
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q4245261
relation P641
type Q500834
type Q18608583
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?a WHERE { { ?m rdf:type ontology:Q18608583 . ?a rdf:type ontology:Q349 . ?m property:P641 ?a } UNION { ?m property:P641 ?a . ?a rdf:type ontology:Q349 . ?m rdf:type ontology:Q500834 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { { ?b rdf:type ontology:Q500834 } UNION { ?b rdf:type ontology:Q18608583 } } . ?b property:P641 resource:Q4245261 } } . FILTER ( ?c = ?n ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
178
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity touring car racing
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?a WHERE { { ?m rdf:type ontology:recurring_sporting_event . ?a rdf:type ontology:sport . ?m property:sport ?a } UNION { ?m property:sport ?a . ?a rdf:type ontology:sport . ?m rdf:type ontology:tournament } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { { ?b rdf:type ontology:tournament } UNION { ?b rdf:type ontology:recurring_sporting_event } } . ?b property:sport resource:touring_car_racing } } . FILTER ( ?c = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1109032
P641
Q349 Q500834 Q18608583
USER
And also tell me about college football?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1109032
relation P641
type Q500834
type Q18608583
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?v WHERE { { ?t property:P641 ?v . ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q18608583 } UNION { ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 . ?t property:P641 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { VALUES ( ?p ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?m rdf:type ?p } . ?m property:P641 resource:Q1109032 } } . FILTER ( ?w = ?g ) }
college football
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity college football
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?v WHERE { { ?t property:sport ?v . ?v rdf:type ontology:sport . ?t rdf:type ontology:recurring_sporting_event } UNION { ?v rdf:type ontology:sport . ?t rdf:type ontology:tournament . ?t property:sport ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { VALUES ( ?p ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?m rdf:type ?p } . ?m property:sport resource:college_football } } . FILTER ( ?w = ?g ) }
[]
sport tournament recurring sporting event
SYSTEM
178
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1109032
relation P641
type Q500834
type Q18608583
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?v WHERE { { ?t property:P641 ?v . ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q18608583 } UNION { ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 . ?t property:P641 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { VALUES ( ?p ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?m rdf:type ?p } . ?m property:P641 resource:Q1109032 } } . FILTER ( ?w = ?g ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
178
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity college football
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?v WHERE { { ?t property:sport ?v . ?v rdf:type ontology:sport . ?t rdf:type ontology:recurring_sporting_event } UNION { ?v rdf:type ontology:sport . ?t rdf:type ontology:tournament . ?t property:sport ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { VALUES ( ?p ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?m rdf:type ?p } . ?m property:sport resource:college_football } } . FILTER ( ?w = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1313
Q12737077
USER
Which occupation is fulfilled by London ?
(Q84,P1313,c(Q12737077))
action filter_type
action find
entity Q84
relation P1313
type Q12737077
['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q84 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
London
action filter_type
action find
entity London
relation office held by head of government
type occupation
['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:London property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q38931
SYSTEM
Mayor of London
Q38931
(Q84,P1313,c(Q12737077))
action filter_type
action find
entity Q84
relation P1313
type Q12737077
The [ANSWER] is fulfilled by London
['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q84 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
Mayor of London
The Mayor of London is fulfilled by London
Mayor of London
action filter_type
action find
entity London
relation office held by head of government
type occupation
['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:London property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1071
Q2088357
USER
Which musical ensemble has London as its final place of assembly ?
(c(Q2088357),P1071,Q84)
action filter_type
action find_reverse
entity Q84
relation P1071
type Q2088357
[{'concept': 'Q2088357'}, 'P1071', 'Q84']
SELECT DISTINCT ?t WHERE { ?t property:P1071 resource:Q84 . ?t rdf:type ontology:Q2088357 }
London
action filter_type
action find_reverse
entity London
relation location of final assembly
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of final assembly', 'London']
SELECT DISTINCT ?t WHERE { ?t property:location_of_final_assembly resource:London . ?t rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q2274350
SYSTEM
Illusion
Q2274350
(c(Q2088357),P1071,Q84)
action filter_type
action find_reverse
entity Q84
relation P1071
type Q2088357
[ANSWER] has London as its final place of assembly
[{'concept': 'Q2088357'}, 'P1071', 'Q84']
SELECT DISTINCT ?t WHERE { ?t property:P1071 resource:Q84 . ?t rdf:type ontology:Q2088357 }
Illusion
Illusion has London as its final place of assembly
Illusion
action filter_type
action find_reverse
entity London
relation location of final assembly
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of final assembly', 'London']
SELECT DISTINCT ?t WHERE { ?t property:location_of_final_assembly resource:London . ?t rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P206
Q355304
USER
Which watercourse is located next to that administrative territory ?
(Q2274350,P206,c(Q355304))
action filter_type
action find
entity Q84
relation P206
type Q355304
['Q2274350', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q355304 . resource:Q84 property:P206 ?v }
London
action filter_type
action find
entity London
relation located next to body of water
type watercourse
['Illusion', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:watercourse . resource:London property:located_next_to_body_of_water ?v }
[]
watercourse
Q19686
SYSTEM
River Thames
Q19686
(Q2274350,P206,c(Q355304))
action filter_type
action find
entity Q84
relation P206
type Q355304
[ANSWER] is located next to that administrative territory
['Q2274350', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q355304 . resource:Q84 property:P206 ?v }
River Thames
River Thames is located next to that administrative territory
River Thames
action filter_type
action find
entity London
relation located next to body of water
type watercourse
['Illusion', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:watercourse . resource:London property:located_next_to_body_of_water ?v }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P169
Q502895 Q874405 Q28640
USER
Which people are the chief executive officer of max number of social groups and professions ?
(c(Q874405)|c(Q28640),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
[[{'concept': 'Q874405'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q28640 ) } . ?z rdf:type ?o } GROUP BY ?k } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P169 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q874405 } UNION { ?d property:P169 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q28640 } } GROUP BY ?v } . FILTER ( ?h = ?m ) }
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
[[{'concept': 'social group'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:profession ) } . ?z rdf:type ?o } GROUP BY ?k } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:social_group } UNION { ?d property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:profession } } GROUP BY ?v } . FILTER ( ?h = ?m ) }
[]
common name social group profession
Q103473 Q26908223 Q4487
SYSTEM
Georg August Zenker, Alireza Salehi Nejad, Federico Gamboa
Q6180981 Q21000395 Q15966868 Q729842 Q1929047 Q4487 Q103473 Q16163305 Q20726318 Q15293536 Q16876158 Q23048203 Q8051043 Q5704388 Q3185348 Q500976 Q26908223 Q7456439 Q23759747 Q4655570 Q4935260 Q96270 Q18091304 Q776008 Q17114394 Q19878836
(c(Q874405)|c(Q28640),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
[ANSWERS] are the chief executive officer of max number of social groups and professions
[[{'concept': 'Q874405'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q28640 ) } . ?z rdf:type ?o } GROUP BY ?k } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P169 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q874405 } UNION { ?d property:P169 ?v . ?v rdf:type ontology:Q502895 . ?d rdf:type ontology:Q28640 } } GROUP BY ?v } . FILTER ( ?h = ?m ) }
Jeremiah Slaczka Franz Borgias Mayer David Schraven Mark Pincus Michael Rockenschaub Federico Gamboa Georg August Zenker Albert Royo i Mariné Maximo Cavazzani Martyn Harrow Ryan Merkley Youssef al-Raissouni Yechiel Eckstein Helga Stephenson Joseph Mayer Andreas Treichl Alireza Salehi Nejad Seth Berkley Alisa Miller Christine Loh Bobby Koch Richard Kund Victor Galasyuk Nasser Al-Khelaifi Randi S. Øgrey Colin Seery
Georg August Zenker, Alireza Salehi Nejad and Federico Gamboa are the chief executive officer of max number of social groups and professions
Georg August Zenker Alireza Salehi Nejad Federico Gamboa
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
[[{'concept': 'social group'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?m ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:profession ) } . ?z rdf:type ?o } GROUP BY ?k } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:social_group } UNION { ?d property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?d rdf:type ontology:profession } } GROUP BY ?v } . FILTER ( ?h = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2563510
P1303
Q34379 Q502895
USER
Which musical instruments do less number of people know to play than steel-string acoustic guitar ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P1303 resource:Q2563510 . ?e rdf:type ontology:Q502895 } } . FILTER ( ?u < ?n ) }
steel-string acoustic guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:instrument resource:steel-string_acoustic_guitar . ?e rdf:type ontology:common_name } } . FILTER ( ?u < ?n ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[ANSWERS] less number of people know to play than steel-string acoustic guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P1303 resource:Q2563510 . ?e rdf:type ontology:Q502895 } } . FILTER ( ?u < ?n ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir less number of people know to play than steel-string acoustic guitar
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:instrument resource:steel-string_acoustic_guitar . ?e rdf:type ontology:common_name } } . FILTER ( ?u < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q593995
P1303
Q34379 Q502895
USER
And also tell me about player piano?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q593995
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P1303 resource:Q593995 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } }
player piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:instrument resource:player_piano . ?z rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?m } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q593995
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P1303 resource:Q593995 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:instrument resource:player_piano . ?z rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?m } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q34379 Q838948 Q340169
USER
How many musical instruments are depicted in approximately the same number of works of art or medias as that musical instrument ?
(c(Q838948)|c(Q340169),P180,c(Q34379))
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:P180 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:depicts ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]
musical instrument work of art media
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1879664
SYSTEM
Did you mean spoon ?
(c(Q838948)|c(Q340169),P180,c(Q34379))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:P180 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
Did you mean spoon ?
spoon
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:depicts ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant wind instrument. Could you tell me the answer for that?
(c(Q838948)|c(Q340169),P180,c(Q34379))
Q173453
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
[]
SYSTEM
18
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q80019 Q11404 Q1798603
(c(Q838948)|c(Q340169),P180,c(Q34379))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell double bass drum string instrument
18
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1343007
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than electronic keyboard ?
(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 Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q1343007 property:P1303 ?r } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } }
electronic keyboard
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 ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:musical_instrument . resource:electronic_keyboard property:instrument ?r } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?y } }
[]
musical instrument common name
Q5994 Q80284 Q46185
SYSTEM
piano, viola, bass guitar
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(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 Q1343007
relation P1303
type Q34379
[ANSWERS] are played by greater number of people than electronic keyboard
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q1343007 property:P1303 ?r } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } }
viola bass guitar double bass piano trumpet cello violin organ drum kit
Piano, viola and bass guitar are played by greater number of people than electronic keyboard
piano viola bass guitar
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 ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ontology:musical_instrument . resource:electronic_keyboard property:instrument ?r } } . FILTER ( ?s > ?p ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16155191
P1303
Q34379 Q502895
USER
And how about Saraswati veena?
(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 Q16155191
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P1303 ?s . ?m rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q16155191 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?n > ?r ) }
Saraswati veena
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:instrument ?s . ?m rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Saraswati_veena property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?r ) }
[]
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 Q16155191
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P1303 ?s . ?m rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q16155191 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?n > ?r ) }
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 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 Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:instrument ?s . ?m rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Saraswati_veena property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?r ) }
[]