Simple Question (Direct)
Simple Question
Q2543102
P20
Q56061
USER
Where did Vladimir Veydle expire ?
(Q2543102,P20,c(Q56061))
action filter_type
action find
entity Q2543102
relation P20
type Q56061
['Q2543102', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2543102 property:P20 ?x }
Vladimir Veydle
action filter_type
action find
entity Vladimir Veydle
relation place of death
type administrative territorial entity
['Vladimir Veydle', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Vladimir_Veydle property:place_of_death ?x }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2543102,P20,c(Q56061))
action filter_type
action find
entity Q2543102
relation P20
type Q56061
Vladimir Veydle expired in [ANSWER]
['Q2543102', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2543102 property:P20 ?x }
Paris
Vladimir Veydle expired in Paris
Paris
action filter_type
action find
entity Vladimir Veydle
relation place of death
type administrative territorial entity
['Vladimir Veydle', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Vladimir_Veydle property:place_of_death ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2543102
P21
Q290
USER
What is the sex of that person ?
(Q90,P21,c(Q290))
action filter_type
action find
entity Q2543102
relation P21
type Q290
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q2543102 property:P21 ?z }
Vladimir Veydle
action filter_type
action find
entity Vladimir Veydle
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Vladimir_Veydle property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q90,P21,c(Q290))
action filter_type
action find
entity Q2543102
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q2543102 property:P21 ?z }
male
The sex of that person is a male
male
action filter_type
action find
entity Vladimir Veydle
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Vladimir_Veydle property:gender ?z }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1781 Q90
P937
Q502895
USER
Which people have Paris and Budapest as their work location ?
AND((c(Q502895),P937,Q90), (c(Q502895),P937,Q1781))
action filter_type
action intersection
action find_reverse
entity Q90
relation P937
action find_reverse
entity Q1781
relation P937
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q90'], [{'concept': 'Q502895'}, 'P937', 'Q1781']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P937 resource:Q90 . ?w property:P937 resource:Q1781 }
Budapest Paris
action filter_type
action intersection
action find_reverse
entity Paris
relation work location
action find_reverse
entity Budapest
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Paris'], [{'concept': 'common name'}, 'work location', 'Budapest']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:work_location resource:Paris . ?w property:work_location resource:Budapest }
[]
common name
Q22672560
SYSTEM
Anna Mark
Q22672560
AND((c(Q502895),P937,Q90), (c(Q502895),P937,Q1781))
action filter_type
action intersection
action find_reverse
entity Q90
relation P937
action find_reverse
entity Q1781
relation P937
type Q502895
[ANSWER] have Paris and Budapest as their work location
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q90'], [{'concept': 'Q502895'}, 'P937', 'Q1781']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P937 resource:Q90 . ?w property:P937 resource:Q1781 }
Anna Mark
Anna Mark have Paris and Budapest as their work location
Anna Mark
action filter_type
action intersection
action find_reverse
entity Paris
relation work location
action find_reverse
entity Budapest
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Paris'], [{'concept': 'common name'}, 'work location', 'Budapest']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:work_location resource:Paris . ?w property:work_location resource:Budapest }
[]