Simple Question (Direct)
Simple Question
Q1041001
P161
Q502895
USER
Who were casted in Akai Ito ?
(Q1041001,P161,c(Q502895))
action filter_type
action find
entity Q1041001
relation P161
type Q502895
['Q1041001', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1041001 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Akai Ito
action filter_type
action find
entity Akai Ito
relation cast member
type common name
['Akai Ito', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Akai_Ito property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q845569 Q873865 Q3547917
SYSTEM
Sayuri Iwata, Rei Okamoto, Anna Ishibashi
Q1051891 Q1041883 Q2701277 Q1203841 Q873865 Q596183 Q845569 Q2250605 Q3547917
(Q1041001,P161,c(Q502895))
action filter_type
action find
entity Q1041001
relation P161
type Q502895
[ANSWERS] were casted in Akai Ito
['Q1041001', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1041001 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Nanami Sakuraba Nao Minamisawa Ryo Kimura Junpei Mizobata Rei Okamoto Tomo Yanagishita Sayuri Iwata Kasumi Suzuki Anna Ishibashi
Sayuri Iwata, Rei Okamoto and Anna Ishibashi were casted in Akai Ito
Sayuri Iwata Rei Okamoto Anna Ishibashi
action filter_type
action find
entity Akai Ito
relation cast member
type common name
['Akai Ito', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Akai_Ito property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q873865
P175
Q2031291
USER
Which releases performed that person ?
(c(Q2031291),P175,Q873865)
action filter_type
action find_reverse
entity Q873865
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q873865']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q873865 . ?f rdf:type ontology:Q2031291 }
Rei Okamoto
action filter_type
action find_reverse
entity Rei Okamoto
relation performer
type release
[{'concept': 'release'}, 'performer', 'Rei Okamoto']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Rei_Okamoto . ?f rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q845569
SYSTEM
Did you mean Sayuri Iwata ?
Q845569 Q873865 Q3547917
(c(Q2031291),P175,Q845569) (c(Q2031291),P175,Q873865) (c(Q2031291),P175,Q3547917)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q845569'] [{'concept': 'Q2031291'}, 'P175', 'Q873865'] [{'concept': 'Q2031291'}, 'P175', 'Q3547917']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q873865 . ?f rdf:type ontology:Q2031291 }
Sayuri Iwata Rei Okamoto Anna Ishibashi
Did you mean Sayuri Iwata ?
Sayuri Iwata
[{'concept': 'release'}, 'performer', 'Sayuri Iwata'] [{'concept': 'release'}, 'performer', 'Rei Okamoto'] [{'concept': 'release'}, 'performer', 'Anna Ishibashi']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Rei_Okamoto . ?f rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant Rei Okamoto. Could you tell me the answer for that?
(c(Q2031291),P175,Q873865)
Q873865
[{'concept': 'Q2031291'}, 'P175', 'Q873865']
[{'concept': 'release'}, 'performer', 'Rei Okamoto']
[]
Q11241462 Q11250574
SYSTEM
Railroad Star, Teenage Days
Q11241462 Q11250574
(c(Q2031291),P175,Q873865)
action filter_type
action find_reverse
entity Q873865
relation P175
type Q2031291
[ANSWERS] performed that person
[{'concept': 'Q2031291'}, 'P175', 'Q873865']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q873865 . ?f rdf:type ontology:Q2031291 }
Railroad Star Teenage Days
Railroad Star and Teenage Days performed that person
Railroad Star Teenage Days
action filter_type
action find_reverse
entity Rei Okamoto
relation performer
type release
[{'concept': 'release'}, 'performer', 'Rei Okamoto']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Rei_Okamoto . ?f rdf:type ontology:release }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6734520 Q873865
P27
Q15617994
USER
Which administrative territories are Rei Okamoto or Mahmud Xhelaledini a civilian of ?
OR((Q873865,P27,c(Q15617994)), (Q6734520,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q873865
relation P27
action find
entity Q6734520
relation P27
type Q15617994
{'OR': [['Q873865', 'P27', {'concept': 'Q15617994'}], ['Q6734520', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q873865 property:P27 ?n } UNION { resource:Q6734520 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Mahmud Xhelaledini Rei Okamoto
action filter_type
action union
action find
entity Rei Okamoto
relation country of citizenship
action find
entity Mahmud Xhelaledini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rei Okamoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mahmud Xhelaledini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Rei_Okamoto property:country_of_citizenship ?n } UNION { resource:Mahmud_Xhelaledini property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q222
SYSTEM
Japan, Albania
Q17 Q222
OR((Q873865,P27,c(Q15617994)), (Q6734520,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q873865
relation P27
action find
entity Q6734520
relation P27
type Q15617994
[ANSWERS] are Rei Okamoto or Mahmud Xhelaledini a civilian of
{'OR': [['Q873865', 'P27', {'concept': 'Q15617994'}], ['Q6734520', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q873865 property:P27 ?n } UNION { resource:Q6734520 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Japan Albania
Japan and Albania are Rei Okamoto or Mahmud Xhelaledini a civilian of
Japan Albania
action filter_type
action union
action find
entity Rei Okamoto
relation country of citizenship
action find
entity Mahmud Xhelaledini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rei Okamoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mahmud Xhelaledini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Rei_Okamoto property:country_of_citizenship ?n } UNION { resource:Mahmud_Xhelaledini property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q242
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Belize ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:P530 ?x . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q242 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?m ) }
Belize
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belize
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:diplomatic_relation ?x . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Belize property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Belize
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:P530 ?x . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q242 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?m ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with around the same number of administrative territories as Belize
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belize
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?j ) WHERE { ?z property:diplomatic_relation ?x . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Belize property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q953
P530
Q15617994 Q15617994
USER
And also tell me about Zambia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?i property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q953 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Zambia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?i property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Zambia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q159 Q30 Q929 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?i property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q953 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Israel Yemen France Russia United States of America Central African Republic Japan Kenya Syria Zambia
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?o ) WHERE { ?i property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Zambia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q279561
P530
Q15617994
USER
Do Roccasicura have diplomatic associations with those ones ?
(Q279561,P530,Q30) (Q279561,P530,Q159) (Q279561,P530,Q142)
action is_in
entity prev_answer
action find
entity Q279561
relation P530
['Q279561', 'P530', 'Q30'] ['Q279561', 'P530', 'Q159'] ['Q279561', 'P530', 'Q142']
ASK WHERE { VALUES ( ?a ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } . resource:Q279561 property:P530 ?a }
Roccasicura
action is_in
entity prev_answer
action find
entity Roccasicura
relation diplomatic relation
['Roccasicura', 'diplomatic relation', 'United States of America'] ['Roccasicura', 'diplomatic relation', 'Russia'] ['Roccasicura', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?a ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } . resource:Roccasicura property:diplomatic_relation ?a }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q279561,P530,Q30) (Q279561,P530,Q159) (Q279561,P530,Q142)
action is_in
entity prev_answer
action find
entity Q279561
relation P530
[ANSWER]
['Q279561', 'P530', 'Q30'] ['Q279561', 'P530', 'Q159'] ['Q279561', 'P530', 'Q142']
ASK WHERE { VALUES ( ?a ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } . resource:Q279561 property:P530 ?a }
No
action is_in
entity prev_answer
action find
entity Roccasicura
relation diplomatic relation
['Roccasicura', 'diplomatic relation', 'United States of America'] ['Roccasicura', 'diplomatic relation', 'Russia'] ['Roccasicura', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?a ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } . resource:Roccasicura property:diplomatic_relation ?a }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q890204 Q873865
P161
Q838948
USER
Which works of art have Rei Okamoto or David Hess in their star cast ?
OR((c(Q838948),P161,Q873865), (c(Q838948),P161,Q890204))
action filter_type
action union
action find_reverse
entity Q873865
relation P161
action find_reverse
entity Q890204
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q873865'], [{'concept': 'Q838948'}, 'P161', 'Q890204']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P161 resource:Q873865 } UNION { ?z property:P161 resource:Q890204 } } . ?z rdf:type ontology:Q838948 }
David Hess Rei Okamoto
action filter_type
action union
action find_reverse
entity Rei Okamoto
relation cast member
action find_reverse
entity David Hess
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Rei Okamoto'], [{'concept': 'work of art'}, 'cast member', 'David Hess']]}
SELECT DISTINCT ?z WHERE { { { ?z property:cast_member resource:Rei_Okamoto } UNION { ?z property:cast_member resource:David_Hess } } . ?z rdf:type ontology:work_of_art }
[]
work of art
Q1506746 Q2070042 Q687804 Q4700159 Q401512 Q1141504 Q5431005 Q17049475 Q1123452 Q2106376
SYSTEM
Some of them are Avalanche Express, The Swiss Conspiracy, Armed and Dangerous, Akai Ito, Smash Cut, The Last House on the Left, Fairy in a Cage, High School Debut, Assault! Jack the Ripper, Potato Fritz
Q17054197 Q401512 Q32734 Q797970 Q1215640 Q1141504 Q5432046 Q1196699 Q5299470 Q2106376 Q1123452 Q17049475 Q2070042 Q4700159 Q1506746 Q1810512 Q3652038 Q5435061 Q5431005 Q687804 Q1805341
OR((c(Q838948),P161,Q873865), (c(Q838948),P161,Q890204))
action filter_type
action union
action find_reverse
entity Q873865
relation P161
action find_reverse
entity Q890204
relation P161
type Q838948
[ANSWERS] have Rei Okamoto or David Hess in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q873865'], [{'concept': 'Q838948'}, 'P161', 'Q890204']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P161 resource:Q873865 } UNION { ?z property:P161 resource:Q890204 } } . ?z rdf:type ontology:Q838948 }
Seburi monogatari Smash Cut Cold Sweat Hitch-Hike Jonathan of the Bears The Last House on the Left Fall Guy The House on the Edge of the Park Dotonbori River Potato Fritz Assault! Jack the Ripper High School Debut The Swiss Conspiracy Akai Ito Avalanche Express Swamp Thing Camping del Terrore Farewell to the Land Fairy in a Cage Armed and Dangerous Tennessee Waltz
Avalanche Express, The Swiss Conspiracy, Armed and Dangerous, Akai Ito, Smash Cut, The Last House on the Left, Fairy in a Cage, High School Debut, Assault! Jack the Ripper and Potato Fritz have Rei Okamoto or David Hess in their star cast
Avalanche Express The Swiss Conspiracy Armed and Dangerous Akai Ito Smash Cut The Last House on the Left Fairy in a Cage High School Debut Assault! Jack the Ripper Potato Fritz
action filter_type
action union
action find_reverse
entity Rei Okamoto
relation cast member
action find_reverse
entity David Hess
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Rei Okamoto'], [{'concept': 'work of art'}, 'cast member', 'David Hess']]}
SELECT DISTINCT ?z WHERE { { { ?z property:cast_member resource:Rei_Okamoto } UNION { ?z property:cast_member resource:David_Hess } } . ?z rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4400828 Q1506746
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Avalanche Express or are Commune of Butaganzwa (Kayanza) present in ?
OR((Q1506746,P495,c(Q15617994)), (Q4400828,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1506746
relation P495
action find
entity Q4400828
relation P17
type Q15617994
{'OR': [['Q1506746', 'P495', {'concept': 'Q15617994'}], ['Q4400828', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1506746 property:P495 ?g } UNION { resource:Q4400828 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Commune of Butaganzwa (Kayanza) Avalanche Express
action filter_type
action union
action find
entity Avalanche Express
relation country of origin
action find
entity Commune of Butaganzwa (Kayanza)
relation country
type designation for an administrative territorial entity
{'OR': [['Avalanche Express', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Commune of Butaganzwa (Kayanza)', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Avalanche_Express property:country_of_origin ?g } UNION { resource:Commune_of_Butaganzwa_(Kayanza) property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q967 Q30 Q145
SYSTEM
Burundi, United States of America, United Kingdom
Q967 Q30 Q145
OR((Q1506746,P495,c(Q15617994)), (Q4400828,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1506746
relation P495
action find
entity Q4400828
relation P17
type Q15617994
[ANSWERS] are the countries of origin of Avalanche Express or are Commune of Butaganzwa (Kayanza) present in
{'OR': [['Q1506746', 'P495', {'concept': 'Q15617994'}], ['Q4400828', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1506746 property:P495 ?g } UNION { resource:Q4400828 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Burundi United States of America United Kingdom
Burundi, United States of America and United Kingdom are the countries of origin of Avalanche Express or are Commune of Butaganzwa (Kayanza) present in
Burundi United States of America United Kingdom
action filter_type
action union
action find
entity Avalanche Express
relation country of origin
action find
entity Commune of Butaganzwa (Kayanza)
relation country
type designation for an administrative territorial entity
{'OR': [['Avalanche Express', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Commune of Butaganzwa (Kayanza)', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Avalanche_Express property:country_of_origin ?g } UNION { resource:Commune_of_Butaganzwa_(Kayanza) property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q847309 Q845569
P27
Q15617994
USER
Which administrative territories are Sayuri Iwata or Halina Czerny-Stefańska a civilian of ?
OR((Q845569,P27,c(Q15617994)), (Q847309,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q845569
relation P27
action find
entity Q847309
relation P27
type Q15617994
{'OR': [['Q845569', 'P27', {'concept': 'Q15617994'}], ['Q847309', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q845569 property:P27 ?d } UNION { resource:Q847309 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Halina Czerny-Stefańska Sayuri Iwata
action filter_type
action union
action find
entity Sayuri Iwata
relation country of citizenship
action find
entity Halina Czerny-Stefańska
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sayuri Iwata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Halina Czerny-Stefańska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Sayuri_Iwata property:country_of_citizenship ?d } UNION { resource:Halina_Czerny-Stefańska property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q36
SYSTEM
Japan, Poland
Q17 Q36
OR((Q845569,P27,c(Q15617994)), (Q847309,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q845569
relation P27
action find
entity Q847309
relation P27
type Q15617994
[ANSWERS] are Sayuri Iwata or Halina Czerny-Stefańska a civilian of
{'OR': [['Q845569', 'P27', {'concept': 'Q15617994'}], ['Q847309', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q845569 property:P27 ?d } UNION { resource:Q847309 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Japan Poland
Japan and Poland are Sayuri Iwata or Halina Czerny-Stefańska a civilian of
Japan Poland
action filter_type
action union
action find
entity Sayuri Iwata
relation country of citizenship
action find
entity Halina Czerny-Stefańska
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sayuri Iwata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Halina Czerny-Stefańska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Sayuri_Iwata property:country_of_citizenship ?d } UNION { resource:Halina_Czerny-Stefańska property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q159
P47
Q15617994
USER
Do those ones share a border with Russia ?
(Q159,P47,Q17) (Q159,P47,Q36)
action is_in
entity prev_answer
action find
entity Q159
relation P47
['Q159', 'P47', 'Q17'] ['Q159', 'P47', 'Q36']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q36 ) } . resource:Q159 property:P47 ?g }
Russia
action is_in
entity prev_answer
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'Japan'] ['Russia', 'shares border with', 'Poland']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:Poland ) } . resource:Russia property:shares_border_with ?g }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P47,Q17) (Q159,P47,Q36)
action is_in
entity prev_answer
action find
entity Q159
relation P47
[ANSWER]
['Q159', 'P47', 'Q17'] ['Q159', 'P47', 'Q36']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q36 ) } . resource:Q159 property:P47 ?g }
Yes
action is_in
entity prev_answer
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'Japan'] ['Russia', 'shares border with', 'Poland']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:Poland ) } . resource:Russia property:shares_border_with ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2070042 Q4777531 Q22007306
P161
Q502895
USER
Does The Swiss Conspiracy have António Avelar de Pinho and Anku Pande as actor ?
(Q2070042,P161,Q4777531) (Q2070042,P161,Q22007306)
action is_in
entity Q2070042
action intersection
action find_reverse
entity Q4777531
relation P161
action find_reverse
entity Q22007306
relation P161
['Q2070042', 'P161', 'Q4777531'] ['Q2070042', 'P161', 'Q22007306']
ASK WHERE { resource:Q2070042 property:P161 resource:Q4777531 . resource:Q2070042 property:P161 resource:Q22007306 }
The Swiss Conspiracy António Avelar de Pinho Anku Pande
action is_in
entity The Swiss Conspiracy
action intersection
action find_reverse
entity António Avelar de Pinho
relation cast member
action find_reverse
entity Anku Pande
relation cast member
['The Swiss Conspiracy', 'cast member', 'António Avelar de Pinho'] ['The Swiss Conspiracy', 'cast member', 'Anku Pande']
ASK WHERE { resource:The_Swiss_Conspiracy property:cast_member resource:António_Avelar_de_Pinho . resource:The_Swiss_Conspiracy property:cast_member resource:Anku_Pande }
[]
common name
SYSTEM
NO
(Q2070042,P161,Q4777531) (Q2070042,P161,Q22007306)
action is_in
entity Q2070042
action intersection
action find_reverse
entity Q4777531
relation P161
action find_reverse
entity Q22007306
relation P161
[ANSWER]
['Q2070042', 'P161', 'Q4777531'] ['Q2070042', 'P161', 'Q22007306']
ASK WHERE { resource:Q2070042 property:P161 resource:Q4777531 . resource:Q2070042 property:P161 resource:Q22007306 }
No
action is_in
entity The Swiss Conspiracy
action intersection
action find_reverse
entity António Avelar de Pinho
relation cast member
action find_reverse
entity Anku Pande
relation cast member
['The Swiss Conspiracy', 'cast member', 'António Avelar de Pinho'] ['The Swiss Conspiracy', 'cast member', 'Anku Pande']
ASK WHERE { resource:The_Swiss_Conspiracy property:cast_member resource:António_Avelar_de_Pinho . resource:The_Swiss_Conspiracy property:cast_member resource:Anku_Pande }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q687804 Q30
P495
Q15617994
USER
Is United States of America the origin of Armed and Dangerous ?
(Q687804,P495,Q30)
action is_in
entity Q30
action find
entity Q687804
relation P495
['Q687804', 'P495', 'Q30']
ASK WHERE { resource:Q687804 property:P495 resource:Q30 }
Armed and Dangerous United States of America
action is_in
entity United States of America
action find
entity Armed and Dangerous
relation country of origin
['Armed and Dangerous', 'country of origin', 'United States of America']
ASK WHERE { resource:Armed_and_Dangerous property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q687804,P495,Q30)
action is_in
entity Q30
action find
entity Q687804
relation P495
[ANSWER]
['Q687804', 'P495', 'Q30']
ASK WHERE { resource:Q687804 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Armed and Dangerous
relation country of origin
['Armed and Dangerous', 'country of origin', 'United States of America']
ASK WHERE { resource:Armed_and_Dangerous property:country_of_origin resource:United_States_of_America }
[]