Simple Question (Direct)
Simple Question
Q4678770
P27
Q15617994
USER
Which administrative territory is the native country of Adam Boyes ?
(Q4678770,P27,c(Q15617994))
action filter_type
action find
entity Q4678770
relation P27
type Q15617994
['Q4678770', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q4678770 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Adam Boyes
action filter_type
action find
entity Adam Boyes
relation country of citizenship
type designation for an administrative territorial entity
['Adam Boyes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Adam_Boyes property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4678770,P27,c(Q15617994))
action filter_type
action find
entity Q4678770
relation P27
type Q15617994
The [ANSWER] is the native country of Adam Boyes
['Q4678770', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q4678770 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Adam Boyes
United Kingdom
action filter_type
action find
entity Adam Boyes
relation country of citizenship
type designation for an administrative territorial entity
['Adam Boyes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Adam_Boyes property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4678770
P106
Q12737077
USER
Which occupation is the profession of Adam Boyes ?
(Q4678770,P106,c(Q12737077))
action filter_type
action find
entity Q4678770
relation P106
type Q12737077
['Q4678770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4678770 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Adam Boyes
action filter_type
action find
entity Adam Boyes
relation occupation
type occupation
['Adam Boyes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Adam_Boyes property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4678770,P106,c(Q12737077))
action filter_type
action find
entity Q4678770
relation P106
type Q12737077
As [ANSWER] is the profession of Adam Boyes
['Q4678770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4678770 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Adam Boyes
association football player
action filter_type
action find
entity Adam Boyes
relation occupation
type occupation
['Adam Boyes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Adam_Boyes property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q5439578
P425
Q349
USER
Is Feather Bowling associated with the field of occupation that one ?
(Q937857,P425,Q5439578)
action is_in
entity Q5439578
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q5439578']
ASK WHERE { resource:Q937857 property:P425 resource:Q5439578 }
association football player Feather Bowling
action is_in
entity Feather Bowling
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Feather Bowling']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Feather_Bowling }
[]
sport
SYSTEM
NO
(Q937857,P425,Q5439578)
action is_in
entity Q5439578
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q5439578']
ASK WHERE { resource:Q937857 property:P425 resource:Q5439578 }
No
action is_in
entity Feather Bowling
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Feather Bowling']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Feather_Bowling }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4678770
P19
Q56061
USER
Where was Adam Boyes born ?
(Q4678770,P19,c(Q56061))
action filter_type
action find
entity Q4678770
relation P19
type Q56061
['Q4678770', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q4678770 property:P19 ?k }
Adam Boyes
action filter_type
action find
entity Adam Boyes
relation place of birth
type administrative territorial entity
['Adam Boyes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Adam_Boyes property:place_of_birth ?k }
[]
administrative territorial entity
Q6553810
SYSTEM
Lingdale
Q6553810
(Q4678770,P19,c(Q56061))
action filter_type
action find
entity Q4678770
relation P19
type Q56061
Adam Boyes was born in [ANSWER]
['Q4678770', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q4678770 property:P19 ?k }
Lingdale
Adam Boyes was born in Lingdale
Lingdale
action filter_type
action find
entity Adam Boyes
relation place of birth
type administrative territorial entity
['Adam Boyes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Adam_Boyes property:place_of_birth ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4678770
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q6553810,P54,c(Q1194951))
action filter_type
action find
entity Q4678770
relation P54
type Q1194951
['Q6553810', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q4678770 property:P54 ?v }
Adam Boyes
action filter_type
action find
entity Adam Boyes
relation member of sports team
type national sports team
['Lingdale', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Adam_Boyes property:member_of_sports_team ?v }
[]
national sports team
Q4202306
SYSTEM
England C national football team
Q4202306
(Q6553810,P54,c(Q1194951))
action filter_type
action find
entity Q4678770
relation P54
type Q1194951
And [ANSWER] is that person a member of
['Q6553810', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q4678770 property:P54 ?v }
England C national football team
And England C national football team is that person a member of
England C national football team
action filter_type
action find
entity Adam Boyes
relation member of sports team
type national sports team
['Lingdale', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Adam_Boyes property:member_of_sports_team ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q15275719
USER
Which recurring events did atleast 27 national sports teams compete in ?
(c(Q15275719),P1923,c(Q1194951))
action atleast
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 27
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?f property:P1923 ?h . ?f rdf:type ontology:Q15275719 . ?h rdf:type ontology:Q1194951 } GROUP BY ?f } . FILTER ( ?g >= 27 ) }
action atleast
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 27
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?f property:participating_teams ?h . ?f rdf:type ontology:recurring_event . ?h rdf:type ontology:national_sports_team } GROUP BY ?f } . FILTER ( ?g >= 27 ) }
[]
national sports team recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q176883 Q37285 Q47735 Q101730 Q79859
(c(Q15275719),P1923,c(Q1194951))
action atleast
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 27
Atleast 27 national sports teams competed in [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?f property:P1923 ?h . ?f rdf:type ontology:Q15275719 . ?h rdf:type ontology:Q1194951 } GROUP BY ?f } . FILTER ( ?g >= 27 ) }
2010 FIFA World Cup 2006 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
Atleast 27 national sports teams competed in 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action atleast
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 27
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?f property:participating_teams ?h . ?f rdf:type ontology:recurring_event . ?h rdf:type ontology:national_sports_team } GROUP BY ?f } . FILTER ( ?g >= 27 ) }
[]