Simple Question (Direct)
Simple Question
Q7612846
P19
Q56061
USER
Which administrative territory is the birthplace of Steve Hislop ?
(Q7612846,P19,c(Q56061))
action filter_type
action find
entity Q7612846
relation P19
type Q56061
['Q7612846', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7612846 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Steve Hislop
action filter_type
action find
entity Steve Hislop
relation place of birth
type administrative territorial entity
['Steve Hislop', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Steve_Hislop property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q7612846,P19,c(Q56061))
action filter_type
action find
entity Q7612846
relation P19
type Q56061
Is [ANSWER] is the birthplace of Steve Hislop
['Q7612846', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7612846 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Edinburgh
Is Edinburgh is the birthplace of Steve Hislop
Edinburgh
action filter_type
action find
entity Steve Hislop
relation place of birth
type administrative territorial entity
['Steve Hislop', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Steve_Hislop property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7612846
P641
Q349
USER
Which sport was that person a part of ?
(Q23436,P641,c(Q349))
action filter_type
action find
entity Q7612846
relation P641
type Q349
['Q23436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q7612846 property:P641 ?o . ?o rdf:type ontology:Q349 }
Steve Hislop
action filter_type
action find
entity Steve Hislop
relation sport
type sport
['Edinburgh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Steve_Hislop property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q23436,P641,c(Q349))
action filter_type
action find
entity Q7612846
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q23436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q7612846 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Steve Hislop
relation sport
type sport
['Edinburgh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Steve_Hislop property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:association_football property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2736 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:association_football property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P180
Q166142
USER
Which application depicts that sport ?
(c(Q166142),P180,Q21)
action filter_type
action find_reverse
entity Q2736
relation P180
type Q166142
[{'concept': 'Q166142'}, 'P180', 'Q21']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q2736 . ?k rdf:type ontology:Q166142 }
association football
action filter_type
action find_reverse
entity association football
relation depicts
type application
[{'concept': 'application'}, 'depicts', 'England']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:association_football . ?k rdf:type ontology:application }
[]
application
Q6786211
SYSTEM
Match Day II
Q6786211
(c(Q166142),P180,Q21)
action filter_type
action find_reverse
entity Q2736
relation P180
type Q166142
[ANSWER] depicts that sport
[{'concept': 'Q166142'}, 'P180', 'Q21']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q2736 . ?k rdf:type ontology:Q166142 }
Match Day II
Match Day II depicts that sport
Match Day II
action filter_type
action find_reverse
entity association football
relation depicts
type application
[{'concept': 'application'}, 'depicts', 'England']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:association_football . ?k rdf:type ontology:application }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q21
P364 P495
Q2342494
USER
Which collectables have England as their place of origin and were done in English language during their inception ?
AND((c(Q2342494),P495,Q21), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q21
relation P495
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P495', 'Q21'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . ?u property:P495 resource:Q21 . ?u property:P364 resource:Q1860 }
English England
action filter_type
action intersection
action find_reverse
entity England
relation country of origin
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'country of origin', 'England'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . ?u property:country_of_origin resource:England . ?u property:original_language_of_work resource:English }
[]
collectable
Q7729952 Q7186349 Q6743438 Q8565314 Q7750242 Q3795929 Q5052503 Q18163234 Q7759319 Q5186027
SYSTEM
Some of them are The Devil's Tune, Phineas Finn, Malice Aforethought, Framley Parsonage, The Manxman, Before the Fact, Catherine, Called Birdy, Wolf Solent, The Rainbird Pattern, Crispin: At the Edge of the World
Q17984712 Q2048624 Q7753436 Q18393581 Q7772505 Q248096 Q3324475 Q7748053 Q4656674 Q24255819 Q4288844 Q4540311 Q7815103 Q7776215 Q3795866 Q7757277 Q18162812 Q3237021 Q2247155 Q7716497 Q7745622 Q4840296 Q2611046 Q1340493 Q1444644 Q7731638 Q460583 Q5287336 Q936801 Q7112111 Q17985004 Q7713932 Q3522018 Q7764868 Q7721600 Q18786555 Q7750242 Q8565314 Q5642996 Q1168105 Q7761170 Q5050241 Q2934238 Q7744315 Q5126057 Q4657543 Q18356984 Q7712085 Q19862348 Q19864151 Q7775981 Q19874077 Q565638 Q18163234 Q2978962 Q5437762 Q5359942 Q150827 Q3203517 Q246446 Q291069 Q4945890 Q883305 Q7279367 Q7114489 Q1969636 Q6743438 Q26776962 Q7737836 Q21775751 Q7759319 Q2743569 Q5886894 Q6411005 Q19870565 Q7092997 Q6671645 Q1063693 Q3349126 Q7744743 Q7338336 Q6533766 Q17103798 Q847642 Q7186370 Q25766797 Q5449975 Q18161526 Q7731161 Q963659 Q333179 Q62879 Q4656639 Q1884741 Q7186349 Q7723316 Q4899928 Q16948276 Q2621164 Q5310804 Q3835925 Q19572911 Q5990823 Q6544538 Q1216940 Q1219535 Q3828573 Q4684102 Q7820247 Q548576 Q1631447 Q5304098 Q7444465 Q5967133 Q1996316 Q7758216 Q7729952 Q19588619 Q5186027 Q869725 Q8000838 Q3987215 Q5186029 Q2653468 Q3818437 Q19893635 Q1853142 Q7729405 Q164974 Q5186028 Q762203 Q6505504 Q4725967 Q2453239 Q4676688 Q1903609 Q18159817 Q3795929 Q20036800 Q26209459 Q3795070 Q7858877 Q2453934 Q2963342 Q6669862 Q5029115 Q25218042 Q5052503 Q2133248 Q5231458 Q1218360 Q5403239 Q2700616 Q4792516 Q18208819 Q2600909
AND((c(Q2342494),P495,Q21), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q21
relation P495
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWERS] have England as their place of origin and were done in English language during their inception
{'AND': [[{'concept': 'Q2342494'}, 'P495', 'Q21'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . ?u property:P495 resource:Q21 . ?u property:P364 resource:Q1860 }
The Message to the Planet Pamela; or, Virtue Rewarded The Nether World The Nice and the Good The Vicar of Bullhampton The History of Tom Jones, a Foundling Death of a Hollow Man The London Jilt A Far Sunset The Time of the Angels The Go-Between "Rommel?" "Gunner Who?" Tom Brown at Oxford The Worst Thing About My Sister Bruno's Dream The Piratica Series The Sacred and Profane Love Machine Love-Letters Between a Nobleman and His Sister Fabiola The Belton Estate The Last Chronicle of Barset Bad Girls Adam Bede Hard Times Zanoni The Egoist The Pickwick Papers Doctor Fischer of Geneva Watership Down Outlaw The Unicorn The Anti-Pamela; or Feign’d Innocence Detected The Newcomes The Small House at Allington The Castles of Athlin and Dunbayne Girl Online The Manxman Framley Parsonage Far from the Madding Crowd The Mystery of Edwin Drood The Roar Castle Richmond Callista The Killer Clara Vaughan A Kestrel for a Knave Gaming for Gold The Abbess Journal of a Voyage to Greenland, in the Year 1821 An Unofficial Rose The World Is Full of Divorced Women Henry and Cato Little Dorrit Wolf Solent Clermont Fathom Five Elfsorrow Frankenstein The History of Henry Esmond The Quincunx Down There on a Visit Born in Exile Bleak House Rachel Ray Owen Glendower To Serve Them All My Days Malice Aforethought A Tour Through Parts of Wales: sonnets, odes, and other poems The Great Lover Girl Online: On Tour The Rainbird Pattern An Apology for the Life of Mrs. Shamela Andrews Holy Warrior King's Man An Accidental Man One Morning Like a Bird Lonely Road Flaubert's Parrot Ode to a Nightingale The Kiss of Death Rivers of London Letters of an Indian Judge to an English Gentlewoman Godolphin Nicholas Nickleby Phineas Redux Maps and prints: aspects of the English booktrade Finding the Fox More Than Friendship The Duke's Children Dombey and Son Persuasion A Christmas Carol A Fairly Honourable Defeat Magyk Phineas Finn The Claverings Beyond Belief: A Chronicle of Murder and its Detection The Whisper Captain Blood Dublin: Foundation Uncle Silas Marcella If You're Reading This, It's Too Late Life's Lottery The Day of the Triffids The Uncommon Reader The Chimes Adolf Hitler: My Part in His Downfall Tomorrow The Castle of Otranto Household Words Dr. Franklin's Island Secrets I'm the King of the Castle The Killings at Badger's Drift The Prime Minister The Devil's Tune Alumni Oxonienses: the Members of the University of Oxford, 1715-1886 Crispin: At the Edge of the World The Prince and the Pauper Wild Wales The Ghost Road Crispin: The End of Time Syren The Warden Lady Rose's Daughter North and South The Death Guard Oliver Twist Crispin: The Cross of Lead The Professor Layer Cake Alice Lorraine Wives and Daughters Act of Murder Martin Chuzzlewit Countess Before the Fact The Black Prince A tour through the south of England, Wales, and part of Ireland, made during the summer of 1791 The Haunted Man and the Ghost's Bargain Two Caravans Oroonoko King Arthur and His Knights of the Round Table London Blues Can You Forgive Her? The Libertine Catherine, Called Birdy Physik David Blaize The Gone-Away World Ethel and Ernest The Old Curiosity Shop Armadale A Crooked Game The Mysteries of Udolpho
The Devil's Tune, Phineas Finn, Malice Aforethought, Framley Parsonage, The Manxman, Before the Fact, Catherine, Called Birdy, Wolf Solent, The Rainbird Pattern and Crispin: At the Edge of the World have England as their place of origin and were done in English language during their inception
The Devil's Tune Phineas Finn Malice Aforethought Framley Parsonage The Manxman Before the Fact Catherine, Called Birdy Wolf Solent The Rainbird Pattern Crispin: At the Edge of the World
action filter_type
action intersection
action find_reverse
entity England
relation country of origin
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'country of origin', 'England'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . ?u property:country_of_origin resource:England . ?u property:original_language_of_work resource:English }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a component of ?
(Q7729952,P361,c(Q5962346)) (Q7186349,P361,c(Q5962346)) (Q6743438,P361,c(Q5962346)) (Q8565314,P361,c(Q5962346)) (Q7750242,P361,c(Q5962346)) (Q3795929,P361,c(Q5962346)) (Q5052503,P361,c(Q5962346)) (Q18163234,P361,c(Q5962346)) (Q7759319,P361,c(Q5962346)) (Q5186027,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q7729952', 'P361', {'concept': 'Q5962346'}] ['Q7186349', 'P361', {'concept': 'Q5962346'}] ['Q6743438', 'P361', {'concept': 'Q5962346'}] ['Q8565314', 'P361', {'concept': 'Q5962346'}] ['Q7750242', 'P361', {'concept': 'Q5962346'}] ['Q3795929', 'P361', {'concept': 'Q5962346'}] ['Q5052503', 'P361', {'concept': 'Q5962346'}] ['Q18163234', 'P361', {'concept': 'Q5962346'}] ['Q7759319', 'P361', {'concept': 'Q5962346'}] ['Q5186027', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
["The Devil's Tune", 'part of', {'concept': 'classification scheme'}] ['Phineas Finn', 'part of', {'concept': 'classification scheme'}] ['Malice Aforethought', 'part of', {'concept': 'classification scheme'}] ['Framley Parsonage', 'part of', {'concept': 'classification scheme'}] ['The Manxman', 'part of', {'concept': 'classification scheme'}] ['Before the Fact', 'part of', {'concept': 'classification scheme'}] ['Catherine, Called Birdy', 'part of', {'concept': 'classification scheme'}] ['Wolf Solent', 'part of', {'concept': 'classification scheme'}] ['The Rainbird Pattern', 'part of', {'concept': 'classification scheme'}] ['Crispin: At the Edge of the World', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q7729952,P361,c(Q5962346)) (Q7186349,P361,c(Q5962346)) (Q6743438,P361,c(Q5962346)) (Q8565314,P361,c(Q5962346)) (Q7750242,P361,c(Q5962346)) (Q3795929,P361,c(Q5962346)) (Q5052503,P361,c(Q5962346)) (Q18163234,P361,c(Q5962346)) (Q7759319,P361,c(Q5962346)) (Q5186027,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a component of
['Q7729952', 'P361', {'concept': 'Q5962346'}] ['Q7186349', 'P361', {'concept': 'Q5962346'}] ['Q6743438', 'P361', {'concept': 'Q5962346'}] ['Q8565314', 'P361', {'concept': 'Q5962346'}] ['Q7750242', 'P361', {'concept': 'Q5962346'}] ['Q3795929', 'P361', {'concept': 'Q5962346'}] ['Q5052503', 'P361', {'concept': 'Q5962346'}] ['Q18163234', 'P361', {'concept': 'Q5962346'}] ['Q7759319', 'P361', {'concept': 'Q5962346'}] ['Q5186027', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
["The Devil's Tune", 'part of', {'concept': 'classification scheme'}] ['Phineas Finn', 'part of', {'concept': 'classification scheme'}] ['Malice Aforethought', 'part of', {'concept': 'classification scheme'}] ['Framley Parsonage', 'part of', {'concept': 'classification scheme'}] ['The Manxman', 'part of', {'concept': 'classification scheme'}] ['Before the Fact', 'part of', {'concept': 'classification scheme'}] ['Catherine, Called Birdy', 'part of', {'concept': 'classification scheme'}] ['Wolf Solent', 'part of', {'concept': 'classification scheme'}] ['The Rainbird Pattern', 'part of', {'concept': 'classification scheme'}] ['Crispin: At the Edge of the World', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1346342 Q5329170
P361
Q5962346
USER
Which classification schemes are those ones a component of ?
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { ?z property:P361 ?u . ?u rdf:type ontology:Q5962346 . VALUES ( ?z ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { ?z property:part_of ?u . ?u rdf:type ontology:classification_scheme . VALUES ( ?z ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
classification scheme
Q5329170 Q26721 Q26721
SYSTEM
West Germanic languages for 2nd, 3rd, Anglo-Frisian languages for 1st
Q26721 Q5329170 Q26721 Q30134
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
[ANSWERS]
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { ?z property:P361 ?u . ?u rdf:type ontology:Q5962346 . VALUES ( ?z ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
West Germanic languages Anglo-Frisian languages West Germanic languages Ingvaeonic languages
Anglo-Frisian languages, West Germanic languages and West Germanic languages are those ones a component of
Anglo-Frisian languages West Germanic languages West Germanic languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { ?z property:part_of ?u . ?u rdf:type ontology:classification_scheme . VALUES ( ?z ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23436
P190
Q56061
USER
Which administrative territories are twin cities of Edinburgh ?
(Q23436,P190,c(Q56061))
action filter_type
action find
entity Q23436
relation P190
type Q56061
['Q23436', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q23436 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Edinburgh
action filter_type
action find
entity Edinburgh
relation sister city
type administrative territorial entity
['Edinburgh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Edinburgh property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216 Q2044 Q33959
SYSTEM
Vilnius, Florence, Nice
Q33959 Q24639 Q216 Q15684 Q25410 Q1726 Q133073 Q2044
(Q23436,P190,c(Q56061))
action filter_type
action find
entity Q23436
relation P190
type Q56061
[ANSWERS] are twin cities of Edinburgh
['Q23436', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q23436 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Nice Vancouver Vilnius Segovia Aalborg Munich Dunedin Florence
Vilnius, Florence and Nice are twin cities of Edinburgh
Vilnius Florence Nice
action filter_type
action find
entity Edinburgh
relation sister city
type administrative territorial entity
['Edinburgh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Edinburgh property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8969
Q56061
USER
And what about Cancún?
(Q8969,P190,c(Q56061))
action filter_type
action find
entity Q8969
relation P190
type Q56061
['Q8969', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q8969 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Cancún
action filter_type
action find
entity Cancún
relation sister city
type administrative territorial entity
['Cancún', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Cancún property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q212773 Q124739 Q473914
SYSTEM
Antigua Guatemala, Tijuana, Ibiza Town
Q124739 Q212773 Q487119 Q239877 Q49266 Q726751 Q155277 Q56069 Q473914 Q990095 Q982364
(Q8969,P190,c(Q56061))
action filter_type
action find
entity Q8969
relation P190
type Q56061
[ANSWERS]
['Q8969', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q8969 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Tijuana Antigua Guatemala Compton Mission Wichita Varadero Tlaquepaque Punta del Este Ibiza Town Taxco Pharr
Antigua Guatemala Tijuana Ibiza Town
action filter_type
action find
entity Cancún
relation sister city
type administrative territorial entity
['Cancún', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Cancún property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q486972 Q112865
USER
How many human settlements or Mexican administrative territories are sister towns of that administrative territory ?
(Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q212773,P190,c(Q486972)) (Q212773,P190,c(Q112865)) (Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q473914,P190,c(Q486972)) (Q473914,P190,c(Q112865))
['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q212773', 'P190', {'concept': 'Q486972'}] ['Q212773', 'P190', {'concept': 'Q112865'}] ['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q473914', 'P190', {'concept': 'Q486972'}] ['Q473914', 'P190', {'concept': 'Q112865'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q13429862 property:P190 ?z } UNION { resource:Q13429862 property:P190 ?y } UNION { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q473914 property:P190 ?z } UNION { resource:Q473914 property:P190 ?y } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q112865 }
['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Antigua Guatemala', 'sister city', {'concept': 'human settlement'}] ['Antigua Guatemala', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Ibiza Town', 'sister city', {'concept': 'human settlement'}] ['Ibiza Town', 'sister city', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Antigua_Guatemala property:sister_city ?z } UNION { resource:Antigua_Guatemala property:sister_city ?y } UNION { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Ibiza_Town property:sister_city ?z } UNION { resource:Ibiza_Town property:sister_city ?y } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
human settlement administrative territorial entity of Mexico
Quantitative|Count|Mult. entity type|Clarification
Q124739
SYSTEM
Did you mean Tijuana ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q13429862 property:P190 ?z } UNION { resource:Q13429862 property:P190 ?y } UNION { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q473914 property:P190 ?z } UNION { resource:Q473914 property:P190 ?y } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q112865 }
Did you mean Tijuana ?
Tijuana
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Antigua_Guatemala property:sister_city ?z } UNION { resource:Antigua_Guatemala property:sister_city ?y } UNION { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Ibiza_Town property:sister_city ?z } UNION { resource:Ibiza_Town property:sister_city ?y } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q212773,P190,c(Q486972)) (Q212773,P190,c(Q112865)) (Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q473914,P190,c(Q486972)) (Q473914,P190,c(Q112865))
['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q212773', 'P190', {'concept': 'Q486972'}] ['Q212773', 'P190', {'concept': 'Q112865'}] ['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q473914', 'P190', {'concept': 'Q486972'}] ['Q473914', 'P190', {'concept': 'Q112865'}]
['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Antigua Guatemala', 'sister city', {'concept': 'human settlement'}] ['Antigua Guatemala', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Ibiza Town', 'sister city', {'concept': 'human settlement'}] ['Ibiza Town', 'sister city', {'concept': 'administrative territorial entity of Mexico'}]
[]
SYSTEM
4
Q26590 Q577803 Q199440 Q8969
(Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q212773,P190,c(Q486972)) (Q212773,P190,c(Q112865)) (Q124739,P190,c(Q486972)) (Q124739,P190,c(Q112865)) (Q473914,P190,c(Q486972)) (Q473914,P190,c(Q112865))
[ANSWER]
['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q212773', 'P190', {'concept': 'Q486972'}] ['Q212773', 'P190', {'concept': 'Q112865'}] ['Q124739', 'P190', {'concept': 'Q486972'}] ['Q124739', 'P190', {'concept': 'Q112865'}] ['Q473914', 'P190', {'concept': 'Q486972'}] ['Q473914', 'P190', {'concept': 'Q112865'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q13429862 property:P190 ?z } UNION { resource:Q13429862 property:P190 ?y } UNION { resource:Q20812436 property:P190 ?z } UNION { resource:Q20812436 property:P190 ?y } UNION { resource:Q473914 property:P190 ?z } UNION { resource:Q473914 property:P190 ?y } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q112865 }
Ciudad Juárez Valle de Guadalupe Municipality Mexicali Cancún
4
['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Antigua Guatemala', 'sister city', {'concept': 'human settlement'}] ['Antigua Guatemala', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Tijuana', 'sister city', {'concept': 'human settlement'}] ['Tijuana', 'sister city', {'concept': 'administrative territorial entity of Mexico'}] ['Ibiza Town', 'sister city', {'concept': 'human settlement'}] ['Ibiza Town', 'sister city', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Antigua_Guatemala property:sister_city ?z } UNION { resource:Antigua_Guatemala property:sister_city ?y } UNION { resource:Tijuana property:sister_city ?z } UNION { resource:Tijuana property:sister_city ?y } UNION { resource:Ibiza_Town property:sister_city ?z } UNION { resource:Ibiza_Town property:sister_city ?y } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8565314
P50
Q502895
USER
Which person authored Framley Parsonage ?
(Q8565314,P50,c(Q502895))
action filter_type
action find
entity Q8565314
relation P50
type Q502895
['Q8565314', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q8565314 property:P50 ?t . ?t rdf:type ontology:Q502895 }
Framley Parsonage
action filter_type
action find
entity Framley Parsonage
relation author
type common name
['Framley Parsonage', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Framley_Parsonage property:author ?t . ?t rdf:type ontology:common_name }
[]
common name
Q318399
SYSTEM
Anthony Trollope
Q318399
(Q8565314,P50,c(Q502895))
action filter_type
action find
entity Q8565314
relation P50
type Q502895
[ANSWER] authored Framley Parsonage
['Q8565314', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q8565314 property:P50 ?t . ?t rdf:type ontology:Q502895 }
Anthony Trollope
Anthony Trollope authored Framley Parsonage
Anthony Trollope
action filter_type
action find
entity Framley Parsonage
relation author
type common name
['Framley Parsonage', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Framley_Parsonage property:author ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318399
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q318399)
action filter_type
action find_reverse
entity Q318399
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q318399']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q318399 . ?t rdf:type ontology:Q502895 }
Anthony Trollope
action filter_type
action find_reverse
entity Anthony Trollope
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anthony Trollope']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Anthony_Trollope . ?t rdf:type ontology:common_name }
[]
common name
Q271961 Q18880315
SYSTEM
Frances Trollope, Thomas Trollope
Q271961 Q18880315
(c(Q502895),P40,Q318399)
action filter_type
action find_reverse
entity Q318399
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q318399']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q318399 . ?t rdf:type ontology:Q502895 }
Frances Trollope Thomas Trollope
Frances Trollope and Thomas Trollope have that one as an offspring
Frances Trollope Thomas Trollope
action filter_type
action find_reverse
entity Anthony Trollope
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anthony Trollope']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Anthony_Trollope . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5949018 Q318399
P40
Q502895
USER
Or Charles Emil Lewenhaupt?
OR((c(Q502895),P40,Q318399), (c(Q502895),P40,Q5949018))
action filter_type
action union
action find_reverse
entity Q318399
relation P40
action find_reverse
entity Q5949018
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q318399'], [{'concept': 'Q502895'}, 'P40', 'Q5949018']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P40 resource:Q318399 } UNION { ?v property:P40 resource:Q5949018 } } . ?v rdf:type ontology:Q502895 }
Charles Emil Lewenhaupt Anthony Trollope
action filter_type
action union
action find_reverse
entity Anthony Trollope
relation child
action find_reverse
entity Charles Emil Lewenhaupt
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Anthony Trollope'], [{'concept': 'common name'}, 'child', 'Charles Emil Lewenhaupt']]}
SELECT DISTINCT ?v WHERE { { { ?v property:child resource:Anthony_Trollope } UNION { ?v property:child resource:Charles_Emil_Lewenhaupt } } . ?v rdf:type ontology:common_name }
[]
common name
Q2731755 Q271961 Q18880315
SYSTEM
Charles Emil Lewenhaupt, Frances Trollope, Thomas Trollope
Q2731755 Q271961 Q18880315
OR((c(Q502895),P40,Q318399), (c(Q502895),P40,Q5949018))
action filter_type
action union
action find_reverse
entity Q318399
relation P40
action find_reverse
entity Q5949018
relation P40
type Q502895
[ANSWERS]
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q318399'], [{'concept': 'Q502895'}, 'P40', 'Q5949018']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P40 resource:Q318399 } UNION { ?v property:P40 resource:Q5949018 } } . ?v rdf:type ontology:Q502895 }
Charles Emil Lewenhaupt Frances Trollope Thomas Trollope
Charles Emil Lewenhaupt Frances Trollope Thomas Trollope
action filter_type
action union
action find_reverse
entity Anthony Trollope
relation child
action find_reverse
entity Charles Emil Lewenhaupt
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Anthony Trollope'], [{'concept': 'common name'}, 'child', 'Charles Emil Lewenhaupt']]}
SELECT DISTINCT ?v WHERE { { { ?v property:child resource:Anthony_Trollope } UNION { ?v property:child resource:Charles_Emil_Lewenhaupt } } . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24010814
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by more number of people than Deckard Cain ?
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q24010814
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:Q6619679 . resource:Q24010814 property:P725 ?o } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?d ) WHERE { ?i property:P725 ?n . ?n rdf:type ontology:Q502895 . ?i rdf:type ontology:Q6619679 } GROUP BY ?i } }
Deckard Cain
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Deckard Cain
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:fictional_humanoid . resource:Deckard_Cain property:voice_actor ?o } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?d ) WHERE { ?i property:voice_actor ?n . ?n rdf:type ontology:common_name . ?i rdf:type ontology:fictional_humanoid } GROUP BY ?i } }
[]
common name fictional humanoid
SYSTEM
20
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q24010814
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:Q6619679 . resource:Q24010814 property:P725 ?o } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?d ) WHERE { ?i property:P725 ?n . ?n rdf:type ontology:Q502895 . ?i rdf:type ontology:Q6619679 } GROUP BY ?i } }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
20
action count
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Deckard Cain
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:fictional_humanoid . resource:Deckard_Cain property:voice_actor ?o } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?d ) WHERE { ?i property:voice_actor ?n . ?n rdf:type ontology:common_name . ?i rdf:type ontology:fictional_humanoid } GROUP BY ?i } }
[]