Simple Question (Direct)
Simple Question
Q1453852
P58
Q502895
USER
Which person wrote the script for The Island ?
(Q1453852,P58,c(Q502895))
action filter_type
action find
entity Q1453852
relation P58
type Q502895
['Q1453852', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1453852 property:P58 ?z . ?z rdf:type ontology:Q502895 }
The Island
action filter_type
action find
entity The Island
relation screenwriter
type common name
['The Island', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Island property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
common name
Q333251
SYSTEM
Peter Benchley
Q333251
(Q1453852,P58,c(Q502895))
action filter_type
action find
entity Q1453852
relation P58
type Q502895
The [ANSWER] wrote the script for The Island
['Q1453852', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1453852 property:P58 ?z . ?z rdf:type ontology:Q502895 }
Peter Benchley
The Peter Benchley wrote the script for The Island
Peter Benchley
action filter_type
action find
entity The Island
relation screenwriter
type common name
['The Island', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Island property:screenwriter ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333251
P170
Q5398426
USER
What did that person make ?
(c(Q5398426),P170,Q333251)
action filter_type
action find_reverse
entity Q333251
relation P170
type Q5398426
[{'concept': 'Q5398426'}, 'P170', 'Q333251']
SELECT DISTINCT ?c WHERE { ?c property:P170 resource:Q333251 . ?c rdf:type ontology:Q5398426 }
Peter Benchley
action filter_type
action find_reverse
entity Peter Benchley
relation creator
type television series
[{'concept': 'television series'}, 'creator', 'Peter Benchley']
SELECT DISTINCT ?c WHERE { ?c property:creator resource:Peter_Benchley . ?c rdf:type ontology:television_series }
[]
television series
Q3821330
SYSTEM
Dolphin Cove
Q3821330
(c(Q5398426),P170,Q333251)
action filter_type
action find_reverse
entity Q333251
relation P170
type Q5398426
That person made at [ANSWER]
[{'concept': 'Q5398426'}, 'P170', 'Q333251']
SELECT DISTINCT ?c WHERE { ?c property:P170 resource:Q333251 . ?c rdf:type ontology:Q5398426 }
Dolphin Cove
That person made at Dolphin Cove
Dolphin Cove
action filter_type
action find_reverse
entity Peter Benchley
relation creator
type television series
[{'concept': 'television series'}, 'creator', 'Peter Benchley']
SELECT DISTINCT ?c WHERE { ?c property:creator resource:Peter_Benchley . ?c rdf:type ontology:television_series }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16968495 Q1453852
P495
Q15617994
USER
Which administrative territories are the origin of The Island or Reloaded ?
OR((Q1453852,P495,c(Q15617994)), (Q16968495,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1453852
relation P495
action find
entity Q16968495
relation P495
type Q15617994
{'OR': [['Q1453852', 'P495', {'concept': 'Q15617994'}], ['Q16968495', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q16968495 property:P495 ?v } UNION { resource:Q1453852 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Reloaded The Island
action filter_type
action union
action find
entity The Island
relation country of origin
action find
entity Reloaded
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Island', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Reloaded', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Reloaded property:country_of_origin ?v } UNION { resource:The_Island property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1033
SYSTEM
United States of America, Nigeria
Q30 Q1033
OR((Q1453852,P495,c(Q15617994)), (Q16968495,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1453852
relation P495
action find
entity Q16968495
relation P495
type Q15617994
[ANSWERS] are the origin of The Island or Reloaded
{'OR': [['Q1453852', 'P495', {'concept': 'Q15617994'}], ['Q16968495', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q16968495 property:P495 ?v } UNION { resource:Q1453852 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
United States of America Nigeria
United States of America and Nigeria are the origin of The Island or Reloaded
United States of America Nigeria
action filter_type
action union
action find
entity The Island
relation country of origin
action find
entity Reloaded
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Island', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Reloaded', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Reloaded property:country_of_origin ?v } UNION { resource:The_Island property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q1033
P17
Q15617994
USER
Which administrative territories are United States of America and Nigeria present in ?
(Q30,P17,c(Q15617994)) (Q1033,P17,c(Q15617994))
action union
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q1033
relation P17
type Q15617994
['Q30', 'P17', {'concept': 'Q15617994'}] ['Q1033', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q1033 property:P17 ?j } UNION { resource:Q30 property:P17 ?j . ?j rdf:type ontology:Q15617994 } }
United States of America Nigeria
action union
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nigeria
relation country
type designation for an administrative territorial entity
['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nigeria', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria property:country ?j } UNION { resource:United_States_of_America property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q1033
SYSTEM
United States of America, Nigeria
Q30 Q1033
(Q30,P17,c(Q15617994)) (Q1033,P17,c(Q15617994))
action union
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q1033
relation P17
type Q15617994
Which administrative territories are [ANSWERS] present in
['Q30', 'P17', {'concept': 'Q15617994'}] ['Q1033', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q1033 property:P17 ?j } UNION { resource:Q30 property:P17 ?j . ?j rdf:type ontology:Q15617994 } }
United States of America Nigeria
Which administrative territories are United States of America and Nigeria present in
United States of America Nigeria
action union
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nigeria
relation country
type designation for an administrative territorial entity
['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nigeria', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria property:country ?j } UNION { resource:United_States_of_America property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q1033
P463
Q484652
USER
What international organizations had those administrative territories as their member ?
(Q30,P463,c(Q484652)) (Q1033,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}] ['Q1033', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . ?o property:P463 ?f . VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q1033 ) } }
United States of America Nigeria
action filter_type
action find
entity prev_answer
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Nigeria', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . ?o property:member_of ?f . VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:Nigeria ) } }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184 Q294278 Q7785 Q1065 Q1043527
(Q30,P463,c(Q484652)) (Q1033,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
[ANSWERS] had those administrative territories as their member
['Q30', 'P463', {'concept': 'Q484652'}] ['Q1033', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . ?o property:P463 ?f . VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q1033 ) } }
Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation African, Caribbean and Pacific Group of States Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and United Nations had those administrative territories as their member
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity prev_answer
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Nigeria', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . ?o property:member_of ?f . VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:Nigeria ) } }
[]