Simple Question (Direct)
Simple Question
Q700593
P7
Q502895
USER
Who is Theodoric II, Duke of Lorraine a sibling of ?
(Q700593,P7,c(Q502895))
action filter_type
action find
entity Q700593
relation P7
type Q502895
['Q700593', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q700593 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Theodoric II, Duke of Lorraine
action filter_type
action find
entity Theodoric II, Duke of Lorraine
relation brother
type common name
['Theodoric II, Duke of Lorraine', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Theodoric_II,_Duke_of_Lorraine property:brother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q476318
SYSTEM
Gerard, Count of Vaudémont
Q476318
(Q700593,P7,c(Q502895))
action filter_type
action find
entity Q700593
relation P7
type Q502895
Theodoric II , Duke of Lorraine a sibling of is h [ANSWER]
['Q700593', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q700593 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Gerard, Count of Vaudémont
Theodoric II , Duke of Lorraine a sibling of is h Gerard, Count of Vaudémont
Gerard, Count of Vaudémont
action filter_type
action find
entity Theodoric II, Duke of Lorraine
relation brother
type common name
['Theodoric II, Duke of Lorraine', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Theodoric_II,_Duke_of_Lorraine property:brother ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q700593
P22
Q502895
USER
Who have Theodoric II, Duke of Lorraine as a father ?
(c(Q502895),P22,Q700593)
action filter_type
action find_reverse
entity Q700593
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q700593']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q700593 . ?s rdf:type ontology:Q502895 }
Theodoric II, Duke of Lorraine
action filter_type
action find_reverse
entity Theodoric II, Duke of Lorraine
relation father
type common name
[{'concept': 'common name'}, 'father', 'Theodoric II, Duke of Lorraine']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Theodoric_II,_Duke_of_Lorraine . ?s rdf:type ontology:common_name }
[]
common name
Q224958 Q252024 Q467022
SYSTEM
Thierry of Lorraine, Count of Flanders, Simon I, Duke of Lorraine, Gertrud of Lorraine
Q467022 Q224958 Q252024 Q3132315
(c(Q502895),P22,Q700593)
action filter_type
action find_reverse
entity Q700593
relation P22
type Q502895
[ANSWERS] have Theodoric II, Duke of Lorraine as a father
[{'concept': 'Q502895'}, 'P22', 'Q700593']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q700593 . ?s rdf:type ontology:Q502895 }
Gertrud of Lorraine Thierry of Lorraine, Count of Flanders Simon I, Duke of Lorraine Henri of Lorraine
Thierry of Lorraine, Count of Flanders, Simon I, Duke of Lorraine and Gertrud of Lorraine have Theodoric II, Duke of Lorraine as a father
Thierry of Lorraine, Count of Flanders Simon I, Duke of Lorraine Gertrud of Lorraine
action filter_type
action find_reverse
entity Theodoric II, Duke of Lorraine
relation father
type common name
[{'concept': 'common name'}, 'father', 'Theodoric II, Duke of Lorraine']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Theodoric_II,_Duke_of_Lorraine . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q467022
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q467022)
action filter_type
action find_reverse
entity Q467022
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q467022']
SELECT DISTINCT ?n WHERE { ?n property:P9 resource:Q467022 . ?n rdf:type ontology:Q502895 }
Gertrud of Lorraine
action filter_type
action find_reverse
entity Gertrud of Lorraine
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Gertrud of Lorraine']
SELECT DISTINCT ?n WHERE { ?n property:sister resource:Gertrud_of_Lorraine . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q224958
SYSTEM
Did you mean Thierry of Lorraine, Count of Flanders ?
Q224958 Q252024 Q467022
(c(Q502895),P9,Q224958) (c(Q502895),P9,Q252024) (c(Q502895),P9,Q467022)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q224958'] [{'concept': 'Q502895'}, 'P9', 'Q252024'] [{'concept': 'Q502895'}, 'P9', 'Q467022']
SELECT DISTINCT ?n WHERE { ?n property:P9 resource:Q467022 . ?n rdf:type ontology:Q502895 }
Thierry of Lorraine, Count of Flanders Simon I, Duke of Lorraine Gertrud of Lorraine
Did you mean Thierry of Lorraine, Count of Flanders ?
Thierry of Lorraine, Count of Flanders
[{'concept': 'common name'}, 'sister', 'Thierry of Lorraine, Count of Flanders'] [{'concept': 'common name'}, 'sister', 'Simon I, Duke of Lorraine'] [{'concept': 'common name'}, 'sister', 'Gertrud of Lorraine']
SELECT DISTINCT ?n WHERE { ?n property:sister resource:Gertrud_of_Lorraine . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Gertrud of Lorraine. Could you tell me the answer for that?
(c(Q502895),P9,Q467022)
Q467022
[{'concept': 'Q502895'}, 'P9', 'Q467022']
[{'concept': 'common name'}, 'sister', 'Gertrud of Lorraine']
[]
Q224958 Q252024 Q77189
SYSTEM
Thierry of Lorraine, Count of Flanders, Simon I, Duke of Lorraine, Lothair III, Holy Roman Emperor
Q3132315 Q224958 Q252024 Q77189
(c(Q502895),P9,Q467022)
action filter_type
action find_reverse
entity Q467022
relation P9
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q467022']
SELECT DISTINCT ?n WHERE { ?n property:P9 resource:Q467022 . ?n rdf:type ontology:Q502895 }
Henri of Lorraine Thierry of Lorraine, Count of Flanders Simon I, Duke of Lorraine Lothair III, Holy Roman Emperor
Thierry of Lorraine, Count of Flanders, Simon I, Duke of Lorraine and Lothair III, Holy Roman Emperor had that one as their sibling
Thierry of Lorraine, Count of Flanders Simon I, Duke of Lorraine Lothair III, Holy Roman Emperor
action filter_type
action find_reverse
entity Gertrud of Lorraine
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Gertrud of Lorraine']
SELECT DISTINCT ?n WHERE { ?n property:sister resource:Gertrud_of_Lorraine . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5550980
P7
Q502895
USER
Are Germain Gagnon siblings of those ones ?
(Q5550980,P7,Q224958) (Q5550980,P7,Q252024) (Q5550980,P7,Q77189)
action is_in
entity prev_answer
action find
entity Q5550980
relation P7
['Q5550980', 'P7', 'Q224958'] ['Q5550980', 'P7', 'Q252024'] ['Q5550980', 'P7', 'Q77189']
ASK WHERE { resource:Q5550980 property:P7 ?w . VALUES ( ?w ) { ( resource:Q3132315 ) ( resource:Q224958 ) ( resource:Q252024 ) } }
Germain Gagnon
action is_in
entity prev_answer
action find
entity Germain Gagnon
relation brother
['Germain Gagnon', 'brother', 'Thierry of Lorraine, Count of Flanders'] ['Germain Gagnon', 'brother', 'Simon I, Duke of Lorraine'] ['Germain Gagnon', 'brother', 'Lothair III, Holy Roman Emperor']
ASK WHERE { resource:Germain_Gagnon property:brother ?w . VALUES ( ?w ) { ( resource:Henri_of_Lorraine ) ( resource:Thierry_of_Lorraine,_Count_of_Flanders ) ( resource:Simon_I,_Duke_of_Lorraine ) } }
[]
common name
SYSTEM
NO
(Q5550980,P7,Q224958) (Q5550980,P7,Q252024) (Q5550980,P7,Q77189)
action is_in
entity prev_answer
action find
entity Q5550980
relation P7
[ANSWER]
['Q5550980', 'P7', 'Q224958'] ['Q5550980', 'P7', 'Q252024'] ['Q5550980', 'P7', 'Q77189']
ASK WHERE { resource:Q5550980 property:P7 ?w . VALUES ( ?w ) { ( resource:Q3132315 ) ( resource:Q224958 ) ( resource:Q252024 ) } }
No
action is_in
entity prev_answer
action find
entity Germain Gagnon
relation brother
['Germain Gagnon', 'brother', 'Thierry of Lorraine, Count of Flanders'] ['Germain Gagnon', 'brother', 'Simon I, Duke of Lorraine'] ['Germain Gagnon', 'brother', 'Lothair III, Holy Roman Emperor']
ASK WHERE { resource:Germain_Gagnon property:brother ?w . VALUES ( ?w ) { ( resource:Henri_of_Lorraine ) ( resource:Thierry_of_Lorraine,_Count_of_Flanders ) ( resource:Simon_I,_Duke_of_Lorraine ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q700593 Q3104402
P26
Q502895
USER
Is Gertrude of Flanders, Duchess of Lorraine the spouse of Theodoric II, Duke of Lorraine ?
(Q700593,P26,Q3104402)
action is_in
entity Q3104402
action find
entity Q700593
relation P26
['Q700593', 'P26', 'Q3104402']
ASK WHERE { resource:Q700593 property:P26 resource:Q3104402 }
Theodoric II, Duke of Lorraine Gertrude of Flanders, Duchess of Lorraine
action is_in
entity Gertrude of Flanders, Duchess of Lorraine
action find
entity Theodoric II, Duke of Lorraine
relation spouse
['Theodoric II, Duke of Lorraine', 'spouse', 'Gertrude of Flanders, Duchess of Lorraine']
ASK WHERE { resource:Theodoric_II,_Duke_of_Lorraine property:spouse resource:Gertrude_of_Flanders,_Duchess_of_Lorraine }
[]
common name
SYSTEM
YES
(Q700593,P26,Q3104402)
action is_in
entity Q3104402
action find
entity Q700593
relation P26
[ANSWER]
['Q700593', 'P26', 'Q3104402']
ASK WHERE { resource:Q700593 property:P26 resource:Q3104402 }
Yes
action is_in
entity Gertrude of Flanders, Duchess of Lorraine
action find
entity Theodoric II, Duke of Lorraine
relation spouse
['Theodoric II, Duke of Lorraine', 'spouse', 'Gertrude of Flanders, Duchess of Lorraine']
ASK WHERE { resource:Theodoric_II,_Duke_of_Lorraine property:spouse resource:Gertrude_of_Flanders,_Duchess_of_Lorraine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q77189 Q183 Q4326149
P27
Q1048835
USER
Is Lothair III, Holy Roman Emperor a civilian of Germany and Novofedorivka ?
(Q77189,P27,Q183) (Q77189,P27,Q4326149)
action is_in
entity Q77189
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q4326149
relation P27
['Q77189', 'P27', 'Q183'] ['Q77189', 'P27', 'Q4326149']
ASK WHERE { resource:Q77189 property:P27 resource:Q4326149 . resource:Q77189 property:P27 resource:Q183 }
Lothair III, Holy Roman Emperor Germany Novofedorivka
action is_in
entity Lothair III, Holy Roman Emperor
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Novofedorivka
relation country of citizenship
['Lothair III, Holy Roman Emperor', 'country of citizenship', 'Germany'] ['Lothair III, Holy Roman Emperor', 'country of citizenship', 'Novofedorivka']
ASK WHERE { resource:Lothair_III,_Holy_Roman_Emperor property:country_of_citizenship resource:Novofedorivka . resource:Lothair_III,_Holy_Roman_Emperor property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q77189,P27,Q183) (Q77189,P27,Q4326149)
action is_in
entity Q77189
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q4326149
relation P27
[ANSWER]
['Q77189', 'P27', 'Q183'] ['Q77189', 'P27', 'Q4326149']
ASK WHERE { resource:Q77189 property:P27 resource:Q4326149 . resource:Q77189 property:P27 resource:Q183 }
YES and NO respectively
action is_in
entity Lothair III, Holy Roman Emperor
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Novofedorivka
relation country of citizenship
['Lothair III, Holy Roman Emperor', 'country of citizenship', 'Germany'] ['Lothair III, Holy Roman Emperor', 'country of citizenship', 'Novofedorivka']
ASK WHERE { resource:Lothair_III,_Holy_Roman_Emperor property:country_of_citizenship resource:Novofedorivka . resource:Lothair_III,_Holy_Roman_Emperor property:country_of_citizenship resource:Germany }
[]