Simple Question (Direct)
Simple Question
Q370339
P21
Q290
USER
Which sex does Wilfried Bony belong to ?
(Q370339,P21,c(Q290))
action filter_type
action find
entity Q370339
relation P21
type Q290
['Q370339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q370339 property:P21 ?v . ?v rdf:type ontology:Q290 }
Wilfried Bony
action filter_type
action find
entity Wilfried Bony
relation gender
type sex
['Wilfried Bony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Wilfried_Bony property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q370339,P21,c(Q290))
action filter_type
action find
entity Q370339
relation P21
type Q290
Wilfried Bony belongs to [ANSWER]
['Q370339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q370339 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Wilfried Bony belongs to male
male
action filter_type
action find
entity Wilfried Bony
relation gender
type sex
['Wilfried Bony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Wilfried_Bony property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370339
P1344
Q15275719
USER
What did that person participate in ?
(Q6581097,P1344,c(Q15275719))
action filter_type
action find
entity Q370339
relation P1344
type Q15275719
['Q6581097', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { resource:Q370339 property:P1344 ?h . ?h rdf:type ontology:Q15275719 }
Wilfried Bony
action filter_type
action find
entity Wilfried Bony
relation participant of
type recurring event
['male', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { resource:Wilfried_Bony property:participant_of ?h . ?h rdf:type ontology:recurring_event }
[]
recurring event
Q79859
SYSTEM
2014 FIFA World Cup
Q79859
(Q6581097,P1344,c(Q15275719))
action filter_type
action find
entity Q370339
relation P1344
type Q15275719
That person participated in [ANSWER]
['Q6581097', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { resource:Q370339 property:P1344 ?h . ?h rdf:type ontology:Q15275719 }
2014 FIFA World Cup
That person participated in 2014 FIFA World Cup
2014 FIFA World Cup
action filter_type
action find
entity Wilfried Bony
relation participant of
type recurring event
['male', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { resource:Wilfried_Bony property:participant_of ?h . ?h rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q79859 Q134925
P1923
Q1194951
USER
Did Greece national football team participate in that recurring event ?
(Q79859,P1923,Q134925)
action is_in
entity Q134925
action find
entity Q79859
relation P1923
['Q79859', 'P1923', 'Q134925']
ASK WHERE { resource:Q79859 property:P1923 resource:Q134925 }
2014 FIFA World Cup Greece national football team
action is_in
entity Greece national football team
action find
entity 2014 FIFA World Cup
relation participating teams
['2014 FIFA World Cup', 'participating teams', 'Greece national football team']
ASK WHERE { resource:2014_FIFA_World_Cup property:participating_teams resource:Greece_national_football_team }
[]
national sports team
SYSTEM
YES
(Q79859,P1923,Q134925)
action is_in
entity Q134925
action find
entity Q79859
relation P1923
[ANSWER]
['Q79859', 'P1923', 'Q134925']
ASK WHERE { resource:Q79859 property:P1923 resource:Q134925 }
Yes
action is_in
entity Greece national football team
action find
entity 2014 FIFA World Cup
relation participating teams
['2014 FIFA World Cup', 'participating teams', 'Greece national football team']
ASK WHERE { resource:2014_FIFA_World_Cup property:participating_teams resource:Greece_national_football_team }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q370339 Q1143202 Q2736
P641
Q349
USER
Is Wilfried Bony known to play roque and association football ?
(Q370339,P641,Q1143202) (Q370339,P641,Q2736)
action is_in
entity Q370339
action intersection
action find_reverse
entity Q1143202
relation P641
action find_reverse
entity Q2736
relation P641
['Q370339', 'P641', 'Q1143202'] ['Q370339', 'P641', 'Q2736']
ASK WHERE { resource:Q370339 property:P641 resource:Q1143202 . resource:Q370339 property:P641 resource:Q2736 }
Wilfried Bony roque association football
action is_in
entity Wilfried Bony
action intersection
action find_reverse
entity roque
relation sport
action find_reverse
entity association football
relation sport
['Wilfried Bony', 'sport', 'roque'] ['Wilfried Bony', 'sport', 'association football']
ASK WHERE { resource:Wilfried_Bony property:sport resource:roque . resource:Wilfried_Bony property:sport resource:association_football }
[]
sport
SYSTEM
NO and YES respectively
(Q370339,P641,Q1143202) (Q370339,P641,Q2736)
action is_in
entity Q370339
action intersection
action find_reverse
entity Q1143202
relation P641
action find_reverse
entity Q2736
relation P641
[ANSWER]
['Q370339', 'P641', 'Q1143202'] ['Q370339', 'P641', 'Q2736']
ASK WHERE { resource:Q370339 property:P641 resource:Q1143202 . resource:Q370339 property:P641 resource:Q2736 }
NO and YES respectively
action is_in
entity Wilfried Bony
action intersection
action find_reverse
entity roque
relation sport
action find_reverse
entity association football
relation sport
['Wilfried Bony', 'sport', 'roque'] ['Wilfried Bony', 'sport', 'association football']
ASK WHERE { resource:Wilfried_Bony property:sport resource:roque . resource:Wilfried_Bony property:sport resource:association_football }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370339
P54
Q1194951
USER
Which national sports team is that person a member of ?
action filter_type
action find
entity Q370339
relation P54
type Q1194951
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1194951 . resource:Q370339 property:P54 ?x }
Wilfried Bony
action filter_type
action find
entity Wilfried Bony
relation member of sports team
type national sports team
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:national_sports_team . resource:Wilfried_Bony property:member_of_sports_team ?x }
[]
national sports team
Q175145
SYSTEM
Ivory Coast national football team
Q175145
action filter_type
action find
entity Q370339
relation P54
type Q1194951
The [ANSWER] is that person a member of
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1194951 . resource:Q370339 property:P54 ?x }
Ivory Coast national football team
The Ivory Coast national football team is that person a member of
Ivory Coast national football team
action filter_type
action find
entity Wilfried Bony
relation member of sports team
type national sports team
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:national_sports_team . resource:Wilfried_Bony property:member_of_sports_team ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q370339
P106
Q12737077
USER
What does Wilfried Bony do for a living ?
(Q370339,P106,c(Q12737077))
action filter_type
action find
entity Q370339
relation P106
type Q12737077
['Q370339', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q370339 property:P106 ?z }
Wilfried Bony
action filter_type
action find
entity Wilfried Bony
relation occupation
type occupation
['Wilfried Bony', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Wilfried_Bony property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q370339,P106,c(Q12737077))
action filter_type
action find
entity Q370339
relation P106
type Q12737077
Wilfried Bony does for a living as [ANSWER]
['Q370339', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q370339 property:P106 ?z }
association football player
Wilfried Bony does for a living as association football player
association football player
action filter_type
action find
entity Wilfried Bony
relation occupation
type occupation
['Wilfried Bony', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Wilfried_Bony property:occupation ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q346313
Q12737077
USER
And how about Fred Kiprop?
(Q346313,P106,c(Q12737077))
action filter_type
action find
entity Q346313
relation P106
type Q12737077
['Q346313', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q346313 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Fred Kiprop
action filter_type
action find
entity Fred Kiprop
relation occupation
type occupation
['Fred Kiprop', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Fred_Kiprop property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q13382460
SYSTEM
marathon runner
Q13382460
(Q346313,P106,c(Q12737077))
action filter_type
action find
entity Q346313
relation P106
type Q12737077
[ANSWER]
['Q346313', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q346313 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
marathon runner
marathon runner
action filter_type
action find
entity Fred Kiprop
relation occupation
type occupation
['Fred Kiprop', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Fred_Kiprop property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q79859
P1923
Q1194951
USER
How many national sports teams participated in 2014 FIFA World Cup ?
(Q79859,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q79859
relation P1923
type Q1194951
['Q79859', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q79859 property:P1923 ?m . ?m rdf:type ontology:Q1194951 }
2014 FIFA World Cup
action count
action filter_type
action find
entity 2014 FIFA World Cup
relation participating teams
type national sports team
['2014 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:2014_FIFA_World_Cup property:participating_teams ?m . ?m rdf:type ontology:national_sports_team }
[]
national sports team
SYSTEM
32
Q175145 Q134479 Q267245 Q47050 Q184602 Q42267 Q166776 Q181903 Q47762 Q164134 Q83459 Q175309 Q172014 Q181190 Q180187 Q79800 Q164089 Q726080 Q212564 Q181930 Q268208 Q172025 Q170566 Q134916 Q43310 Q676899 Q543842 Q165141 Q194387 Q987584 Q134925 Q47774
(Q79859,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q79859
relation P1923
type Q1194951
[ANSWER]
['Q79859', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q79859 property:P1923 ?m . ?m rdf:type ontology:Q1194951 }
Ivory Coast national football team Croatia national football team Portugal national football team Netherlands national football team Iran national football team Spain national football team Belgium national football team Algeria national football team England national football team United States men's national soccer team Brazil national football team Cameroon national football team Ghana national football team Bosnia and Herzegovina national football team Honduras national football team Argentina national football team Mexico national football team Russia national football team Colombia national football team Nigeria national football team Australia national association football team Chile national football team Japan national football team Uruguay national football team Germany national football team Italy national football team South Korea national football team Swiss national football team Costa Rica national football team Ecuador national football team Greece national football team France national football team
32
action count
action filter_type
action find
entity 2014 FIFA World Cup
relation participating teams
type national sports team
['2014 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:2014_FIFA_World_Cup property:participating_teams ?m . ?m rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q101751
P1923
Q1194951
USER
And how about 1994 FIFA World Cup?
(Q101751,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q101751
relation P1923
type Q1194951
['Q101751', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q101751 property:P1923 ?i . ?i rdf:type ontology:Q1194951 }
1994 FIFA World Cup
action count
action filter_type
action find
entity 1994 FIFA World Cup
relation participating teams
type national sports team
['1994 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:1994_FIFA_World_Cup property:participating_teams ?i . ?i rdf:type ontology:national_sports_team }
[]
national sports team
SYSTEM
24
Q163547 Q47050 Q42267 Q166776 Q160826 Q83459 Q175309 Q193386 Q165141 Q164134 Q207337 Q79800 Q543842 Q726080 Q180845 Q212564 Q181930 Q164089 Q43310 Q676899 Q184387 Q189723 Q168397 Q134925
(Q101751,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q101751
relation P1923
type Q1194951
[ANSWER]
['Q101751', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q101751 property:P1923 ?i . ?i rdf:type ontology:Q1194951 }
Republic of Ireland national football team Netherlands national football team Spain national football team Belgium national football team Sweden national football team Brazil national football team Cameroon national football team Bolivia national football team Swiss national football team United States men's national soccer team Morocco national football team Argentina national football team South Korea national football team Russia national football team Bulgaria national football team Colombia national football team Nigeria national football team Mexico national football team Germany national football team Italy national football team Norway national football team Saudi Arabia national football team Romania national football team Greece national football team
24
action count
action filter_type
action find
entity 1994 FIFA World Cup
relation participating teams
type national sports team
['1994 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:1994_FIFA_World_Cup property:participating_teams ?i . ?i rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q132664
Q1194951
USER
And what about 1970 FIFA World Cup?
(Q132664,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q132664
relation P1923
type Q1194951
['Q132664', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q132664 property:P1923 ?c . ?c rdf:type ontology:Q1194951 }
1970 FIFA World Cup
action count
action filter_type
action find
entity 1970 FIFA World Cup
relation participating teams
type national sports team
['1970 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:1970_FIFA_World_Cup property:participating_teams ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
SYSTEM
16
(Q132664,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q132664
relation P1923
type Q1194951
[ANSWER]
['Q132664', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q132664 property:P1923 ?c . ?c rdf:type ontology:Q1194951 }
16
action count
action filter_type
action find
entity 1970 FIFA World Cup
relation participating teams
type national sports team
['1970 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:1970_FIFA_World_Cup property:participating_teams ?c . ?c rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q163974 Q175145
P1344
Q15275719
USER
Which recurring events did Ivory Coast national football team and Rafael van der Vaart participate in ?
AND((Q175145,P1344,c(Q15275719)), (Q163974,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q175145
relation P1344
action find
entity Q163974
relation P1344
type Q15275719
{'AND': [['Q175145', 'P1344', {'concept': 'Q15275719'}], ['Q163974', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { resource:Q175145 property:P1344 ?u . resource:Q163974 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
Rafael van der Vaart Ivory Coast national football team
action filter_type
action intersection
action find
entity Ivory Coast national football team
relation participant of
action find
entity Rafael van der Vaart
relation participant of
type recurring event
{'AND': [['Ivory Coast national football team', 'participant of', {'concept': 'recurring event'}], ['Rafael van der Vaart', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { resource:Ivory_Coast_national_football_team property:participant_of ?u . resource:Rafael_van_der_Vaart property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
recurring event
Q176883 Q37285
SYSTEM
2010 FIFA World Cup, 2006 FIFA World Cup
Q176883 Q37285
AND((Q175145,P1344,c(Q15275719)), (Q163974,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q175145
relation P1344
action find
entity Q163974
relation P1344
type Q15275719
Ivory Coast national football team and Rafael van der Vaart participated in [ANSWERS]
{'AND': [['Q175145', 'P1344', {'concept': 'Q15275719'}], ['Q163974', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { resource:Q175145 property:P1344 ?u . resource:Q163974 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
2010 FIFA World Cup 2006 FIFA World Cup
Ivory Coast national football team and Rafael van der Vaart participated in 2010 FIFA World Cup and 2006 FIFA World Cup
2010 FIFA World Cup 2006 FIFA World Cup
action filter_type
action intersection
action find
entity Ivory Coast national football team
relation participant of
action find
entity Rafael van der Vaart
relation participant of
type recurring event
{'AND': [['Ivory Coast national football team', 'participant of', {'concept': 'recurring event'}], ['Rafael van der Vaart', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { resource:Ivory_Coast_national_football_team property:participant_of ?u . resource:Rafael_van_der_Vaart property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]