Simple Question (Direct)
Simple Question
Q3324589
P1412
Q34770
USER
Which language can Ricardo Álvarez Puig read ?
(Q3324589,P1412,c(Q34770))
action filter_type
action find
entity Q3324589
relation P1412
type Q34770
['Q3324589', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3324589 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Ricardo Álvarez Puig
action filter_type
action find
entity Ricardo Álvarez Puig
relation languages spoken, written or signed
type language
['Ricardo Álvarez Puig', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Ricardo_Álvarez_Puig property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3324589,P1412,c(Q34770))
action filter_type
action find
entity Q3324589
relation P1412
type Q34770
Ricardo Álvarez Puig can read in [ANSWER]
['Q3324589', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3324589 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Ricardo Álvarez Puig can read in Spanish
Spanish
action filter_type
action find
entity Ricardo Álvarez Puig
relation languages spoken, written or signed
type language
['Ricardo Álvarez Puig', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Ricardo_Álvarez_Puig property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3324589
P106
Q12737077
USER
What is the profession of Ricardo Álvarez Puig ?
(Q3324589,P106,c(Q12737077))
action filter_type
action find
entity Q3324589
relation P106
type Q12737077
['Q3324589', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q3324589 property:P106 ?q }
Ricardo Álvarez Puig
action filter_type
action find
entity Ricardo Álvarez Puig
relation occupation
type occupation
['Ricardo Álvarez Puig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Ricardo_Álvarez_Puig property:occupation ?q }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3324589,P106,c(Q12737077))
action filter_type
action find
entity Q3324589
relation P106
type Q12737077
The profession of Ricardo Álvarez Puig is an [ANSWER]
['Q3324589', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q3324589 property:P106 ?q }
association football player
The profession of Ricardo Álvarez Puig is an association football player
association football player
action filter_type
action find
entity Ricardo Álvarez Puig
relation occupation
type occupation
['Ricardo Álvarez Puig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Ricardo_Álvarez_Puig property:occupation ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20982668
Q12737077
USER
And what about Elvina Karimova?
(Q20982668,P106,c(Q12737077))
action filter_type
action find
entity Q20982668
relation P106
type Q12737077
['Q20982668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20982668 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Elvina Karimova
action filter_type
action find
entity Elvina Karimova
relation occupation
type occupation
['Elvina Karimova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Elvina_Karimova property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q17524364
SYSTEM
water polo player
Q17524364
(Q20982668,P106,c(Q12737077))
action filter_type
action find
entity Q20982668
relation P106
type Q12737077
[ANSWER]
['Q20982668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20982668 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
water polo player
water polo player
action filter_type
action find
entity Elvina Karimova
relation occupation
type occupation
['Elvina Karimova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Elvina_Karimova property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20982668
P54
Q12973014
USER
Which sports team is Elvina Karimova a member of ?
(Q20982668,P54,c(Q12973014))
action filter_type
action find
entity Q20982668
relation P54
type Q12973014
['Q20982668', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q20982668 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Elvina Karimova
action filter_type
action find
entity Elvina Karimova
relation member of sports team
type sports team
['Elvina Karimova', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Elvina_Karimova property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
sports team
Q1041197
SYSTEM
Russia women's national water polo team
Q1041197
(Q20982668,P54,c(Q12973014))
action filter_type
action find
entity Q20982668
relation P54
type Q12973014
And [ANSWER] is Elvina Karimova a member of
['Q20982668', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q20982668 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Russia women's national water polo team
And Russia women's national water polo team is Elvina Karimova a member of
Russia women's national water polo team
action filter_type
action find
entity Elvina Karimova
relation member of sports team
type sports team
['Elvina Karimova', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Elvina_Karimova property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20982668
P641
Q349
USER
Which sport did Elvina Karimova participate in ?
(Q20982668,P641,c(Q349))
action filter_type
action find
entity Q20982668
relation P641
type Q349
['Q20982668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q20982668 property:P641 ?e . ?e rdf:type ontology:Q349 }
Elvina Karimova
action filter_type
action find
entity Elvina Karimova
relation sport
type sport
['Elvina Karimova', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Elvina_Karimova property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q7707
SYSTEM
water polo
Q7707
(Q20982668,P641,c(Q349))
action filter_type
action find
entity Q20982668
relation P641
type Q349
Elvina Karimova participated in [ANSWER]
['Q20982668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q20982668 property:P641 ?e . ?e rdf:type ontology:Q349 }
water polo
Elvina Karimova participated in water polo
water polo
action filter_type
action find
entity Elvina Karimova
relation sport
type sport
['Elvina Karimova', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Elvina_Karimova property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20982668
P21
Q290
USER
Which sex does that person belong to ?
(Q7707,P21,c(Q290))
action filter_type
action find
entity Q20982668
relation P21
type Q290
['Q7707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q20982668 property:P21 ?j . ?j rdf:type ontology:Q290 }
Elvina Karimova
action filter_type
action find
entity Elvina Karimova
relation gender
type sex
['water polo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Elvina_Karimova property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7707,P21,c(Q290))
action filter_type
action find
entity Q20982668
relation P21
type Q290
That person belongs to [ANSWER]
['Q7707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q20982668 property:P21 ?j . ?j rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Elvina Karimova
relation gender
type sex
['water polo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Elvina_Karimova property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7419312 Q17524364
P425 P641
Q349
USER
Which sports have water polo player as thier associated field of occupation and did Santa Clara Broncos participate in ?
AND((Q17524364,P425,c(Q349)), (Q7419312,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q17524364
relation P425
action find
entity Q7419312
relation P641
type Q349
{'AND': [['Q17524364', 'P425', {'concept': 'Q349'}], ['Q7419312', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q17524364 property:P425 ?f . resource:Q7419312 property:P641 ?f }
Santa Clara Broncos water polo player
action filter_type
action intersection
action find
entity water polo player
relation field of this occupation
action find
entity Santa Clara Broncos
relation sport
type sport
{'AND': [['water polo player', 'field of this occupation', {'concept': 'sport'}], ['Santa Clara Broncos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:water_polo_player property:field_of_this_occupation ?f . resource:Santa_Clara_Broncos property:sport ?f }
[]
sport
Q7707
SYSTEM
water polo
Q7707
AND((Q17524364,P425,c(Q349)), (Q7419312,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q17524364
relation P425
action find
entity Q7419312
relation P641
type Q349
[ANSWER] have [ANSWER] player as thier associated field of occupation and did Santa Clara Broncos participate in
{'AND': [['Q17524364', 'P425', {'concept': 'Q349'}], ['Q7419312', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q17524364 property:P425 ?f . resource:Q7419312 property:P641 ?f }
water polo
Water polo have water polo player as thier associated field of occupation and did Santa Clara Broncos participate in
water polo
action filter_type
action intersection
action find
entity water polo player
relation field of this occupation
action find
entity Santa Clara Broncos
relation sport
type sport
{'AND': [['water polo player', 'field of this occupation', {'concept': 'sport'}], ['Santa Clara Broncos', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:water_polo_player property:field_of_this_occupation ?f . resource:Santa_Clara_Broncos property:sport ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7707 Q2105911
P641
Q502895
USER
Does Harro Ran play that sport ?
(Q2105911,P641,Q7707)
action is_in
entity Q7707
action find
entity Q2105911
relation P641
['Q2105911', 'P641', 'Q7707']
ASK WHERE { resource:Q2105911 property:P641 resource:Q7707 }
water polo Harro Ran
action is_in
entity water polo
action find
entity Harro Ran
relation sport
['Harro Ran', 'sport', 'water polo']
ASK WHERE { resource:Harro_Ran property:sport resource:water_polo }
[]
common name
SYSTEM
YES
(Q2105911,P641,Q7707)
action is_in
entity Q7707
action find
entity Q2105911
relation P641
[ANSWER]
['Q2105911', 'P641', 'Q7707']
ASK WHERE { resource:Q2105911 property:P641 resource:Q7707 }
Yes
action is_in
entity water polo
action find
entity Harro Ran
relation sport
['Harro Ran', 'sport', 'water polo']
ASK WHERE { resource:Harro_Ran property:sport resource:water_polo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17524364 Q7707
P425
Q349
USER
Does water polo have that one as thier associated field of occupation ?
(Q17524364,P425,Q7707)
action is_in
entity Q7707
action find
entity Q17524364
relation P425
['Q17524364', 'P425', 'Q7707']
ASK WHERE { resource:Q17524364 property:P425 resource:Q7707 }
water polo player water polo
action is_in
entity water polo
action find
entity water polo player
relation field of this occupation
['water polo player', 'field of this occupation', 'water polo']
ASK WHERE { resource:water_polo_player property:field_of_this_occupation resource:water_polo }
[]
sport
SYSTEM
YES
(Q17524364,P425,Q7707)
action is_in
entity Q7707
action find
entity Q17524364
relation P425
[ANSWER]
['Q17524364', 'P425', 'Q7707']
ASK WHERE { resource:Q17524364 property:P425 resource:Q7707 }
Yes
action is_in
entity water polo
action find
entity water polo player
relation field of this occupation
['water polo player', 'field of this occupation', 'water polo']
ASK WHERE { resource:water_polo_player property:field_of_this_occupation resource:water_polo }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q187916
P641
Q31629 Q12973014
USER
How many types of sport were around the same number of sports teams a part of as horse racing ?
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q187916
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q187916 property:P641 ?v . ?v rdf:type ontology:Q31629 } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?r ) WHERE { ?u rdf:type ontology:Q31629 . ?k rdf:type ontology:Q12973014 . ?k property:P641 ?u } GROUP BY ?u } }
horse racing
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity horse racing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:horse_racing property:sport ?v . ?v rdf:type ontology:type_of_sport } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?r ) WHERE { ?u rdf:type ontology:type_of_sport . ?k rdf:type ontology:sports_team . ?k property:sport ?u } GROUP BY ?u } }
[]
type of sport sports team
SYSTEM
82
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q187916
relation P641
type Q31629
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q187916 property:P641 ?v . ?v rdf:type ontology:Q31629 } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?r ) WHERE { ?u rdf:type ontology:Q31629 . ?k rdf:type ontology:Q12973014 . ?k property:P641 ?u } GROUP BY ?u } }
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 artistic gymnastics 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 chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres 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 diving snooker ski-orienteering college basketball free climbing double trap
82
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity horse racing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:horse_racing property:sport ?v . ?v rdf:type ontology:type_of_sport } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?r ) WHERE { ?u rdf:type ontology:type_of_sport . ?k rdf:type ontology:sports_team . ?k property:sport ?u } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1320458
P641
Q31629 Q12973014
USER
And what about Ice yachting?
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q1320458
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P641 ?o . ?o rdf:type ontology:Q31629 . ?m rdf:type ontology:Q12973014 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q1320458 property:P641 ?k . ?k rdf:type ontology:Q31629 } } . FILTER ( ?b = ?h ) }
Ice yachting
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity Ice yachting
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:sport ?o . ?o rdf:type ontology:type_of_sport . ?m rdf:type ontology:sports_team } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Ice_yachting property:sport ?k . ?k rdf:type ontology:type_of_sport } } . FILTER ( ?b = ?h ) }
[]
type of sport sports team
SYSTEM
82
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q1320458
relation P641
type Q31629
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P641 ?o . ?o rdf:type ontology:Q31629 . ?m rdf:type ontology:Q12973014 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q1320458 property:P641 ?k . ?k rdf:type ontology:Q31629 } } . FILTER ( ?b = ?h ) }
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 artistic gymnastics 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 chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres 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 diving snooker ski-orienteering college basketball free climbing double trap
82
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity Ice yachting
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:sport ?o . ?o rdf:type ontology:type_of_sport . ?m rdf:type ontology:sports_team } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Ice_yachting property:sport ?k . ?k rdf:type ontology:type_of_sport } } . FILTER ( ?b = ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q12973014
USER
Which sports did around 358 sports teams participate in ?
(c(Q12973014),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 358
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P641 ?p . ?p rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?p } . FILTER ( ?h = 358 ) }
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 358
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:sport ?p . ?p rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?p } . FILTER ( ?h = 358 ) }
[]
sport sports team
Q5375 Q8418 Q2736
SYSTEM
cricket, handball, association football
Q5375 Q8418 Q2736
(c(Q12973014),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 358
Around 358 sports teams participated in national [ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P641 ?p . ?p rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?p } . FILTER ( ?h = 358 ) }
cricket handball association football
Around 358 sports teams participated in national cricket, handball and association football
cricket handball association football
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 358
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:sport ?p . ?p rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?p } . FILTER ( ?h = 358 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17385738 Q20982668
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Elvina Karimova or Balbir Prasad Chaudhary ?
OR((Q20982668,P27,c(Q15617994)), (Q17385738,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20982668
relation P27
action find
entity Q17385738
relation P27
type Q15617994
{'OR': [['Q20982668', 'P27', {'concept': 'Q15617994'}], ['Q17385738', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?u ) { ( resource:Q20982668 ) ( resource:Q17385738 ) } . ?u property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Balbir Prasad Chaudhary Elvina Karimova
action filter_type
action union
action find
entity Elvina Karimova
relation country of citizenship
action find
entity Balbir Prasad Chaudhary
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elvina Karimova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Balbir Prasad Chaudhary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?u ) { ( resource:Elvina_Karimova ) ( resource:Balbir_Prasad_Chaudhary ) } . ?u property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q837
SYSTEM
Russia, Nepal
Q159 Q837
OR((Q20982668,P27,c(Q15617994)), (Q17385738,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q20982668
relation P27
action find
entity Q17385738
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Elvina Karimova or Balbir Prasad Chaudhary
{'OR': [['Q20982668', 'P27', {'concept': 'Q15617994'}], ['Q17385738', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?u ) { ( resource:Q20982668 ) ( resource:Q17385738 ) } . ?u property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Russia Nepal
Russia and Nepal are the countries of citizenship of Elvina Karimova or Balbir Prasad Chaudhary
Russia Nepal
action filter_type
action union
action find
entity Elvina Karimova
relation country of citizenship
action find
entity Balbir Prasad Chaudhary
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elvina Karimova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Balbir Prasad Chaudhary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?u ) { ( resource:Elvina_Karimova ) ( resource:Balbir_Prasad_Chaudhary ) } . ?u property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159
P38
Q8142
USER
What is the currency of that administrative territory ?
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q8142 . resource:Q159 property:P38 ?e }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:currency . resource:Russia property:currency ?e }
[]
currency
Clarification for simple ques.
Q159
SYSTEM
Did you mean Russia ?
Q159 Q837
(Q159,P38,c(Q8142)) (Q837,P38,c(Q8142))
[ANSWER]
['Q159', 'P38', {'concept': 'Q8142'}] ['Q837', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q8142 . resource:Q159 property:P38 ?e }
Russia Nepal
Did you mean Russia ?
Russia
['Russia', 'currency', {'concept': 'currency'}] ['Nepal', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:currency . resource:Russia property:currency ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(Q159,P38,c(Q8142))
['Q159', 'P38', {'concept': 'Q8142'}]
['Russia', 'currency', {'concept': 'currency'}]
[]
Q615640
SYSTEM
Soviet ruble
Q615640
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q8142 . resource:Q159 property:P38 ?e }
Soviet ruble
The currency of that administrative territory is the Soviet ruble
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:currency . resource:Russia property:currency ?e }
[]