Simple Question (Direct)
Simple Question
Q2918345
P937
Q56061
USER
What is the location where Joan Viñas i Bona worked ?
(Q2918345,P937,c(Q56061))
action filter_type
action find
entity Q2918345
relation P937
type Q56061
['Q2918345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q2918345 property:P937 ?a }
Joan Viñas i Bona
action filter_type
action find
entity Joan Viñas i Bona
relation work location
type administrative territorial entity
['Joan Viñas i Bona', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Joan_Viñas_i_Bona property:work_location ?a }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q2918345,P937,c(Q56061))
action filter_type
action find
entity Q2918345
relation P937
type Q56061
The location Joan Viñas i Bona worked is in [ANSWER]
['Q2918345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q2918345 property:P937 ?a }
Barcelona
The location Joan Viñas i Bona worked is in Barcelona
Barcelona
action filter_type
action find
entity Joan Viñas i Bona
relation work location
type administrative territorial entity
['Joan Viñas i Bona', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Joan_Viñas_i_Bona property:work_location ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P69
Q502895
USER
Who was a student at that administrative territory ?
(c(Q502895),P69,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q1492']
SELECT DISTINCT ?v WHERE { ?v property:P69 resource:Q1492 . ?v rdf:type ontology:Q502895 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Barcelona']
SELECT DISTINCT ?v WHERE { ?v property:educated_at resource:Barcelona . ?v rdf:type ontology:common_name }
[]
common name
Q3393078
SYSTEM
Manuel Rodriguez Lopez
Q3393078
(c(Q502895),P69,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P69
type Q502895
[ANSWER] was a student at that administrative territory
[{'concept': 'Q502895'}, 'P69', 'Q1492']
SELECT DISTINCT ?v WHERE { ?v property:P69 resource:Q1492 . ?v rdf:type ontology:Q502895 }
Manuel Rodriguez Lopez
Manuel Rodriguez Lopez was a student at that administrative territory
Manuel Rodriguez Lopez
action filter_type
action find_reverse
entity Barcelona
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Barcelona']
SELECT DISTINCT ?v WHERE { ?v property:educated_at resource:Barcelona . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P921
Q191067
USER
Which article has that administrative territory as its principal topic ?
(c(Q191067),P921,Q3393078)
action filter_type
action find_reverse
entity Q1492
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q3393078']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q1492 . ?k rdf:type ontology:Q191067 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Manuel Rodriguez Lopez']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Barcelona . ?k rdf:type ontology:article }
[]
article
Q21099899
SYSTEM
EB-11 / Barcelona (Spanish city)
Q21099899
(c(Q191067),P921,Q3393078)
action filter_type
action find_reverse
entity Q1492
relation P921
type Q191067
[ANSWER] has that administrative territory as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q3393078']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q1492 . ?k rdf:type ontology:Q191067 }
EB-11 / Barcelona (Spanish city)
EB-11 / Barcelona (Spanish city) has that administrative territory as its principal topic
EB-11 / Barcelona (Spanish city)
action filter_type
action find_reverse
entity Barcelona
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Manuel Rodriguez Lopez']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Barcelona . ?k rdf:type ontology:article }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q571 Q191067
USER
How many books are approximately 45 articles a component of ?
(c(Q191067),P361,c(Q571))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 45
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P361 ?b . ?b rdf:type ontology:Q571 . ?h rdf:type ontology:Q191067 } GROUP BY ?b } . FILTER ( ?z = 45 ) }
action count
action approx
action find_reverse_tuple_counts
relation part of
type book
type article
value 45
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:part_of ?b . ?b rdf:type ontology:book . ?h rdf:type ontology:article } GROUP BY ?b } . FILTER ( ?z = 45 ) }
[]
book article
SYSTEM
27
Q9339507 Q21065345 Q20798923 Q2069352 Q865902 Q20155177 Q19085957 Q15987490 Q4547210 Q19038757 Q21856050 Q15670114 Q20644964 Q1762690 Q671859 Q20096917 Q19221484 Q20961706 Q26414644 Q17378135 Q12302041 Q216578 Q5805827 Q19038689 Q11964957 Q2748292 Q205874
(c(Q191067),P361,c(Q571))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 45
[ANSWER]
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P361 ?b . ?b rdf:type ontology:Q571 . ?h rdf:type ontology:Q191067 } GROUP BY ?b } . FILTER ( ?z = 45 ) }
Sonnets from the Crimea The Cambridge Companion to Evangelical Theology (2007 ed.) Højskolesangbogen, 18th edition romancero Aesop's Fables King James Version The Encyclopedia Americana 1922 Encyclopædia Britannica 10th edition of Systema Naturae Poems Species Plantarum. 1st Edition New Poems Songs of Innocence Højskolesangbogen Old Possum's Book of Practical Cats Encyclopædia Britannica Ninth Edition Œuvres complètes de François Arago Infernal Dictionary, 6th ed. Pauly-Wissowa vol. I,1 Great Soviet Encyclopedia (1969–1978) Arbejdersangbogen Les Fleurs du mal Die natürlichen Pflanzenfamilien, 2nd edition Men of the Time De små synger La Fontaine's Fables Poetic Edda
27
action count
action approx
action find_reverse_tuple_counts
relation part of
type book
type article
value 45
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:part_of ?b . ?b rdf:type ontology:book . ?h rdf:type ontology:article } GROUP BY ?b } . FILTER ( ?z = 45 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q2342494 Q191067
USER
Which collectables are approximately 1 article a component of ?
(c(Q191067),P361,c(Q2342494))
action approx
action find_reverse_tuple_counts
relation P361
type Q2342494
type Q191067
value 1
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P361 ?h . ?k rdf:type ontology:Q191067 . ?h rdf:type ontology:Q2342494 } GROUP BY ?h } . FILTER ( ?r = 1 ) }
action approx
action find_reverse_tuple_counts
relation part of
type collectable
type article
value 1
[{'concept': 'article'}, 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:part_of ?h . ?k rdf:type ontology:article . ?h rdf:type ontology:collectable } GROUP BY ?h } . FILTER ( ?r = 1 ) }
[]
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 1
[ANSWERS] are approximately 1 article a component of
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q2342494'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P361 ?h . ?k rdf:type ontology:Q191067 . ?h rdf:type ontology:Q2342494 } GROUP BY ?h } . FILTER ( ?r = 1 ) }
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 approximately 1 article 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 1
[{'concept': 'article'}, 'part of', {'concept': 'collectable'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:part_of ?h . ?k rdf:type ontology:article . ?h rdf:type ontology:collectable } GROUP BY ?h } . FILTER ( ?r = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q202975
P1441
Q6619679
USER
Which fictional humanoids are featured in that collectable ?
(c(Q6619679),P1441,Q202975)
action filter_type
action find_reverse
entity Q202975
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q202975']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q6619679 . ?m property:P1441 resource:Q202975 }
Wuthering Heights
action filter_type
action find_reverse
entity Wuthering Heights
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Wuthering Heights']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:fictional_humanoid . ?m property:present_in_work resource:Wuthering_Heights }
[]
fictional humanoid
Clarification for simple ques.
Q202975
SYSTEM
Did you mean Wuthering Heights ?
Q15228 Q220331 Q202975
(c(Q6619679),P1441,Q15228) (c(Q6619679),P1441,Q220331) (c(Q6619679),P1441,Q202975)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q15228'] [{'concept': 'Q6619679'}, 'P1441', 'Q220331'] [{'concept': 'Q6619679'}, 'P1441', 'Q202975']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q6619679 . ?m property:P1441 resource:Q202975 }
The Lord of the Rings Through the Looking-Glass Wuthering Heights
Did you mean Wuthering Heights ?
Wuthering Heights
[{'concept': 'fictional humanoid'}, 'present in work', 'The Lord of the Rings'] [{'concept': 'fictional humanoid'}, 'present in work', 'Through the Looking-Glass'] [{'concept': 'fictional humanoid'}, 'present in work', 'Wuthering Heights']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:fictional_humanoid . ?m property:present_in_work resource:Wuthering_Heights }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q6619679),P1441,Q202975)
[{'concept': 'Q6619679'}, 'P1441', 'Q202975']
[{'concept': 'fictional humanoid'}, 'present in work', 'Wuthering Heights']
[]
Q3047468 Q4251176 Q11714681
SYSTEM
Edgar Linton, Catherine Linton, Isabella Linton
Q3127428 Q2411295 Q4251176 Q11709806 Q11714681 Q11757618 Q6990232 Q3047468 Q2499865 Q6665881
(c(Q6619679),P1441,Q202975)
action filter_type
action find_reverse
entity Q202975
relation P1441
type Q6619679
[ANSWERS] are featured in that collectable
[{'concept': 'Q6619679'}, 'P1441', 'Q202975']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q6619679 . ?m property:P1441 resource:Q202975 }
Hareton Earnshaw Catherine Earnshaw Catherine Linton Hindley Earnshaw Isabella Linton Linton Heathcliff Nelly Dean Edgar Linton Heathcliff Lockwood
Edgar Linton, Catherine Linton and Isabella Linton are featured in that collectable
Edgar Linton Catherine Linton Isabella Linton
action filter_type
action find_reverse
entity Wuthering Heights
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Wuthering Heights']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:fictional_humanoid . ?m property:present_in_work resource:Wuthering_Heights }
[]