Simple Question (Direct)
Simple Question
Q3281569
P22
Q502895
USER
Which male person has a child named Malatesta IV Baglioni ?
(Q3281569,P22,c(Q502895))
action filter_type
action find
entity Q3281569
relation P22
type Q502895
['Q3281569', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3281569 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Malatesta IV Baglioni
action filter_type
action find
entity Malatesta IV Baglioni
relation father
type common name
['Malatesta IV Baglioni', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Malatesta_IV_Baglioni property:father ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1142042
SYSTEM
Gian Paolo Baglioni
Q1142042
(Q3281569,P22,c(Q502895))
action filter_type
action find
entity Q3281569
relation P22
type Q502895
[ANSWER] has a child named Malatesta IV Baglioni
['Q3281569', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3281569 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Gian Paolo Baglioni
Gian Paolo Baglioni has a child named Malatesta IV Baglioni
Gian Paolo Baglioni
action filter_type
action find
entity Malatesta IV Baglioni
relation father
type common name
['Malatesta IV Baglioni', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Malatesta_IV_Baglioni property:father ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3281569
P40
Q502895
USER
Whose child is Malatesta IV Baglioni ?
(c(Q502895),P40,Q3281569)
action filter_type
action find_reverse
entity Q3281569
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3281569']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q3281569 . ?k rdf:type ontology:Q502895 }
Malatesta IV Baglioni
action filter_type
action find_reverse
entity Malatesta IV Baglioni
relation child
type common name
[{'concept': 'common name'}, 'child', 'Malatesta IV Baglioni']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Malatesta_IV_Baglioni . ?k rdf:type ontology:common_name }
[]
common name
Q1142042
SYSTEM
Gian Paolo Baglioni
Q1142042
(c(Q502895),P40,Q3281569)
action filter_type
action find_reverse
entity Q3281569
relation P40
type Q502895
[ANSWER] is Malatesta IV Baglioni
[{'concept': 'Q502895'}, 'P40', 'Q3281569']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q3281569 . ?k rdf:type ontology:Q502895 }
Gian Paolo Baglioni
Gian Paolo Baglioni is Malatesta IV Baglioni
Gian Paolo Baglioni
action filter_type
action find_reverse
entity Malatesta IV Baglioni
relation child
type common name
[{'concept': 'common name'}, 'child', 'Malatesta IV Baglioni']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Malatesta_IV_Baglioni . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1142042
P1038
Q502895
USER
Which person is a relative of that one ?
(c(Q502895),P1038,Q1142042)
action filter_type
action find_reverse
entity Q1142042
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q1142042']
SELECT DISTINCT ?s WHERE { ?s property:P1038 resource:Q1142042 . ?s rdf:type ontology:Q502895 }
Gian Paolo Baglioni
action filter_type
action find_reverse
entity Gian Paolo Baglioni
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Gian Paolo Baglioni']
SELECT DISTINCT ?s WHERE { ?s property:relative resource:Gian_Paolo_Baglioni . ?s rdf:type ontology:common_name }
[]
common name
Q3281567
SYSTEM
Malatesta Baglioni
Q3281567
(c(Q502895),P1038,Q1142042)
action filter_type
action find_reverse
entity Q1142042
relation P1038
type Q502895
[ANSWER] is a relative of that one
[{'concept': 'Q502895'}, 'P1038', 'Q1142042']
SELECT DISTINCT ?s WHERE { ?s property:P1038 resource:Q1142042 . ?s rdf:type ontology:Q502895 }
Malatesta Baglioni
Malatesta Baglioni is a relative of that one
Malatesta Baglioni
action filter_type
action find_reverse
entity Gian Paolo Baglioni
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Gian Paolo Baglioni']
SELECT DISTINCT ?s WHERE { ?s property:relative resource:Gian_Paolo_Baglioni . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1142042
P1196
Q1914636
USER
Which activity best describes with circumstances of death of Gian Paolo Baglioni ?
(Q1142042,P1196,c(Q1914636))
action filter_type
action find
entity Q1142042
relation P1196
type Q1914636
['Q1142042', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?r WHERE { resource:Q1142042 property:P1196 ?r . ?r rdf:type ontology:Q1914636 }
Gian Paolo Baglioni
action filter_type
action find
entity Gian Paolo Baglioni
relation manner of death
type activity
['Gian Paolo Baglioni', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?r WHERE { resource:Gian_Paolo_Baglioni property:manner_of_death ?r . ?r rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q1142042,P1196,c(Q1914636))
action filter_type
action find
entity Q1142042
relation P1196
type Q1914636
[ANSWER] best describes with circumstances of death of Gian Paolo Baglioni
['Q1142042', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?r WHERE { resource:Q1142042 property:P1196 ?r . ?r rdf:type ontology:Q1914636 }
homicide
Homicide best describes with circumstances of death of Gian Paolo Baglioni
homicide
action filter_type
action find
entity Gian Paolo Baglioni
relation manner of death
type activity
['Gian Paolo Baglioni', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?r WHERE { resource:Gian_Paolo_Baglioni property:manner_of_death ?r . ?r rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1142042
P53
Q8436
USER
What dynasty does that person belong to ?
(Q149086,P53,c(Q8436))
action filter_type
action find
entity Q1142042
relation P53
type Q8436
['Q149086', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?h WHERE { resource:Q1142042 property:P53 ?h . ?h rdf:type ontology:Q8436 }
Gian Paolo Baglioni
action filter_type
action find
entity Gian Paolo Baglioni
relation noble family
type family
['homicide', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?h WHERE { resource:Gian_Paolo_Baglioni property:noble_family ?h . ?h rdf:type ontology:family }
[]
family
Q2238848
SYSTEM
Baglioni family
Q2238848
(Q149086,P53,c(Q8436))
action filter_type
action find
entity Q1142042
relation P53
type Q8436
That person belongs to [ANSWER]
['Q149086', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?h WHERE { resource:Q1142042 property:P53 ?h . ?h rdf:type ontology:Q8436 }
Baglioni family
That person belongs to Baglioni family
Baglioni family
action filter_type
action find
entity Gian Paolo Baglioni
relation noble family
type family
['homicide', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?h WHERE { resource:Gian_Paolo_Baglioni property:noble_family ?h . ?h rdf:type ontology:family }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2065875 Q1142042
P53
Q8436
USER
Or Baudouin, 12th Prince of Ligne?
OR((Q1142042,P53,c(Q8436)), (Q2065875,P53,c(Q8436)))
action filter_type
action union
action find
entity Q1142042
relation P53
action find
entity Q2065875
relation P53
type Q8436
{'OR': [['Q1142042', 'P53', {'concept': 'Q8436'}], ['Q2065875', 'P53', {'concept': 'Q8436'}]]}
SELECT DISTINCT ?o WHERE { { ?k property:P53 ?o . VALUES ( ?k ) { ( resource:Q2065875 ) ( resource:Q1142042 ) } } . ?o rdf:type ontology:Q8436 }
Baudouin, 12th Prince of Ligne Gian Paolo Baglioni
action filter_type
action union
action find
entity Gian Paolo Baglioni
relation noble family
action find
entity Baudouin, 12th Prince of Ligne
relation noble family
type family
{'OR': [['Gian Paolo Baglioni', 'noble family', {'concept': 'family'}], ['Baudouin, 12th Prince of Ligne', 'noble family', {'concept': 'family'}]]}
SELECT DISTINCT ?o WHERE { { ?k property:noble_family ?o . VALUES ( ?k ) { ( resource:Baudouin,_12th_Prince_of_Ligne ) ( resource:Gian_Paolo_Baglioni ) } } . ?o rdf:type ontology:family }
[]
family
Q2238848 Q1468411
SYSTEM
Baglioni family, House of Ligne
Q2238848 Q1468411
OR((Q1142042,P53,c(Q8436)), (Q2065875,P53,c(Q8436)))
action filter_type
action union
action find
entity Q1142042
relation P53
action find
entity Q2065875
relation P53
type Q8436
[ANSWERS]
{'OR': [['Q1142042', 'P53', {'concept': 'Q8436'}], ['Q2065875', 'P53', {'concept': 'Q8436'}]]}
SELECT DISTINCT ?o WHERE { { ?k property:P53 ?o . VALUES ( ?k ) { ( resource:Q2065875 ) ( resource:Q1142042 ) } } . ?o rdf:type ontology:Q8436 }
Baglioni family House of Ligne
Baglioni family House of Ligne
action filter_type
action union
action find
entity Gian Paolo Baglioni
relation noble family
action find
entity Baudouin, 12th Prince of Ligne
relation noble family
type family
{'OR': [['Gian Paolo Baglioni', 'noble family', {'concept': 'family'}], ['Baudouin, 12th Prince of Ligne', 'noble family', {'concept': 'family'}]]}
SELECT DISTINCT ?o WHERE { { ?k property:noble_family ?o . VALUES ( ?k ) { ( resource:Baudouin,_12th_Prince_of_Ligne ) ( resource:Gian_Paolo_Baglioni ) } } . ?o rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2065875
P7
Q502895
USER
Who are Baudouin, 12th Prince of Ligne a brother of ?
(c(Q502895),P7,Q2238848) (c(Q502895),P7,Q1468411)
action filter_type
action find_reverse
entity Q2065875
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2238848'] [{'concept': 'Q502895'}, 'P7', 'Q1468411']
SELECT DISTINCT ?u WHERE { ?u property:P7 resource:Q2065875 . ?u rdf:type ontology:Q502895 }
Baudouin, 12th Prince of Ligne
action filter_type
action find_reverse
entity Baudouin, 12th Prince of Ligne
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Baglioni family'] [{'concept': 'common name'}, 'brother', 'House of Ligne']
SELECT DISTINCT ?u WHERE { ?u property:brother resource:Baudouin,_12th_Prince_of_Ligne . ?u rdf:type ontology:common_name }
[]
common name
Q4022847 Q1758863
SYSTEM
Archduchess Yolande of Austria, Antoine
Q4022847 Q1758863
(c(Q502895),P7,Q2238848) (c(Q502895),P7,Q1468411)
action filter_type
action find_reverse
entity Q2065875
relation P7
type Q502895
[ANSWERS] Baudouin, 12th Prince of Ligne a brother of
[{'concept': 'Q502895'}, 'P7', 'Q2238848'] [{'concept': 'Q502895'}, 'P7', 'Q1468411']
SELECT DISTINCT ?u WHERE { ?u property:P7 resource:Q2065875 . ?u rdf:type ontology:Q502895 }
Archduchess Yolande of Austria Antoine
Archduchess Yolande of Austria and Antoine Baudouin, 12th Prince of Ligne a brother of
Archduchess Yolande of Austria Antoine
action filter_type
action find_reverse
entity Baudouin, 12th Prince of Ligne
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Baglioni family'] [{'concept': 'common name'}, 'brother', 'House of Ligne']
SELECT DISTINCT ?u WHERE { ?u property:brother resource:Baudouin,_12th_Prince_of_Ligne . ?u rdf:type ontology:common_name }
[]