Simple Question (Direct)
Simple Question
Q15052254
P463
Q874405
USER
Which organization was Peter Parnell a member of ?
(Q15052254,P463,c(Q874405))
action filter_type
action find
entity Q15052254
relation P463
type Q874405
['Q15052254', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { resource:Q15052254 property:P463 ?i . ?i rdf:type ontology:Q874405 }
Peter Parnell
action filter_type
action find
entity Peter Parnell
relation member of
type social group
['Peter Parnell', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Parnell property:member_of ?i . ?i rdf:type ontology:social_group }
[]
social group
Q1255671
SYSTEM
Dramatists Guild of America
Q1255671
(Q15052254,P463,c(Q874405))
action filter_type
action find
entity Q15052254
relation P463
type Q874405
The [ANSWER] was Peter Parnell a member of
['Q15052254', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { resource:Q15052254 property:P463 ?i . ?i rdf:type ontology:Q874405 }
Dramatists Guild of America
The Dramatists Guild of America was Peter Parnell a member of
Dramatists Guild of America
action filter_type
action find
entity Peter Parnell
relation member of
type social group
['Peter Parnell', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Parnell property:member_of ?i . ?i rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15052254
P50
Q2342494
USER
Which collectable has Peter Parnell as its author ?
(c(Q2342494),P50,Q15052254)
action filter_type
action find_reverse
entity Q15052254
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q15052254']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q15052254 }
Peter Parnell
action filter_type
action find_reverse
entity Peter Parnell
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Peter Parnell']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:Peter_Parnell }
[]
collectable
Q2398396
SYSTEM
And Tango Makes Three
Q2398396
(c(Q2342494),P50,Q15052254)
action filter_type
action find_reverse
entity Q15052254
relation P50
type Q2342494
[ANSWER] has Peter Parnell as its author
[{'concept': 'Q2342494'}, 'P50', 'Q15052254']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q15052254 }
And Tango Makes Three
And Tango Makes Three has Peter Parnell as its author
And Tango Makes Three
action filter_type
action find_reverse
entity Peter Parnell
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Peter Parnell']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:Peter_Parnell }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15052254
P734
Q82799
USER
Who has the surname that person ?
(Q2398396,P734,c(Q82799))
action filter_type
action find
entity Q15052254
relation P734
type Q82799
['Q2398396', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q15052254 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Peter Parnell
action filter_type
action find
entity Peter Parnell
relation family name
type name
['And Tango Makes Three', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Parnell property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q21488340
SYSTEM
Parnell
Q21488340
(Q2398396,P734,c(Q82799))
action filter_type
action find
entity Q15052254
relation P734
type Q82799
[ANSWER] has the surname that person
['Q2398396', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q15052254 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Parnell
Parnell has the surname that person
Parnell
action filter_type
action find
entity Peter Parnell
relation family name
type name
['And Tango Makes Three', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Parnell property:family_name ?j . ?j rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21488340 Q6906624
P734
Q502895
USER
Does Montuherkhopshef have that name as surname ?
(Q6906624,P734,Q21488340)
action is_in
entity Q6906624
action find
entity Q21488340
relation P734
['Q6906624', 'P734', 'Q21488340']
ASK WHERE { resource:Q21488340 property:P734 resource:Q6906624 }
Parnell Montuherkhopshef
action is_in
entity Montuherkhopshef
action find
entity Parnell
relation family name
['Montuherkhopshef', 'family name', 'Parnell']
ASK WHERE { resource:Parnell property:family_name resource:Montuherkhopshef }
[]
common name
SYSTEM
NO
(Q6906624,P734,Q21488340)
action is_in
entity Q6906624
action find
entity Q21488340
relation P734
[ANSWER]
['Q6906624', 'P734', 'Q21488340']
ASK WHERE { resource:Q21488340 property:P734 resource:Q6906624 }
No
action is_in
entity Montuherkhopshef
action find
entity Parnell
relation family name
['Montuherkhopshef', 'family name', 'Parnell']
ASK WHERE { resource:Parnell property:family_name resource:Montuherkhopshef }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15052254 Q60
P19
Q56061
USER
Was Peter Parnell born in New York City ?
(Q15052254,P19,Q60)
action is_in
entity Q60
action find
entity Q15052254
relation P19
['Q15052254', 'P19', 'Q60']
ASK WHERE { resource:Q15052254 property:P19 resource:Q60 }
Peter Parnell New York City
action is_in
entity New York City
action find
entity Peter Parnell
relation place of birth
['Peter Parnell', 'place of birth', 'New York City']
ASK WHERE { resource:Peter_Parnell property:place_of_birth resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q15052254,P19,Q60)
action is_in
entity Q60
action find
entity Q15052254
relation P19
[ANSWER]
['Q15052254', 'P19', 'Q60']
ASK WHERE { resource:Q15052254 property:P19 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Peter Parnell
relation place of birth
['Peter Parnell', 'place of birth', 'New York City']
ASK WHERE { resource:Peter_Parnell property:place_of_birth resource:New_York_City }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for approximately 141 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 141
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P407 ?q . ?q rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?q } . FILTER ( ?s = 141 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 141
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:language_of_work_or_name ?q . ?q rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?q } . FILTER ( ?s = 141 ) }
[]
language name
Q1321 Q652
SYSTEM
Spanish, Italian
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 141
[ANSWERS] are the languages of work for approximately 141 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P407 ?q . ?q rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 } GROUP BY ?q } . FILTER ( ?s = 141 ) }
Spanish Italian
Spanish and Italian are the languages of work for approximately 141 names
Spanish Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 141
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:language_of_work_or_name ?q . ?q rdf:type ontology:language . ?i rdf:type ontology:name } GROUP BY ?q } . FILTER ( ?s = 141 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q129929
P1441
Q2342494 Q3895768 Q502895
USER
Which collectables are greater number of fictional locations and people present in than The Amber Spyglass ?
(c(Q3895768)|c(Q502895),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q129929
relation P1441
type Q3895768
type Q502895
[[{'concept': 'Q3895768'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1441 resource:Q129929 . { { ?f rdf:type ontology:Q3895768 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?k > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { { ?c property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q3895768 } UNION { ?c property:P1441 ?z . ?c rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?z } }
The Amber Spyglass
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action count
action filter_multi_types
action find_reverse
entity The Amber Spyglass
relation present in work
type fictional location
type common name
[[{'concept': 'fictional location'}, {'concept': 'common name'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:present_in_work resource:The_Amber_Spyglass . { { ?f rdf:type ontology:fictional_location } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?k > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { { ?c property:present_in_work ?z . ?z rdf:type ontology:collectable . ?c rdf:type ontology:fictional_location } UNION { ?c property:present_in_work ?z . ?c rdf:type ontology:common_name . ?z rdf:type ontology:collectable } } GROUP BY ?z } }
[]
collectable fictional location common name
Q92640 Q218950 Q15228
SYSTEM
Alice's Adventures in Wonderland, Prince Caspian, The Lord of the Rings
Q220331 Q17024064 Q130295 Q8258 Q332388 Q918052 Q459842 Q218950 Q2917980 Q756866 Q15228 Q46758 Q467139 Q3591952 Q1321432 Q92640 Q79762 Q309019 Q6511 Q1229792 Q161531 Q331651 Q331656 Q704677 Q74287 Q117182 Q16998127 Q4348667 Q7973944 Q185118 Q480 Q41359 Q3818564 Q17118796 Q189509 Q4500509 Q70827 Q8279 Q5123928 Q2317161 Q1771810 Q20791621 Q19587249 Q19867004 Q3497005 Q7940528 Q2263221 Q7940527 Q131068 Q206870 Q208460 Q42040 Q332581 Q16438 Q181488
(c(Q3895768)|c(Q502895),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q129929
relation P1441
type Q3895768
type Q502895
[ANSWERS] are greater number of fictional locations and people present in than The Amber Spyglass
[[{'concept': 'Q3895768'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1441 resource:Q129929 . { { ?f rdf:type ontology:Q3895768 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?k > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { { ?c property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q3895768 } UNION { ?c property:P1441 ?z . ?c rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?z } }
Through the Looking-Glass The Pirate King (novel) The Wonderful Wizard of Oz One Thousand and One Nights The Two Towers The Martian Chronicles Book of Mormon Prince Caspian Midrash Rabba Jurassic Park The Lord of the Rings Harry Potter and the Deathly Hallows The Player of Games Evermeet: Island of Elves Tripitaka Alice's Adventures in Wonderland The Silmarillion Unfinished Tales Ulysses Pale Fire War and Peace The Children of Húrin The Voyage of the Dawn Treader Jim Button and Luke the Engine Driver The Hobbit Salammbô Kara-Tur: The Eastern Realms The Railway Series Waterdeep and the North Treasure Island Don Quixote Cat's Cradle The Ring of Solomon Waterdeep The Jungle Book My First Summer in the Sierra Water Margin Shahnameh City of Splendors: Waterdeep The Dream-Quest of Unknown Kadath A Wizard of Earthsea Kharé: Cityport of Traps Jim Button and the Wild 13 Baldur's Gate Star Wars Episode I: The Phantom Menace Volo's Guide to the Dalelands Mémoires d'Outre-Tombe Volo's Guide to Waterdeep Book of Esther Doctor Zhivago Nineteen Eighty-Four Revelation The Return of the King The Decameron Gulliver's Travels
Alice's Adventures in Wonderland, Prince Caspian and The Lord of the Rings are greater number of fictional locations and people present in than The Amber Spyglass
Alice's Adventures in Wonderland Prince Caspian The Lord of the Rings
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action count
action filter_multi_types
action find_reverse
entity The Amber Spyglass
relation present in work
type fictional location
type common name
[[{'concept': 'fictional location'}, {'concept': 'common name'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:present_in_work resource:The_Amber_Spyglass . { { ?f rdf:type ontology:fictional_location } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?k > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?z WHERE { { ?c property:present_in_work ?z . ?z rdf:type ontology:collectable . ?c rdf:type ontology:fictional_location } UNION { ?c property:present_in_work ?z . ?c rdf:type ontology:common_name . ?z rdf:type ontology:collectable } } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q224078
P1441
Q2342494 Q3895768 Q502895
USER
And how about The Murder of Roger Ackroyd?
(c(Q3895768)|c(Q502895),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q224078
relation P1441
type Q3895768
type Q502895
[[{'concept': 'Q3895768'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1441 resource:Q224078 . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } } } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?b WHERE { VALUES ( ?f ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } . ?n rdf:type ?f } GROUP BY ?b } }
The Murder of Roger Ackroyd
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action count
action filter_multi_types
action find_reverse
entity The Murder of Roger Ackroyd
relation present in work
type fictional location
type common name
[[{'concept': 'fictional location'}, {'concept': 'common name'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:present_in_work resource:The_Murder_of_Roger_Ackroyd . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:fictional_location ) ( ontology:common_name ) } } } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?b WHERE { VALUES ( ?f ) { ( ontology:fictional_location ) ( ontology:common_name ) } . ?n rdf:type ?f } GROUP BY ?b } }
[]
collectable fictional location common name
Q92640 Q218950 Q15228
SYSTEM
Alice's Adventures in Wonderland, Prince Caspian, The Lord of the Rings
Q220331 Q17024064 Q130295 Q8258 Q332388 Q918052 Q459842 Q218950 Q2917980 Q756866 Q15228 Q46758 Q467139 Q3591952 Q1321432 Q92640 Q79762 Q309019 Q6511 Q1229792 Q161531 Q331651 Q331656 Q704677 Q74287 Q117182 Q16998127 Q4348667 Q7973944 Q185118 Q480 Q41359 Q3818564 Q17118796 Q189509 Q4500509 Q70827 Q8279 Q5123928 Q2317161 Q1771810 Q20791621 Q19587249 Q19867004 Q3497005 Q7940528 Q2263221 Q7940527 Q131068 Q206870 Q208460 Q42040 Q332581 Q16438 Q181488
(c(Q3895768)|c(Q502895),P1441,c(Q2342494))
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q224078
relation P1441
type Q3895768
type Q502895
[ANSWERS]
[[{'concept': 'Q3895768'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1441 resource:Q224078 . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } } } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?b WHERE { VALUES ( ?f ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } . ?n rdf:type ?f } GROUP BY ?b } }
Through the Looking-Glass The Pirate King (novel) The Wonderful Wizard of Oz One Thousand and One Nights The Two Towers The Martian Chronicles Book of Mormon Prince Caspian Midrash Rabba Jurassic Park The Lord of the Rings Harry Potter and the Deathly Hallows The Player of Games Evermeet: Island of Elves Tripitaka Alice's Adventures in Wonderland The Silmarillion Unfinished Tales Ulysses Pale Fire War and Peace The Children of Húrin The Voyage of the Dawn Treader Jim Button and Luke the Engine Driver The Hobbit Salammbô Kara-Tur: The Eastern Realms The Railway Series Waterdeep and the North Treasure Island Don Quixote Cat's Cradle The Ring of Solomon Waterdeep The Jungle Book My First Summer in the Sierra Water Margin Shahnameh City of Splendors: Waterdeep The Dream-Quest of Unknown Kadath A Wizard of Earthsea Kharé: Cityport of Traps Jim Button and the Wild 13 Baldur's Gate Star Wars Episode I: The Phantom Menace Volo's Guide to the Dalelands Mémoires d'Outre-Tombe Volo's Guide to Waterdeep Book of Esther Doctor Zhivago Nineteen Eighty-Four Revelation The Return of the King The Decameron Gulliver's Travels
Alice's Adventures in Wonderland Prince Caspian The Lord of the Rings
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action count
action filter_multi_types
action find_reverse
entity The Murder of Roger Ackroyd
relation present in work
type fictional location
type common name
[[{'concept': 'fictional location'}, {'concept': 'common name'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:present_in_work resource:The_Murder_of_Roger_Ackroyd . { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:fictional_location ) ( ontology:common_name ) } } } } . FILTER ( ?k > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?b WHERE { VALUES ( ?f ) { ( ontology:fictional_location ) ( ontology:common_name ) } . ?n rdf:type ?f } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q218950
P144 P495
Q838948
USER
Which works of art are adapted from Prince Caspian and are United States of America a country of origin of ?
AND((c(Q838948),P144,Q218950), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q218950
relation P144
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q218950'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P144 resource:Q218950 . ?u property:P495 resource:Q30 . ?u rdf:type ontology:Q838948 }
United States of America Prince Caspian
action filter_type
action intersection
action find_reverse
entity Prince Caspian
relation based on
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Prince Caspian'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:based_on resource:Prince_Caspian . ?u property:country_of_origin resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
work of art
Q222023
SYSTEM
The Chronicles of Narnia: Prince Caspian
Q222023
AND((c(Q838948),P144,Q218950), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q218950
relation P144
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWER] is adapted from Prince Caspian and is United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P144', 'Q218950'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P144 resource:Q218950 . ?u property:P495 resource:Q30 . ?u rdf:type ontology:Q838948 }
The Chronicles of Narnia: Prince Caspian
The Chronicles of Narnia: Prince Caspian is adapted from Prince Caspian and is United States of America a country of origin of
The Chronicles of Narnia: Prince Caspian
action filter_type
action intersection
action find_reverse
entity Prince Caspian
relation based on
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'based on', 'Prince Caspian'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:based_on resource:Prince_Caspian . ?u property:country_of_origin resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15052254
P106
Q12737077
USER
Which occupations are the professions of Peter Parnell ?
(Q15052254,P106,c(Q12737077))
action filter_type
action find
entity Q15052254
relation P106
type Q12737077
['Q15052254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q15052254 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Peter Parnell
action filter_type
action find
entity Peter Parnell
relation occupation
type occupation
['Peter Parnell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Peter_Parnell property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180
SYSTEM
children's writer, writer
Q4853732 Q36180
(Q15052254,P106,c(Q12737077))
action filter_type
action find
entity Q15052254
relation P106
type Q12737077
The professions of Peter Parnell are the [ANSWERS]
['Q15052254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q15052254 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
children's writer writer
The professions of Peter Parnell are the children's writer and writer
children's writer writer
action filter_type
action find
entity Peter Parnell
relation occupation
type occupation
['Peter Parnell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Peter_Parnell property:occupation ?y . ?y rdf:type ontology:occupation }
[]