Simple Question (Direct)
Simple Question
Q3646997
P166
Q618779
USER
Which award was Karol Józef Sapieha awarded with ?
(Q3646997,P166,c(Q618779))
action filter_type
action find
entity Q3646997
relation P166
type Q618779
['Q3646997', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q3646997 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Karol Józef Sapieha
action filter_type
action find
entity Karol Józef Sapieha
relation award received
type award
['Karol Józef Sapieha', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Karol_Józef_Sapieha property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q84020
SYSTEM
Order of the White Eagle
Q84020
(Q3646997,P166,c(Q618779))
action filter_type
action find
entity Q3646997
relation P166
type Q618779
Karol Józef Sapieha was awarded the [ANSWER]
['Q3646997', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q3646997 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Order of the White Eagle
Karol Józef Sapieha was awarded the Order of the White Eagle
Order of the White Eagle
action filter_type
action find
entity Karol Józef Sapieha
relation award received
type award
['Karol Józef Sapieha', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Karol_Józef_Sapieha property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3646997
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q84020)
action filter_type
action find_reverse
entity Q3646997
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q84020']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q3646997 . ?b rdf:type ontology:Q502895 }
Karol Józef Sapieha
action filter_type
action find_reverse
entity Karol Józef Sapieha
relation child
type common name
[{'concept': 'common name'}, 'child', 'Order of the White Eagle']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Karol_Józef_Sapieha . ?b rdf:type ontology:common_name }
[]
common name
Q25776
SYSTEM
Wladyslaw Jehoshaphat Sapieha
Q25776
(c(Q502895),P40,Q84020)
action filter_type
action find_reverse
entity Q3646997
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q84020']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q3646997 . ?b rdf:type ontology:Q502895 }
Wladyslaw Jehoshaphat Sapieha
Wladyslaw Jehoshaphat Sapieha has that one as a child
Wladyslaw Jehoshaphat Sapieha
action filter_type
action find_reverse
entity Karol Józef Sapieha
relation child
type common name
[{'concept': 'common name'}, 'child', 'Order of the White Eagle']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Karol_Józef_Sapieha . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3747879 Q3646997
P161 P22
Q502895
USER
Which people were the father of Karol Józef Sapieha or were casted in For the Love of an Enemy ?
OR((Q3646997,P22,c(Q502895)), (Q3747879,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3646997
relation P22
action find
entity Q3747879
relation P161
type Q502895
{'OR': [['Q3646997', 'P22', {'concept': 'Q502895'}], ['Q3747879', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3747879 property:P161 ?m } UNION { resource:Q3646997 property:P22 ?m } } . ?m rdf:type ontology:Q502895 }
For the Love of an Enemy Karol Józef Sapieha
action filter_type
action union
action find
entity Karol Józef Sapieha
relation father
action find
entity For the Love of an Enemy
relation cast member
type common name
{'OR': [['Karol Józef Sapieha', 'father', {'concept': 'common name'}], ['For the Love of an Enemy', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:For_the_Love_of_an_Enemy property:cast_member ?m } UNION { resource:Karol_Józef_Sapieha property:father ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q25776 Q3805601 Q958743
SYSTEM
Wladyslaw Jehoshaphat Sapieha, Jack J. Clark, Gene Gauntier
Q25776 Q3805601 Q958743
OR((Q3646997,P22,c(Q502895)), (Q3747879,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3646997
relation P22
action find
entity Q3747879
relation P161
type Q502895
[ANSWERS] were the father of Karol Józef Sapieha or were casted in For the Love of an Enemy
{'OR': [['Q3646997', 'P22', {'concept': 'Q502895'}], ['Q3747879', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3747879 property:P161 ?m } UNION { resource:Q3646997 property:P22 ?m } } . ?m rdf:type ontology:Q502895 }
Wladyslaw Jehoshaphat Sapieha Jack J. Clark Gene Gauntier
Wladyslaw Jehoshaphat Sapieha, Jack J. Clark and Gene Gauntier were the father of Karol Józef Sapieha or were casted in For the Love of an Enemy
Wladyslaw Jehoshaphat Sapieha Jack J. Clark Gene Gauntier
action filter_type
action union
action find
entity Karol Józef Sapieha
relation father
action find
entity For the Love of an Enemy
relation cast member
type common name
{'OR': [['Karol Józef Sapieha', 'father', {'concept': 'common name'}], ['For the Love of an Enemy', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:For_the_Love_of_an_Enemy property:cast_member ?m } UNION { resource:Karol_Józef_Sapieha property:father ?m } } . ?m rdf:type ontology:common_name }
[]