Simple Question (Direct)
Simple Question
Q298896
P25
Q502895
USER
Who was the mom of Baldwin I of Constantinople ?
(Q298896,P25,c(Q502895))
action filter_type
action find
entity Q298896
relation P25
type Q502895
['Q298896', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q298896 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Baldwin I of Constantinople
action filter_type
action find
entity Baldwin I of Constantinople
relation mother
type common name
['Baldwin I of Constantinople', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Baldwin_I_of_Constantinople property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q465983
SYSTEM
Margaret I, Countess of Flanders
Q465983
(Q298896,P25,c(Q502895))
action filter_type
action find
entity Q298896
relation P25
type Q502895
The mom of Baldwin I of Constantinople was Queen [ANSWER]
['Q298896', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q298896 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Margaret I, Countess of Flanders
The mom of Baldwin I of Constantinople was Queen Margaret I, Countess of Flanders
Margaret I, Countess of Flanders
action filter_type
action find
entity Baldwin I of Constantinople
relation mother
type common name
['Baldwin I of Constantinople', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Baldwin_I_of_Constantinople property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298896
P140
Q874405
USER
What is the religious affiliation of Baldwin I of Constantinople ?
(Q298896,P140,c(Q874405))
action filter_type
action find
entity Q298896
relation P140
type Q874405
['Q298896', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q298896 property:P140 ?s . ?s rdf:type ontology:Q874405 }
Baldwin I of Constantinople
action filter_type
action find
entity Baldwin I of Constantinople
relation religion
type social group
['Baldwin I of Constantinople', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Baldwin_I_of_Constantinople property:religion ?s . ?s rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
(Q298896,P140,c(Q874405))
action filter_type
action find
entity Q298896
relation P140
type Q874405
The religious affiliation of Baldwin I of Constantinople is of [ANSWER]
['Q298896', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q298896 property:P140 ?s . ?s rdf:type ontology:Q874405 }
Christianity
The religious affiliation of Baldwin I of Constantinople is of Christianity
Christianity
action filter_type
action find
entity Baldwin I of Constantinople
relation religion
type social group
['Baldwin I of Constantinople', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Baldwin_I_of_Constantinople property:religion ?s . ?s rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465983
P9
Q502895
USER
Which people had Margaret I, Countess of Flanders as sister ?
(c(Q502895),P9,Q465983)
action filter_type
action find_reverse
entity Q465983
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q465983']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q465983 . ?k rdf:type ontology:Q502895 }
Margaret I, Countess of Flanders
action filter_type
action find_reverse
entity Margaret I, Countess of Flanders
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Margaret I, Countess of Flanders']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Margaret_I,_Countess_of_Flanders . ?k rdf:type ontology:common_name }
[]
common name
Q469588 Q724365 Q534143
SYSTEM
Philip I, Count of Flanders, Matthew of Alsace, Pieter van Vlaanderen
Q4479676 Q534143 Q469588 Q5358431 Q724365
(c(Q502895),P9,Q465983)
action filter_type
action find_reverse
entity Q465983
relation P9
type Q502895
[ANSWERS] had Margaret I, Countess of Flanders as sister
[{'concept': 'Q502895'}, 'P9', 'Q465983']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q465983 . ?k rdf:type ontology:Q502895 }
Gertrude of Flanders, Countess of Savoy Pieter van Vlaanderen Philip I, Count of Flanders Laurette of Flanders Matthew of Alsace
Philip I, Count of Flanders, Matthew of Alsace and Pieter van Vlaanderen had Margaret I, Countess of Flanders as sister
Philip I, Count of Flanders Matthew of Alsace Pieter van Vlaanderen
action filter_type
action find_reverse
entity Margaret I, Countess of Flanders
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Margaret I, Countess of Flanders']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Margaret_I,_Countess_of_Flanders . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q534143
P7
Q502895
USER
Who have that one as their brother ?
(Q534143,P7,c(Q502895))
action filter_type
action find
entity Q534143
relation P7
type Q502895
['Q534143', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q534143 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Pieter van Vlaanderen
action filter_type
action find
entity Pieter van Vlaanderen
relation brother
type common name
['Pieter van Vlaanderen', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Pieter_van_Vlaanderen property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q469588
SYSTEM
Did you mean Philip I, Count of Flanders ?
Q469588 Q724365 Q534143
(Q469588,P7,c(Q502895)) (Q724365,P7,c(Q502895)) (Q534143,P7,c(Q502895))
[ANSWER]
['Q469588', 'P7', {'concept': 'Q502895'}] ['Q724365', 'P7', {'concept': 'Q502895'}] ['Q534143', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q534143 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Philip I, Count of Flanders Matthew of Alsace Pieter van Vlaanderen
Did you mean Philip I, Count of Flanders ?
Philip I, Count of Flanders
['Philip I, Count of Flanders', 'brother', {'concept': 'common name'}] ['Matthew of Alsace', 'brother', {'concept': 'common name'}] ['Pieter van Vlaanderen', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Pieter_van_Vlaanderen property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Pieter van Vlaanderen. Could you tell me the answer for that?
(Q534143,P7,c(Q502895))
Q534143
['Q534143', 'P7', {'concept': 'Q502895'}]
['Pieter van Vlaanderen', 'brother', {'concept': 'common name'}]
[]
Q469588 Q724365
SYSTEM
Philip I, Count of Flanders, Matthew of Alsace
Q469588 Q724365
(Q534143,P7,c(Q502895))
action filter_type
action find
entity Q534143
relation P7
type Q502895
[ANSWERS] have that one as their brother
['Q534143', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q534143 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Philip I, Count of Flanders Matthew of Alsace
Philip I, Count of Flanders and Matthew of Alsace have that one as their brother
Philip I, Count of Flanders Matthew of Alsace
action filter_type
action find
entity Pieter van Vlaanderen
relation brother
type common name
['Pieter van Vlaanderen', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Pieter_van_Vlaanderen property:brother ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16186515
P7
Q502895
USER
Do Jeff Talman have those ones as their brother ?
(Q16186515,P7,Q469588) (Q16186515,P7,Q724365)
action is_in
entity prev_answer
action find
entity Q16186515
relation P7
['Q16186515', 'P7', 'Q469588'] ['Q16186515', 'P7', 'Q724365']
ASK WHERE { VALUES ( ?c ) { ( resource:Q469588 ) ( resource:Q724365 ) } . resource:Q16186515 property:P7 ?c }
Jeff Talman
action is_in
entity prev_answer
action find
entity Jeff Talman
relation brother
['Jeff Talman', 'brother', 'Philip I, Count of Flanders'] ['Jeff Talman', 'brother', 'Matthew of Alsace']
ASK WHERE { VALUES ( ?c ) { ( resource:Philip_I,_Count_of_Flanders ) ( resource:Matthew_of_Alsace ) } . resource:Jeff_Talman property:brother ?c }
[]
common name
SYSTEM
NO
(Q16186515,P7,Q469588) (Q16186515,P7,Q724365)
action is_in
entity prev_answer
action find
entity Q16186515
relation P7
[ANSWER]
['Q16186515', 'P7', 'Q469588'] ['Q16186515', 'P7', 'Q724365']
ASK WHERE { VALUES ( ?c ) { ( resource:Q469588 ) ( resource:Q724365 ) } . resource:Q16186515 property:P7 ?c }
No
action is_in
entity prev_answer
action find
entity Jeff Talman
relation brother
['Jeff Talman', 'brother', 'Philip I, Count of Flanders'] ['Jeff Talman', 'brother', 'Matthew of Alsace']
ASK WHERE { VALUES ( ?c ) { ( resource:Philip_I,_Count_of_Flanders ) ( resource:Matthew_of_Alsace ) } . resource:Jeff_Talman property:brother ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q469588 Q724365
P7
Q502895
USER
Does Matthew of Alsace have Philip I, Count of Flanders as their brother ?
(Q469588,P7,Q724365)
action is_in
entity Q724365
action find
entity Q469588
relation P7
['Q469588', 'P7', 'Q724365']
ASK WHERE { resource:Q469588 property:P7 resource:Q724365 }
Philip I, Count of Flanders Matthew of Alsace
action is_in
entity Matthew of Alsace
action find
entity Philip I, Count of Flanders
relation brother
['Philip I, Count of Flanders', 'brother', 'Matthew of Alsace']
ASK WHERE { resource:Philip_I,_Count_of_Flanders property:brother resource:Matthew_of_Alsace }
[]
common name
SYSTEM
YES
(Q469588,P7,Q724365)
action is_in
entity Q724365
action find
entity Q469588
relation P7
[ANSWER]
['Q469588', 'P7', 'Q724365']
ASK WHERE { resource:Q469588 property:P7 resource:Q724365 }
Yes
action is_in
entity Matthew of Alsace
action find
entity Philip I, Count of Flanders
relation brother
['Philip I, Count of Flanders', 'brother', 'Matthew of Alsace']
ASK WHERE { resource:Philip_I,_Count_of_Flanders property:brother resource:Matthew_of_Alsace }
[]