Simple Question (Direct)
Simple Question
Q3180697
P25
Q502895
USER
Which female person has a child named Princess Maria of Romania ?
(Q3180697,P25,c(Q502895))
action filter_type
action find
entity Q3180697
relation P25
type Q502895
['Q3180697', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3180697 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Princess Maria of Romania
action filter_type
action find
entity Princess Maria of Romania
relation mother
type common name
['Princess Maria of Romania', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Princess_Maria_of_Romania property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q57629
SYSTEM
Elisabeth of Wied
Q57629
(Q3180697,P25,c(Q502895))
action filter_type
action find
entity Q3180697
relation P25
type Q502895
[ANSWER] has a child named Princess Maria of Romania
['Q3180697', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3180697 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Elisabeth of Wied
Elisabeth of Wied has a child named Princess Maria of Romania
Elisabeth of Wied
action filter_type
action find
entity Princess Maria of Romania
relation mother
type common name
['Princess Maria of Romania', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Princess_Maria_of_Romania property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57629
P166
Q193622
USER
Which order was received by that person ?
(Q57629,P166,c(Q193622))
action filter_type
action find
entity Q57629
relation P166
type Q193622
['Q57629', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?y WHERE { resource:Q57629 property:P166 ?y . ?y rdf:type ontology:Q193622 }
Elisabeth of Wied
action filter_type
action find
entity Elisabeth of Wied
relation award received
type order
['Elisabeth of Wied', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?y WHERE { resource:Elisabeth_of_Wied property:award_received ?y . ?y rdf:type ontology:order }
[]
order
Q833809
SYSTEM
Order of Louise
Q833809
(Q57629,P166,c(Q193622))
action filter_type
action find
entity Q57629
relation P166
type Q193622
The [ANSWER] was received by that person
['Q57629', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?y WHERE { resource:Q57629 property:P166 ?y . ?y rdf:type ontology:Q193622 }
Order of Louise
The Order of Louise was received by that person
Order of Louise
action filter_type
action find
entity Elisabeth of Wied
relation award received
type order
['Elisabeth of Wied', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?y WHERE { resource:Elisabeth_of_Wied property:award_received ?y . ?y rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57629
P9
Q502895
USER
Who is Elisabeth of Wied a sister of ?
(c(Q502895),P9,Q57629)
action filter_type
action find_reverse
entity Q57629
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q57629']
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q57629 . ?m rdf:type ontology:Q502895 }
Elisabeth of Wied
action filter_type
action find_reverse
entity Elisabeth of Wied
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Elisabeth of Wied']
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Elisabeth_of_Wied . ?m rdf:type ontology:common_name }
[]
common name
Q66130
SYSTEM
William, Prince of Wied
Q66130
(c(Q502895),P9,Q57629)
action filter_type
action find_reverse
entity Q57629
relation P9
type Q502895
[ANSWER] is Elisabeth of Wied a sister of
[{'concept': 'Q502895'}, 'P9', 'Q57629']
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q57629 . ?m rdf:type ontology:Q502895 }
William, Prince of Wied
William, Prince of Wied is Elisabeth of Wied a sister of
William, Prince of Wied
action filter_type
action find_reverse
entity Elisabeth of Wied
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Elisabeth of Wied']
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Elisabeth_of_Wied . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66130
P26
Q502895
USER
Who is the spouse of that one ?
(Q66130,P26,c(Q502895))
action filter_type
action find
entity Q66130
relation P26
type Q502895
['Q66130', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q66130 property:P26 ?q }
William, Prince of Wied
action filter_type
action find
entity William, Prince of Wied
relation spouse
type common name
['William, Prince of Wied', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:William,_Prince_of_Wied property:spouse ?q }
[]
common name
Q2367197
SYSTEM
Princess Marie of the Netherlands
Q2367197
(Q66130,P26,c(Q502895))
action filter_type
action find
entity Q66130
relation P26
type Q502895
The spouse of that one is the [ANSWER]
['Q66130', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q66130 property:P26 ?q }
Princess Marie of the Netherlands
The spouse of that one is the Princess Marie of the Netherlands
Princess Marie of the Netherlands
action filter_type
action find
entity William, Prince of Wied
relation spouse
type common name
['William, Prince of Wied', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:William,_Prince_of_Wied property:spouse ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2367197
P40
Q502895
USER
Which people are children of that one ?
(Q2367197,P40,c(Q502895))
action filter_type
action find
entity Q2367197
relation P40
type Q502895
['Q2367197', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2367197 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Princess Marie of the Netherlands
action filter_type
action find
entity Princess Marie of the Netherlands
relation child
type common name
['Princess Marie of the Netherlands', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Princess_Marie_of_the_Netherlands property:child ?t . ?t rdf:type ontology:common_name }
[]
common name
Q68270 Q57594
SYSTEM
William Frederick, Prince of Wied, William, Prince of Albania
Q68270 Q57594
(Q2367197,P40,c(Q502895))
action filter_type
action find
entity Q2367197
relation P40
type Q502895
[ANSWERS]
['Q2367197', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2367197 property:P40 ?t . ?t rdf:type ontology:Q502895 }
William Frederick, Prince of Wied William, Prince of Albania
William Frederick, Prince of Wied and William, Prince of Albania are children of that one
William Frederick, Prince of Wied William, Prince of Albania
action filter_type
action find
entity Princess Marie of the Netherlands
relation child
type common name
['Princess Marie of the Netherlands', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Princess_Marie_of_the_Netherlands property:child ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57594
P7
Q502895
USER
Who has that one as their sibling ?
(c(Q502895),P7,Q57594)
action filter_type
action find
entity Q57594
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q57594']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q57594 property:P7 ?e }
William, Prince of Albania
action filter_type
action find
entity William, Prince of Albania
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William, Prince of Albania']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:William,_Prince_of_Albania property:brother ?e }
[]
common name
Clarification for simple ques.
Q57594
SYSTEM
Did you mean William, Prince of Albania ?
Q68270 Q57594
(c(Q502895),P7,Q68270) (c(Q502895),P7,Q57594)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q68270'] [{'concept': 'Q502895'}, 'P7', 'Q57594']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q57594 property:P7 ?e }
William Frederick, Prince of Wied William, Prince of Albania
Did you mean William, Prince of Albania ?
William, Prince of Albania
[{'concept': 'common name'}, 'brother', 'William Frederick, Prince of Wied'] [{'concept': 'common name'}, 'brother', 'William, Prince of Albania']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:William,_Prince_of_Albania property:brother ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q57594)
[{'concept': 'Q502895'}, 'P7', 'Q57594']
[{'concept': 'common name'}, 'brother', 'William, Prince of Albania']
[]
Q68270
SYSTEM
William Frederick, Prince of Wied
Q68270
(c(Q502895),P7,Q57594)
action filter_type
action find
entity Q57594
relation P7
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q57594']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q57594 property:P7 ?e }
William Frederick, Prince of Wied
William Frederick, Prince of Wied has that one as their sibling
William Frederick, Prince of Wied
action filter_type
action find
entity William, Prince of Albania
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William, Prince of Albania']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:William,_Prince_of_Albania property:brother ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68270
P7
Q502895
USER
Which person has that one as their brother ?
(c(Q502895),P7,Q68270)
action filter_type
action find
entity Q68270
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q68270']
SELECT DISTINCT ?k WHERE { resource:Q68270 property:P7 ?k . ?k rdf:type ontology:Q502895 }
William Frederick, Prince of Wied
action filter_type
action find
entity William Frederick, Prince of Wied
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William Frederick, Prince of Wied']
SELECT DISTINCT ?k WHERE { resource:William_Frederick,_Prince_of_Wied property:brother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q57594
SYSTEM
William, Prince of Albania
Q57594
(c(Q502895),P7,Q68270)
action filter_type
action find
entity Q68270
relation P7
type Q502895
[ANSWER] has that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q68270']
SELECT DISTINCT ?k WHERE { resource:Q68270 property:P7 ?k . ?k rdf:type ontology:Q502895 }
William, Prince of Albania
William, Prince of Albania has that one as their brother
William, Prince of Albania
action filter_type
action find
entity William Frederick, Prince of Wied
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William Frederick, Prince of Wied']
SELECT DISTINCT ?k WHERE { resource:William_Frederick,_Prince_of_Wied property:brother ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q57594
P40
Q502895
USER
How many people have William, Prince of Albania as an offspring ?
(c(Q502895),P40,Q57594)
action count
action filter_type
action find_reverse
entity Q57594
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q57594']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P40 resource:Q57594 . ?i rdf:type ontology:Q502895 }
William, Prince of Albania
action count
action filter_type
action find_reverse
entity William, Prince of Albania
relation child
type common name
[{'concept': 'common name'}, 'child', 'William, Prince of Albania']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:child resource:William,_Prince_of_Albania . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q2367197 Q66130
(c(Q502895),P40,Q57594)
action count
action filter_type
action find_reverse
entity Q57594
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q57594']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P40 resource:Q57594 . ?i rdf:type ontology:Q502895 }
Princess Marie of the Netherlands William, Prince of Wied
2
action count
action filter_type
action find_reverse
entity William, Prince of Albania
relation child
type common name
[{'concept': 'common name'}, 'child', 'William, Prince of Albania']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:child resource:William,_Prince_of_Albania . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57594
P22
Q502895
USER
Which person has that one as a parent ?
action filter_type
action find_reverse
entity Q57594
relation P22
type Q502895
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q57594 . ?x rdf:type ontology:Q502895 }
William, Prince of Albania
action filter_type
action find_reverse
entity William, Prince of Albania
relation father
type common name
SELECT DISTINCT ?x WHERE { ?x property:father resource:William,_Prince_of_Albania . ?x rdf:type ontology:common_name }
[]
common name
Q4834683
SYSTEM
Carol Victor, Hereditary Prince of Albania
Q4834683
action filter_type
action find_reverse
entity Q57594
relation P22
type Q502895
[ANSWER] has that one as a parent
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q57594 . ?x rdf:type ontology:Q502895 }
Carol Victor, Hereditary Prince of Albania
Carol Victor, Hereditary Prince of Albania has that one as a parent
Carol Victor, Hereditary Prince of Albania
action filter_type
action find_reverse
entity William, Prince of Albania
relation father
type common name
SELECT DISTINCT ?x WHERE { ?x property:father resource:William,_Prince_of_Albania . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7395569
P53
Q8436
USER
What is the family that Saad bin Abdulaziz belongs to ?
(Q7395569,P53,c(Q8436))
action filter_type
action find
entity Q7395569
relation P53
type Q8436
['Q7395569', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?c WHERE { resource:Q7395569 property:P53 ?c . ?c rdf:type ontology:Q8436 }
Saad bin Abdulaziz
action filter_type
action find
entity Saad bin Abdulaziz
relation noble family
type family
['Saad bin Abdulaziz', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?c WHERE { resource:Saad_bin_Abdulaziz property:noble_family ?c . ?c rdf:type ontology:family }
[]
family
Q31711
SYSTEM
House of Saud
Q31711
(Q7395569,P53,c(Q8436))
action filter_type
action find
entity Q7395569
relation P53
type Q8436
The family that Saad bin Abdulaziz belongs to is the [ANSWER]
['Q7395569', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?c WHERE { resource:Q7395569 property:P53 ?c . ?c rdf:type ontology:Q8436 }
House of Saud
The family that Saad bin Abdulaziz belongs to is the House of Saud
House of Saud
action filter_type
action find
entity Saad bin Abdulaziz
relation noble family
type family
['Saad bin Abdulaziz', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?c WHERE { resource:Saad_bin_Abdulaziz property:noble_family ?c . ?c rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7395569
P27
Q15617994
USER
Which administrative territory is the native country of Saad bin Abdulaziz ?
(Q7395569,P27,c(Q15617994))
action filter_type
action find
entity Q7395569
relation P27
type Q15617994
['Q7395569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7395569 property:P27 ?r }
Saad bin Abdulaziz
action filter_type
action find
entity Saad bin Abdulaziz
relation country of citizenship
type designation for an administrative territorial entity
['Saad bin Abdulaziz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saad_bin_Abdulaziz property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q851
SYSTEM
Saudi Arabia
Q851
(Q7395569,P27,c(Q15617994))
action filter_type
action find
entity Q7395569
relation P27
type Q15617994
[ANSWER] is the native country of Saad bin Abdulaziz
['Q7395569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7395569 property:P27 ?r }
Saudi Arabia
Saudi Arabia is the native country of Saad bin Abdulaziz
Saudi Arabia
action filter_type
action find
entity Saad bin Abdulaziz
relation country of citizenship
type designation for an administrative territorial entity
['Saad bin Abdulaziz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saad_bin_Abdulaziz property:country_of_citizenship ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3869213
Q15617994
USER
And also tell me about Mátyás Kuti?
(Q3869213,P27,c(Q15617994))
action filter_type
action find
entity Q3869213
relation P27
type Q15617994
['Q3869213', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q3869213 property:P27 ?a }
Mátyás Kuti
action filter_type
action find
entity Mátyás Kuti
relation country of citizenship
type designation for an administrative territorial entity
['Mátyás Kuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mátyás_Kuti property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q3869213,P27,c(Q15617994))
action filter_type
action find
entity Q3869213
relation P27
type Q15617994
[ANSWER]
['Q3869213', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q3869213 property:P27 ?a }
Hungary
Hungary
action filter_type
action find
entity Mátyás Kuti
relation country of citizenship
type designation for an administrative territorial entity
['Mátyás Kuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mátyás_Kuti property:country_of_citizenship ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3869213
P21
Q290
USER
Which sex does that person possess ?
(Q28,P21,c(Q290))
action filter_type
action find
entity Q3869213
relation P21
type Q290
['Q28', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3869213 property:P21 ?u . ?u rdf:type ontology:Q290 }
Mátyás Kuti
action filter_type
action find
entity Mátyás Kuti
relation gender
type sex
['Hungary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Mátyás_Kuti property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q28,P21,c(Q290))
action filter_type
action find
entity Q3869213
relation P21
type Q290
That person possesses a [ANSWER]
['Q28', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3869213 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Mátyás Kuti
relation gender
type sex
['Hungary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Mátyás_Kuti property:gender ?u . ?u rdf:type ontology:sex }
[]