Simple Question (Direct)
Simple Question
Q2001089
P1344
Q16510064
USER
What did Xian Dongmei participate in ?
(Q2001089,P1344,c(Q16510064))
action filter_type
action find
entity Q2001089
relation P1344
type Q16510064
['Q2001089', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?z WHERE { resource:Q2001089 property:P1344 ?z . ?z rdf:type ontology:Q16510064 }
Xian Dongmei
action filter_type
action find
entity Xian Dongmei
relation participant of
type sporting event
['Xian Dongmei', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?z WHERE { resource:Xian_Dongmei property:participant_of ?z . ?z rdf:type ontology:sporting_event }
[]
sporting event
Q3811004 Q1193958
SYSTEM
Judo at the 2004 Summer Olympics – Women's 52 kg, Judo at the 2008 Summer Olympics – Women's 52 kg
Q3811004 Q1193958
(Q2001089,P1344,c(Q16510064))
action filter_type
action find
entity Q2001089
relation P1344
type Q16510064
Xian Dongmei participated in [ANSWERS]
['Q2001089', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?z WHERE { resource:Q2001089 property:P1344 ?z . ?z rdf:type ontology:Q16510064 }
Judo at the 2004 Summer Olympics – Women's 52 kg Judo at the 2008 Summer Olympics – Women's 52 kg
Xian Dongmei participated in Judo at the 2004 Summer Olympics – Women's 52 kg and Judo at the 2008 Summer Olympics – Women's 52 kg
Judo at the 2004 Summer Olympics – Women's 52 kg Judo at the 2008 Summer Olympics – Women's 52 kg
action filter_type
action find
entity Xian Dongmei
relation participant of
type sporting event
['Xian Dongmei', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?z WHERE { resource:Xian_Dongmei property:participant_of ?z . ?z rdf:type ontology:sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3811004 Q1193958
P1344
Q502895
USER
Which people participated in those sporting events ?
(c(Q502895),P1344,Q3811004) (c(Q502895),P1344,Q1193958)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q3811004'] [{'concept': 'Q502895'}, 'P1344', 'Q1193958']
SELECT DISTINCT ?t WHERE { ?t property:P1344 ?a . ?t rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q3811004 ) ( resource:Q1193958 ) } }
Judo at the 2004 Summer Olympics – Women's 52 kg Judo at the 2008 Summer Olympics – Women's 52 kg
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Judo at the 2004 Summer Olympics – Women's 52 kg"] [{'concept': 'common name'}, 'participant of', "Judo at the 2008 Summer Olympics – Women's 52 kg"]
SELECT DISTINCT ?t WHERE { ?t property:participant_of ?a . ?t rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Judo_at_the_2004_Summer_Olympics_–_Women's_52_kg ) ( resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg ) } }
[]
common name
Q965715 Q235961 Q2001089
SYSTEM
Amarilis Savón, An Kum-ae, Xian Dongmei
Q2001089 Q3178584 Q965715 Q235961 Q2001089 Q593317
(c(Q502895),P1344,Q3811004) (c(Q502895),P1344,Q1193958)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[ANSWERS] participated in those sporting events
[{'concept': 'Q502895'}, 'P1344', 'Q3811004'] [{'concept': 'Q502895'}, 'P1344', 'Q1193958']
SELECT DISTINCT ?t WHERE { ?t property:P1344 ?a . ?t rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q3811004 ) ( resource:Q1193958 ) } }
Xian Dongmei Yuki Yokosawa Amarilis Savón An Kum-ae Xian Dongmei Soraya Haddad
Amarilis Savón, An Kum-ae and Xian Dongmei participated in those sporting events
Amarilis Savón An Kum-ae Xian Dongmei
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Judo at the 2004 Summer Olympics – Women's 52 kg"] [{'concept': 'common name'}, 'participant of', "Judo at the 2008 Summer Olympics – Women's 52 kg"]
SELECT DISTINCT ?t WHERE { ?t property:participant_of ?a . ?t rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Judo_at_the_2004_Summer_Olympics_–_Women's_52_kg ) ( resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q965715 Q235961 Q2001089
P641
Q349
USER
Which sports did Amarilis Savón, An Kum-ae and Xian Dongmei participate in ?
(Q965715,P641,c(Q349)) (Q235961,P641,c(Q349)) (Q2001089,P641,c(Q349))
action union
action filter_type
action find
entity Q965715
relation P641
type Q349
action filter_type
action find
entity Q235961
relation P641
type Q349
action filter_type
action find
entity Q2001089
relation P641
type Q349
['Q965715', 'P641', {'concept': 'Q349'}] ['Q235961', 'P641', {'concept': 'Q349'}] ['Q2001089', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q349 . resource:Q965715 property:P641 ?n } UNION { ?n rdf:type ontology:Q349 . resource:Q235961 property:P641 ?n } }
Amarilis Savón An Kum-ae Xian Dongmei
action union
action filter_type
action find
entity Amarilis Savón
relation sport
type sport
action filter_type
action find
entity An Kum-ae
relation sport
type sport
action filter_type
action find
entity Xian Dongmei
relation sport
type sport
['Amarilis Savón', 'sport', {'concept': 'sport'}] ['An Kum-ae', 'sport', {'concept': 'sport'}] ['Xian Dongmei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:sport . resource:Amarilis_Savón property:sport ?n } UNION { ?n rdf:type ontology:sport . resource:An_Kum-ae property:sport ?n } }
[]
sport
Q11420 Q11420 Q11420
SYSTEM
judo
Q11420 Q11420 Q11420
(Q965715,P641,c(Q349)) (Q235961,P641,c(Q349)) (Q2001089,P641,c(Q349))
action union
action filter_type
action find
entity Q965715
relation P641
type Q349
action filter_type
action find
entity Q235961
relation P641
type Q349
action filter_type
action find
entity Q2001089
relation P641
type Q349
Amarilis Savón , An Kum-ae and Xian Dongmei participated in [ANSWER] [ANSWER], [ANSWER] and [ANSWER]
['Q965715', 'P641', {'concept': 'Q349'}] ['Q235961', 'P641', {'concept': 'Q349'}] ['Q2001089', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q349 . resource:Q965715 property:P641 ?n } UNION { ?n rdf:type ontology:Q349 . resource:Q235961 property:P641 ?n } }
judo judo judo
Amarilis Savón , An Kum-ae and Xian Dongmei participated in judo judo, judo and judo
judo judo judo
action union
action filter_type
action find
entity Amarilis Savón
relation sport
type sport
action filter_type
action find
entity An Kum-ae
relation sport
type sport
action filter_type
action find
entity Xian Dongmei
relation sport
type sport
['Amarilis Savón', 'sport', {'concept': 'sport'}] ['An Kum-ae', 'sport', {'concept': 'sport'}] ['Xian Dongmei', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:sport . resource:Amarilis_Savón property:sport ?n } UNION { ?n rdf:type ontology:sport . resource:An_Kum-ae property:sport ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1193958
P17
Q15617994
USER
Which administrative territory does Judo at the 2008 Summer Olympics – Women's 52 kg belong to ?
(Q1193958,P17,c(Q15617994))
action filter_type
action find
entity Q1193958
relation P17
type Q15617994
['Q1193958', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1193958 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Judo at the 2008 Summer Olympics – Women's 52 kg
action filter_type
action find
entity Judo at the 2008 Summer Olympics – Women's 52 kg
relation country
type designation for an administrative territorial entity
["Judo at the 2008 Summer Olympics – Women's 52 kg", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1193958,P17,c(Q15617994))
action filter_type
action find
entity Q1193958
relation P17
type Q15617994
[ANSWER] Judo at the 2008 Summer Olympics – Women's 52 kg belongs to
['Q1193958', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1193958 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Japan
Japan Judo at the 2008 Summer Olympics – Women's 52 kg belongs to
Japan
action filter_type
action find
entity Judo at the 2008 Summer Olympics – Women's 52 kg
relation country
type designation for an administrative territorial entity
["Judo at the 2008 Summer Olympics – Women's 52 kg", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7126654 Q1193958
P17
Q15617994
USER
Or Palamaneru?
OR((Q1193958,P17,c(Q15617994)), (Q7126654,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1193958
relation P17
action find
entity Q7126654
relation P17
type Q15617994
{'OR': [['Q1193958', 'P17', {'concept': 'Q15617994'}], ['Q7126654', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Q1193958 ) ( resource:Q7126654 ) } . ?a property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
Palamaneru Judo at the 2008 Summer Olympics – Women's 52 kg
action filter_type
action union
action find
entity Judo at the 2008 Summer Olympics – Women's 52 kg
relation country
action find
entity Palamaneru
relation country
type designation for an administrative territorial entity
{'OR': [["Judo at the 2008 Summer Olympics – Women's 52 kg", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Palamaneru', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg ) ( resource:Palamaneru ) } . ?a property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q668
SYSTEM
Japan, India
Q17 Q668
OR((Q1193958,P17,c(Q15617994)), (Q7126654,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1193958
relation P17
action find
entity Q7126654
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1193958', 'P17', {'concept': 'Q15617994'}], ['Q7126654', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Q1193958 ) ( resource:Q7126654 ) } . ?a property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
Japan India
Japan India
action filter_type
action union
action find
entity Judo at the 2008 Summer Olympics – Women's 52 kg
relation country
action find
entity Palamaneru
relation country
type designation for an administrative territorial entity
{'OR': [["Judo at the 2008 Summer Olympics – Women's 52 kg", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Palamaneru', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Judo_at_the_2008_Summer_Olympics_–_Women's_52_kg ) ( resource:Palamaneru ) } . ?a property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1861162
P840
Q166142
USER
Do Top Spin have their narrative set in those administrative territories ?
(Q1861162,P840,Q17) (Q1861162,P840,Q668)
action is_in
entity prev_answer
action find
entity Q1861162
relation P840
['Q1861162', 'P840', 'Q17'] ['Q1861162', 'P840', 'Q668']
ASK WHERE { resource:Q1861162 property:P840 ?y . VALUES ( ?y ) { ( resource:Q17 ) ( resource:Q668 ) } }
Top Spin
action is_in
entity prev_answer
action find
entity Top Spin
relation narrative location
['Top Spin', 'narrative location', 'Japan'] ['Top Spin', 'narrative location', 'India']
ASK WHERE { resource:Top_Spin property:narrative_location ?y . VALUES ( ?y ) { ( resource:Japan ) ( resource:India ) } }
[]
application
SYSTEM
YES
(Q1861162,P840,Q17) (Q1861162,P840,Q668)
action is_in
entity prev_answer
action find
entity Q1861162
relation P840
[ANSWER]
['Q1861162', 'P840', 'Q17'] ['Q1861162', 'P840', 'Q668']
ASK WHERE { resource:Q1861162 property:P840 ?y . VALUES ( ?y ) { ( resource:Q17 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Top Spin
relation narrative location
['Top Spin', 'narrative location', 'Japan'] ['Top Spin', 'narrative location', 'India']
ASK WHERE { resource:Top_Spin property:narrative_location ?y . VALUES ( ?y ) { ( resource:Japan ) ( resource:India ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q15416 Q2088357
USER
How many administrative territories did around 1264 television programs or musical ensembles originate ?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 1264
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?c WHERE { { ?l rdf:type ontology:Q15416 . ?c rdf:type ontology:Q15617994 . ?l property:P495 ?c } UNION { ?l property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2088357 } } GROUP BY ?c } . FILTER ( ?b = 1264 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 1264
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?c WHERE { { ?l rdf:type ontology:television_program . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_origin ?c } UNION { ?l property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:musical_ensemble } } GROUP BY ?c } . FILTER ( ?b = 1264 ) }
[]
designation for an administrative territorial entity television program musical ensemble
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 1264
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?c WHERE { { ?l rdf:type ontology:Q15416 . ?c rdf:type ontology:Q15617994 . ?l property:P495 ?c } UNION { ?l property:P495 ?c . ?c rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2088357 } } GROUP BY ?c } . FILTER ( ?b = 1264 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 1264
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?c WHERE { { ?l rdf:type ontology:television_program . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_origin ?c } UNION { ?l property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:musical_ensemble } } GROUP BY ?c } . FILTER ( ?b = 1264 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q41466
P366
Q349 Q1875621 Q39546
USER
Which sports are considered as the main functionality of around the same number of aircraft classes or tools as ice hockey ?
(c(Q1875621)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q1875621
type Q39546
[[{'concept': 'Q1875621'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q1875621 ) ( ontology:Q39546 ) } . ?n rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P366 resource:Q41466 . { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:Q39546 ) ( ontology:Q1875621 ) } } } } . FILTER ( ?e = ?d ) }
ice hockey
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type aircraft class
type tool
[[{'concept': 'aircraft class'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?l WHERE { VALUES ( ?y ) { ( ontology:aircraft_class ) ( ontology:tool ) } . ?n rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:use resource:ice_hockey . { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:tool ) ( ontology:aircraft_class ) } } } } . FILTER ( ?e = ?d ) }
[]
sport aircraft class tool
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q1875621)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q1875621
type Q39546
[ANSWERS] are considered as the main functionality of around the same number of aircraft classes or tools as ice hockey
[[{'concept': 'Q1875621'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q1875621 ) ( ontology:Q39546 ) } . ?n rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P366 resource:Q41466 . { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:Q39546 ) ( ontology:Q1875621 ) } } } } . FILTER ( ?e = ?d ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
Floorball, handball and bandy are considered as the main functionality of around the same number of aircraft classes or tools as ice hockey
floorball handball bandy
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type aircraft class
type tool
[[{'concept': 'aircraft class'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?l WHERE { VALUES ( ?y ) { ( ontology:aircraft_class ) ( ontology:tool ) } . ?n rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:use resource:ice_hockey . { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:tool ) ( ontology:aircraft_class ) } } } } . FILTER ( ?e = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2736
P366
Q349 Q1875621 Q39546
USER
And also tell me about association football?
(c(Q1875621)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q1875621
type Q39546
[[{'concept': 'Q1875621'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?o ) WHERE { { ?g property:P366 ?e . ?e rdf:type ontology:Q349 . ?g rdf:type ontology:Q1875621 } UNION { ?g property:P366 ?e . ?g rdf:type ontology:Q39546 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P366 resource:Q2736 . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1875621 ) ( ontology:Q39546 ) } } } } . FILTER ( ?o = ?i ) }
association football
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type aircraft class
type tool
[[{'concept': 'aircraft class'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?o ) WHERE { { ?g property:use ?e . ?e rdf:type ontology:sport . ?g rdf:type ontology:aircraft_class } UNION { ?g property:use ?e . ?g rdf:type ontology:tool . ?e rdf:type ontology:sport } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:use resource:association_football . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_class ) ( ontology:tool ) } } } } . FILTER ( ?o = ?i ) }
[]
sport aircraft class tool
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q1875621)|c(Q39546),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q1875621
type Q39546
[ANSWERS]
[[{'concept': 'Q1875621'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?o ) WHERE { { ?g property:P366 ?e . ?e rdf:type ontology:Q349 . ?g rdf:type ontology:Q1875621 } UNION { ?g property:P366 ?e . ?g rdf:type ontology:Q39546 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P366 resource:Q2736 . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1875621 ) ( ontology:Q39546 ) } } } } . FILTER ( ?o = ?i ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
floorball handball bandy
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type aircraft class
type tool
[[{'concept': 'aircraft class'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?o ) WHERE { { ?g property:use ?e . ?e rdf:type ontology:sport . ?g rdf:type ontology:aircraft_class } UNION { ?g property:use ?e . ?g rdf:type ontology:tool . ?e rdf:type ontology:sport } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:use resource:association_football . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_class ) ( ontology:tool ) } } } } . FILTER ( ?o = ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965715
P27
Q15617994
USER
Which administrative territory does Amarilis Savón belong to ?
(Q965715,P27,c(Q15617994))
action filter_type
action find
entity Q965715
relation P27
type Q15617994
['Q965715', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q965715 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Amarilis Savón
action filter_type
action find
entity Amarilis Savón
relation country of citizenship
type designation for an administrative territorial entity
['Amarilis Savón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Amarilis_Savón property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q241
SYSTEM
Cuba
Q241
(Q965715,P27,c(Q15617994))
action filter_type
action find
entity Q965715
relation P27
type Q15617994
Amarilis Savón belongs to [ANSWER]
['Q965715', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q965715 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Cuba
Amarilis Savón belongs to Cuba
Cuba
action filter_type
action find
entity Amarilis Savón
relation country of citizenship
type designation for an administrative territorial entity
['Amarilis Savón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Amarilis_Savón property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]