Simple Question (Direct)
Simple Question
Q15132845
P26
Q502895
USER
Which person is married to Lyana Calvesi ?
(Q15132845,P26,c(Q502895))
action filter_type
action find
entity Q15132845
relation P26
type Q502895
['Q15132845', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q15132845 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Lyana Calvesi
action filter_type
action find
entity Lyana Calvesi
relation spouse
type common name
['Lyana Calvesi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lyana_Calvesi property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q5447
SYSTEM
Eddy Ottoz
Q5447
(Q15132845,P26,c(Q502895))
action filter_type
action find
entity Q15132845
relation P26
type Q502895
[ANSWER] is married to Lyana Calvesi
['Q15132845', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q15132845 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Eddy Ottoz
Eddy Ottoz is married to Lyana Calvesi
Eddy Ottoz
action filter_type
action find
entity Lyana Calvesi
relation spouse
type common name
['Lyana Calvesi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lyana_Calvesi property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5447
P361
Q874405
USER
Which social group is that person a part of ?
(Q5447,P361,c(Q874405))
action filter_type
action find
entity Q5447
relation P361
type Q874405
['Q5447', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q5447 property:P361 ?t . ?t rdf:type ontology:Q874405 }
Eddy Ottoz
action filter_type
action find
entity Eddy Ottoz
relation part of
type social group
['Eddy Ottoz', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Eddy_Ottoz property:part_of ?t . ?t rdf:type ontology:social_group }
[]
social group
Q7110004
SYSTEM
Ottoz family
Q7110004
(Q5447,P361,c(Q874405))
action filter_type
action find
entity Q5447
relation P361
type Q874405
The [ANSWER] is that person a part of
['Q5447', 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q5447 property:P361 ?t . ?t rdf:type ontology:Q874405 }
Ottoz family
The Ottoz family is that person a part of
Ottoz family
action filter_type
action find
entity Eddy Ottoz
relation part of
type social group
['Eddy Ottoz', 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Eddy_Ottoz property:part_of ?t . ?t rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15132845
P25 P21
Q502895
USER
Which people are the offspring of Lyana Calvesi and have male as the sex ?
AND((c(Q502895),P25,Q15132845), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15132845
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q15132845'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q15132845 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Lyana Calvesi
action filter_type
action intersection
action find_reverse
entity Lyana Calvesi
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Lyana Calvesi'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Lyana_Calvesi . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q2992503 Q3000767
SYSTEM
Laurent Ottoz, Patrick Ottoz
Q2992503 Q3000767
AND((c(Q502895),P25,Q15132845), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15132845
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are the offspring of Lyana Calvesi and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q15132845'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q15132845 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Laurent Ottoz Patrick Ottoz
Laurent Ottoz and Patrick Ottoz are the offspring of Lyana Calvesi and have male as the sex
Laurent Ottoz Patrick Ottoz
action filter_type
action intersection
action find_reverse
entity Lyana Calvesi
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Lyana Calvesi'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Lyana_Calvesi . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5447
P40
Q502895
USER
Do Eddy Ottoz have those ones as an offspring ?
(Q5447,P40,Q2992503) (Q5447,P40,Q3000767)
action is_in
entity prev_answer
action find
entity Q5447
relation P40
['Q5447', 'P40', 'Q2992503'] ['Q5447', 'P40', 'Q3000767']
ASK WHERE { VALUES ( ?j ) { ( resource:Q2992503 ) ( resource:Q3000767 ) } . resource:Q5447 property:P40 ?j }
Eddy Ottoz
action is_in
entity prev_answer
action find
entity Eddy Ottoz
relation child
['Eddy Ottoz', 'child', 'Laurent Ottoz'] ['Eddy Ottoz', 'child', 'Patrick Ottoz']
ASK WHERE { VALUES ( ?j ) { ( resource:Laurent_Ottoz ) ( resource:Patrick_Ottoz ) } . resource:Eddy_Ottoz property:child ?j }
[]
common name
SYSTEM
YES
(Q5447,P40,Q2992503) (Q5447,P40,Q3000767)
action is_in
entity prev_answer
action find
entity Q5447
relation P40
[ANSWER]
['Q5447', 'P40', 'Q2992503'] ['Q5447', 'P40', 'Q3000767']
ASK WHERE { VALUES ( ?j ) { ( resource:Q2992503 ) ( resource:Q3000767 ) } . resource:Q5447 property:P40 ?j }
Yes
action is_in
entity prev_answer
action find
entity Eddy Ottoz
relation child
['Eddy Ottoz', 'child', 'Laurent Ottoz'] ['Eddy Ottoz', 'child', 'Patrick Ottoz']
ASK WHERE { VALUES ( ?j ) { ( resource:Laurent_Ottoz ) ( resource:Patrick_Ottoz ) } . resource:Eddy_Ottoz property:child ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2992503 Q6221
P19
Q56061
USER
Was Laurent Ottoz born in Brescia ?
(Q2992503,P19,Q6221)
action is_in
entity Q6221
action find
entity Q2992503
relation P19
['Q2992503', 'P19', 'Q6221']
ASK WHERE { resource:Q2992503 property:P19 resource:Q6221 }
Laurent Ottoz Brescia
action is_in
entity Brescia
action find
entity Laurent Ottoz
relation place of birth
['Laurent Ottoz', 'place of birth', 'Brescia']
ASK WHERE { resource:Laurent_Ottoz property:place_of_birth resource:Brescia }
[]
administrative territorial entity
SYSTEM
YES
(Q2992503,P19,Q6221)
action is_in
entity Q6221
action find
entity Q2992503
relation P19
[ANSWER]
['Q2992503', 'P19', 'Q6221']
ASK WHERE { resource:Q2992503 property:P19 resource:Q6221 }
Yes
action is_in
entity Brescia
action find
entity Laurent Ottoz
relation place of birth
['Laurent Ottoz', 'place of birth', 'Brescia']
ASK WHERE { resource:Laurent_Ottoz property:place_of_birth resource:Brescia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2992503
P641
Q31629
USER
Which type of sport was that person a part of ?
action filter_type
action find
entity Q2992503
relation P641
type Q31629
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q2992503 property:P641 ?q }
Laurent Ottoz
action filter_type
action find
entity Laurent Ottoz
relation sport
type type of sport
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Laurent_Ottoz property:sport ?q }
[]
type of sport
Q542
SYSTEM
athletics
Q542
action filter_type
action find
entity Q2992503
relation P641
type Q31629
The [ANSWER] was that person a part of
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q2992503 property:P641 ?q }
athletics
The athletics was that person a part of
athletics
action filter_type
action find
entity Laurent Ottoz
relation sport
type type of sport
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Laurent_Ottoz property:sport ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1678247 Q5447
P161 P1038
Q502895
USER
Which people are relatives of Eddy Ottoz or were casted in The Firechasers ?
OR((Q5447,P1038,c(Q502895)), (Q1678247,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5447
relation P1038
action find
entity Q1678247
relation P161
type Q502895
{'OR': [['Q5447', 'P1038', {'concept': 'Q502895'}], ['Q1678247', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q5447 property:P1038 ?y } UNION { resource:Q1678247 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
The Firechasers Eddy Ottoz
action filter_type
action union
action find
entity Eddy Ottoz
relation relative
action find
entity The Firechasers
relation cast member
type common name
{'OR': [['Eddy Ottoz', 'relative', {'concept': 'common name'}], ['The Firechasers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Eddy_Ottoz property:relative ?y } UNION { resource:The_Firechasers property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q1357189 Q4696071 Q3756452 Q1287856 Q2601188 Q1700875 Q715642 Q969844 Q551355 Q530733
SYSTEM
Rupert Davies, Sandro Calvesi, Gabre Gabric, James Hayter, Allan Cuthbertson, John Loder, Roy Kinnear, Chad Everett, Anjanette Comer, Robert Flemyng
Q1357189 Q4696071 Q3756452 Q1287856 Q2601188 Q1700875 Q715642 Q969844 Q551355 Q530733
OR((Q5447,P1038,c(Q502895)), (Q1678247,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5447
relation P1038
action find
entity Q1678247
relation P161
type Q502895
[ANSWERS] are relatives of Eddy Ottoz or were casted in The Firechasers
{'OR': [['Q5447', 'P1038', {'concept': 'Q502895'}], ['Q1678247', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q5447 property:P1038 ?y } UNION { resource:Q1678247 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
Rupert Davies Sandro Calvesi Gabre Gabric James Hayter Allan Cuthbertson John Loder Roy Kinnear Chad Everett Anjanette Comer Robert Flemyng
Rupert Davies, Sandro Calvesi, Gabre Gabric, James Hayter, Allan Cuthbertson, John Loder, Roy Kinnear, Chad Everett, Anjanette Comer and Robert Flemyng are relatives of Eddy Ottoz or were casted in The Firechasers
Rupert Davies Sandro Calvesi Gabre Gabric James Hayter Allan Cuthbertson John Loder Roy Kinnear Chad Everett Anjanette Comer Robert Flemyng
action filter_type
action union
action find
entity Eddy Ottoz
relation relative
action find
entity The Firechasers
relation cast member
type common name
{'OR': [['Eddy Ottoz', 'relative', {'concept': 'common name'}], ['The Firechasers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Eddy_Ottoz property:relative ?y } UNION { resource:The_Firechasers property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1357189 Q4696071 Q3756452 Q1287856 Q2601188 Q1700875 Q715642 Q969844 Q551355 Q530733
P21
Q290
USER
Which sexes do those people belong to ?
(Q1357189,P21,c(Q290)) (Q4696071,P21,c(Q290)) (Q3756452,P21,c(Q290)) (Q1287856,P21,c(Q290)) (Q2601188,P21,c(Q290)) (Q1700875,P21,c(Q290)) (Q715642,P21,c(Q290)) (Q969844,P21,c(Q290)) (Q551355,P21,c(Q290)) (Q530733,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1357189', 'P21', {'concept': 'Q290'}] ['Q4696071', 'P21', {'concept': 'Q290'}] ['Q3756452', 'P21', {'concept': 'Q290'}] ['Q1287856', 'P21', {'concept': 'Q290'}] ['Q2601188', 'P21', {'concept': 'Q290'}] ['Q1700875', 'P21', {'concept': 'Q290'}] ['Q715642', 'P21', {'concept': 'Q290'}] ['Q969844', 'P21', {'concept': 'Q290'}] ['Q551355', 'P21', {'concept': 'Q290'}] ['Q530733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . ?u property:P21 ?c . VALUES ( ?u ) { ( resource:Q1357189 ) ( resource:Q4696071 ) ( resource:Q3756452 ) } }
Rupert Davies Sandro Calvesi Gabre Gabric James Hayter Allan Cuthbertson John Loder Roy Kinnear Chad Everett Anjanette Comer Robert Flemyng
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rupert Davies', 'gender', {'concept': 'sex'}] ['Sandro Calvesi', 'gender', {'concept': 'sex'}] ['Gabre Gabric', 'gender', {'concept': 'sex'}] ['James Hayter', 'gender', {'concept': 'sex'}] ['Allan Cuthbertson', 'gender', {'concept': 'sex'}] ['John Loder', 'gender', {'concept': 'sex'}] ['Roy Kinnear', 'gender', {'concept': 'sex'}] ['Chad Everett', 'gender', {'concept': 'sex'}] ['Anjanette Comer', 'gender', {'concept': 'sex'}] ['Robert Flemyng', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . ?u property:gender ?c . VALUES ( ?u ) { ( resource:Rupert_Davies ) ( resource:Sandro_Calvesi ) ( resource:Gabre_Gabric ) } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097
(Q1357189,P21,c(Q290)) (Q4696071,P21,c(Q290)) (Q3756452,P21,c(Q290)) (Q1287856,P21,c(Q290)) (Q2601188,P21,c(Q290)) (Q1700875,P21,c(Q290)) (Q715642,P21,c(Q290)) (Q969844,P21,c(Q290)) (Q551355,P21,c(Q290)) (Q530733,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q1357189', 'P21', {'concept': 'Q290'}] ['Q4696071', 'P21', {'concept': 'Q290'}] ['Q3756452', 'P21', {'concept': 'Q290'}] ['Q1287856', 'P21', {'concept': 'Q290'}] ['Q2601188', 'P21', {'concept': 'Q290'}] ['Q1700875', 'P21', {'concept': 'Q290'}] ['Q715642', 'P21', {'concept': 'Q290'}] ['Q969844', 'P21', {'concept': 'Q290'}] ['Q551355', 'P21', {'concept': 'Q290'}] ['Q530733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . ?u property:P21 ?c . VALUES ( ?u ) { ( resource:Q1357189 ) ( resource:Q4696071 ) ( resource:Q3756452 ) } }
male male female male male male male male female male
Those people belong to male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rupert Davies', 'gender', {'concept': 'sex'}] ['Sandro Calvesi', 'gender', {'concept': 'sex'}] ['Gabre Gabric', 'gender', {'concept': 'sex'}] ['James Hayter', 'gender', {'concept': 'sex'}] ['Allan Cuthbertson', 'gender', {'concept': 'sex'}] ['John Loder', 'gender', {'concept': 'sex'}] ['Roy Kinnear', 'gender', {'concept': 'sex'}] ['Chad Everett', 'gender', {'concept': 'sex'}] ['Anjanette Comer', 'gender', {'concept': 'sex'}] ['Robert Flemyng', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . ?u property:gender ?c . VALUES ( ?u ) { ( resource:Rupert_Davies ) ( resource:Sandro_Calvesi ) ( resource:Gabre_Gabric ) } }
[]