Simple Question (Direct)
Simple Question
Q347372
P166
Q2003221
USER
What were awarded to Louis Jules Mancini Mazarini ?
(Q347372,P166,c(Q2003221))
action filter_type
action find
entity Q347372
relation P166
type Q2003221
['Q347372', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { resource:Q347372 property:P166 ?j . ?j rdf:type ontology:Q2003221 }
Louis Jules Mancini Mazarini
action filter_type
action find
entity Louis Jules Mancini Mazarini
relation award received
type chivalric order
['Louis Jules Mancini Mazarini', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { resource:Louis_Jules_Mancini_Mazarini property:award_received ?j . ?j rdf:type ontology:chivalric_order }
[]
chivalric order
Q11609173 Q11599352
SYSTEM
Knight in the order of Saint-Michel, chevalier de l'ordre du Saint-Esprit
Q11609173 Q11599352
(Q347372,P166,c(Q2003221))
action filter_type
action find
entity Q347372
relation P166
type Q2003221
The [ANSWERS] were awarded to Louis Jules Mancini Mazarini
['Q347372', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { resource:Q347372 property:P166 ?j . ?j rdf:type ontology:Q2003221 }
Knight in the order of Saint-Michel chevalier de l'ordre du Saint-Esprit
The Knight in the order of Saint-Michel and chevalier de l'ordre du Saint-Esprit were awarded to Louis Jules Mancini Mazarini
Knight in the order of Saint-Michel chevalier de l'ordre du Saint-Esprit
action filter_type
action find
entity Louis Jules Mancini Mazarini
relation award received
type chivalric order
['Louis Jules Mancini Mazarini', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { resource:Louis_Jules_Mancini_Mazarini property:award_received ?j . ?j rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q347372
P40
Q502895
USER
Which person has Louis Jules Mancini Mazarini as a child ?
(c(Q502895),P40,Q347372)
action filter_type
action find_reverse
entity Q347372
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q347372']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q347372 . ?j rdf:type ontology:Q502895 }
Louis Jules Mancini Mazarini
action filter_type
action find_reverse
entity Louis Jules Mancini Mazarini
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis Jules Mancini Mazarini']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Louis_Jules_Mancini_Mazarini . ?j rdf:type ontology:common_name }
[]
common name
Q3380092
SYSTEM
Philippe Jules François Mancini
Q3380092
(c(Q502895),P40,Q347372)
action filter_type
action find_reverse
entity Q347372
relation P40
type Q502895
[ANSWER] has Louis Jules Mancini Mazarini as a child
[{'concept': 'Q502895'}, 'P40', 'Q347372']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q347372 . ?j rdf:type ontology:Q502895 }
Philippe Jules François Mancini
Philippe Jules François Mancini has Louis Jules Mancini Mazarini as a child
Philippe Jules François Mancini
action filter_type
action find_reverse
entity Louis Jules Mancini Mazarini
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis Jules Mancini Mazarini']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Louis_Jules_Mancini_Mazarini . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q347372
P20
Q56061
USER
Where did Louis Jules Mancini Mazarini die ?
(Q347372,P20,c(Q56061))
action filter_type
action find
entity Q347372
relation P20
type Q56061
['Q347372', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q347372 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Louis Jules Mancini Mazarini
action filter_type
action find
entity Louis Jules Mancini Mazarini
relation place of death
type administrative territorial entity
['Louis Jules Mancini Mazarini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Louis_Jules_Mancini_Mazarini property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q347372,P20,c(Q56061))
action filter_type
action find
entity Q347372
relation P20
type Q56061
Louis Jules Mancini Mazarini died in [ANSWER]
['Q347372', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q347372 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Paris
Louis Jules Mancini Mazarini died in Paris
Paris
action filter_type
action find
entity Louis Jules Mancini Mazarini
relation place of death
type administrative territorial entity
['Louis Jules Mancini Mazarini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Louis_Jules_Mancini_Mazarini property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3271730
Q56061
USER
And what about Léonor Mérimée?
(Q3271730,P20,c(Q56061))
action filter_type
action find
entity Q3271730
relation P20
type Q56061
['Q3271730', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3271730 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Léonor Mérimée
action filter_type
action find
entity Léonor Mérimée
relation place of death
type administrative territorial entity
['Léonor Mérimée', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léonor_Mérimée property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3271730,P20,c(Q56061))
action filter_type
action find
entity Q3271730
relation P20
type Q56061
[ANSWER]
['Q3271730', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3271730 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Léonor Mérimée
relation place of death
type administrative territorial entity
['Léonor Mérimée', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léonor_Mérimée property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q349259 Q3380092
P22
Q502895
USER
Which people have Philippe Jules François Mancini or Go-Saga as a father ?
OR((c(Q502895),P22,Q3380092), (c(Q502895),P22,Q349259))
action filter_type
action union
action find_reverse
entity Q3380092
relation P22
action find_reverse
entity Q349259
relation P22
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q3380092'], [{'concept': 'Q502895'}, 'P22', 'Q349259']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?w ) { ( resource:Q3380092 ) ( resource:Q349259 ) } . ?t property:P22 ?w } . ?t rdf:type ontology:Q502895 }
Go-Saga Philippe Jules François Mancini
action filter_type
action union
action find_reverse
entity Philippe Jules François Mancini
relation father
action find_reverse
entity Go-Saga
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Philippe Jules François Mancini'], [{'concept': 'common name'}, 'father', 'Go-Saga']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?w ) { ( resource:Philippe_Jules_François_Mancini ) ( resource:Go-Saga ) } . ?t property:father ?w } . ?t rdf:type ontology:common_name }
[]
common name
Q708897 Q11491596 Q11607096 Q349246 Q11630313 Q347372 Q11495274 Q11669588 Q360972 Q11494980
SYSTEM
Munetaka-shinnō, Shōjo-hosshinnō, Sōshi-naishinnō, Emperor Go-Fukakusa, Kakujo-hosshinnō, Louis Jules Mancini Mazarini, Ekishi-naishinnō, Takamine Arawabi, Kameyama, Gaishi-naishinnō
Q708897 Q11491596 Q11607096 Q349246 Q11630313 Q347372 Q11495274 Q11669588 Q360972 Q11494980
OR((c(Q502895),P22,Q3380092), (c(Q502895),P22,Q349259))
action filter_type
action union
action find_reverse
entity Q3380092
relation P22
action find_reverse
entity Q349259
relation P22
type Q502895
[ANSWERS] have Philippe Jules François Mancini or Go-Saga as a father
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q3380092'], [{'concept': 'Q502895'}, 'P22', 'Q349259']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?w ) { ( resource:Q3380092 ) ( resource:Q349259 ) } . ?t property:P22 ?w } . ?t rdf:type ontology:Q502895 }
Munetaka-shinnō Shōjo-hosshinnō Sōshi-naishinnō Emperor Go-Fukakusa Kakujo-hosshinnō Louis Jules Mancini Mazarini Ekishi-naishinnō Takamine Arawabi Kameyama Gaishi-naishinnō
Munetaka-shinnō, Shōjo-hosshinnō, Sōshi-naishinnō, Emperor Go-Fukakusa, Kakujo-hosshinnō, Louis Jules Mancini Mazarini, Ekishi-naishinnō, Takamine Arawabi, Kameyama and Gaishi-naishinnō have Philippe Jules François Mancini or Go-Saga as a father
Munetaka-shinnō Shōjo-hosshinnō Sōshi-naishinnō Emperor Go-Fukakusa Kakujo-hosshinnō Louis Jules Mancini Mazarini Ekishi-naishinnō Takamine Arawabi Kameyama Gaishi-naishinnō
action filter_type
action union
action find_reverse
entity Philippe Jules François Mancini
relation father
action find_reverse
entity Go-Saga
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Philippe Jules François Mancini'], [{'concept': 'common name'}, 'father', 'Go-Saga']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?w ) { ( resource:Philippe_Jules_François_Mancini ) ( resource:Go-Saga ) } . ?t property:father ?w } . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q349246
P26
Q502895
USER
Who are married to that one ?
(c(Q502895),P26,Q349246)
action filter_type
action find
entity Q349246
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q349246']
SELECT DISTINCT ?l WHERE { resource:Q349246 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Emperor Go-Fukakusa
action filter_type
action find
entity Emperor Go-Fukakusa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Go-Fukakusa']
SELECT DISTINCT ?l WHERE { resource:Emperor_Go-Fukakusa property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11607096
SYSTEM
Did you mean Sōshi-naishinnō ?
Q708897 Q11491596 Q11607096 Q349246 Q11630313 Q347372 Q11495274 Q11669588 Q360972 Q11494980
(c(Q502895),P26,Q708897) (c(Q502895),P26,Q11491596) (c(Q502895),P26,Q11607096) (c(Q502895),P26,Q349246) (c(Q502895),P26,Q11630313) (c(Q502895),P26,Q347372) (c(Q502895),P26,Q11495274) (c(Q502895),P26,Q11669588) (c(Q502895),P26,Q360972) (c(Q502895),P26,Q11494980)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q708897'] [{'concept': 'Q502895'}, 'P26', 'Q11491596'] [{'concept': 'Q502895'}, 'P26', 'Q11607096'] [{'concept': 'Q502895'}, 'P26', 'Q349246'] [{'concept': 'Q502895'}, 'P26', 'Q11630313'] [{'concept': 'Q502895'}, 'P26', 'Q347372'] [{'concept': 'Q502895'}, 'P26', 'Q11495274'] [{'concept': 'Q502895'}, 'P26', 'Q11669588'] [{'concept': 'Q502895'}, 'P26', 'Q360972'] [{'concept': 'Q502895'}, 'P26', 'Q11494980']
SELECT DISTINCT ?l WHERE { resource:Q349246 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Munetaka-shinnō Shōjo-hosshinnō Sōshi-naishinnō Emperor Go-Fukakusa Kakujo-hosshinnō Louis Jules Mancini Mazarini Ekishi-naishinnō Takamine Arawabi Kameyama Gaishi-naishinnō
Did you mean Sōshi-naishinnō ?
Sōshi-naishinnō
[{'concept': 'common name'}, 'spouse', 'Munetaka-shinnō'] [{'concept': 'common name'}, 'spouse', 'Shōjo-hosshinnō'] [{'concept': 'common name'}, 'spouse', 'Sōshi-naishinnō'] [{'concept': 'common name'}, 'spouse', 'Emperor Go-Fukakusa'] [{'concept': 'common name'}, 'spouse', 'Kakujo-hosshinnō'] [{'concept': 'common name'}, 'spouse', 'Louis Jules Mancini Mazarini'] [{'concept': 'common name'}, 'spouse', 'Ekishi-naishinnō'] [{'concept': 'common name'}, 'spouse', 'Takamine Arawabi'] [{'concept': 'common name'}, 'spouse', 'Kameyama'] [{'concept': 'common name'}, 'spouse', 'Gaishi-naishinnō']
SELECT DISTINCT ?l WHERE { resource:Emperor_Go-Fukakusa property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Emperor Go-Fukakusa. Could you tell me the answer for that?
(c(Q502895),P26,Q349246)
Q349246
[{'concept': 'Q502895'}, 'P26', 'Q349246']
[{'concept': 'common name'}, 'spouse', 'Emperor Go-Fukakusa']
[]
Q11555865 Q7223148
SYSTEM
Tōin Inshi, Saionji Kimiko
Q11555865 Q7223148
(c(Q502895),P26,Q349246)
action filter_type
action find
entity Q349246
relation P26
type Q502895
[ANSWERS] are married to that one
[{'concept': 'Q502895'}, 'P26', 'Q349246']
SELECT DISTINCT ?l WHERE { resource:Q349246 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Tōin Inshi Saionji Kimiko
Tōin Inshi and Saionji Kimiko are married to that one
Tōin Inshi Saionji Kimiko
action filter_type
action find
entity Emperor Go-Fukakusa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Go-Fukakusa']
SELECT DISTINCT ?l WHERE { resource:Emperor_Go-Fukakusa property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349246
P7
Q502895
USER
Who are siblings of Emperor Go-Fukakusa ?
(c(Q502895),P7,Q349246)
action filter_type
action find_reverse
entity Q349246
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q349246']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q349246 . ?b rdf:type ontology:Q502895 }
Emperor Go-Fukakusa
action filter_type
action find_reverse
entity Emperor Go-Fukakusa
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Emperor Go-Fukakusa']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Emperor_Go-Fukakusa . ?b rdf:type ontology:common_name }
[]
common name
Q360972 Q708897 Q11607096
SYSTEM
Kameyama, Munetaka-shinnō, Sōshi-naishinnō
Q708897 Q11491596 Q11607096 Q11630313 Q11495274 Q11669588 Q360972 Q11494980
(c(Q502895),P7,Q349246)
action filter_type
action find_reverse
entity Q349246
relation P7
type Q502895
Siblings of Emperor Go-Fukakusa are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q349246']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q349246 . ?b rdf:type ontology:Q502895 }
Munetaka-shinnō Shōjo-hosshinnō Sōshi-naishinnō Kakujo-hosshinnō Ekishi-naishinnō Takamine Arawabi Kameyama Gaishi-naishinnō
Siblings of Emperor Go-Fukakusa are the Kameyama, Munetaka-shinnō and Sōshi-naishinnō
Kameyama Munetaka-shinnō Sōshi-naishinnō
action filter_type
action find_reverse
entity Emperor Go-Fukakusa
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Emperor Go-Fukakusa']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Emperor_Go-Fukakusa . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11607096
P9
Q502895
USER
Who are that one a sibling of ?
(Q11607096,P9,c(Q502895))
action filter_type
action find
entity Q11607096
relation P9
type Q502895
['Q11607096', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11607096 property:P9 ?c . ?c rdf:type ontology:Q502895 }
Sōshi-naishinnō
action filter_type
action find
entity Sōshi-naishinnō
relation sister
type common name
['Sōshi-naishinnō', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sōshi-naishinnō property:sister ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q360972
SYSTEM
Did you mean Kameyama ?
Q360972 Q708897 Q11607096
(Q360972,P9,c(Q502895)) (Q708897,P9,c(Q502895)) (Q11607096,P9,c(Q502895))
[ANSWER]
['Q360972', 'P9', {'concept': 'Q502895'}] ['Q708897', 'P9', {'concept': 'Q502895'}] ['Q11607096', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11607096 property:P9 ?c . ?c rdf:type ontology:Q502895 }
Kameyama Munetaka-shinnō Sōshi-naishinnō
Did you mean Kameyama ?
Kameyama
['Kameyama', 'sister', {'concept': 'common name'}] ['Munetaka-shinnō', 'sister', {'concept': 'common name'}] ['Sōshi-naishinnō', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sōshi-naishinnō property:sister ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sōshi-naishinnō. Could you tell me the answer for that?
(Q11607096,P9,c(Q502895))
Q11607096
['Q11607096', 'P9', {'concept': 'Q502895'}]
['Sōshi-naishinnō', 'sister', {'concept': 'common name'}]
[]
Q11494980 Q11495274
SYSTEM
Gaishi-naishinnō, Ekishi-naishinnō
Q11494980 Q11495274
(Q11607096,P9,c(Q502895))
action filter_type
action find
entity Q11607096
relation P9
type Q502895
That one a sibling of are the [ANSWERS]
['Q11607096', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11607096 property:P9 ?c . ?c rdf:type ontology:Q502895 }
Gaishi-naishinnō Ekishi-naishinnō
That one a sibling of are the Gaishi-naishinnō and Ekishi-naishinnō
Gaishi-naishinnō Ekishi-naishinnō
action filter_type
action find
entity Sōshi-naishinnō
relation sister
type common name
['Sōshi-naishinnō', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sōshi-naishinnō property:sister ?c . ?c rdf:type ontology:common_name }
[]