Simple Question (Direct)
Simple Question
Q1080213
P495
Q1048835
USER
What is the origin of Degrassi Junior High ?
(Q1080213,P495,c(Q1048835))
action filter_type
action find
entity Q1080213
relation P495
type Q1048835
['Q1080213', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1080213 property:P495 ?o . ?o rdf:type ontology:Q1048835 }
Degrassi Junior High
action filter_type
action find
entity Degrassi Junior High
relation country of origin
type political territorial entity
['Degrassi Junior High', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Degrassi_Junior_High property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q1080213,P495,c(Q1048835))
action filter_type
action find
entity Q1080213
relation P495
type Q1048835
The origin of Degrassi Junior High is from [ANSWER]
['Q1080213', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1080213 property:P495 ?o . ?o rdf:type ontology:Q1048835 }
Canada
The origin of Degrassi Junior High is from Canada
Canada
action filter_type
action find
entity Degrassi Junior High
relation country of origin
type political territorial entity
['Degrassi Junior High', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Degrassi_Junior_High property:country_of_origin ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P159
Q43229
USER
Which organizations have their head office location at that political territory ?
(c(Q43229),P159,Q16)
action filter_type
action find_reverse
entity Q16
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q16']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q16 . ?j rdf:type ontology:Q43229 }
Canada
action filter_type
action find_reverse
entity Canada
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Canada']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Canada . ?j rdf:type ontology:organization }
[]
organization
Q3487952 Q4929023 Q2827955
SYSTEM
Nuclear Waste Management Organization (Canada), Blue Cross Canada, Les Ailes de la Mode
Q4915270 Q5130893 Q16844433 Q4929023 Q2827955 Q3041975 Q3578623 Q5164747 Q17016809 Q5030175 Q3569281 Q5278283 Q4273673 Q5710158 Q3487726 Q18208352 Q7072749 Q7622866 Q7538048 Q3489548 Q3002071 Q3086666 Q5522275 Q3487952 Q17400092 Q4811599 Q1419806 Q5310019 Q714107 Q2981842 Q6030366 Q6044992
(c(Q43229),P159,Q16)
action filter_type
action find_reverse
entity Q16
relation P159
type Q43229
[ANSWERS] have their head office location at that political territory
[{'concept': 'Q43229'}, 'P159', 'Q16']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q16 . ?j rdf:type ontology:Q43229 }
Bioscrypt Inc. Clearnet HomeSense Blue Cross Canada Les Ailes de la Mode Dynamic Structures Canadian Forces Exchange System Consumers Software Quidditch Canada Canadian Institute for Health Information Windmill Software Dingwall Designer Guitars ALOE Systems Help the Aged Canada Canadian Paediatric Society Certified Health Executive ONEXONE Street Kids International Skystone Systems Solo Mobile Craig Wireless Fraser Milner Casgrain Garden Networks Nuclear Waste Management Organization (Canada) Mallette Astron-6 BTJunkie DuProprio.com Artumas Group Corus Québec InfoInterActive InterTAN
Nuclear Waste Management Organization (Canada), Blue Cross Canada and Les Ailes de la Mode have their head office location at that political territory
Nuclear Waste Management Organization (Canada) Blue Cross Canada Les Ailes de la Mode
action filter_type
action find_reverse
entity Canada
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Canada']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Canada . ?j rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P840
Q838948
USER
Which work of art has its setting located at that political territory ?
(c(Q838948),P840,Q3487952) (c(Q838948),P840,Q4929023) (c(Q838948),P840,Q2827955)
action filter_type
action find_reverse
entity Q16
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q3487952'] [{'concept': 'Q838948'}, 'P840', 'Q4929023'] [{'concept': 'Q838948'}, 'P840', 'Q2827955']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q16 . ?s rdf:type ontology:Q838948 }
Canada
action filter_type
action find_reverse
entity Canada
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Nuclear Waste Management Organization (Canada)'] [{'concept': 'work of art'}, 'narrative location', 'Blue Cross Canada'] [{'concept': 'work of art'}, 'narrative location', 'Les Ailes de la Mode']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Canada . ?s rdf:type ontology:work_of_art }
[]
work of art
Q7741564
SYSTEM
The Importance of Being Icelandic
Q7741564
(c(Q838948),P840,Q3487952) (c(Q838948),P840,Q4929023) (c(Q838948),P840,Q2827955)
action filter_type
action find_reverse
entity Q16
relation P840
type Q838948
The Importance of being Icelandic has its setting located at that political territory
[{'concept': 'Q838948'}, 'P840', 'Q3487952'] [{'concept': 'Q838948'}, 'P840', 'Q4929023'] [{'concept': 'Q838948'}, 'P840', 'Q2827955']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q16 . ?s rdf:type ontology:Q838948 }
The Importance of Being Icelandic
The Importance of being Icelandic has its setting located at that political territory
The Importance of Being Icelandic
action filter_type
action find_reverse
entity Canada
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Nuclear Waste Management Organization (Canada)'] [{'concept': 'work of art'}, 'narrative location', 'Blue Cross Canada'] [{'concept': 'work of art'}, 'narrative location', 'Les Ailes de la Mode']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Canada . ?s rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7741564 Q16 Q4324684
P495
Q1048835
USER
Is Canada and Novomykolaivka a country of origin of Q7741564 ?
(Q7741564,P495,Q16) (Q7741564,P495,Q4324684)
action is_in
entity Q7741564
action intersection
action find_reverse
entity Q16
relation P495
action find_reverse
entity Q4324684
relation P495
['Q7741564', 'P495', 'Q16'] ['Q7741564', 'P495', 'Q4324684']
ASK WHERE { resource:Q7741564 property:P495 resource:Q16 . resource:Q7741564 property:P495 resource:Q4324684 }
The Importance of Being Icelandic Canada Novomykolaivka
action is_in
entity The Importance of Being Icelandic
action intersection
action find_reverse
entity Canada
relation country of origin
action find_reverse
entity Novomykolaivka
relation country of origin
['The Importance of Being Icelandic', 'country of origin', 'Canada'] ['The Importance of Being Icelandic', 'country of origin', 'Novomykolaivka']
ASK WHERE { resource:The_Importance_of_Being_Icelandic property:country_of_origin resource:Canada . resource:The_Importance_of_Being_Icelandic property:country_of_origin resource:Novomykolaivka }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q7741564,P495,Q16) (Q7741564,P495,Q4324684)
action is_in
entity Q7741564
action intersection
action find_reverse
entity Q16
relation P495
action find_reverse
entity Q4324684
relation P495
[ANSWER]
['Q7741564', 'P495', 'Q16'] ['Q7741564', 'P495', 'Q4324684']
ASK WHERE { resource:Q7741564 property:P495 resource:Q16 . resource:Q7741564 property:P495 resource:Q4324684 }
YES and NO respectively
action is_in
entity The Importance of Being Icelandic
action intersection
action find_reverse
entity Canada
relation country of origin
action find_reverse
entity Novomykolaivka
relation country of origin
['The Importance of Being Icelandic', 'country of origin', 'Canada'] ['The Importance of Being Icelandic', 'country of origin', 'Novomykolaivka']
ASK WHERE { resource:The_Importance_of_Being_Icelandic property:country_of_origin resource:Canada . resource:The_Importance_of_Being_Icelandic property:country_of_origin resource:Novomykolaivka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7741564
P364
Q34770
USER
Which language was used originally for the creation of The Importance of Being Icelandic ?
(Q7741564,P364,c(Q34770))
action filter_type
action find
entity Q7741564
relation P364
type Q34770
['Q7741564', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q7741564 property:P364 ?k . ?k rdf:type ontology:Q34770 }
The Importance of Being Icelandic
action filter_type
action find
entity The Importance of Being Icelandic
relation original language of work
type language
['The Importance of Being Icelandic', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:The_Importance_of_Being_Icelandic property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7741564,P364,c(Q34770))
action filter_type
action find
entity Q7741564
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Importance of Being Icelandic
['Q7741564', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q7741564 property:P364 ?k . ?k rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Importance of Being Icelandic
English
action filter_type
action find
entity The Importance of Being Icelandic
relation original language of work
type language
['The Importance of Being Icelandic', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:The_Importance_of_Being_Icelandic property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q502895 Q95074
USER
Which works of art feature around 2 people and fictional characters ?
(c(Q502895)|c(Q95074),P1441,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 2
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?f } . FILTER ( ?e = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 2
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?f } . FILTER ( ?e = 2 ) }
[]
work of art common name fictional character
Q18067135 Q17485699 Q922006
SYSTEM
Bridge of Spies, Alice Through the Looking Glass, Race to Witch Mountain
Q922006 Q17485699 Q748030 Q18067135 Q156519
(c(Q502895)|c(Q95074),P1441,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 2
Characters [ANSWERS] feature around 2 people and fictional characters
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?f } . FILTER ( ?e = 2 ) }
Race to Witch Mountain Alice Through the Looking Glass The 13th Warrior Bridge of Spies Around the World in 80 Days
Characters Bridge of Spies, Alice Through the Looking Glass and Race to Witch Mountain feature around 2 people and fictional characters
Bridge of Spies Alice Through the Looking Glass Race to Witch Mountain
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 2
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?f } . FILTER ( ?e = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1305622 Q17485699
P725 P344
Q502895
USER
Which people did the voice dubbing for Alice Through the Looking Glass or are the cinematographers of A Star Is Born ?
OR((Q17485699,P725,c(Q502895)), (Q1305622,P344,c(Q502895)))
action filter_type
action union
action find
entity Q17485699
relation P725
action find
entity Q1305622
relation P344
type Q502895
{'OR': [['Q17485699', 'P725', {'concept': 'Q502895'}], ['Q1305622', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17485699 property:P725 ?c } UNION { resource:Q1305622 property:P344 ?c } } . ?c rdf:type ontology:Q502895 }
A Star Is Born Alice Through the Looking Glass
action filter_type
action union
action find
entity Alice Through the Looking Glass
relation voice actor
action find
entity A Star Is Born
relation director of photography
type common name
{'OR': [['Alice Through the Looking Glass', 'voice actor', {'concept': 'common name'}], ['A Star Is Born', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Alice_Through_the_Looking_Glass property:voice_actor ?c } UNION { resource:A_Star_Is_Born property:director_of_photography ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q449062 Q26726641 Q287824 Q298276 Q3241560 Q106481 Q26736713 Q3268367 Q5344838 Q192912
SYSTEM
Some of them are Barbara Windsor, Paul Hunter, Timothy Spall, Michael Sheen, Matt Vogel, Alan Rickman, Owain Rhys Davies, Wally Wingert, Edward Petherbridge, Stephen Fry
Q26726641 Q1343140 Q298276 Q5344838 Q3241560 Q26736713 Q449062 Q192912 Q261981 Q106481 Q287824 Q968440 Q3268367
OR((Q17485699,P725,c(Q502895)), (Q1305622,P344,c(Q502895)))
action filter_type
action union
action find
entity Q17485699
relation P725
action find
entity Q1305622
relation P344
type Q502895
[ANSWERS] did the voice dubbing for Alice Through the Looking Glass or are the cinematographers of A Star Is Born
{'OR': [['Q17485699', 'P725', {'concept': 'Q502895'}], ['Q1305622', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q17485699 property:P725 ?c } UNION { resource:Q1305622 property:P344 ?c } } . ?c rdf:type ontology:Q502895 }
Paul Hunter Paul Whitehouse Michael Sheen Edward Petherbridge Matt Vogel Owain Rhys Davies Barbara Windsor Stephen Fry Meera Syal Alan Rickman Timothy Spall Sam Leavitt Wally Wingert
Barbara Windsor, Paul Hunter, Timothy Spall, Michael Sheen, Matt Vogel, Alan Rickman, Owain Rhys Davies, Wally Wingert, Edward Petherbridge and Stephen Fry did the voice dubbing for Alice Through the Looking Glass or are the cinematographers of A Star Is Born
Barbara Windsor Paul Hunter Timothy Spall Michael Sheen Matt Vogel Alan Rickman Owain Rhys Davies Wally Wingert Edward Petherbridge Stephen Fry
action filter_type
action union
action find
entity Alice Through the Looking Glass
relation voice actor
action find
entity A Star Is Born
relation director of photography
type common name
{'OR': [['Alice Through the Looking Glass', 'voice actor', {'concept': 'common name'}], ['A Star Is Born', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Alice_Through_the_Looking_Glass property:voice_actor ?c } UNION { resource:A_Star_Is_Born property:director_of_photography ?c } } . ?c rdf:type ontology:common_name }
[]