Simple Question (Direct)
Simple Question
Q313152
P1303
Q34379
USER
Which musical instrument is played by William Boyce ?
(Q313152,P1303,c(Q34379))
action filter_type
action find
entity Q313152
relation P1303
type Q34379
['Q313152', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q313152 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
William Boyce
action filter_type
action find
entity William Boyce
relation instrument
type musical instrument
['William Boyce', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:William_Boyce property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
musical instrument
Q1444
SYSTEM
organ
Q1444
(Q313152,P1303,c(Q34379))
action filter_type
action find
entity Q313152
relation P1303
type Q34379
The [ANSWER] is played by William Boyce
['Q313152', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q313152 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
organ
The organ is played by William Boyce
organ
action filter_type
action find
entity William Boyce
relation instrument
type musical instrument
['William Boyce', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:William_Boyce property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313152
P69
Q2385804
USER
Which educational institution was William Boyce educated at ?
(Q313152,P69,c(Q2385804))
action filter_type
action find
entity Q313152
relation P69
type Q2385804
['Q313152', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?t WHERE { resource:Q313152 property:P69 ?t . ?t rdf:type ontology:Q2385804 }
William Boyce
action filter_type
action find
entity William Boyce
relation educated at
type educational institution
['William Boyce', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?t WHERE { resource:William_Boyce property:educated_at ?t . ?t rdf:type ontology:educational_institution }
[]
educational institution
Q7595111
SYSTEM
St Paul's Cathedral School
Q7595111
(Q313152,P69,c(Q2385804))
action filter_type
action find
entity Q313152
relation P69
type Q2385804
William Boyce was educated at [ANSWER]
['Q313152', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?t WHERE { resource:Q313152 property:P69 ?t . ?t rdf:type ontology:Q2385804 }
St Paul's Cathedral School
William Boyce was educated at St Paul's Cathedral School
St Paul's Cathedral School
action filter_type
action find
entity William Boyce
relation educated at
type educational institution
['William Boyce', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?t WHERE { resource:William_Boyce property:educated_at ?t . ?t rdf:type ontology:educational_institution }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7595111 Q3657785
P69
Q502895
USER
Was Ino Anastasia educated at that educational institution ?
(Q3657785,P69,Q7595111)
action is_in
entity Q3657785
action find
entity Q7595111
relation P69
['Q3657785', 'P69', 'Q7595111']
ASK WHERE { resource:Q7595111 property:P69 resource:Q3657785 }
St Paul's Cathedral School Ino Anastasia
action is_in
entity Ino Anastasia
action find
entity St Paul's Cathedral School
relation educated at
['Ino Anastasia', 'educated at', "St Paul's Cathedral School"]
ASK WHERE { resource:St_Paul's_Cathedral_School property:educated_at resource:Ino_Anastasia }
[]
common name
SYSTEM
NO
(Q3657785,P69,Q7595111)
action is_in
entity Q3657785
action find
entity Q7595111
relation P69
[ANSWER]
['Q3657785', 'P69', 'Q7595111']
ASK WHERE { resource:Q7595111 property:P69 resource:Q3657785 }
No
action is_in
entity Ino Anastasia
action find
entity St Paul's Cathedral School
relation educated at
['Ino Anastasia', 'educated at', "St Paul's Cathedral School"]
ASK WHERE { resource:St_Paul's_Cathedral_School property:educated_at resource:Ino_Anastasia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q313152 Q145 Q46748
P27
Q15617994
USER
Is William Boyce a native of United Kingdom and Valstagna ?
(Q313152,P27,Q145) (Q313152,P27,Q46748)
action is_in
entity Q313152
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q46748
relation P27
['Q313152', 'P27', 'Q145'] ['Q313152', 'P27', 'Q46748']
ASK WHERE { resource:Q313152 property:P27 resource:Q145 . resource:Q313152 property:P27 resource:Q46748 }
William Boyce United Kingdom Valstagna
action is_in
entity William Boyce
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Valstagna
relation country of citizenship
['William Boyce', 'country of citizenship', 'United Kingdom'] ['William Boyce', 'country of citizenship', 'Valstagna']
ASK WHERE { resource:William_Boyce property:country_of_citizenship resource:United_Kingdom . resource:William_Boyce property:country_of_citizenship resource:Valstagna }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q313152,P27,Q145) (Q313152,P27,Q46748)
action is_in
entity Q313152
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q46748
relation P27
[ANSWER]
['Q313152', 'P27', 'Q145'] ['Q313152', 'P27', 'Q46748']
ASK WHERE { resource:Q313152 property:P27 resource:Q145 . resource:Q313152 property:P27 resource:Q46748 }
YES and NO respectively
action is_in
entity William Boyce
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Valstagna
relation country of citizenship
['William Boyce', 'country of citizenship', 'United Kingdom'] ['William Boyce', 'country of citizenship', 'Valstagna']
ASK WHERE { resource:William_Boyce property:country_of_citizenship resource:United_Kingdom . resource:William_Boyce property:country_of_citizenship resource:Valstagna }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7595111 Q508337 Q512612
P17
Q15617994
USER
Is St Paul's Cathedral School located in Denklingen and Salzbergen ?
(Q7595111,P17,Q508337) (Q7595111,P17,Q512612)
action is_in
entity Q7595111
action intersection
action find_reverse
entity Q508337
relation P17
action find_reverse
entity Q512612
relation P17
['Q7595111', 'P17', 'Q508337'] ['Q7595111', 'P17', 'Q512612']
ASK WHERE { resource:Q7595111 property:P17 resource:Q508337 . resource:Q7595111 property:P17 resource:Q512612 }
St Paul's Cathedral School Denklingen Salzbergen
action is_in
entity St Paul's Cathedral School
action intersection
action find_reverse
entity Denklingen
relation country
action find_reverse
entity Salzbergen
relation country
["St Paul's Cathedral School", 'country', 'Denklingen'] ["St Paul's Cathedral School", 'country', 'Salzbergen']
ASK WHERE { resource:St_Paul's_Cathedral_School property:country resource:Denklingen . resource:St_Paul's_Cathedral_School property:country resource:Salzbergen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7595111,P17,Q508337) (Q7595111,P17,Q512612)
action is_in
entity Q7595111
action intersection
action find_reverse
entity Q508337
relation P17
action find_reverse
entity Q512612
relation P17
[ANSWER]
['Q7595111', 'P17', 'Q508337'] ['Q7595111', 'P17', 'Q512612']
ASK WHERE { resource:Q7595111 property:P17 resource:Q508337 . resource:Q7595111 property:P17 resource:Q512612 }
No
action is_in
entity St Paul's Cathedral School
action intersection
action find_reverse
entity Denklingen
relation country
action find_reverse
entity Salzbergen
relation country
["St Paul's Cathedral School", 'country', 'Denklingen'] ["St Paul's Cathedral School", 'country', 'Salzbergen']
ASK WHERE { resource:St_Paul's_Cathedral_School property:country resource:Denklingen . resource:St_Paul's_Cathedral_School property:country resource:Salzbergen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q313152
P921
Q191067
USER
How many articles have William Boyce as their main topic ?
(c(Q191067),P921,Q313152)
action count
action filter_type
action find_reverse
entity Q313152
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q313152']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P921 resource:Q313152 . ?c rdf:type ontology:Q191067 }
William Boyce
action count
action filter_type
action find_reverse
entity William Boyce
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Boyce']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:main_subject resource:William_Boyce . ?c rdf:type ontology:article }
[]
article
SYSTEM
1
Q19085114
(c(Q191067),P921,Q313152)
action count
action filter_type
action find_reverse
entity Q313152
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q313152']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P921 resource:Q313152 . ?c rdf:type ontology:Q191067 }
Boyce, William (DNB00)
1
action count
action filter_type
action find_reverse
entity William Boyce
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Boyce']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:main_subject resource:William_Boyce . ?c rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313152
P921
Q191067
USER
Which article is that person a main subject of ?
action filter_type
action find_reverse
entity Q313152
relation P921
type Q191067
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q191067 . ?d property:P921 resource:Q313152 }
William Boyce
action filter_type
action find_reverse
entity William Boyce
relation main subject
type article
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:article . ?d property:main_subject resource:William_Boyce }
[]
article
Q19085114
SYSTEM
Boyce, William (DNB00)
Q19085114
action filter_type
action find_reverse
entity Q313152
relation P921
type Q191067
[ANSWER] is that person a main subject of
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q191067 . ?d property:P921 resource:Q313152 }
Boyce, William (DNB00)
Boyce, William (DNB00) is that person a main subject of
Boyce, William (DNB00)
action filter_type
action find_reverse
entity William Boyce
relation main subject
type article
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:article . ?d property:main_subject resource:William_Boyce }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q2342494 Q191067
USER
Which collectables are around 17 articles a component of ?
(c(Q191067),P361,c(Q2342494))
action approx
action find_reverse_tuple_counts
relation P361
type Q2342494
type Q191067
value 17
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P361 ?m . ?m rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q191067 } GROUP BY ?m } . FILTER ( ?u = 17 ) }
action approx
action find_reverse_tuple_counts
relation part of
type collectable
type article
value 17
[{'concept': 'article'}, 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:part_of ?m . ?m rdf:type ontology:collectable . ?p rdf:type ontology:article } GROUP BY ?m } . FILTER ( ?u = 17 ) }
[]
collectable article
Q15228 Q220331 Q202975
SYSTEM
The Lord of the Rings, Through the Looking-Glass, Wuthering Heights
Q4157927 Q220331 Q340401 Q1059358 Q21501373 Q1782122 Q132042 Q1321432 Q17125030 Q302960 Q20828362 Q2700307 Q129493 Q503921 Q123397 Q662550 Q83755 Q15266606 Q1247890 Q224733 Q500930 Q191663 Q131101 Q23629963 Q130295 Q797466 Q19170514 Q4655846 Q6925009 Q8258 Q2920815 Q4861489 Q1194350 Q42040 Q2987414 Q2170732 Q2111417 Q3566876 Q309019 Q19177323 Q40591 Q24704766 Q1627253 Q784710 Q3227637 Q4171578 Q245248 Q5158143 Q8000500 Q2713307 Q838776 Q1198633 Q17111624 Q1905019 Q73588 Q331804 Q1148214 Q1388502 Q331651 Q961394 Q62879 Q459842 Q48244 Q130924 Q26710829 Q340607 Q722678 Q1368633 Q16878876 Q332581 Q15228 Q19588619 Q1138524 Q4509219 Q202975 Q22084380 Q1634127 Q7561578 Q23691928 Q262540 Q19538713 Q7755588 Q4353573 Q1478754 Q8045636 Q330898 Q325949 Q22348424 Q22810109 Q22765 Q459864 Q4657824 Q3203413 Q5114250 Q7461289 Q17859702 Q4401396 Q7762618 Q163027 Q21850980 Q1754954 Q661655 Q16889818 Q1219475 Q760143 Q630530
(c(Q191067),P361,c(Q2342494))
action approx
action find_reverse_tuple_counts
relation P361
type Q2342494
type Q191067
value 17
[ANSWERS] are around 17 articles a component of
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P361 ?m . ?m rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q191067 } GROUP BY ?m } . FILTER ( ?u = 17 ) }
The Adventures of Dennis Through the Looking-Glass The Book of Lost Tales Rubáiyát of Omar Khayyám Carols for Christmas-tide M*A*S*H novels Leaves of Grass Tripitaka From Linguistic Areas to Areal Linguistics (Studies in Language Companion Series) Bag of Bones Atlantis Swann's Way Golden Legend The War of the Jewels The Republic Shakespeare's sonnets Strange Stories from a Chinese Studio Dictionnaire des Parlementaires français de 1789 à 1889 Palatine Anthology Ariel Organon The Canterbury Tales First Epistle of John The Tragedies of Sophocles The Wonderful Wizard of Oz The Happy Prince and Other Tales Exposition du système du monde A Child's Garden of Verses Mountain Interval One Thousand and One Nights Twice-Told Tales Barnens svenska sångbok Geography Revelation The Birthday of the World Epistles Codex Vigilanus Patrimoine sonore et audiovisuel français, entre archives et témoignages : guide de recherche en sciences sociales Unfinished Tales L’Année terrible The Communist Manifesto Survey of Science Fiction Literature, volume 3 Observation on the Spot Book of Common Prayer Le Testament Smoke and Mirrors Twelve Minor Prophets Conan the Avenger Wild Animals I Have Known Paradiso Bridge to Terabithia The Futurological Congress The Martian Star Wars: Shadows of the Empire Four Ways to Forgiveness The Adventures of Tom Bombadil Five Classics The Cactaceae The Children of Húrin The Adventures of Werner Holt A Christmas Carol Book of Mormon Mein Kampf Kalevala Four Plays of Aeschylus The Lays of Beleriand Augustan History Theatrum Orbis Terrarum Dictionary of the Literature of the Iberian Peninsula The Return of the King The Lord of the Rings Alumni Oxonienses: the Members of the University of Oxford, 1715-1886 Paulys Realenzyklopädie der klassischen Altertumswissenschaft Inferno Wuthering Heights Pourparlers 1972 - 1990 The Cambridge History of China Songs of Travel and Other Verses The Tragedies of Sophocles Night Shift Vlastenský slovník historický The Other Side of the Sun Dark Carnival The Tales of Ensign Stål Xélucha and Others Valaquenta Holy Sonnets Kalendář Čechů vídeňských The Dramas of Aeschylus Index Librorum Prohibitorum Pearl of Great Price A Little House Traveler The Expedition of Humphry Clinker Chronopolis and Other Stories Shah Jo Risalo Encyclopedia of paleoherpetology A Fisherman of the Inland Sea The Scorpion God Grimms' Fairy Tales Why Europe will run the 21st century Mirgorod Metaphysics Yny lhyvyr hwnn Seven Brothers A Sportsman's Sketches Songs of Innocence and of Experience
The Lord of the Rings, Through the Looking-Glass and Wuthering Heights are around 17 articles a component of
The Lord of the Rings Through the Looking-Glass Wuthering Heights
action approx
action find_reverse_tuple_counts
relation part of
type collectable
type article
value 17
[{'concept': 'article'}, 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:part_of ?m . ?m rdf:type ontology:collectable . ?p rdf:type ontology:article } GROUP BY ?m } . FILTER ( ?u = 17 ) }
[]