Simple Question (Direct)
Simple Question
Q121697
P21
Q290
USER
Which sex does Hortensia von Moos possess ?
(Q121697,P21,c(Q290))
action filter_type
action find
entity Q121697
relation P21
type Q290
['Q121697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q121697 property:P21 ?m . ?m rdf:type ontology:Q290 }
Hortensia von Moos
action filter_type
action find
entity Hortensia von Moos
relation gender
type sex
['Hortensia von Moos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hortensia_von_Moos property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q121697,P21,c(Q290))
action filter_type
action find
entity Q121697
relation P21
type Q290
Hortensia von Moos possesses a [ANSWER]
['Q121697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q121697 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
Hortensia von Moos possesses a female
female
action filter_type
action find
entity Hortensia von Moos
relation gender
type sex
['Hortensia von Moos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hortensia_von_Moos property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121697
P40
Q502895
USER
Whose child are Hortensia von Moos ?
(c(Q502895),P40,Q121697)
action filter_type
action find_reverse
entity Q121697
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q121697']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q121697 . ?o rdf:type ontology:Q502895 }
Hortensia von Moos
action filter_type
action find_reverse
entity Hortensia von Moos
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hortensia von Moos']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Hortensia_von_Moos . ?o rdf:type ontology:common_name }
[]
common name
Q26761651 Q19958301
SYSTEM
Ursula von Salis, Gubert von Salis
Q26761651 Q19958301
(c(Q502895),P40,Q121697)
action filter_type
action find_reverse
entity Q121697
relation P40
type Q502895
[ANSWERS] are Hortensia von Moos
[{'concept': 'Q502895'}, 'P40', 'Q121697']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q121697 . ?o rdf:type ontology:Q502895 }
Ursula von Salis Gubert von Salis
Ursula von Salis and Gubert von Salis are Hortensia von Moos
Ursula von Salis Gubert von Salis
action filter_type
action find_reverse
entity Hortensia von Moos
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hortensia von Moos']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Hortensia_von_Moos . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26761651 Q19958301
P26
Q502895
USER
Which people are married to Ursula von Salis and Gubert von Salis ?
(c(Q502895),P26,Q26761651) (c(Q502895),P26,Q19958301)
action union
action filter_type
action find
entity Q26761651
relation P26
type Q502895
action filter_type
action find
entity Q19958301
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q26761651'] [{'concept': 'Q502895'}, 'P26', 'Q19958301']
SELECT DISTINCT ?e WHERE { { resource:Q26761651 property:P26 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q19958301 property:P26 ?e . ?e rdf:type ontology:Q502895 } }
Ursula von Salis Gubert von Salis
action union
action filter_type
action find
entity Ursula von Salis
relation spouse
type common name
action filter_type
action find
entity Gubert von Salis
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ursula von Salis'] [{'concept': 'common name'}, 'spouse', 'Gubert von Salis']
SELECT DISTINCT ?e WHERE { { resource:Ursula_von_Salis property:spouse ?e . ?e rdf:type ontology:common_name } UNION { resource:Gubert_von_Salis property:spouse ?e . ?e rdf:type ontology:common_name } }
[]
common name
Q19958301 Q26761651
SYSTEM
Gubert von Salis, Ursula von Salis
Q19958301 Q26761651
(c(Q502895),P26,Q26761651) (c(Q502895),P26,Q19958301)
action union
action filter_type
action find
entity Q26761651
relation P26
type Q502895
action filter_type
action find
entity Q19958301
relation P26
type Q502895
[ANSWERS] are married to Ursula von Salis and Gubert von Salis
[{'concept': 'Q502895'}, 'P26', 'Q26761651'] [{'concept': 'Q502895'}, 'P26', 'Q19958301']
SELECT DISTINCT ?e WHERE { { resource:Q26761651 property:P26 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q19958301 property:P26 ?e . ?e rdf:type ontology:Q502895 } }
Gubert von Salis Ursula von Salis
Gubert von Salis and Ursula von Salis are married to Ursula von Salis and Gubert von Salis
Gubert von Salis Ursula von Salis
action union
action filter_type
action find
entity Ursula von Salis
relation spouse
type common name
action filter_type
action find
entity Gubert von Salis
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ursula von Salis'] [{'concept': 'common name'}, 'spouse', 'Gubert von Salis']
SELECT DISTINCT ?e WHERE { { resource:Ursula_von_Salis property:spouse ?e . ?e rdf:type ontology:common_name } UNION { resource:Gubert_von_Salis property:spouse ?e . ?e rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19958301
P734
Q82799
USER
Which name is associated with that person ?
(Q19958301,P734,c(Q82799))
action filter_type
action find
entity Q19958301
relation P734
type Q82799
['Q19958301', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q19958301 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Gubert von Salis
action filter_type
action find
entity Gubert von Salis
relation family name
type name
['Gubert von Salis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Gubert_von_Salis property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q19958301
SYSTEM
Did you mean Gubert von Salis ?
Q19958301 Q26761651
(Q19958301,P734,c(Q82799)) (Q26761651,P734,c(Q82799))
[ANSWER]
['Q19958301', 'P734', {'concept': 'Q82799'}] ['Q26761651', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q19958301 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Gubert von Salis Ursula von Salis
Did you mean Gubert von Salis ?
Gubert von Salis
['Gubert von Salis', 'family name', {'concept': 'name'}] ['Ursula von Salis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Gubert_von_Salis property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19958301,P734,c(Q82799))
['Q19958301', 'P734', {'concept': 'Q82799'}]
['Gubert von Salis', 'family name', {'concept': 'name'}]
[]
Q19930319
SYSTEM
Salis
Q19930319
(Q19958301,P734,c(Q82799))
action filter_type
action find
entity Q19958301
relation P734
type Q82799
[ANSWER] is associated with that person
['Q19958301', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q19958301 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Salis
Salis is associated with that person
Salis
action filter_type
action find
entity Gubert von Salis
relation family name
type name
['Gubert von Salis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Gubert_von_Salis property:family_name ?r . ?r rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19930319 Q5325600
P734
Q502895
USER
Does Ean Randolph have that one as family name ?
(Q5325600,P734,Q19930319)
action is_in
entity Q5325600
action find
entity Q19930319
relation P734
['Q5325600', 'P734', 'Q19930319']
ASK WHERE { resource:Q19930319 property:P734 resource:Q5325600 }
Salis Ean Randolph
action is_in
entity Ean Randolph
action find
entity Salis
relation family name
['Ean Randolph', 'family name', 'Salis']
ASK WHERE { resource:Salis property:family_name resource:Ean_Randolph }
[]
common name
SYSTEM
NO
(Q5325600,P734,Q19930319)
action is_in
entity Q5325600
action find
entity Q19930319
relation P734
[ANSWER]
['Q5325600', 'P734', 'Q19930319']
ASK WHERE { resource:Q19930319 property:P734 resource:Q5325600 }
No
action is_in
entity Ean Randolph
action find
entity Salis
relation family name
['Ean Randolph', 'family name', 'Salis']
ASK WHERE { resource:Salis property:family_name resource:Ean_Randolph }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q121697 Q64178
P19
Q13220204
USER
Was Hortensia von Moos born at Maienfeld ?
(Q121697,P19,Q64178)
action is_in
entity Q64178
action find
entity Q121697
relation P19
['Q121697', 'P19', 'Q64178']
ASK WHERE { resource:Q121697 property:P19 resource:Q64178 }
Hortensia von Moos Maienfeld
action is_in
entity Maienfeld
action find
entity Hortensia von Moos
relation place of birth
['Hortensia von Moos', 'place of birth', 'Maienfeld']
ASK WHERE { resource:Hortensia_von_Moos property:place_of_birth resource:Maienfeld }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q121697,P19,Q64178)
action is_in
entity Q64178
action find
entity Q121697
relation P19
[ANSWER]
['Q121697', 'P19', 'Q64178']
ASK WHERE { resource:Q121697 property:P19 resource:Q64178 }
Yes
action is_in
entity Maienfeld
action find
entity Hortensia von Moos
relation place of birth
['Hortensia von Moos', 'place of birth', 'Maienfeld']
ASK WHERE { resource:Hortensia_von_Moos property:place_of_birth resource:Maienfeld }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q121697 Q5436593
P26
Q502895
USER
How many people have Hortensia von Moos or Farzaneh as spouse ?
(c(Q502895),P26,Q121697) (c(Q502895),P26,Q5436593)
action count
action union
action filter_type
action find_reverse
entity Q121697
relation P26
type Q502895
action filter_type
action find_reverse
entity Q5436593
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q121697'] [{'concept': 'Q502895'}, 'P26', 'Q5436593']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P26 resource:Q121697 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P26 resource:Q5436593 . ?y rdf:type ontology:Q502895 } }
Hortensia von Moos Farzaneh
action count
action union
action filter_type
action find_reverse
entity Hortensia von Moos
relation spouse
type common name
action filter_type
action find_reverse
entity Farzaneh
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hortensia von Moos'] [{'concept': 'common name'}, 'spouse', 'Farzaneh']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:spouse resource:Hortensia_von_Moos . ?y rdf:type ontology:common_name } UNION { ?y property:spouse resource:Farzaneh . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q7181718 Q26761653
(c(Q502895),P26,Q121697) (c(Q502895),P26,Q5436593)
action count
action union
action filter_type
action find_reverse
entity Q121697
relation P26
type Q502895
action filter_type
action find_reverse
entity Q5436593
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q121697'] [{'concept': 'Q502895'}, 'P26', 'Q5436593']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P26 resource:Q121697 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P26 resource:Q5436593 . ?y rdf:type ontology:Q502895 } }
Phil Boots Rudolf Gugelberg von Moos
2
action count
action union
action filter_type
action find_reverse
entity Hortensia von Moos
relation spouse
type common name
action filter_type
action find_reverse
entity Farzaneh
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hortensia von Moos'] [{'concept': 'common name'}, 'spouse', 'Farzaneh']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:spouse resource:Hortensia_von_Moos . ?y rdf:type ontology:common_name } UNION { ?y property:spouse resource:Farzaneh . ?y rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19958301
P22
Q502895
USER
Who has Gubert von Salis as a father ?
(c(Q502895),P22,Q19958301)
action filter_type
action find_reverse
entity Q19958301
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q19958301']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q19958301 . ?v rdf:type ontology:Q502895 }
Gubert von Salis
action filter_type
action find_reverse
entity Gubert von Salis
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gubert von Salis']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Gubert_von_Salis . ?v rdf:type ontology:common_name }
[]
common name
Q121697
SYSTEM
Hortensia von Moos
Q121697
(c(Q502895),P22,Q19958301)
action filter_type
action find_reverse
entity Q19958301
relation P22
type Q502895
[ANSWER] has Gubert von Salis as a father
[{'concept': 'Q502895'}, 'P22', 'Q19958301']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q19958301 . ?v rdf:type ontology:Q502895 }
Hortensia von Moos
Hortensia von Moos has Gubert von Salis as a father
Hortensia von Moos
action filter_type
action find_reverse
entity Gubert von Salis
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gubert von Salis']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Gubert_von_Salis . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121697
P20
Q13220204
USER
Where did that person expire ?
(Q121697,P20,c(Q13220204))
action filter_type
action find
entity Q121697
relation P20
type Q13220204
['Q121697', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q121697 property:P20 ?x . ?x rdf:type ontology:Q13220204 }
Hortensia von Moos
action filter_type
action find
entity Hortensia von Moos
relation place of death
type second-level administrative country subdivision
['Hortensia von Moos', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Hortensia_von_Moos property:place_of_death ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q64178
SYSTEM
Maienfeld
Q64178
(Q121697,P20,c(Q13220204))
action filter_type
action find
entity Q121697
relation P20
type Q13220204
That person expired at [ANSWER]
['Q121697', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q121697 property:P20 ?x . ?x rdf:type ontology:Q13220204 }
Maienfeld
That person expired at Maienfeld
Maienfeld
action filter_type
action find
entity Hortensia von Moos
relation place of death
type second-level administrative country subdivision
['Hortensia von Moos', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Hortensia_von_Moos property:place_of_death ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q64178 Q515332 Q49654
P47
Q1048835
USER
Is that administrative country subdivision next to the border of Requejo and Triesen ?
(Q64178,P47,Q515332) (Q64178,P47,Q49654)
action is_in
entity Q64178
action intersection
action find_reverse
entity Q515332
relation P47
action find_reverse
entity Q49654
relation P47
['Q64178', 'P47', 'Q515332'] ['Q64178', 'P47', 'Q49654']
ASK WHERE { resource:Q64178 property:P47 resource:Q515332 . resource:Q64178 property:P47 resource:Q49654 }
Maienfeld Requejo Triesen
action is_in
entity Maienfeld
action intersection
action find_reverse
entity Requejo
relation shares border with
action find_reverse
entity Triesen
relation shares border with
['Maienfeld', 'shares border with', 'Requejo'] ['Maienfeld', 'shares border with', 'Triesen']
ASK WHERE { resource:Maienfeld property:shares_border_with resource:Requejo . resource:Maienfeld property:shares_border_with resource:Triesen }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q64178,P47,Q515332) (Q64178,P47,Q49654)
action is_in
entity Q64178
action intersection
action find_reverse
entity Q515332
relation P47
action find_reverse
entity Q49654
relation P47
[ANSWER]
['Q64178', 'P47', 'Q515332'] ['Q64178', 'P47', 'Q49654']
ASK WHERE { resource:Q64178 property:P47 resource:Q515332 . resource:Q64178 property:P47 resource:Q49654 }
NO and YES respectively
action is_in
entity Maienfeld
action intersection
action find_reverse
entity Requejo
relation shares border with
action find_reverse
entity Triesen
relation shares border with
['Maienfeld', 'shares border with', 'Requejo'] ['Maienfeld', 'shares border with', 'Triesen']
ASK WHERE { resource:Maienfeld property:shares_border_with resource:Requejo . resource:Maienfeld property:shares_border_with resource:Triesen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121697
P551
Q7743
USER
Which home was the place of residence of Hortensia von Moos ?
(Q121697,P551,c(Q7743))
action filter_type
action find
entity Q121697
relation P551
type Q7743
['Q121697', 'P551', {'concept': 'Q7743'}]
SELECT DISTINCT ?t WHERE { resource:Q121697 property:P551 ?t . ?t rdf:type ontology:Q7743 }
Hortensia von Moos
action filter_type
action find
entity Hortensia von Moos
relation residence
type home
['Hortensia von Moos', 'residence', {'concept': 'home'}]
SELECT DISTINCT ?t WHERE { resource:Hortensia_von_Moos property:residence ?t . ?t rdf:type ontology:home }
[]
home
Q14661772
SYSTEM
Salenegg Castle
Q14661772
(Q121697,P551,c(Q7743))
action filter_type
action find
entity Q121697
relation P551
type Q7743
[ANSWER] was the place of residence of Hortensia von Moos
['Q121697', 'P551', {'concept': 'Q7743'}]
SELECT DISTINCT ?t WHERE { resource:Q121697 property:P551 ?t . ?t rdf:type ontology:Q7743 }
Salenegg Castle
Salenegg Castle was the place of residence of Hortensia von Moos
Salenegg Castle
action filter_type
action find
entity Hortensia von Moos
relation residence
type home
['Hortensia von Moos', 'residence', {'concept': 'home'}]
SELECT DISTINCT ?t WHERE { resource:Hortensia_von_Moos property:residence ?t . ?t rdf:type ontology:home }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121697
P25
Q502895
USER
Who was the mom of that one ?
(Q14661772,P25,c(Q502895))
action filter_type
action find
entity Q121697
relation P25
type Q502895
['Q14661772', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q121697 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Hortensia von Moos
action filter_type
action find
entity Hortensia von Moos
relation mother
type common name
['Salenegg Castle', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hortensia_von_Moos property:mother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q26761651
SYSTEM
Ursula von Salis
Q26761651
(Q14661772,P25,c(Q502895))
action filter_type
action find
entity Q121697
relation P25
type Q502895
The mom of that one was Princess [ANSWER]
['Q14661772', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q121697 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Ursula von Salis
The mom of that one was Princess Ursula von Salis
Ursula von Salis
action filter_type
action find
entity Hortensia von Moos
relation mother
type common name
['Salenegg Castle', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hortensia_von_Moos property:mother ?f . ?f rdf:type ontology:common_name }
[]