Simple Question (Direct)
Simple Question
Q3121754
P27
Q1048835
USER
Which political territory is the native country of Guy Durand ?
(Q3121754,P27,c(Q1048835))
action filter_type
action find
entity Q3121754
relation P27
type Q1048835
['Q3121754', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q3121754 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Guy Durand
action filter_type
action find
entity Guy Durand
relation country of citizenship
type political territorial entity
['Guy Durand', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Guy_Durand property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3121754,P27,c(Q1048835))
action filter_type
action find
entity Q3121754
relation P27
type Q1048835
[ANSWER] is the native country of Guy Durand
['Q3121754', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q3121754 property:P27 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada is the native country of Guy Durand
Canada
action filter_type
action find
entity Guy Durand
relation country of citizenship
type political territorial entity
['Guy Durand', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Guy_Durand property:country_of_citizenship ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3121754
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q16)
action filter_type
action find_reverse
entity Q3121754
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q16']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q3121754 . ?e rdf:type ontology:Q502895 }
Guy Durand
action filter_type
action find_reverse
entity Guy Durand
relation father
type common name
[{'concept': 'common name'}, 'father', 'Canada']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Guy_Durand . ?e rdf:type ontology:common_name }
[]
common name
Q3501743
SYSTEM
Stéphane Durand
Q3501743
(c(Q502895),P22,Q16)
action filter_type
action find_reverse
entity Q3121754
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q16']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q3121754 . ?e rdf:type ontology:Q502895 }
Stéphane Durand
Stéphane Durand has that one as a parent
Stéphane Durand
action filter_type
action find_reverse
entity Guy Durand
relation father
type common name
[{'concept': 'common name'}, 'father', 'Canada']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Guy_Durand . ?e rdf:type ontology:common_name }
[]