Simple Question (Direct)
Simple Question
Q17005986
P495
Q15617994
USER
What is the origin of Gakko II ?
(Q17005986,P495,c(Q15617994))
action filter_type
action find
entity Q17005986
relation P495
type Q15617994
['Q17005986', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q17005986 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Gakko II
action filter_type
action find
entity Gakko II
relation country of origin
type designation for an administrative territorial entity
['Gakko II', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gakko_II property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q17005986,P495,c(Q15617994))
action filter_type
action find
entity Q17005986
relation P495
type Q15617994
The origin of Gakko II is in [ANSWER]
['Q17005986', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q17005986 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Japan
The origin of Gakko II is in Japan
Japan
action filter_type
action find
entity Gakko II
relation country of origin
type designation for an administrative territorial entity
['Gakko II', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gakko_II property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17005986
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q17,P58,c(Q502895))
action filter_type
action find
entity Q17005986
relation P58
type Q502895
['Q17', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q17005986 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Gakko II
action filter_type
action find
entity Gakko II
relation screenwriter
type common name
['Japan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Gakko_II property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1261335
SYSTEM
Yōji Yamada
Q1261335
(Q17,P58,c(Q502895))
action filter_type
action find
entity Q17005986
relation P58
type Q502895
[ANSWER] served as the screenwriter for that work of art
['Q17', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q17005986 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Yōji Yamada
Yōji Yamada served as the screenwriter for that work of art
Yōji Yamada
action filter_type
action find
entity Gakko II
relation screenwriter
type common name
['Japan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Gakko_II property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1261335 Q5169685
P57
Q838948
USER
Did that person direct Corazón de fiera ?
(Q5169685,P57,Q1261335)
action is_in
entity Q5169685
action find
entity Q1261335
relation P57
['Q5169685', 'P57', 'Q1261335']
ASK WHERE { resource:Q1261335 property:P57 resource:Q5169685 }
Yōji Yamada Corazón de fiera
action is_in
entity Corazón de fiera
action find
entity Yōji Yamada
relation director
['Corazón de fiera', 'director', 'Yōji Yamada']
ASK WHERE { resource:Yōji_Yamada property:director resource:Corazón_de_fiera }
[]
work of art
SYSTEM
NO
(Q5169685,P57,Q1261335)
action is_in
entity Q5169685
action find
entity Q1261335
relation P57
[ANSWER]
['Q5169685', 'P57', 'Q1261335']
ASK WHERE { resource:Q1261335 property:P57 resource:Q5169685 }
No
action is_in
entity Corazón de fiera
action find
entity Yōji Yamada
relation director
['Corazón de fiera', 'director', 'Yōji Yamada']
ASK WHERE { resource:Yōji_Yamada property:director resource:Corazón_de_fiera }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10541188 Q5169685
P162 P161
Q502895
USER
Which people are the producers of Corazón de fiera or were casted in Julens hjältar ?
OR((Q5169685,P162,c(Q502895)), (Q10541188,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5169685
relation P162
action find
entity Q10541188
relation P161
type Q502895
{'OR': [['Q5169685', 'P162', {'concept': 'Q502895'}], ['Q10541188', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5169685 property:P162 ?w } UNION { resource:Q10541188 property:P161 ?w } } . ?w rdf:type ontology:Q502895 }
Julens hjältar Corazón de fiera
action filter_type
action union
action find
entity Corazón de fiera
relation producer
action find
entity Julens hjältar
relation cast member
type common name
{'OR': [['Corazón de fiera', 'producer', {'concept': 'common name'}], ['Julens hjältar', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Corazón_de_fiera property:producer ?w } UNION { resource:Julens_hjältar property:cast_member ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q4569927 Q5958223 Q654434 Q1339383 Q1777441 Q5581270 Q5795551 Q6197745 Q2498137 Q1317100
SYSTEM
Ing-Marie Carlsson, Pierre Lindstedt, Fernando de Fuentes, Jonas Karlsson, Halvar Björk, Tomas Bolme, Thomas Hedengran, William Svedberg, Kim Anderzon, Leif Andrée
Q4569927 Q5958223 Q654434 Q1339383 Q1777441 Q5581270 Q5795551 Q6197745 Q2498137 Q1317100
OR((Q5169685,P162,c(Q502895)), (Q10541188,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5169685
relation P162
action find
entity Q10541188
relation P161
type Q502895
[ANSWERS] are the producers of Corazón de fiera or were casted in Julens hjältar
{'OR': [['Q5169685', 'P162', {'concept': 'Q502895'}], ['Q10541188', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q5169685 property:P162 ?w } UNION { resource:Q10541188 property:P161 ?w } } . ?w rdf:type ontology:Q502895 }
Ing-Marie Carlsson Pierre Lindstedt Fernando de Fuentes Jonas Karlsson Halvar Björk Tomas Bolme Thomas Hedengran William Svedberg Kim Anderzon Leif Andrée
Ing-Marie Carlsson, Pierre Lindstedt, Fernando de Fuentes, Jonas Karlsson, Halvar Björk, Tomas Bolme, Thomas Hedengran, William Svedberg, Kim Anderzon and Leif Andrée are the producers of Corazón de fiera or were casted in Julens hjältar
Ing-Marie Carlsson Pierre Lindstedt Fernando de Fuentes Jonas Karlsson Halvar Björk Tomas Bolme Thomas Hedengran William Svedberg Kim Anderzon Leif Andrée
action filter_type
action union
action find
entity Corazón de fiera
relation producer
action find
entity Julens hjältar
relation cast member
type common name
{'OR': [['Corazón de fiera', 'producer', {'concept': 'common name'}], ['Julens hjältar', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Corazón_de_fiera property:producer ?w } UNION { resource:Julens_hjältar property:cast_member ?w } } . ?w rdf:type ontology:common_name }
[]