Simple Question (Direct)
Simple Question
Q274899
P22
Q502895
USER
Which person was the father of Natalya Sats ?
(Q274899,P22,c(Q502895))
action filter_type
action find
entity Q274899
relation P22
type Q502895
['Q274899', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q274899 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Natalya Sats
action filter_type
action find
entity Natalya Sats
relation father
type common name
['Natalya Sats', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Natalya_Sats property:father ?a . ?a rdf:type ontology:common_name }
[]
common name
Q174543
SYSTEM
Ilja Alexandrowitsch Saz
Q174543
(Q274899,P22,c(Q502895))
action filter_type
action find
entity Q274899
relation P22
type Q502895
The [ANSWER] was the father of Natalya Sats
['Q274899', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q274899 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Ilja Alexandrowitsch Saz
The Ilja Alexandrowitsch Saz was the father of Natalya Sats
Ilja Alexandrowitsch Saz
action filter_type
action find
entity Natalya Sats
relation father
type common name
['Natalya Sats', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Natalya_Sats property:father ?a . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2925152 Q174543
P40 P344
Q502895
USER
Which people are children of Ilja Alexandrowitsch Saz or are the cinematographers of Bride of the Gorilla ?
OR((Q174543,P40,c(Q502895)), (Q2925152,P344,c(Q502895)))
action filter_type
action union
action find
entity Q174543
relation P40
action find
entity Q2925152
relation P344
type Q502895
{'OR': [['Q174543', 'P40', {'concept': 'Q502895'}], ['Q2925152', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . { { resource:Q174543 property:P40 ?h } UNION { resource:Q2925152 property:P344 ?h } } }
Bride of the Gorilla Ilja Alexandrowitsch Saz
action filter_type
action union
action find
entity Ilja Alexandrowitsch Saz
relation child
action find
entity Bride of the Gorilla
relation director of photography
type common name
{'OR': [['Ilja Alexandrowitsch Saz', 'child', {'concept': 'common name'}], ['Bride of the Gorilla', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . { { resource:Ilja_Alexandrowitsch_Saz property:child ?h } UNION { resource:Bride_of_the_Gorilla property:director_of_photography ?h } } }
[]
common name
Q5083108 Q274899
SYSTEM
Charles Van Enger, Natalya Sats
Q5083108 Q274899
OR((Q174543,P40,c(Q502895)), (Q2925152,P344,c(Q502895)))
action filter_type
action union
action find
entity Q174543
relation P40
action find
entity Q2925152
relation P344
type Q502895
[ANSWERS] are children of Ilja Alexandrowitsch Saz or are the cinematographers of Bride of the Gorilla
{'OR': [['Q174543', 'P40', {'concept': 'Q502895'}], ['Q2925152', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . { { resource:Q174543 property:P40 ?h } UNION { resource:Q2925152 property:P344 ?h } } }
Charles Van Enger Natalya Sats
Charles Van Enger and Natalya Sats are children of Ilja Alexandrowitsch Saz or are the cinematographers of Bride of the Gorilla
Charles Van Enger Natalya Sats
action filter_type
action union
action find
entity Ilja Alexandrowitsch Saz
relation child
action find
entity Bride of the Gorilla
relation director of photography
type common name
{'OR': [['Ilja Alexandrowitsch Saz', 'child', {'concept': 'common name'}], ['Bride of the Gorilla', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . { { resource:Ilja_Alexandrowitsch_Saz property:child ?h } UNION { resource:Bride_of_the_Gorilla property:director_of_photography ?h } } }
[]