Simple Question (Direct)
Simple Question
Q4931887
P19
Q56061
USER
Which administrative territory is the birthplace of Bob Boucher ?
(Q4931887,P19,c(Q56061))
action filter_type
action find
entity Q4931887
relation P19
type Q56061
['Q4931887', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4931887 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Bob Boucher
action filter_type
action find
entity Bob Boucher
relation place of birth
type administrative territorial entity
['Bob Boucher', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bob_Boucher property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1930
SYSTEM
Ottawa
Q1930
(Q4931887,P19,c(Q56061))
action filter_type
action find
entity Q4931887
relation P19
type Q56061
[ANSWER] is the birthplace of Bob Boucher
['Q4931887', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q4931887 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ottawa
Ottawa is the birthplace of Bob Boucher
Ottawa
action filter_type
action find
entity Bob Boucher
relation place of birth
type administrative territorial entity
['Bob Boucher', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bob_Boucher property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4931887
P106
Q12737077
USER
Which occupation has Bob Boucher as his/her 's career ?
(Q4931887,P106,c(Q12737077))
action filter_type
action find
entity Q4931887
relation P106
type Q12737077
['Q4931887', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4931887 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Bob Boucher
action filter_type
action find
entity Bob Boucher
relation occupation
type occupation
['Bob Boucher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Bob_Boucher property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q4931887,P106,c(Q12737077))
action filter_type
action find
entity Q4931887
relation P106
type Q12737077
Player [ANSWER] has Bob Boucher as his/her 's career
['Q4931887', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4931887 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
ice hockey player
Player ice hockey player has Bob Boucher as his/her 's career
ice hockey player
action filter_type
action find
entity Bob Boucher
relation occupation
type occupation
['Bob Boucher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Bob_Boucher property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4931887
P27
Q1048835
USER
Which political territory does Bob Boucher belong to ?
(Q4931887,P27,c(Q1048835))
action filter_type
action find
entity Q4931887
relation P27
type Q1048835
['Q4931887', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q4931887 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Bob Boucher
action filter_type
action find
entity Bob Boucher
relation country of citizenship
type political territorial entity
['Bob Boucher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bob_Boucher property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q4931887,P27,c(Q1048835))
action filter_type
action find
entity Q4931887
relation P27
type Q1048835
Bob Boucher belongs to [ANSWER]
['Q4931887', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q4931887 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Canada
Bob Boucher belongs to Canada
Canada
action filter_type
action find
entity Bob Boucher
relation country of citizenship
type political territorial entity
['Bob Boucher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bob_Boucher property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18550423
Q1048835
USER
And how about Daniel Lindemann?
(Q18550423,P27,c(Q1048835))
action filter_type
action find
entity Q18550423
relation P27
type Q1048835
['Q18550423', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q18550423 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Daniel Lindemann
action filter_type
action find
entity Daniel Lindemann
relation country of citizenship
type political territorial entity
['Daniel Lindemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Daniel_Lindemann property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q18550423,P27,c(Q1048835))
action filter_type
action find
entity Q18550423
relation P27
type Q1048835
[ANSWER]
['Q18550423', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q18550423 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Daniel Lindemann
relation country of citizenship
type political territorial entity
['Daniel Lindemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Daniel_Lindemann property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q800
P530
Q15617994
USER
Does Costa Rica have diplomatic relations with Germany ?
(Q183,P530,Q800)
action is_in
entity Q800
action find
entity Q183
relation P530
['Q183', 'P530', 'Q800']
ASK WHERE { resource:Q183 property:P530 resource:Q800 }
Germany Costa Rica
action is_in
entity Costa Rica
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Costa Rica']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Costa_Rica }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q800)
action is_in
entity Q800
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q800']
ASK WHERE { resource:Q183 property:P530 resource:Q800 }
Yes
action is_in
entity Costa Rica
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Costa Rica']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Costa_Rica }
[]