Simple Question (Direct)
Simple Question
Q7800431
P21
Q290
USER
What is the sex of Tibi ?
(Q7800431,P21,c(Q290))
action filter_type
action find
entity Q7800431
relation P21
type Q290
['Q7800431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7800431 property:P21 ?a . ?a rdf:type ontology:Q290 }
Tibi
action filter_type
action find
entity Tibi
relation gender
type sex
['Tibi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Tibi property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7800431,P21,c(Q290))
action filter_type
action find
entity Q7800431
relation P21
type Q290
The sex of Tibi is the [ANSWER]
['Q7800431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7800431 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Tibi is the male
male
action filter_type
action find
entity Tibi
relation gender
type sex
['Tibi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Tibi property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7800431
P641
Q349
USER
What did Tibi participate in ?
(Q7800431,P641,c(Q349))
action filter_type
action find
entity Q7800431
relation P641
type Q349
['Q7800431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q7800431 property:P641 ?s }
Tibi
action filter_type
action find
entity Tibi
relation sport
type sport
['Tibi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Tibi property:sport ?s }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7800431,P641,c(Q349))
action filter_type
action find
entity Q7800431
relation P641
type Q349
Tibi participated in [ANSWER]
['Q7800431', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q7800431 property:P641 ?s }
association football
Tibi participated in association football
association football
action filter_type
action find
entity Tibi
relation sport
type sport
['Tibi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Tibi property:sport ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7800431
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q7800431
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q7800431 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Tibi
action filter_type
action find
entity Tibi
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Tibi property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q267245
SYSTEM
Portugal national football team
Q267245
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q7800431
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q7800431 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Portugal national football team
The Portugal national football team is that person a member of
Portugal national football team
action filter_type
action find
entity Tibi
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Tibi property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q13406554
USER
How many sport competitions did exactly 2 national sports teams compete in ?
(c(Q13406554),P1923,c(Q1194951))
action count
action equal
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
value 2
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?r ) WHERE { ?t property:P1923 ?y . ?y rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q13406554 } GROUP BY ?t } . FILTER ( ?r = 2 ) }
action count
action equal
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
value 2
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?r ) WHERE { ?t property:participating_teams ?y . ?y rdf:type ontology:national_sports_team . ?t rdf:type ontology:sport_competition } GROUP BY ?t } . FILTER ( ?r = 2 ) }
[]
national sports team sport competition
SYSTEM
53
Q24202143 Q24202147 Q24202144 Q24201910 Q24201915 Q24201967 Q24201962 Q24201987 Q24201791 Q21715205 Q24201894 Q24201897 Q24201958 Q24201771 Q24201953 Q24202015 Q24202018 Q24202121 Q24202123 Q24202126 Q24202157 Q24202150 Q24201766 Q24201900 Q24202001 Q24202165 Q24202160 Q24201786 Q268567 Q17329128 Q24201948 Q24201944 Q24201761 Q24202007 Q24202003 Q24202138 Q24202131 Q24202134 Q24202135 Q24201905 Q24201886 Q24201934 Q24201939 Q24201656 Q24201879 Q24201980 Q24201972 Q24201975 Q24201992 Q24201997 Q24201929 Q24201888 Q24201925
(c(Q13406554),P1923,c(Q1194951))
action count
action equal
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
value 2
[ANSWER]
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?r ) WHERE { ?t property:P1923 ?y . ?y rdf:type ontology:Q1194951 . ?t rdf:type ontology:Q13406554 } GROUP BY ?t } . FILTER ( ?r = 2 ) }
England v Iceland Wales vs. Belgium Poland vs. Portugal Germany v Ukraine Ukraine v Northern Ireland Republic of Ireland v Sweden Czech Republic v Turkey Sweden v Belgium Romania v Albania UEFA Euro 2016 Final: Portugal v France England v Wales Slovakia v England Croatia v Spain France v Albania Spain v Turkey Iceland v Austria Hungary v Portugal Switzerland v Poland Wales v Northern Ireland Croatia v Portugal France vs. Iceland Germany vs. Italy Romania v Switzerland Russia v Wales Portugal v Iceland Germany v France Portugal v Wales Switzerland v France 2006 FIFA World Cup Final Brazil v Germany Czech Republic v Croatia Spain v Czech Republic Albania v Switzerland Portugal v Austria Iceland v Hungary Italy v Spain France v Ireland Germany v Slovakia Hungary v Belgium Poland v Northern Ireland England v Russia Ukraine v Poland Turkey v Croatia France v Romania Wales v Slovakia Belgium v Republic of Ireland Belgium v Italy Italy v Sweden Italy v Republic of Ireland Austria v Hungary Northern Ireland v Germany Russia v Slovakia Germany v Poland
53
action count
action equal
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
value 2
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?r ) WHERE { ?t property:participating_teams ?y . ?y rdf:type ontology:national_sports_team . ?t rdf:type ontology:sport_competition } GROUP BY ?t } . FILTER ( ?r = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267245
P1346
Q1375427
USER
Which European Championship was won by Portugal national football team ?
(c(Q1375427),P1346,Q267245)
action filter_type
action find_reverse
entity Q267245
relation P1346
type Q1375427
[{'concept': 'Q1375427'}, 'P1346', 'Q267245']
SELECT DISTINCT ?h WHERE { ?h property:P1346 resource:Q267245 . ?h rdf:type ontology:Q1375427 }
Portugal national football team
action filter_type
action find_reverse
entity Portugal national football team
relation winner
type European Championship
[{'concept': 'European Championship'}, 'winner', 'Portugal national football team']
SELECT DISTINCT ?h WHERE { ?h property:winner resource:Portugal_national_football_team . ?h rdf:type ontology:European_Championship }
[]
European Championship
Q189571
SYSTEM
UEFA Euro 2016
Q189571
(c(Q1375427),P1346,Q267245)
action filter_type
action find_reverse
entity Q267245
relation P1346
type Q1375427
And [ANSWER] was won by Portugal national football team
[{'concept': 'Q1375427'}, 'P1346', 'Q267245']
SELECT DISTINCT ?h WHERE { ?h property:P1346 resource:Q267245 . ?h rdf:type ontology:Q1375427 }
UEFA Euro 2016
And UEFA Euro 2016 was won by Portugal national football team
UEFA Euro 2016
action filter_type
action find_reverse
entity Portugal national football team
relation winner
type European Championship
[{'concept': 'European Championship'}, 'winner', 'Portugal national football team']
SELECT DISTINCT ?h WHERE { ?h property:winner resource:Portugal_national_football_team . ?h rdf:type ontology:European_Championship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267245
P710
Q500834
USER
What event did Portugal national football team particiate in ?
(c(Q500834),P710,Q267245)
action filter_type
action find_reverse
entity Q267245
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q267245']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q267245 . ?h rdf:type ontology:Q500834 }
Portugal national football team
action filter_type
action find_reverse
entity Portugal national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Portugal national football team']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:Portugal_national_football_team . ?h rdf:type ontology:tournament }
[]
tournament
Q188585
SYSTEM
2010 FIFA World Cup Group G
Q188585
(c(Q500834),P710,Q267245)
action filter_type
action find_reverse
entity Q267245
relation P710
type Q500834
Portugal national football team particiated in [ANSWER]
[{'concept': 'Q500834'}, 'P710', 'Q267245']
SELECT DISTINCT ?h WHERE { ?h property:P710 resource:Q267245 . ?h rdf:type ontology:Q500834 }
2010 FIFA World Cup Group G
Portugal national football team particiated in 2010 FIFA World Cup Group G
2010 FIFA World Cup Group G
action filter_type
action find_reverse
entity Portugal national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Portugal national football team']
SELECT DISTINCT ?h WHERE { ?h property:participant resource:Portugal_national_football_team . ?h rdf:type ontology:tournament }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188585
P361
Q15275719
USER
Which recurring event is that tournament a part of ?
(Q188585,P361,c(Q15275719))
action filter_type
action find
entity Q188585
relation P361
type Q15275719
['Q188585', 'P361', {'concept': 'Q15275719'}]
SELECT DISTINCT ?q WHERE { resource:Q188585 property:P361 ?q . ?q rdf:type ontology:Q15275719 }
2010 FIFA World Cup Group G
action filter_type
action find
entity 2010 FIFA World Cup Group G
relation part of
type recurring event
['2010 FIFA World Cup Group G', 'part of', {'concept': 'recurring event'}]
SELECT DISTINCT ?q WHERE { resource:2010_FIFA_World_Cup_Group_G property:part_of ?q . ?q rdf:type ontology:recurring_event }
[]
recurring event
Q176883
SYSTEM
2010 FIFA World Cup
Q176883
(Q188585,P361,c(Q15275719))
action filter_type
action find
entity Q188585
relation P361
type Q15275719
[ANSWER] is that tournament a part of
['Q188585', 'P361', {'concept': 'Q15275719'}]
SELECT DISTINCT ?q WHERE { resource:Q188585 property:P361 ?q . ?q rdf:type ontology:Q15275719 }
2010 FIFA World Cup
2010 FIFA World Cup is that tournament a part of
2010 FIFA World Cup
action filter_type
action find
entity 2010 FIFA World Cup Group G
relation part of
type recurring event
['2010 FIFA World Cup Group G', 'part of', {'concept': 'recurring event'}]
SELECT DISTINCT ?q WHERE { resource:2010_FIFA_World_Cup_Group_G property:part_of ?q . ?q rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q176883 Q315706
P1344
Q502895
USER
Did Teko Modise take part in that recurring event ?
(Q315706,P1344,Q176883)
action is_in
entity Q176883
action find
entity Q315706
relation P1344
['Q315706', 'P1344', 'Q176883']
ASK WHERE { resource:Q315706 property:P1344 resource:Q176883 }
2010 FIFA World Cup Teko Modise
action is_in
entity 2010 FIFA World Cup
action find
entity Teko Modise
relation participant of
['Teko Modise', 'participant of', '2010 FIFA World Cup']
ASK WHERE { resource:Teko_Modise property:participant_of resource:2010_FIFA_World_Cup }
[]
common name
SYSTEM
YES
(Q315706,P1344,Q176883)
action is_in
entity Q176883
action find
entity Q315706
relation P1344
[ANSWER]
['Q315706', 'P1344', 'Q176883']
ASK WHERE { resource:Q315706 property:P1344 resource:Q176883 }
Yes
action is_in
entity 2010 FIFA World Cup
action find
entity Teko Modise
relation participant of
['Teko Modise', 'participant of', '2010 FIFA World Cup']
ASK WHERE { resource:Teko_Modise property:participant_of resource:2010_FIFA_World_Cup }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3693523 Q7800431
P27
Q15617994
USER
Which administrative territories are the native countriesof Tibi or Corey Smith ?
OR((Q7800431,P27,c(Q15617994)), (Q3693523,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7800431
relation P27
action find
entity Q3693523
relation P27
type Q15617994
{'OR': [['Q7800431', 'P27', {'concept': 'Q15617994'}], ['Q3693523', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7800431 property:P27 ?r } UNION { resource:Q3693523 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Corey Smith Tibi
action filter_type
action union
action find
entity Tibi
relation country of citizenship
action find
entity Corey Smith
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tibi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Corey Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Tibi property:country_of_citizenship ?r } UNION { resource:Corey_Smith property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45 Q30
SYSTEM
Portugal, United States of America
Q45 Q30
OR((Q7800431,P27,c(Q15617994)), (Q3693523,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7800431
relation P27
action find
entity Q3693523
relation P27
type Q15617994
[ANSWERS] are the native countriesof Tibi or Corey Smith
{'OR': [['Q7800431', 'P27', {'concept': 'Q15617994'}], ['Q3693523', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7800431 property:P27 ?r } UNION { resource:Q3693523 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Portugal United States of America
Portugal and United States of America are the native countriesof Tibi or Corey Smith
Portugal United States of America
action filter_type
action union
action find
entity Tibi
relation country of citizenship
action find
entity Corey Smith
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tibi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Corey Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Tibi property:country_of_citizenship ?r } UNION { resource:Corey_Smith property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2501082 Q7800431
P27
Q15617994
USER
Which administrative territories do Tibi or Harry Been belong to ?
OR((Q7800431,P27,c(Q15617994)), (Q2501082,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7800431
relation P27
action find
entity Q2501082
relation P27
type Q15617994
{'OR': [['Q7800431', 'P27', {'concept': 'Q15617994'}], ['Q2501082', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q7800431 property:P27 ?m } UNION { resource:Q2501082 property:P27 ?m } } }
Harry Been Tibi
action filter_type
action union
action find
entity Tibi
relation country of citizenship
action find
entity Harry Been
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tibi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Harry Been', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Tibi property:country_of_citizenship ?m } UNION { resource:Harry_Been property:country_of_citizenship ?m } } }
[]
designation for an administrative territorial entity
Q45 Q29999
SYSTEM
Portugal, Kingdom of the Netherlands
Q45 Q29999
OR((Q7800431,P27,c(Q15617994)), (Q2501082,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7800431
relation P27
action find
entity Q2501082
relation P27
type Q15617994
Tibi or Harry Been belong to [ANSWERS]
{'OR': [['Q7800431', 'P27', {'concept': 'Q15617994'}], ['Q2501082', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q7800431 property:P27 ?m } UNION { resource:Q2501082 property:P27 ?m } } }
Portugal Kingdom of the Netherlands
Tibi or Harry Been belong to Portugal and Kingdom of the Netherlands
Portugal Kingdom of the Netherlands
action filter_type
action union
action find
entity Tibi
relation country of citizenship
action find
entity Harry Been
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tibi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Harry Been', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Tibi property:country_of_citizenship ?m } UNION { resource:Harry_Been property:country_of_citizenship ?m } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q234895
P27
Q502895
USER
Are Infanta Marie Anne of Portugal a citizen of those administrative territories ?
(Q234895,P27,Q45) (Q234895,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q234895
relation P27
['Q234895', 'P27', 'Q45'] ['Q234895', 'P27', 'Q29999']
ASK WHERE { VALUES ( ?u ) { ( resource:Q45 ) ( resource:Q29999 ) } . resource:Q234895 property:P27 ?u }
Infanta Marie Anne of Portugal
action is_in
entity prev_answer
action find
entity Infanta Marie Anne of Portugal
relation country of citizenship
['Infanta Marie Anne of Portugal', 'country of citizenship', 'Portugal'] ['Infanta Marie Anne of Portugal', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { VALUES ( ?u ) { ( resource:Portugal ) ( resource:Kingdom_of_the_Netherlands ) } . resource:Infanta_Marie_Anne_of_Portugal property:country_of_citizenship ?u }
[]
common name
SYSTEM
YES
(Q234895,P27,Q45) (Q234895,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q234895
relation P27
[ANSWER]
['Q234895', 'P27', 'Q45'] ['Q234895', 'P27', 'Q29999']
ASK WHERE { VALUES ( ?u ) { ( resource:Q45 ) ( resource:Q29999 ) } . resource:Q234895 property:P27 ?u }
Yes
action is_in
entity prev_answer
action find
entity Infanta Marie Anne of Portugal
relation country of citizenship
['Infanta Marie Anne of Portugal', 'country of citizenship', 'Portugal'] ['Infanta Marie Anne of Portugal', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { VALUES ( ?u ) { ( resource:Portugal ) ( resource:Kingdom_of_the_Netherlands ) } . resource:Infanta_Marie_Anne_of_Portugal property:country_of_citizenship ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234895
P140
Q879146
USER
Which Christian denomination does that person correspond to ?
action filter_type
action find
entity Q234895
relation P140
type Q879146
SELECT DISTINCT ?t WHERE { resource:Q234895 property:P140 ?t . ?t rdf:type ontology:Q879146 }
Infanta Marie Anne of Portugal
action filter_type
action find
entity Infanta Marie Anne of Portugal
relation religion
type Christian denomination
SELECT DISTINCT ?t WHERE { resource:Infanta_Marie_Anne_of_Portugal property:religion ?t . ?t rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
action filter_type
action find
entity Q234895
relation P140
type Q879146
That person corresponds to [ANSWER]
SELECT DISTINCT ?t WHERE { resource:Q234895 property:P140 ?t . ?t rdf:type ontology:Q879146 }
Roman Catholic Church
That person corresponds to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Infanta Marie Anne of Portugal
relation religion
type Christian denomination
SELECT DISTINCT ?t WHERE { resource:Infanta_Marie_Anne_of_Portugal property:religion ?t . ?t rdf:type ontology:Christian_denomination }
[]