Simple Question (Direct)
Simple Question
Q16030073
P54
Q874405
USER
What is Bobby Lloyd a member of ?
(Q16030073,P54,c(Q874405))
action filter_type
action find
entity Q16030073
relation P54
type Q874405
['Q16030073', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q16030073 property:P54 ?h . ?h rdf:type ontology:Q874405 }
Bobby Lloyd
action filter_type
action find
entity Bobby Lloyd
relation member of sports team
type social group
['Bobby Lloyd', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Bobby_Lloyd property:member_of_sports_team ?h . ?h rdf:type ontology:social_group }
[]
social group
Q3125972
SYSTEM
Halifax RLFC
Q3125972
(Q16030073,P54,c(Q874405))
action filter_type
action find
entity Q16030073
relation P54
type Q874405
Bobby Lloyd a member of is the [ANSWER]
['Q16030073', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q16030073 property:P54 ?h . ?h rdf:type ontology:Q874405 }
Halifax RLFC
Bobby Lloyd a member of is the Halifax RLFC
Halifax RLFC
action filter_type
action find
entity Bobby Lloyd
relation member of sports team
type social group
['Bobby Lloyd', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Bobby_Lloyd property:member_of_sports_team ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16030073
P106
Q12737077
USER
What do Bobby Lloyd do for a living ?
(Q16030073,P106,c(Q12737077))
action filter_type
action find
entity Q16030073
relation P106
type Q12737077
['Q16030073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16030073 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Bobby Lloyd
action filter_type
action find
entity Bobby Lloyd
relation occupation
type occupation
['Bobby Lloyd', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Bobby_Lloyd property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q14373094 Q14089670
SYSTEM
rugby league player, rugby union player
Q14373094 Q14089670
(Q16030073,P106,c(Q12737077))
action filter_type
action find
entity Q16030073
relation P106
type Q12737077
[ANSWERS] Bobby Lloyd do for a living
['Q16030073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16030073 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
rugby league player rugby union player
Rugby league player and rugby union player Bobby Lloyd do for a living
rugby league player rugby union player
action filter_type
action find
entity Bobby Lloyd
relation occupation
type occupation
['Bobby Lloyd', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Bobby_Lloyd property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7693183
Q12737077
USER
And how about Ted Fenton?
(Q7693183,P106,c(Q12737077))
action filter_type
action find
entity Q7693183
relation P106
type Q12737077
['Q7693183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7693183 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Ted Fenton
action filter_type
action find
entity Ted Fenton
relation occupation
type occupation
['Ted Fenton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ted_Fenton property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q7693183,P106,c(Q12737077))
action filter_type
action find
entity Q7693183
relation P106
type Q12737077
[ANSWERS]
['Q7693183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7693183 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football manager association football player
association football manager association football player
action filter_type
action find
entity Ted Fenton
relation occupation
type occupation
['Ted Fenton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ted_Fenton property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3425255
P106
Q502895
USER
Do Brian Green have career as those occupations ?
(Q3425255,P106,Q628099) (Q3425255,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3425255
relation P106
['Q3425255', 'P106', 'Q628099'] ['Q3425255', 'P106', 'Q937857']
ASK WHERE { resource:Q3425255 property:P106 ?m . VALUES ( ?m ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Brian Green
action is_in
entity prev_answer
action find
entity Brian Green
relation occupation
['Brian Green', 'occupation', 'association football manager'] ['Brian Green', 'occupation', 'association football player']
ASK WHERE { resource:Brian_Green property:occupation ?m . VALUES ( ?m ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
YES
(Q3425255,P106,Q628099) (Q3425255,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3425255
relation P106
[ANSWER]
['Q3425255', 'P106', 'Q628099'] ['Q3425255', 'P106', 'Q937857']
ASK WHERE { resource:Q3425255 property:P106 ?m . VALUES ( ?m ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brian Green
relation occupation
['Brian Green', 'occupation', 'association football manager'] ['Brian Green', 'occupation', 'association football player']
ASK WHERE { resource:Brian_Green property:occupation ?m . VALUES ( ?m ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16030073
P734
Q82799
USER
Who is associated with Bobby Lloyd ?
(Q16030073,P734,c(Q82799))
action filter_type
action find
entity Q16030073
relation P734
type Q82799
['Q16030073', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16030073 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Bobby Lloyd
action filter_type
action find
entity Bobby Lloyd
relation family name
type name
['Bobby Lloyd', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bobby_Lloyd property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q1287630
SYSTEM
Lloyd
Q1287630
(Q16030073,P734,c(Q82799))
action filter_type
action find
entity Q16030073
relation P734
type Q82799
[ANSWER] is associated with Bobby [ANSWER]
['Q16030073', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q16030073 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Lloyd
Lloyd is associated with Bobby Lloyd
Lloyd
action filter_type
action find
entity Bobby Lloyd
relation family name
type name
['Bobby Lloyd', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bobby_Lloyd property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16030073
P27
Q15617994
USER
Which administrative territory does Bobby Lloyd belong to ?
(Q16030073,P27,c(Q15617994))
action filter_type
action find
entity Q16030073
relation P27
type Q15617994
['Q16030073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16030073 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Bobby Lloyd
action filter_type
action find
entity Bobby Lloyd
relation country of citizenship
type designation for an administrative territorial entity
['Bobby Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bobby_Lloyd property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q16030073,P27,c(Q15617994))
action filter_type
action find
entity Q16030073
relation P27
type Q15617994
Bobby Lloyd belongs to [ANSWER]
['Q16030073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16030073 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
Bobby Lloyd belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Bobby Lloyd
relation country of citizenship
type designation for an administrative territorial entity
['Bobby Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bobby_Lloyd property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q1936298 Q16
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Palmeira do Piauí and Canada ?
(Q145,P530,Q1936298) (Q145,P530,Q16)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1936298
relation P530
action find_reverse
entity Q16
relation P530
['Q145', 'P530', 'Q1936298'] ['Q145', 'P530', 'Q16']
ASK WHERE { resource:Q145 property:P530 resource:Q1936298 . resource:Q145 property:P530 resource:Q16 }
United Kingdom Palmeira do Piauí Canada
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Palmeira do Piauí
relation diplomatic relation
action find_reverse
entity Canada
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Palmeira do Piauí'] ['United Kingdom', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Palmeira_do_Piauí . resource:United_Kingdom property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q1936298) (Q145,P530,Q16)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1936298
relation P530
action find_reverse
entity Q16
relation P530
[ANSWER]
['Q145', 'P530', 'Q1936298'] ['Q145', 'P530', 'Q16']
ASK WHERE { resource:Q145 property:P530 resource:Q1936298 . resource:Q145 property:P530 resource:Q16 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Palmeira do Piauí
relation diplomatic relation
action find_reverse
entity Canada
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Palmeira do Piauí'] ['United Kingdom', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Palmeira_do_Piauí . resource:United_Kingdom property:diplomatic_relation resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q485321
P425
Q349
USER
Is prologue associated with the field of occupation association football player ?
(Q937857,P425,Q485321)
action is_in
entity Q485321
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q485321']
ASK WHERE { resource:Q937857 property:P425 resource:Q485321 }
association football player prologue
action is_in
entity prologue
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'prologue']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:prologue }
[]
sport
SYSTEM
NO
(Q937857,P425,Q485321)
action is_in
entity Q485321
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q485321']
ASK WHERE { resource:Q937857 property:P425 resource:Q485321 }
No
action is_in
entity prologue
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'prologue']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:prologue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q1049
P463
Q43229
USER
How many organizations were United Kingdom and Sudan a member of ?
(Q145,P463,c(Q43229)) (Q1049,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q1049
relation P463
type Q43229
['Q145', 'P463', {'concept': 'Q43229'}] ['Q1049', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q1049 property:P463 ?a . ?a rdf:type ontology:Q43229 . resource:Q145 property:P463 ?a . ?a rdf:type ontology:Q43229 }
United Kingdom Sudan
action count
action intersection
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity Sudan
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Sudan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Sudan property:member_of ?a . ?a rdf:type ontology:organization . resource:United_Kingdom property:member_of ?a . ?a rdf:type ontology:organization }
[]
organization
SYSTEM
5
Q340195 Q191384 Q656801 Q899770 Q827525
(Q145,P463,c(Q43229)) (Q1049,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q1049
relation P463
type Q43229
[ANSWER]
['Q145', 'P463', {'concept': 'Q43229'}] ['Q1049', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q1049 property:P463 ?a . ?a rdf:type ontology:Q43229 . resource:Q145 property:P463 ?a . ?a rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes International Development Association
5
action count
action intersection
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity Sudan
relation member of
type organization
['United Kingdom', 'member of', {'concept': 'organization'}] ['Sudan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Sudan property:member_of ?a . ?a rdf:type ontology:organization . resource:United_Kingdom property:member_of ?a . ?a rdf:type ontology:organization }
[]