Simple Question (Direct)
Simple Question
Q3427119
P9
Q502895
USER
Who are the sisters of Renée Canavaggia ?
(Q3427119,P9,c(Q502895))
action filter_type
action find
entity Q3427119
relation P9
type Q502895
['Q3427119', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3427119 property:P9 ?x . ?x rdf:type ontology:Q502895 }
Renée Canavaggia
action filter_type
action find
entity Renée Canavaggia
relation sister
type common name
['Renée Canavaggia', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Renée_Canavaggia property:sister ?x . ?x rdf:type ontology:common_name }
[]
common name
Q3176087 Q2367037
SYSTEM
Jeanne Laganne, Marie Canavaggia
Q3176087 Q2367037
(Q3427119,P9,c(Q502895))
action filter_type
action find
entity Q3427119
relation P9
type Q502895
The sisters of Renée Canavaggia are [ANSWERS]
['Q3427119', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3427119 property:P9 ?x . ?x rdf:type ontology:Q502895 }
Jeanne Laganne Marie Canavaggia
The sisters of Renée Canavaggia are Jeanne Laganne and Marie Canavaggia
Jeanne Laganne Marie Canavaggia
action filter_type
action find
entity Renée Canavaggia
relation sister
type common name
['Renée Canavaggia', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Renée_Canavaggia property:sister ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3176087 Q2367037
P27
Q15617994
USER
Which administrative territories are those people a civilian of ?
(Q3176087,P27,c(Q15617994)) (Q2367037,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q3176087', 'P27', {'concept': 'Q15617994'}] ['Q2367037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?g ) { ( resource:Q3176087 ) ( resource:Q2367037 ) } . ?g property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Jeanne Laganne Marie Canavaggia
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Jeanne Laganne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Marie Canavaggia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?g ) { ( resource:Jeanne_Laganne ) ( resource:Marie_Canavaggia ) } . ?g property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q3176087,P27,c(Q15617994)) (Q2367037,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
Which administrative territories are those people a civilian of
['Q3176087', 'P27', {'concept': 'Q15617994'}] ['Q2367037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?g ) { ( resource:Q3176087 ) ( resource:Q2367037 ) } . ?g property:P27 ?r . ?r rdf:type ontology:Q15617994 }
France France
Which administrative territories are those people a civilian of
France France
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Jeanne Laganne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Marie Canavaggia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?g ) { ( resource:Jeanne_Laganne ) ( resource:Marie_Canavaggia ) } . ?g property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3176087
P21
Q290
USER
What is the sex of Jeanne Laganne ?
(Q142,P21,c(Q290)) (Q142,P21,c(Q290))
action filter_type
action find
entity Q3176087
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}] ['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3176087 property:P21 ?d . ?d rdf:type ontology:Q290 }
Jeanne Laganne
action filter_type
action find
entity Jeanne Laganne
relation gender
type sex
['France', 'gender', {'concept': 'sex'}] ['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jeanne_Laganne property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q142,P21,c(Q290)) (Q142,P21,c(Q290))
action filter_type
action find
entity Q3176087
relation P21
type Q290
The sex of Jeanne Laganne is the [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}] ['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3176087 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
The sex of Jeanne Laganne is the female
female
action filter_type
action find
entity Jeanne Laganne
relation gender
type sex
['France', 'gender', {'concept': 'sex'}] ['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jeanne_Laganne property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16017479 Q3176087
P21
Q290
USER
Or Wagga Wagga Likoebe?
OR((Q3176087,P21,c(Q290)), (Q16017479,P21,c(Q290)))
action filter_type
action union
action find
entity Q3176087
relation P21
action find
entity Q16017479
relation P21
type Q290
{'OR': [['Q3176087', 'P21', {'concept': 'Q290'}], ['Q16017479', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3176087 property:P21 ?z } UNION { resource:Q16017479 property:P21 ?z } } . ?z rdf:type ontology:Q290 }
Wagga Wagga Likoebe Jeanne Laganne
action filter_type
action union
action find
entity Jeanne Laganne
relation gender
action find
entity Wagga Wagga Likoebe
relation gender
type sex
{'OR': [['Jeanne Laganne', 'gender', {'concept': 'sex'}], ['Wagga Wagga Likoebe', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Jeanne_Laganne property:gender ?z } UNION { resource:Wagga_Wagga_Likoebe property:gender ?z } } . ?z rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q3176087,P21,c(Q290)), (Q16017479,P21,c(Q290)))
action filter_type
action union
action find
entity Q3176087
relation P21
action find
entity Q16017479
relation P21
type Q290
[ANSWERS]
{'OR': [['Q3176087', 'P21', {'concept': 'Q290'}], ['Q16017479', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3176087 property:P21 ?z } UNION { resource:Q16017479 property:P21 ?z } } . ?z rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Jeanne Laganne
relation gender
action find
entity Wagga Wagga Likoebe
relation gender
type sex
{'OR': [['Jeanne Laganne', 'gender', {'concept': 'sex'}], ['Wagga Wagga Likoebe', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Jeanne_Laganne property:gender ?z } UNION { resource:Wagga_Wagga_Likoebe property:gender ?z } } . ?z rdf:type ontology:sex }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581072
P180
Q3305213
USER
Which painting depicts that sex ?
(c(Q3305213),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3305213 . ?t property:P180 resource:Q6581072 }
female
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:painting . ?t property:depicts resource:female }
[]
painting
Clarification for simple ques.
Q6581072
SYSTEM
Did you mean female ?
Q6581097 Q6581072
(c(Q3305213),P180,Q6581097) (c(Q3305213),P180,Q6581072)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3305213 . ?t property:P180 resource:Q6581072 }
male female
Did you mean female ?
female
[{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:painting . ?t property:depicts resource:female }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3305213),P180,Q6581072)
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
[{'concept': 'painting'}, 'depicts', 'female']
[]
Q18346971
SYSTEM
Resurrection
Q18346971
(c(Q3305213),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[ANSWER] depicts that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3305213 . ?t property:P180 resource:Q6581072 }
Resurrection
Resurrection depicts that sex
Resurrection
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:painting . ?t property:depicts resource:female }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18346971
P800
Q502895
USER
Which person has that painting as a notable work ?
(c(Q502895),P800,Q18346971)
action filter_type
action find_reverse
entity Q18346971
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q18346971']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P800 resource:Q18346971 }
Resurrection
action filter_type
action find_reverse
entity Resurrection
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Resurrection']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:notable_work resource:Resurrection }
[]
common name
Q3120087
SYSTEM
John La Farge
Q3120087
(c(Q502895),P800,Q18346971)
action filter_type
action find_reverse
entity Q18346971
relation P800
type Q502895
[ANSWER] has that painting as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q18346971']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P800 resource:Q18346971 }
John La Farge
John La Farge has that painting as a notable work
John La Farge
action filter_type
action find_reverse
entity Resurrection
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Resurrection']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:notable_work resource:Resurrection }
[]