Simple Question (Direct)
Simple Question
Q27312459
P641
Q31629
USER
Which type of sport did Carol Cummings participate in ?
(Q27312459,P641,c(Q31629))
action filter_type
action find
entity Q27312459
relation P641
type Q31629
['Q27312459', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q27312459 property:P641 ?q }
Carol Cummings
action filter_type
action find
entity Carol Cummings
relation sport
type type of sport
['Carol Cummings', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Carol_Cummings property:sport ?q }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q27312459,P641,c(Q31629))
action filter_type
action find
entity Q27312459
relation P641
type Q31629
Carol Cummings participated in [ANSWER]
['Q27312459', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q27312459 property:P641 ?q }
athletics
Carol Cummings participated in athletics
athletics
action filter_type
action find
entity Carol Cummings
relation sport
type type of sport
['Carol Cummings', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Carol_Cummings property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27312459
P27
Q1048835
USER
Which political territory is Carol Cummings an inhabitant of ?
(Q27312459,P27,c(Q1048835))
action filter_type
action find
entity Q27312459
relation P27
type Q1048835
['Q27312459', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q27312459 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Carol Cummings
action filter_type
action find
entity Carol Cummings
relation country of citizenship
type political territorial entity
['Carol Cummings', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Carol_Cummings property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766
SYSTEM
Jamaica
Q766
(Q27312459,P27,c(Q1048835))
action filter_type
action find
entity Q27312459
relation P27
type Q1048835
[ANSWER] is Carol Cummings an inhabitant of
['Q27312459', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q27312459 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Jamaica
Jamaica is Carol Cummings an inhabitant of
Jamaica
action filter_type
action find
entity Carol Cummings
relation country of citizenship
type political territorial entity
['Carol Cummings', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Carol_Cummings property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4769163
Q1048835
USER
And how about Anni Frind?
(Q4769163,P27,c(Q1048835))
action filter_type
action find
entity Q4769163
relation P27
type Q1048835
['Q4769163', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q4769163 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Anni Frind
action filter_type
action find
entity Anni Frind
relation country of citizenship
type political territorial entity
['Anni Frind', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Anni_Frind property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q4769163,P27,c(Q1048835))
action filter_type
action find
entity Q4769163
relation P27
type Q1048835
[ANSWER]
['Q4769163', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q4769163 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Anni Frind
relation country of citizenship
type political territorial entity
['Anni Frind', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Anni_Frind property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q114
P530
Q15617994
USER
Does Kenya have diplomatic relationships with that political territory ?
(Q183,P530,Q114)
action is_in
entity Q114
action find
entity Q183
relation P530
['Q183', 'P530', 'Q114']
ASK WHERE { resource:Q183 property:P530 resource:Q114 }
Germany Kenya
action is_in
entity Kenya
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kenya']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Kenya }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q114)
action is_in
entity Q114
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q114']
ASK WHERE { resource:Q183 property:P530 resource:Q114 }
Yes
action is_in
entity Kenya
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kenya']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Kenya }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q31629 Q502895 Q12973014
USER
How many types of sport were approximately 911 people and sports teams a part of ?
(c(Q502895)|c(Q12973014),P641,c(Q31629))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 911
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P641 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q31629 } UNION { ?o property:P641 ?y . ?y rdf:type ontology:Q31629 . ?o rdf:type ontology:Q12973014 } } GROUP BY ?y } . FILTER ( ?z = 911 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 911
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:sport ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:type_of_sport } UNION { ?o property:sport ?y . ?y rdf:type ontology:type_of_sport . ?o rdf:type ontology:sports_team } } GROUP BY ?y } . FILTER ( ?z = 911 ) }
[]
type of sport common name sports team
SYSTEM
82
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q502895)|c(Q12973014),P641,c(Q31629))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 911
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P641 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q31629 } UNION { ?o property:P641 ?y . ?y rdf:type ontology:Q31629 . ?o rdf:type ontology:Q12973014 } } GROUP BY ?y } . FILTER ( ?z = 911 ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
82
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 911
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:sport ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:type_of_sport } UNION { ?o property:sport ?y . ?y rdf:type ontology:type_of_sport . ?o rdf:type ontology:sports_team } } GROUP BY ?y } . FILTER ( ?z = 911 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q766
P1532
Q6979593 Q502895
USER
How many national association football teams or people represent Jamaica ?
(c(Q6979593),P1532,Q766) (c(Q502895),P1532,Q766)
action count
action union
action filter_type
action find_reverse
entity Q766
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q766
relation P1532
type Q502895
[{'concept': 'Q6979593'}, 'P1532', 'Q766'] [{'concept': 'Q502895'}, 'P1532', 'Q766']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j rdf:type ontology:Q6979593 . ?j property:P1532 resource:Q766 } UNION { ?j property:P1532 resource:Q766 . ?j rdf:type ontology:Q502895 } }
Jamaica
action count
action union
action filter_type
action find_reverse
entity Jamaica
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Jamaica
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Jamaica'] [{'concept': 'common name'}, 'country for sport', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j rdf:type ontology:national_association_football_team . ?j property:country_for_sport resource:Jamaica } UNION { ?j property:country_for_sport resource:Jamaica . ?j rdf:type ontology:common_name } }
[]
national association football team common name
SYSTEM
5
Q1679841 Q25909407 Q26203910 Q22669100 Q23321075
(c(Q6979593),P1532,Q766) (c(Q502895),P1532,Q766)
action count
action union
action filter_type
action find_reverse
entity Q766
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q766
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q766'] [{'concept': 'Q502895'}, 'P1532', 'Q766']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j rdf:type ontology:Q6979593 . ?j property:P1532 resource:Q766 } UNION { ?j property:P1532 resource:Q766 . ?j rdf:type ontology:Q502895 } }
Jamaica women's national football team Kali Davis-White Senoj-Jay Givans Yvonne Saunders Fitzroy Dunkley
5
action count
action union
action filter_type
action find_reverse
entity Jamaica
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Jamaica
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Jamaica'] [{'concept': 'common name'}, 'country for sport', 'Jamaica']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j rdf:type ontology:national_association_football_team . ?j property:country_for_sport resource:Jamaica } UNION { ?j property:country_for_sport resource:Jamaica . ?j rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766
P740
Q43229
USER
Which organization was formed at Jamaica ?
(c(Q43229),P740,Q766)
action filter_type
action find_reverse
entity Q766
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q766']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q766 . ?r rdf:type ontology:Q43229 }
Jamaica
action filter_type
action find_reverse
entity Jamaica
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Jamaica']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Jamaica . ?r rdf:type ontology:organization }
[]
organization
Q5591241
SYSTEM
Grace Kennedy and Company Limited
Q5591241
(c(Q43229),P740,Q766)
action filter_type
action find_reverse
entity Q766
relation P740
type Q43229
[ANSWER] was formed at Jamaica
[{'concept': 'Q43229'}, 'P740', 'Q766']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q766 . ?r rdf:type ontology:Q43229 }
Grace Kennedy and Company Limited
Grace Kennedy and Company Limited was formed at Jamaica
Grace Kennedy and Company Limited
action filter_type
action find_reverse
entity Jamaica
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Jamaica']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Jamaica . ?r rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766
P37
Q34770
USER
What is considered to be the official language of Jamaica ?
(Q766,P37,c(Q34770))
action filter_type
action find
entity Q766
relation P37
type Q34770
['Q766', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q766 property:P37 ?q . ?q rdf:type ontology:Q34770 }
Jamaica
action filter_type
action find
entity Jamaica
relation official language
type language
['Jamaica', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Jamaica property:official_language ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q766,P37,c(Q34770))
action filter_type
action find
entity Q766
relation P37
type Q34770
Jamaica [ANSWER] is considered to be the official language of Jamaica
['Q766', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q766 property:P37 ?q . ?q rdf:type ontology:Q34770 }
English
Jamaica English is considered to be the official language of Jamaica
English
action filter_type
action find
entity Jamaica
relation official language
type language
['Jamaica', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Jamaica property:official_language ?q . ?q rdf:type ontology:language }
[]