Simple Question (Direct)
Simple Question
Q20744049
P106
Q12737077
USER
What is the job of James Greechan ?
(Q20744049,P106,c(Q12737077))
action filter_type
action find
entity Q20744049
relation P106
type Q12737077
['Q20744049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q20744049 property:P106 ?f }
James Greechan
action filter_type
action find
entity James Greechan
relation occupation
type occupation
['James Greechan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:James_Greechan property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20744049,P106,c(Q12737077))
action filter_type
action find
entity Q20744049
relation P106
type Q12737077
The job of James Greechan is an [ANSWER]
['Q20744049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q20744049 property:P106 ?f }
association football player
The job of James Greechan is an association football player
association football player
action filter_type
action find
entity James Greechan
relation occupation
type occupation
['James Greechan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:James_Greechan property:occupation ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Who is associated with the field of occupation that one ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q937857 property:P425 ?g . ?g rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:association_football_player property:field_of_this_occupation ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q937857 property:P425 ?g . ?g rdf:type ontology:Q349 }
association football
Association football is associated with the field of occupation that one
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:association_football_player property:field_of_this_occupation ?g . ?g rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q2342494
USER
Which sports are the field of work of around the same number of people and collectables as that sport ?
(c(Q502895)|c(Q2342494),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q502895 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P101 resource:Q2736 . { { ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?i = ?n ) }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:collectable } UNION { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:common_name } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:field_of_work resource:association_football . { { ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?i = ?n ) }
[]
sport common name collectable
Q31920 Q2736
SYSTEM
swimming, association football
Q31920 Q2736
(c(Q502895)|c(Q2342494),P101,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q2342494
[ANSWERS] are the field of work of around the same number of people and collectables as that sport
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P101 ?z . ?z rdf:type ontology:Q349 . ?m rdf:type ontology:Q502895 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P101 resource:Q2736 . { { ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?i = ?n ) }
swimming association football
Swimming and association football are the field of work of around the same number of people and collectables as that sport
swimming association football
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?i ) WHERE { { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:collectable } UNION { ?m property:field_of_work ?z . ?z rdf:type ontology:sport . ?m rdf:type ontology:common_name } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:field_of_work resource:association_football . { { ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?i = ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5348451
P641
Q618123
USER
Does Egyptian Tennis Federation play those sports ?
(Q5348451,P641,Q31920) (Q5348451,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q5348451
relation P641
['Q5348451', 'P641', 'Q31920'] ['Q5348451', 'P641', 'Q2736']
ASK WHERE { resource:Q5348451 property:P641 ?a . VALUES ( ?a ) { ( resource:Q31920 ) ( resource:Q2736 ) } }
Egyptian Tennis Federation
action is_in
entity prev_answer
action find
entity Egyptian Tennis Federation
relation sport
['Egyptian Tennis Federation', 'sport', 'swimming'] ['Egyptian Tennis Federation', 'sport', 'association football']
ASK WHERE { resource:Egyptian_Tennis_Federation property:sport ?a . VALUES ( ?a ) { ( resource:swimming ) ( resource:association_football ) } }
[]
geographical object
SYSTEM
NO
(Q5348451,P641,Q31920) (Q5348451,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q5348451
relation P641
[ANSWER]
['Q5348451', 'P641', 'Q31920'] ['Q5348451', 'P641', 'Q2736']
ASK WHERE { resource:Q5348451 property:P641 ?a . VALUES ( ?a ) { ( resource:Q31920 ) ( resource:Q2736 ) } }
No
action is_in
entity prev_answer
action find
entity Egyptian Tennis Federation
relation sport
['Egyptian Tennis Federation', 'sport', 'swimming'] ['Egyptian Tennis Federation', 'sport', 'association football']
ASK WHERE { resource:Egyptian_Tennis_Federation property:sport ?a . VALUES ( ?a ) { ( resource:swimming ) ( resource:association_football ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q208607
P641
Q349 Q18608583 Q500834
USER
Which sports were around the same number of recurring sporting events and tournaments a part of as kung fu ?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q208607
relation P641
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P641 resource:Q208607 . { VALUES ( ?h ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?p rdf:type ?h } } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?l WHERE { VALUES ( ?w ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?q rdf:type ?w } GROUP BY ?l } }
kung fu
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity kung fu
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:sport resource:kung_fu . { VALUES ( ?h ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?p rdf:type ?h } } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?l WHERE { VALUES ( ?w ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?q rdf:type ?w } GROUP BY ?l } }
[]
sport recurring sporting event tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
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(Q18608583)|c(Q500834),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q208607
relation P641
type Q18608583
type Q500834
[ANSWERS] were around the same number of recurring sporting events and tournaments a part of as kung fu
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P641 resource:Q208607 . { VALUES ( ?h ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?p rdf:type ?h } } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?l WHERE { VALUES ( ?w ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?q rdf:type ?w } GROUP BY ?l } }
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
BASE jumping, pesäpallo and floorball were around the same number of recurring sporting events and tournaments a part of as kung fu
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity kung fu
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:sport resource:kung_fu . { VALUES ( ?h ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?p rdf:type ?h } } } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?l WHERE { VALUES ( ?w ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?q rdf:type ?w } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q601972
P641
Q349 Q18608583 Q500834
USER
And also tell me about Camogie?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q601972
relation P641
type Q18608583
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P641 resource:Q601972 . { { ?p rdf:type ontology:Q500834 } UNION { ?p rdf:type ontology:Q18608583 } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:P641 ?w . ?w rdf:type ontology:Q349 . ?u rdf:type ontology:Q500834 } UNION { ?u property:P641 ?w . ?w rdf:type ontology:Q349 . ?u rdf:type ontology:Q18608583 } } GROUP BY ?w } }
Camogie
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Camogie
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:sport resource:Camogie . { { ?p rdf:type ontology:tournament } UNION { ?p rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:sport ?w . ?w rdf:type ontology:sport . ?u rdf:type ontology:tournament } UNION { ?u property:sport ?w . ?w rdf:type ontology:sport . ?u rdf:type ontology:recurring_sporting_event } } GROUP BY ?w } }
[]
sport recurring sporting event tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
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(Q18608583)|c(Q500834),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q601972
relation P641
type Q18608583
type Q500834
[ANSWERS]
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P641 resource:Q601972 . { { ?p rdf:type ontology:Q500834 } UNION { ?p rdf:type ontology:Q18608583 } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:P641 ?w . ?w rdf:type ontology:Q349 . ?u rdf:type ontology:Q500834 } UNION { ?u property:P641 ?w . ?w rdf:type ontology:Q349 . ?u rdf:type ontology:Q18608583 } } GROUP BY ?w } }
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
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity Camogie
relation sport
type recurring sporting event
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:sport resource:Camogie . { { ?p rdf:type ontology:tournament } UNION { ?p rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:sport ?w . ?w rdf:type ontology:sport . ?u rdf:type ontology:tournament } UNION { ?u property:sport ?w . ?w rdf:type ontology:sport . ?u rdf:type ontology:recurring_sporting_event } } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q206763
P495
Q15617994
USER
What are the countries of origin of that sport ?
(Q206763,P495,c(Q15617994))
action filter_type
action find
entity Q206763
relation P495
type Q15617994
['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q206763 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
floorball
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:floorball property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1295867
SYSTEM
Did you mean pesäpallo ?
Q809831 Q1295867 Q206763
(Q809831,P495,c(Q15617994)) (Q1295867,P495,c(Q15617994)) (Q206763,P495,c(Q15617994))
[ANSWER]
['Q809831', 'P495', {'concept': 'Q15617994'}] ['Q1295867', 'P495', {'concept': 'Q15617994'}] ['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q206763 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
BASE jumping pesäpallo floorball
Did you mean pesäpallo ?
pesäpallo
['BASE jumping', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['pesäpallo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:floorball property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant floorball. Could you tell me the answer for that?
(Q206763,P495,c(Q15617994))
Q206763
['Q206763', 'P495', {'concept': 'Q15617994'}]
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q33 Q39 Q34
SYSTEM
Finland, Switzerland, Sweden
Q33 Q39 Q34
(Q206763,P495,c(Q15617994))
action filter_type
action find
entity Q206763
relation P495
type Q15617994
The countries of origin of that sport are [ANSWERS]
['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q206763 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Finland Switzerland Sweden
The countries of origin of that sport are Finland, Switzerland and Sweden
Finland Switzerland Sweden
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:floorball property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q207815
P710
Q15275719
USER
Did those administrative territories participate in Eurovision Song Contest 1996 ?
(Q207815,P710,Q33) (Q207815,P710,Q39) (Q207815,P710,Q34)
action is_in
entity prev_answer
action find
entity Q207815
relation P710
['Q207815', 'P710', 'Q33'] ['Q207815', 'P710', 'Q39'] ['Q207815', 'P710', 'Q34']
ASK WHERE { VALUES ( ?r ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q34 ) } . resource:Q207815 property:P710 ?r }
Eurovision Song Contest 1996
action is_in
entity prev_answer
action find
entity Eurovision Song Contest 1996
relation participant
['Eurovision Song Contest 1996', 'participant', 'Finland'] ['Eurovision Song Contest 1996', 'participant', 'Switzerland'] ['Eurovision Song Contest 1996', 'participant', 'Sweden']
ASK WHERE { VALUES ( ?r ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:Sweden ) } . resource:Eurovision_Song_Contest_1996 property:participant ?r }
[]
recurring event
SYSTEM
YES
(Q207815,P710,Q33) (Q207815,P710,Q39) (Q207815,P710,Q34)
action is_in
entity prev_answer
action find
entity Q207815
relation P710
[ANSWER]
['Q207815', 'P710', 'Q33'] ['Q207815', 'P710', 'Q39'] ['Q207815', 'P710', 'Q34']
ASK WHERE { VALUES ( ?r ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q34 ) } . resource:Q207815 property:P710 ?r }
Yes
action is_in
entity prev_answer
action find
entity Eurovision Song Contest 1996
relation participant
['Eurovision Song Contest 1996', 'participant', 'Finland'] ['Eurovision Song Contest 1996', 'participant', 'Switzerland'] ['Eurovision Song Contest 1996', 'participant', 'Sweden']
ASK WHERE { VALUES ( ?r ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:Sweden ) } . resource:Eurovision_Song_Contest_1996 property:participant ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P530
Q15617994
USER
Who have diplomatic relationships with Sweden ?
(Q34,P530,c(Q15617994))
action filter_type
action find
entity Q34
relation P530
type Q15617994
['Q34', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q34 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Sweden
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sweden property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q38
SYSTEM
Philippines, Italy
Q928 Q38
(Q34,P530,c(Q15617994))
action filter_type
action find
entity Q34
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with Sweden
['Q34', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q34 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Philippines Italy
Philippines and Italy have diplomatic relationships with Sweden
Philippines Italy
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sweden property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P159
Q43229
USER
Which organizations have their HQ location at Italy ?
(c(Q43229),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q38 . ?t rdf:type ontology:Q43229 }
Italy
action filter_type
action find_reverse
entity Italy
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Italy . ?t rdf:type ontology:organization }
[]
organization
Q16536952 Q3929491 Q3622240
SYSTEM
Carlo Erba, Rai Cinema, Arflex
Q5014784 Q3622240 Q950042 Q16536952 Q3963794 Q3006985 Q80281 Q5421217 Q5311237 Q16566756 Q7611729 Q5445259 Q3459850 Q5025085 Q15970921 Q3929491 Q3777372 Q22443127 Q17020270
(c(Q43229),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q43229
[ANSWERS] have their HQ location at Italy
[{'concept': 'Q43229'}, 'P159', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q38 . ?t rdf:type ontology:Q43229 }
CVS Ferrari Arflex Stone Island Carlo Erba Società del quartetto di Milano dV Giochi FPT Industrial Expert System S.p.A. Ducati Energia Italiaonline Stevanato Group Ferrari Belotti Socimi Cambiocasa Pardini Rai Cinema Giochi Preziosi Tecnomare Hacking Team
Carlo Erba, Rai Cinema and Arflex have their HQ location at Italy
Carlo Erba Rai Cinema Arflex
action filter_type
action find_reverse
entity Italy
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Italy . ?t rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16536952 Q3929491 Q3622240
P159
Q15617994
USER
Which administrative territories are the HQ of those organizations ?
(Q16536952,P159,c(Q15617994)) (Q3929491,P159,c(Q15617994)) (Q3622240,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q16536952', 'P159', {'concept': 'Q15617994'}] ['Q3929491', 'P159', {'concept': 'Q15617994'}] ['Q3622240', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?v property:P159 ?i . ?i rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q5014784 ) ( resource:Q3622240 ) ( resource:Q950042 ) } }
Carlo Erba Rai Cinema Arflex
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Carlo Erba', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Rai Cinema', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Arflex', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?v property:headquarters_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:CVS_Ferrari ) ( resource:Arflex ) ( resource:Stone_Island ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38
(Q16536952,P159,c(Q15617994)) (Q3929491,P159,c(Q15617994)) (Q3622240,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the HQ of those organizations
['Q16536952', 'P159', {'concept': 'Q15617994'}] ['Q3929491', 'P159', {'concept': 'Q15617994'}] ['Q3622240', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?v property:P159 ?i . ?i rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q5014784 ) ( resource:Q3622240 ) ( resource:Q950042 ) } }
Italy Italy Italy
Italy, Italy and Italy are the HQ of those organizations
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Carlo Erba', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Rai Cinema', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Arflex', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?v property:headquarters_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:CVS_Ferrari ) ( resource:Arflex ) ( resource:Stone_Island ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P47
Q7275
USER
Which state has a shared border with that administrative territory ?
(Q38,P47,c(Q7275)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q7275))
action filter_type
action find
entity Q38
relation P47
type Q7275
['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q38 property:P47 ?q . ?q rdf:type ontology:Q7275 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Italy property:shares_border_with ?q . ?q rdf:type ontology:state }
[]
state
Q36704
SYSTEM
Yugoslavia
Q36704
(Q38,P47,c(Q7275)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q7275))
action filter_type
action find
entity Q38
relation P47
type Q7275
[ANSWER] has a shared border with that administrative territory
['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q38 property:P47 ?q . ?q rdf:type ontology:Q7275 }
Yugoslavia
Yugoslavia has a shared border with that administrative territory
Yugoslavia
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Italy property:shares_border_with ?q . ?q rdf:type ontology:state }
[]