Simple Question (Direct)
Simple Question
Q7181756
P106
Q12737077
USER
What is the job of Phil Cannie ?
(Q7181756,P106,c(Q12737077))
action filter_type
action find
entity Q7181756
relation P106
type Q12737077
['Q7181756', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7181756 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Phil Cannie
action filter_type
action find
entity Phil Cannie
relation occupation
type occupation
['Phil Cannie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Phil_Cannie property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7181756,P106,c(Q12737077))
action filter_type
action find
entity Q7181756
relation P106
type Q12737077
The job of Phil Cannie is an [ANSWER]
['Q7181756', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7181756 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The job of Phil Cannie is an association football player
association football player
action filter_type
action find
entity Phil Cannie
relation occupation
type occupation
['Phil Cannie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Phil_Cannie property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7181756
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7181756
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q7181756 property:P641 ?b . ?b rdf:type ontology:Q349 }
Phil Cannie
action filter_type
action find
entity Phil Cannie
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Phil_Cannie property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q7181756
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q7181756 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Phil Cannie
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Phil_Cannie property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7181756
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7181756
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7181756 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Phil Cannie
action filter_type
action find
entity Phil Cannie
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Phil_Cannie property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7181756
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7181756 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity Phil Cannie
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Phil_Cannie property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately 27 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?m ) WHERE { ?u property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?m = 27 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?m ) WHERE { ?u property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?m = 27 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q801 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?m ) WHERE { ?u property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?m = 27 ) }
Israel Russia United States of America
3
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?m ) WHERE { ?u property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?m = 27 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q459002 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or were Jack Robinson a part of ?
OR((Q937857,P425,c(Q349)), (Q459002,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q459002
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q459002', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q937857 property:P425 ?i } UNION { resource:Q459002 property:P641 ?i } } . ?i rdf:type ontology:Q349 }
Jack Robinson association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Jack Robinson
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jack Robinson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:association_football_player property:field_of_this_occupation ?i } UNION { resource:Jack_Robinson property:sport ?i } } . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q459002,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q459002
relation P641
type Q349
Player [ANSWER] is associated with the field of occupation [ANSWER] player or were Jack Robinson a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q459002', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q937857 property:P425 ?i } UNION { resource:Q459002 property:P641 ?i } } . ?i rdf:type ontology:Q349 }
association football
Player association football is associated with the field of occupation association football player or were Jack Robinson a part of
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Jack Robinson
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jack Robinson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:association_football_player property:field_of_this_occupation ?i } UNION { resource:Jack_Robinson property:sport ?i } } . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q459002
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q459002
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q459002 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Jack Robinson
action filter_type
action find
entity Jack Robinson
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jack_Robinson property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43475
SYSTEM
Derby
Q43475
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q459002
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q459002 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Derby
Derby is the place of birth of that person
Derby
action filter_type
action find
entity Jack Robinson
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jack_Robinson property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1694356 Q459002
P19
Q56061
USER
Or Johann Heinrich Breitinger?
OR((Q459002,P19,c(Q56061)), (Q1694356,P19,c(Q56061)))
action filter_type
action union
action find
entity Q459002
relation P19
action find
entity Q1694356
relation P19
type Q56061
{'OR': [['Q459002', 'P19', {'concept': 'Q56061'}], ['Q1694356', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . { VALUES ( ?y ) { ( resource:Q459002 ) ( resource:Q1694356 ) } . ?y property:P19 ?s } }
Johann Heinrich Breitinger Jack Robinson
action filter_type
action union
action find
entity Jack Robinson
relation place of birth
action find
entity Johann Heinrich Breitinger
relation place of birth
type administrative territorial entity
{'OR': [['Jack Robinson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Johann Heinrich Breitinger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . { VALUES ( ?y ) { ( resource:Jack_Robinson ) ( resource:Johann_Heinrich_Breitinger ) } . ?y property:place_of_birth ?s } }
[]
administrative territorial entity
Q43475 Q72
SYSTEM
Derby, Zürich
Q43475 Q72
OR((Q459002,P19,c(Q56061)), (Q1694356,P19,c(Q56061)))
action filter_type
action union
action find
entity Q459002
relation P19
action find
entity Q1694356
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q459002', 'P19', {'concept': 'Q56061'}], ['Q1694356', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . { VALUES ( ?y ) { ( resource:Q459002 ) ( resource:Q1694356 ) } . ?y property:P19 ?s } }
Derby Zürich
Derby Zürich
action filter_type
action union
action find
entity Jack Robinson
relation place of birth
action find
entity Johann Heinrich Breitinger
relation place of birth
type administrative territorial entity
{'OR': [['Jack Robinson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Johann Heinrich Breitinger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . { VALUES ( ?y ) { ( resource:Jack_Robinson ) ( resource:Johann_Heinrich_Breitinger ) } . ?y property:place_of_birth ?s } }
[]