Simple Question (Direct)
Simple Question
Q3131251
P40
Q502895
USER
Who is a child of Henri Gérard ?
(Q3131251,P40,c(Q502895))
action filter_type
action find
entity Q3131251
relation P40
type Q502895
['Q3131251', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3131251 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Henri Gérard
action filter_type
action find
entity Henri Gérard
relation child
type common name
['Henri Gérard', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Henri_Gérard property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q3300885
SYSTEM
Maurice Gérard
Q3300885
(Q3131251,P40,c(Q502895))
action filter_type
action find
entity Q3131251
relation P40
type Q502895
A child of Henri Gérard is named [ANSWER]
['Q3131251', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3131251 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Maurice Gérard
A child of Henri Gérard is named Maurice Gérard
Maurice Gérard
action filter_type
action find
entity Henri Gérard
relation child
type common name
['Henri Gérard', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Henri_Gérard property:child ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3300885
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q3300885)
action filter_type
action find_reverse
entity Q3300885
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3300885']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q3300885 . ?x rdf:type ontology:Q502895 }
Maurice Gérard
action filter_type
action find_reverse
entity Maurice Gérard
relation father
type common name
[{'concept': 'common name'}, 'father', 'Maurice Gérard']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Maurice_Gérard . ?x rdf:type ontology:common_name }
[]
common name
Q3084814
SYSTEM
François Gérard
Q3084814
(c(Q502895),P22,Q3300885)
action filter_type
action find_reverse
entity Q3300885
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q3300885']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q3300885 . ?x rdf:type ontology:Q502895 }
François Gérard
The offspring of that one is the François Gérard
François Gérard
action filter_type
action find_reverse
entity Maurice Gérard
relation father
type common name
[{'concept': 'common name'}, 'father', 'Maurice Gérard']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Maurice_Gérard . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3300885
P21 P22
Q502895
USER
Which people have Maurice Gérard as father and are a male ?
AND((c(Q502895),P22,Q3300885), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3300885
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q3300885'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P22 resource:Q3300885 . ?j rdf:type ontology:Q502895 }
male Maurice Gérard
action filter_type
action intersection
action find_reverse
entity Maurice Gérard
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Maurice Gérard'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:father resource:Maurice_Gérard . ?j rdf:type ontology:common_name }
[]
common name
Q3084814
SYSTEM
François Gérard
Q3084814
AND((c(Q502895),P22,Q3300885), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3300885
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Maurice Gérard as father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q3300885'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P22 resource:Q3300885 . ?j rdf:type ontology:Q502895 }
François Gérard
François Gérard have Maurice Gérard as father and are a male
François Gérard
action filter_type
action intersection
action find_reverse
entity Maurice Gérard
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Maurice Gérard'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:father resource:Maurice_Gérard . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3084814 Q90
P20
Q56061
USER
Did the demise of that person occur Paris ?
(Q3084814,P20,Q90)
action is_in
entity Q90
action find
entity Q3084814
relation P20
['Q3084814', 'P20', 'Q90']
ASK WHERE { resource:Q3084814 property:P20 resource:Q90 }
François Gérard Paris
action is_in
entity Paris
action find
entity François Gérard
relation place of death
['François Gérard', 'place of death', 'Paris']
ASK WHERE { resource:François_Gérard property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q3084814,P20,Q90)
action is_in
entity Q90
action find
entity Q3084814
relation P20
[ANSWER]
['Q3084814', 'P20', 'Q90']
ASK WHERE { resource:Q3084814 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity François Gérard
relation place of death
['François Gérard', 'place of death', 'Paris']
ASK WHERE { resource:François_Gérard property:place_of_death resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3300885 Q90
P20
Q56061
USER
Did Maurice Gérard expire Paris ?
(Q3300885,P20,Q90)
action is_in
entity Q90
action find
entity Q3300885
relation P20
['Q3300885', 'P20', 'Q90']
ASK WHERE { resource:Q3300885 property:P20 resource:Q90 }
Maurice Gérard Paris
action is_in
entity Paris
action find
entity Maurice Gérard
relation place of death
['Maurice Gérard', 'place of death', 'Paris']
ASK WHERE { resource:Maurice_Gérard property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q3300885,P20,Q90)
action is_in
entity Q90
action find
entity Q3300885
relation P20
[ANSWER]
['Q3300885', 'P20', 'Q90']
ASK WHERE { resource:Q3300885 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Maurice Gérard
relation place of death
['Maurice Gérard', 'place of death', 'Paris']
ASK WHERE { resource:Maurice_Gérard property:place_of_death resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3131251 Q21290886
P39
Q12737077
USER
Was Member of the People's National Assembly of Algeria a position held by Henri Gérard ?
(Q3131251,P39,Q21290886)
action is_in
entity Q21290886
action find
entity Q3131251
relation P39
['Q3131251', 'P39', 'Q21290886']
ASK WHERE { resource:Q3131251 property:P39 resource:Q21290886 }
Henri Gérard Member of the People's National Assembly of Algeria
action is_in
entity Member of the People's National Assembly of Algeria
action find
entity Henri Gérard
relation position held
['Henri Gérard', 'position held', "Member of the People's National Assembly of Algeria"]
ASK WHERE { resource:Henri_Gérard property:position_held resource:Member_of_the_People's_National_Assembly_of_Algeria }
[]
occupation
SYSTEM
NO
(Q3131251,P39,Q21290886)
action is_in
entity Q21290886
action find
entity Q3131251
relation P39
[ANSWER]
['Q3131251', 'P39', 'Q21290886']
ASK WHERE { resource:Q3131251 property:P39 resource:Q21290886 }
No
action is_in
entity Member of the People's National Assembly of Algeria
action find
entity Henri Gérard
relation position held
['Henri Gérard', 'position held', "Member of the People's National Assembly of Algeria"]
ASK WHERE { resource:Henri_Gérard property:position_held resource:Member_of_the_People's_National_Assembly_of_Algeria }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3084814 Q90
P19
Q56061
USER
Was Paris François Gérard born ?
(Q3084814,P19,Q90)
action is_in
entity Q90
action find
entity Q3084814
relation P19
['Q3084814', 'P19', 'Q90']
ASK WHERE { resource:Q3084814 property:P19 resource:Q90 }
François Gérard Paris
action is_in
entity Paris
action find
entity François Gérard
relation place of birth
['François Gérard', 'place of birth', 'Paris']
ASK WHERE { resource:François_Gérard property:place_of_birth resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q3084814,P19,Q90)
action is_in
entity Q90
action find
entity Q3084814
relation P19
[ANSWER]
['Q3084814', 'P19', 'Q90']
ASK WHERE { resource:Q3084814 property:P19 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity François Gérard
relation place of birth
['François Gérard', 'place of birth', 'Paris']
ASK WHERE { resource:François_Gérard property:place_of_birth resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3131251 Q90
P20
Q56061
USER
Did the expiration of Henri Gérard occur Paris ?
(Q3131251,P20,Q90)
action is_in
entity Q90
action find
entity Q3131251
relation P20
['Q3131251', 'P20', 'Q90']
ASK WHERE { resource:Q3131251 property:P20 resource:Q90 }
Henri Gérard Paris
action is_in
entity Paris
action find
entity Henri Gérard
relation place of death
['Henri Gérard', 'place of death', 'Paris']
ASK WHERE { resource:Henri_Gérard property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q3131251,P20,Q90)
action is_in
entity Q90
action find
entity Q3131251
relation P20
[ANSWER]
['Q3131251', 'P20', 'Q90']
ASK WHERE { resource:Q3131251 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Henri Gérard
relation place of death
['Henri Gérard', 'place of death', 'Paris']
ASK WHERE { resource:Henri_Gérard property:place_of_death resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3300885 Q142
P27
Q15617994
USER
Is France the country of citizenship of Maurice Gérard ?
(Q3300885,P27,Q142)
action is_in
entity Q142
action find
entity Q3300885
relation P27
['Q3300885', 'P27', 'Q142']
ASK WHERE { resource:Q3300885 property:P27 resource:Q142 }
Maurice Gérard France
action is_in
entity France
action find
entity Maurice Gérard
relation country of citizenship
['Maurice Gérard', 'country of citizenship', 'France']
ASK WHERE { resource:Maurice_Gérard property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3300885,P27,Q142)
action is_in
entity Q142
action find
entity Q3300885
relation P27
[ANSWER]
['Q3300885', 'P27', 'Q142']
ASK WHERE { resource:Q3300885 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Maurice Gérard
relation country of citizenship
['Maurice Gérard', 'country of citizenship', 'France']
ASK WHERE { resource:Maurice_Gérard property:country_of_citizenship resource:France }
[]