Simple Question (Direct)
Simple Question
Q3036003
P27
Q15617994
USER
Which administrative territory is Father Callahan a civilian of ?
(Q3036003,P27,c(Q15617994))
action filter_type
action find
entity Q3036003
relation P27
type Q15617994
['Q3036003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q3036003 property:P27 ?j }
Father Callahan
action filter_type
action find
entity Father Callahan
relation country of citizenship
type designation for an administrative territorial entity
['Father Callahan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Father_Callahan property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3036003,P27,c(Q15617994))
action filter_type
action find
entity Q3036003
relation P27
type Q15617994
The [ANSWER] is Father Callahan a civilian of
['Q3036003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q3036003 property:P27 ?j }
United States of America
The United States of America is Father Callahan a civilian of
United States of America
action filter_type
action find
entity Father Callahan
relation country of citizenship
type designation for an administrative territorial entity
['Father Callahan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Father_Callahan property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3036003
P674
Q2342494
USER
Which collectable has the character that fictional humanoid ?
(c(Q2342494),P674,Q30)
action filter_type
action find_reverse
entity Q3036003
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P674 resource:Q3036003 . ?i rdf:type ontology:Q2342494 }
Father Callahan
action filter_type
action find_reverse
entity Father Callahan
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:characters resource:Father_Callahan . ?i rdf:type ontology:collectable }
[]
collectable
Q753290
SYSTEM
'Salem's Lot
Q753290
(c(Q2342494),P674,Q30)
action filter_type
action find_reverse
entity Q3036003
relation P674
type Q2342494
[ANSWER] has the character that fictional humanoid
[{'concept': 'Q2342494'}, 'P674', 'Q30']
SELECT DISTINCT ?i WHERE { ?i property:P674 resource:Q3036003 . ?i rdf:type ontology:Q2342494 }
'Salem's Lot
'Salem's Lot has the character that fictional humanoid
'Salem's Lot
action filter_type
action find_reverse
entity Father Callahan
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'United States of America']
SELECT DISTINCT ?i WHERE { ?i property:characters resource:Father_Callahan . ?i rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q753290
P50
Q502895
USER
Who was the writer of that collectable ?
(Q753290,P50,c(Q502895))
action filter_type
action find
entity Q753290
relation P50
type Q502895
['Q753290', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q753290 property:P50 ?k . ?k rdf:type ontology:Q502895 }
'Salem's Lot
action filter_type
action find
entity 'Salem's Lot
relation author
type common name
["'Salem's Lot", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:'Salem's_Lot property:author ?k . ?k rdf:type ontology:common_name }
[]
common name
Q39829
SYSTEM
Stephen King
Q39829
(Q753290,P50,c(Q502895))
action filter_type
action find
entity Q753290
relation P50
type Q502895
The writer of that collectable was the [ANSWER]
['Q753290', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q753290 property:P50 ?k . ?k rdf:type ontology:Q502895 }
Stephen King
The writer of that collectable was the Stephen King
Stephen King
action filter_type
action find
entity 'Salem's Lot
relation author
type common name
["'Salem's Lot", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:'Salem's_Lot property:author ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q39829 Q4658914
P800
Q2342494
USER
Was A Plan of the English Commerce done by that person ?
(Q39829,P800,Q4658914)
action is_in
entity Q4658914
action find
entity Q39829
relation P800
['Q39829', 'P800', 'Q4658914']
ASK WHERE { resource:Q39829 property:P800 resource:Q4658914 }
Stephen King A Plan of the English Commerce
action is_in
entity A Plan of the English Commerce
action find
entity Stephen King
relation notable work
['Stephen King', 'notable work', 'A Plan of the English Commerce']
ASK WHERE { resource:Stephen_King property:notable_work resource:A_Plan_of_the_English_Commerce }
[]
collectable
SYSTEM
NO
(Q39829,P800,Q4658914)
action is_in
entity Q4658914
action find
entity Q39829
relation P800
[ANSWER]
['Q39829', 'P800', 'Q4658914']
ASK WHERE { resource:Q39829 property:P800 resource:Q4658914 }
No
action is_in
entity A Plan of the English Commerce
action find
entity Stephen King
relation notable work
['Stephen King', 'notable work', 'A Plan of the English Commerce']
ASK WHERE { resource:Stephen_King property:notable_work resource:A_Plan_of_the_English_Commerce }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q4427369 Q1790645
P530
Q1048835
USER
Does United States of America have diplomatic relations with Sokolivochka and Guaranésia ?
(Q30,P530,Q4427369) (Q30,P530,Q1790645)
action is_in
entity Q30
action intersection
action find_reverse
entity Q4427369
relation P530
action find_reverse
entity Q1790645
relation P530
['Q30', 'P530', 'Q4427369'] ['Q30', 'P530', 'Q1790645']
ASK WHERE { resource:Q30 property:P530 resource:Q4427369 . resource:Q30 property:P530 resource:Q1790645 }
United States of America Sokolivochka Guaranésia
action is_in
entity United States of America
action intersection
action find_reverse
entity Sokolivochka
relation diplomatic relation
action find_reverse
entity Guaranésia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Sokolivochka'] ['United States of America', 'diplomatic relation', 'Guaranésia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Sokolivochka . resource:United_States_of_America property:diplomatic_relation resource:Guaranésia }
[]
political territorial entity
SYSTEM
NO
(Q30,P530,Q4427369) (Q30,P530,Q1790645)
action is_in
entity Q30
action intersection
action find_reverse
entity Q4427369
relation P530
action find_reverse
entity Q1790645
relation P530
[ANSWER]
['Q30', 'P530', 'Q4427369'] ['Q30', 'P530', 'Q1790645']
ASK WHERE { resource:Q30 property:P530 resource:Q4427369 . resource:Q30 property:P530 resource:Q1790645 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Sokolivochka
relation diplomatic relation
action find_reverse
entity Guaranésia
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Sokolivochka'] ['United States of America', 'diplomatic relation', 'Guaranésia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Sokolivochka . resource:United_States_of_America property:diplomatic_relation resource:Guaranésia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q39829
P800
Q2342494
USER
How many collectables were done by Stephen King ?
(Q39829,P800,c(Q2342494))
action count
action filter_type
action find
entity Q39829
relation P800
type Q2342494
['Q39829', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q39829 property:P800 ?y . ?y rdf:type ontology:Q2342494 }
Stephen King
action count
action filter_type
action find
entity Stephen King
relation notable work
type collectable
['Stephen King', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Stephen_King property:notable_work ?y . ?y rdf:type ontology:collectable }
[]
collectable
SYSTEM
32
Q250123 Q569790 Q247364 Q930666 Q469889 Q953044 Q471926 Q468121 Q1637738 Q239725 Q753290 Q1051999 Q930899 Q470937 Q1411928 Q471029 Q462454 Q302960 Q828031 Q464557 Q466790 Q602288 Q596874 Q1472204 Q466288 Q149552 Q742226 Q835739 Q846175 Q670552 Q623394 Q913576
(Q39829,P800,c(Q2342494))
action count
action filter_type
action find
entity Q39829
relation P800
type Q2342494
[ANSWER]
['Q39829', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q39829 property:P800 ?y . ?y rdf:type ontology:Q2342494 }
Christine Dreamcatcher The Dark Tower V: Wolves of the Calla The Girl Who Loved Tom Gordon Cell Cycle of the Werewolf The Eyes of the Dragon Rose Madder The Dark Tower VI: Song of Susannah Black House 'Salem's Lot From a Buick 8 Insomnia The Shining Needful Things The Regulators The Talisman Bag of Bones Firestarter The Colorado Kid The Dead Zone It Misery The Dark Tower VII: The Dark Tower The Green Mile The Stand Pet Sematary Cujo Dolores Claiborne The Dark Tower IV: Wizard and Glass Carrie Desperation
32
action count
action filter_type
action find
entity Stephen King
relation notable work
type collectable
['Stephen King', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Stephen_King property:notable_work ?y . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39829
P170
Q15416
USER
Which television programs were developed by that person ?
action filter_type
action find_reverse
entity Q39829
relation P170
type Q15416
SELECT DISTINCT ?g WHERE { ?g property:P170 resource:Q39829 . ?g rdf:type ontology:Q15416 }
Stephen King
action filter_type
action find_reverse
entity Stephen King
relation creator
type television program
SELECT DISTINCT ?g WHERE { ?g property:creator resource:Stephen_King . ?g rdf:type ontology:television_program }
[]
television program
Q864422 Q1752538 Q1811161
SYSTEM
Haven, The Stand, The Shining
Q864422 Q383222 Q1989813 Q1811161 Q471214 Q1197223 Q785379 Q1752538 Q625770
action filter_type
action find_reverse
entity Q39829
relation P170
type Q15416
Character [ANSWERS] were developed by that person
SELECT DISTINCT ?g WHERE { ?g property:P170 resource:Q39829 . ?g rdf:type ontology:Q15416 }
Haven Kingdom Hospital Nightmares and Dreamscapes: From the Stories of Stephen King The Shining Rose Red Storm of the Century Stephen King's Desperation The Stand The Langoliers
Character Haven, The Stand and The Shining were developed by that person
Haven The Stand The Shining
action filter_type
action find_reverse
entity Stephen King
relation creator
type television program
SELECT DISTINCT ?g WHERE { ?g property:creator resource:Stephen_King . ?g rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q39829
P800
Q277759 Q2342494
USER
How many book series and collectables were done by Stephen King ?
(Q39829,P800,c(Q277759)) (Q39829,P800,c(Q2342494))
action count
action union
action filter_type
action find
entity Q39829
relation P800
type Q277759
action filter_type
action find
entity Q39829
relation P800
type Q2342494
['Q39829', 'P800', {'concept': 'Q277759'}] ['Q39829', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Q39829 property:P800 ?n . ?n rdf:type ontology:Q2342494 } UNION { resource:Q39829 property:P800 ?n . ?n rdf:type ontology:Q277759 } }
Stephen King
action count
action union
action filter_type
action find
entity Stephen King
relation notable work
type book series
action filter_type
action find
entity Stephen King
relation notable work
type collectable
['Stephen King', 'notable work', {'concept': 'book series'}] ['Stephen King', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Stephen_King property:notable_work ?n . ?n rdf:type ontology:collectable } UNION { resource:Stephen_King property:notable_work ?n . ?n rdf:type ontology:book_series } }
[]
book series collectable
SYSTEM
1 book series and 32 collectables
Q250123 Q569790 Q247364 Q930666 Q469889 Q953044 Q471926 Q280898 Q468121 Q1637738 Q239725 Q753290 Q670552 Q930899 Q302960 Q1411928 Q471029 Q462454 Q470937 Q828031 Q464557 Q149552 Q602288 Q596874 Q835739 Q466288 Q466790 Q742226 Q1472204 Q846175 Q1051999 Q913576 Q623394
(Q39829,P800,c(Q277759)) (Q39829,P800,c(Q2342494))
action count
action union
action filter_type
action find
entity Q39829
relation P800
type Q277759
action filter_type
action find
entity Q39829
relation P800
type Q2342494
[ANSWER]
['Q39829', 'P800', {'concept': 'Q277759'}] ['Q39829', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Q39829 property:P800 ?n . ?n rdf:type ontology:Q2342494 } UNION { resource:Q39829 property:P800 ?n . ?n rdf:type ontology:Q277759 } }
Christine Dreamcatcher The Dark Tower V: Wolves of the Calla The Girl Who Loved Tom Gordon Cell Cycle of the Werewolf The Eyes of the Dragon The Dark Tower Rose Madder The Dark Tower VI: Song of Susannah Black House 'Salem's Lot The Dark Tower IV: Wizard and Glass Insomnia Bag of Bones Needful Things The Regulators The Talisman The Shining Firestarter The Colorado Kid The Stand It Misery Cujo The Green Mile The Dead Zone Pet Sematary The Dark Tower VII: The Dark Tower Dolores Claiborne From a Buick 8 Desperation Carrie
1 book series and 32 collectables
action count
action union
action filter_type
action find
entity Stephen King
relation notable work
type book series
action filter_type
action find
entity Stephen King
relation notable work
type collectable
['Stephen King', 'notable work', {'concept': 'book series'}] ['Stephen King', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Stephen_King property:notable_work ?n . ?n rdf:type ontology:collectable } UNION { resource:Stephen_King property:notable_work ?n . ?n rdf:type ontology:book_series } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q864422 Q5221940
P361
Q2031291
USER
How many releases are parts of Haven or Greatest Hits: Chapter One ?
(c(Q2031291),P361,Q864422) (c(Q2031291),P361,Q5221940)
action count
action union
action filter_type
action find_reverse
entity Q864422
relation P361
type Q2031291
action filter_type
action find_reverse
entity Q5221940
relation P361
type Q2031291
[{'concept': 'Q2031291'}, 'P361', 'Q864422'] [{'concept': 'Q2031291'}, 'P361', 'Q5221940']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P361 resource:Q864422 . ?u rdf:type ontology:Q2031291 } UNION { ?u rdf:type ontology:Q2031291 . ?u property:P361 resource:Q5221940 } }
Haven Greatest Hits: Chapter One
action count
action union
action filter_type
action find_reverse
entity Haven
relation part of
type release
action filter_type
action find_reverse
entity Greatest Hits: Chapter One
relation part of
type release
[{'concept': 'release'}, 'part of', 'Haven'] [{'concept': 'release'}, 'part of', 'Greatest Hits: Chapter One']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:part_of resource:Haven . ?u rdf:type ontology:release } UNION { ?u rdf:type ontology:release . ?u property:part_of resource:Greatest_Hits:_Chapter_One } }
[]
release
SYSTEM
2
Q7165894 Q5051671
(c(Q2031291),P361,Q864422) (c(Q2031291),P361,Q5221940)
action count
action union
action filter_type
action find_reverse
entity Q864422
relation P361
type Q2031291
action filter_type
action find_reverse
entity Q5221940
relation P361
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P361', 'Q864422'] [{'concept': 'Q2031291'}, 'P361', 'Q5221940']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P361 resource:Q864422 . ?u rdf:type ontology:Q2031291 } UNION { ?u rdf:type ontology:Q2031291 . ?u property:P361 resource:Q5221940 } }
People Like Us Catch My Breath
2
action count
action union
action filter_type
action find_reverse
entity Haven
relation part of
type release
action filter_type
action find_reverse
entity Greatest Hits: Chapter One
relation part of
type release
[{'concept': 'release'}, 'part of', 'Haven'] [{'concept': 'release'}, 'part of', 'Greatest Hits: Chapter One']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:part_of resource:Haven . ?u rdf:type ontology:release } UNION { ?u rdf:type ontology:release . ?u property:part_of resource:Greatest_Hits:_Chapter_One } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q753290
P364
Q34770
USER
Which language was used originally for the creation of 'Salem's Lot ?
(Q753290,P364,c(Q34770))
action filter_type
action find
entity Q753290
relation P364
type Q34770
['Q753290', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q753290 property:P364 ?n . ?n rdf:type ontology:Q34770 }
'Salem's Lot
action filter_type
action find
entity 'Salem's Lot
relation original language of work
type language
["'Salem's Lot", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:'Salem's_Lot property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q753290,P364,c(Q34770))
action filter_type
action find
entity Q753290
relation P364
type Q34770
[ANSWER] was used originally for the creation of 'Salem's Lot
['Q753290', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q753290 property:P364 ?n . ?n rdf:type ontology:Q34770 }
English
English was used originally for the creation of 'Salem's Lot
English
action filter_type
action find
entity 'Salem's Lot
relation original language of work
type language
["'Salem's Lot", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:'Salem's_Lot property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q3985722
P364
Q15416
USER
Is The Associates known to be originally created in that one language ?
(Q3985722,P364,Q1860)
action is_in
entity Q1860
action find
entity Q3985722
relation P364
['Q3985722', 'P364', 'Q1860']
ASK WHERE { resource:Q3985722 property:P364 resource:Q1860 }
English The Associates
action is_in
entity English
action find
entity The Associates
relation original language of work
['The Associates', 'original language of work', 'English']
ASK WHERE { resource:The_Associates property:original_language_of_work resource:English }
[]
television program
SYSTEM
YES
(Q3985722,P364,Q1860)
action is_in
entity Q1860
action find
entity Q3985722
relation P364
[ANSWER]
['Q3985722', 'P364', 'Q1860']
ASK WHERE { resource:Q3985722 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity The Associates
relation original language of work
['The Associates', 'original language of work', 'English']
ASK WHERE { resource:The_Associates property:original_language_of_work resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39829
P58
Q838948
USER
Which works of art are Stephen King a screwriter of ?
(c(Q838948),P58,Q39829)
action filter_type
action find_reverse
entity Q39829
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q39829']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q39829 . ?c rdf:type ontology:Q838948 }
Stephen King
action filter_type
action find_reverse
entity Stephen King
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Stephen King']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Stephen_King . ?c rdf:type ontology:work_of_art }
[]
work of art
Q1058512 Q172241 Q186341
SYSTEM
The Running Man, The Shawshank Redemption, The Shining
Q472165 Q848503 Q944115 Q3431133 Q18150326 Q1631822 Q780434 Q1058512 Q494722 Q1072781 Q1071567 Q1637939 Q695209 Q829996 Q467953 Q172241 Q2060440 Q466792 Q908213 Q186341 Q2659792 Q744102 Q753449 Q1198033 Q46637
(c(Q838948),P58,Q39829)
action filter_type
action find_reverse
entity Q39829
relation P58
type Q838948
[ANSWERS] are Stephen King a screwriter of
[{'concept': 'Q838948'}, 'P58', 'Q39829']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q39829 . ?c rdf:type ontology:Q838948 }
Secret Window Firestarter Graveyard Shift The Death of Jack Hamilton A Good Marriage Sleepwalkers Hearts in Atlantis The Running Man Stand by Me Children of the Corn: Revelation Cat's Eye Thinner The Mist Cujo Children of the Corn The Shawshank Redemption The Night Flier The Dead Zone Pet Sematary The Shining Autopsy Room Four Creepshow Christine Silver Bullet Maximum Overdrive
The Running Man, The Shawshank Redemption and The Shining are Stephen King a screwriter of
The Running Man The Shawshank Redemption The Shining
action filter_type
action find_reverse
entity Stephen King
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Stephen King']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Stephen_King . ?c rdf:type ontology:work_of_art }
[]