Simple Question (Direct)
Simple Question
Q5565238
P21
Q290
USER
Which sex does Giuliano Grazioli possess ?
(Q5565238,P21,c(Q290))
action filter_type
action find
entity Q5565238
relation P21
type Q290
['Q5565238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5565238 property:P21 ?b . ?b rdf:type ontology:Q290 }
Giuliano Grazioli
action filter_type
action find
entity Giuliano Grazioli
relation gender
type sex
['Giuliano Grazioli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Giuliano_Grazioli property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5565238,P21,c(Q290))
action filter_type
action find
entity Q5565238
relation P21
type Q290
Giuliano Grazioli possesses un [ANSWER]
['Q5565238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5565238 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Giuliano Grazioli possesses un male
male
action filter_type
action find
entity Giuliano Grazioli
relation gender
type sex
['Giuliano Grazioli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Giuliano_Grazioli property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5565238
P641
Q349
USER
What was the sport that Giuliano Grazioli was a part of ?
(Q5565238,P641,c(Q349))
action filter_type
action find
entity Q5565238
relation P641
type Q349
['Q5565238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5565238 property:P641 ?o . ?o rdf:type ontology:Q349 }
Giuliano Grazioli
action filter_type
action find
entity Giuliano Grazioli
relation sport
type sport
['Giuliano Grazioli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giuliano_Grazioli property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5565238,P641,c(Q349))
action filter_type
action find
entity Q5565238
relation P641
type Q349
The sport that Giuliano Grazioli was a part of was the [ANSWER]
['Q5565238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5565238 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that Giuliano Grazioli was a part of was the association football
association football
action filter_type
action find
entity Giuliano Grazioli
relation sport
type sport
['Giuliano Grazioli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Giuliano_Grazioli property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { resource:Q2736 property:P495 ?q . ?q 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 ?q WHERE { resource:association_football property:country_of_origin ?q . ?q 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
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { resource:Q2736 property:P495 ?q . ?q rdf:type ontology:Q1496967 }
England
That sport originated 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 ?q WHERE { resource:association_football property:country_of_origin ?q . ?q rdf:type ontology:territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q1496967 Q2342494 Q838948
USER
How many territories are lesser number of collectables and works of art set in than that territory ?
(c(Q2342494)|c(Q838948),P840,c(Q1496967))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?i WHERE { ?n rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P840 resource:Q21 . { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?k < ?r ) }
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?i WHERE { ?n rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:narrative_location resource:England . { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?k < ?r ) }
[]
territorial entity collectable work of art
SYSTEM
3
Q2714126 Q2004038 Q101081
(c(Q2342494)|c(Q838948),P840,c(Q1496967))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?i WHERE { ?n rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P840 resource:Q21 . { { ?q rdf:type ontology:Q2342494 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?k < ?r ) }
Lapland Perfection, Nevada Provence
3
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?i WHERE { ?n rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:narrative_location resource:England . { { ?q rdf:type ontology:collectable } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?k < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P84
Q18142
USER
What was designed by England ?
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?s WHERE { ?s property:P84 resource:Q21 . ?s rdf:type ontology:Q18142 }
England
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?s WHERE { ?s property:architect resource:England . ?s rdf:type ontology:tower_block }
[]
tower block
Q7863864
SYSTEM
UBL Tower
Q7863864
(c(Q18142),P84,Q21)
action filter_type
action find_reverse
entity Q21
relation P84
type Q18142
The [ANSWER] was designed by England
[{'concept': 'Q18142'}, 'P84', 'Q21']
SELECT DISTINCT ?s WHERE { ?s property:P84 resource:Q21 . ?s rdf:type ontology:Q18142 }
UBL Tower
The UBL Tower was designed by England
UBL Tower
action filter_type
action find_reverse
entity England
relation architect
type tower block
[{'concept': 'tower block'}, 'architect', 'England']
SELECT DISTINCT ?s WHERE { ?s property:architect resource:England . ?s rdf:type ontology:tower_block }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P551
Q502895
USER
Who lives in that territory ?
(c(Q502895),P551,Q7863864)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q7863864']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q21 . ?l rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'UBL Tower']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:England . ?l rdf:type ontology:common_name }
[]
common name
Q7085 Q12908 Q935
SYSTEM
Niels Bohr, George Soros, Isaac Newton
Q19721999 Q7085 Q17297597 Q15632055 Q1331681 Q12908 Q189144 Q544951 Q7086769 Q171363 Q27740159 Q3198512 Q21151748 Q16065895 Q21069418 Q6097409 Q117139 Q8006910 Q2877725 Q15429884 Q213712 Q14277 Q76948 Q6914744 Q19629253 Q935 Q5538701 Q20810758
(c(Q502895),P551,Q7863864)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWERS] live in that territory
[{'concept': 'Q502895'}, 'P551', 'Q7863864']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q21 . ?l rdf:type ontology:Q502895 }
Coco Piris Niels Bohr Charles de Coux Christie Fuller Ella Briggs George Soros Walter Raleigh Moshoeshoe II of Lesotho Oli Thompson Viggo Mortensen Barbara Ferland Gundulf Rosemary Stjernstedt Maria Caterina Rosalbina Caradori-Allan Frédéric Albrecht Ivan Sansom Wiz Khalifa William Close Baba de Faucigny-Lucinge Mary Elizabeth Hawker Rudolf von Laban William Herschel Caroline Herschel Mortimer Menpes Jacques Dessalines Isaac Newton George E. A. Hallett Leopold William Jerome Fane De Salis
Niels Bohr, George Soros and Isaac Newton live in that territory
Niels Bohr George Soros Isaac Newton
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'UBL Tower']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:England . ?l rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q151885
USER
How many occupations or concepts are the professions of that person ?
(Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885)) (Q7085,P106,c(Q12737077)) (Q7085,P106,c(Q151885)) (Q12908,P106,c(Q12737077)) (Q12908,P106,c(Q151885)) (Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885))
['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}] ['Q7085', 'P106', {'concept': 'Q12737077'}] ['Q7085', 'P106', {'concept': 'Q151885'}] ['Q12908', 'P106', {'concept': 'Q12737077'}] ['Q12908', 'P106', {'concept': 'Q151885'}] ['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } UNION { resource:Q7085 property:Q528892 ?z } UNION { resource:Q7085 property:Q528892 ?y } UNION { resource:Q12908 property:Q528892 ?z } UNION { resource:Q12908 property:Q528892 ?y } UNION { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}] ['Niels Bohr', 'occupation', {'concept': 'occupation'}] ['Niels Bohr', 'occupation', {'concept': 'concept'}] ['George Soros', 'occupation', {'concept': 'occupation'}] ['George Soros', 'occupation', {'concept': 'concept'}] ['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } UNION { resource:Niels_Bohr property:occupation ?z } UNION { resource:Niels_Bohr property:occupation ?y } UNION { resource:George_Soros property:occupation ?z } UNION { resource:George_Soros property:occupation ?y } UNION { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
occupation concept
Quantitative|Count|Mult. entity type|Clarification
Q935
SYSTEM
Did you mean Isaac Newton ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } UNION { resource:Q7085 property:Q528892 ?z } UNION { resource:Q7085 property:Q528892 ?y } UNION { resource:Q12908 property:Q528892 ?z } UNION { resource:Q12908 property:Q528892 ?y } UNION { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
Did you mean Isaac Newton ?
Isaac Newton
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } UNION { resource:Niels_Bohr property:occupation ?z } UNION { resource:Niels_Bohr property:occupation ?y } UNION { resource:George_Soros property:occupation ?z } UNION { resource:George_Soros property:occupation ?y } UNION { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885)) (Q7085,P106,c(Q12737077)) (Q7085,P106,c(Q151885)) (Q12908,P106,c(Q12737077)) (Q12908,P106,c(Q151885)) (Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885))
['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}] ['Q7085', 'P106', {'concept': 'Q12737077'}] ['Q7085', 'P106', {'concept': 'Q151885'}] ['Q12908', 'P106', {'concept': 'Q12737077'}] ['Q12908', 'P106', {'concept': 'Q151885'}] ['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}]
['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}] ['Niels Bohr', 'occupation', {'concept': 'occupation'}] ['Niels Bohr', 'occupation', {'concept': 'concept'}] ['George Soros', 'occupation', {'concept': 'occupation'}] ['George Soros', 'occupation', {'concept': 'concept'}] ['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}]
[]
SYSTEM
11
Q270141 Q3492227 Q15980158 Q82955 Q1622272 Q11063 Q4964182 Q1234713 Q15954519 Q169470 Q170790
(Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885)) (Q7085,P106,c(Q12737077)) (Q7085,P106,c(Q151885)) (Q12908,P106,c(Q12737077)) (Q12908,P106,c(Q151885)) (Q935,P106,c(Q12737077)) (Q935,P106,c(Q151885))
[ANSWER]
['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}] ['Q7085', 'P106', {'concept': 'Q12737077'}] ['Q7085', 'P106', {'concept': 'Q151885'}] ['Q12908', 'P106', {'concept': 'Q12737077'}] ['Q12908', 'P106', {'concept': 'Q151885'}] ['Q935', 'P106', {'concept': 'Q12737077'}] ['Q935', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } UNION { resource:Q7085 property:Q528892 ?z } UNION { resource:Q7085 property:Q528892 ?y } UNION { resource:Q12908 property:Q528892 ?z } UNION { resource:Q12908 property:Q528892 ?y } UNION { resource:Q26776969 property:Q528892 ?z } UNION { resource:Q26776969 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
polymath innovator non-fiction writer politician university teacher astronomer philosopher theologian alchemist physicist mathematician
11
['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}] ['Niels Bohr', 'occupation', {'concept': 'occupation'}] ['Niels Bohr', 'occupation', {'concept': 'concept'}] ['George Soros', 'occupation', {'concept': 'occupation'}] ['George Soros', 'occupation', {'concept': 'concept'}] ['Isaac Newton', 'occupation', {'concept': 'occupation'}] ['Isaac Newton', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } UNION { resource:Niels_Bohr property:occupation ?z } UNION { resource:Niels_Bohr property:occupation ?y } UNION { resource:George_Soros property:occupation ?z } UNION { resource:George_Soros property:occupation ?y } UNION { resource:Isaac_Newton property:occupation ?z } UNION { resource:Isaac_Newton property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q21
P840 P364
Q15416
USER
Which television programs have their narrative set in England and were done in English language during their inception ?
AND((c(Q15416),P840,Q21), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q21
relation P840
action find_reverse
entity Q1860
relation P364
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P840', 'Q21'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P840 resource:Q21 . ?n property:P364 resource:Q1860 . ?n rdf:type ontology:Q15416 }
English England
action filter_type
action intersection
action find_reverse
entity England
relation narrative location
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'narrative location', 'England'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:narrative_location resource:England . ?n property:original_language_of_work resource:English . ?n rdf:type ontology:television_program }
[]
television program
Q953662 Q613952 Q18754951 Q4659296 Q23013527 Q1068911 Q5598897 Q749867 Q730164 Q1500095
SYSTEM
Some of them are Enid, Love Among the Ruins, The Royals, A Royal Scandal, The Aliens, The Cheetah Girls: One World, Great British Railway Journeys, Suburban Shootout, Toast, Merlin
Q2555174 Q5598995 Q5598897 Q558112 Q2849529 Q2306306 Q7339467 Q4905033 Q524179 Q18204871 Q5123231 Q7717901 Q1388988 Q4120870 Q5434651 Q18754951 Q2371601 Q1883090 Q4920291 Q1786452 Q953662 Q7770036 Q1845065 Q15527012 Q15060000 Q749867 Q978011 Q7758978 Q4949360 Q1028495 Q7581901 Q7003923 Q2656704 Q7588379 Q591036 Q2172551 Q1754224 Q283073 Q4659296 Q6553279 Q3098236 Q772923 Q16995921 Q5151247 Q1213491 Q1462368 Q2565731 Q7756057 Q2031748 Q901203 Q4919365 Q1500095 Q3791235 Q1036337 Q3210677 Q5240237 Q1879693 Q730164 Q1436495 Q17629108 Q1068911 Q1164742 Q3208799 Q21998276 Q23013527 Q6929928 Q5387821 Q613952
AND((c(Q15416),P840,Q21), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q21
relation P840
action find_reverse
entity Q1860
relation P364
type Q15416
[ANSWERS] have their narrative set in England and were done in English language during their inception
{'AND': [[{'concept': 'Q15416'}, 'P840', 'Q21'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P840 resource:Q21 . ?n property:P364 resource:Q1860 . ?n rdf:type ontology:Q15416 }
The Black Adder Great Continental Railway Journeys Great British Railway Journeys Black Mirror Angels The House of Eliott Road Wars Big Barn Farm United Agatha Raisin and the Quiche of Death City Hospital The Biggest Loser Crusoe The Scapegoat Far from the Madding Crowd The Royals The Lady and the Highwayman Chef! Black Arrow Merlin's Apprentice Enid The Treasure Seekers Widows The 7.39 Truckers Suburban Shootout The Inbetweeners The Queen's Sister Boudica Camelot Squadron Never Better Lost in Austen St. Ives Great Expectations HolbyBlue Ivanhoe The Pillars of the Earth A Royal Scandal Line of Duty Bad Girls House of Anubis The Last Weekend Come Outside The Hoobs Jeeves and Wooster Emma The Paradise Being Human Magical Mystery Tour Bizarre ER Merlin The Choir Bonekickers The Turn of the Screw Utopia Colditz Toast Footballers' Wives Glue The Cheetah Girls: One World Episodes Cold Comfort Farm Tracey Ullman's Show The Aliens Mrs Biggs Eric and Ernie Love Among the Ruins
Enid, Love Among the Ruins, The Royals, A Royal Scandal, The Aliens, The Cheetah Girls: One World, Great British Railway Journeys, Suburban Shootout, Toast and Merlin have their narrative set in England and were done in English language during their inception
Enid Love Among the Ruins The Royals A Royal Scandal The Aliens The Cheetah Girls: One World Great British Railway Journeys Suburban Shootout Toast Merlin
action filter_type
action intersection
action find_reverse
entity England
relation narrative location
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'narrative location', 'England'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:narrative_location resource:England . ?n property:original_language_of_work resource:English . ?n rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16253238 Q953662
P840
Q1496967
USER
Which territories are the narrative locations of Enid and The Misleading Widow ?
AND((Q953662,P840,c(Q1496967)), (Q16253238,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q953662
relation P840
action find
entity Q16253238
relation P840
type Q1496967
{'AND': [['Q953662', 'P840', {'concept': 'Q1496967'}], ['Q16253238', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?j WHERE { resource:Q953662 property:P840 ?j . resource:Q16253238 property:P840 ?j . ?j rdf:type ontology:Q1496967 }
The Misleading Widow Enid
action filter_type
action intersection
action find
entity Enid
relation narrative location
action find
entity The Misleading Widow
relation narrative location
type territorial entity
{'AND': [['Enid', 'narrative location', {'concept': 'territorial entity'}], ['The Misleading Widow', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Enid property:narrative_location ?j . resource:The_Misleading_Widow property:narrative_location ?j . ?j rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
AND((Q953662,P840,c(Q1496967)), (Q16253238,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q953662
relation P840
action find
entity Q16253238
relation P840
type Q1496967
[ANSWER] is the narrative locations of Enid and The Misleading Widow
{'AND': [['Q953662', 'P840', {'concept': 'Q1496967'}], ['Q16253238', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?j WHERE { resource:Q953662 property:P840 ?j . resource:Q16253238 property:P840 ?j . ?j rdf:type ontology:Q1496967 }
England
England is the narrative locations of Enid and The Misleading Widow
England
action filter_type
action intersection
action find
entity Enid
relation narrative location
action find
entity The Misleading Widow
relation narrative location
type territorial entity
{'AND': [['Enid', 'narrative location', {'concept': 'territorial entity'}], ['The Misleading Widow', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Enid property:narrative_location ?j . resource:The_Misleading_Widow property:narrative_location ?j . ?j rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P1376
Q56061
USER
Which administrative territory is the capital of that territory ?
(c(Q56061),P1376,Q21)
action filter_type
action find_reverse
entity Q21
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q21 . ?d rdf:type ontology:Q56061 }
England
action filter_type
action find_reverse
entity England
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'England']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:England . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(c(Q56061),P1376,Q21)
action filter_type
action find_reverse
entity Q21
relation P1376
type Q56061
[ANSWER] is the capital of that territory
[{'concept': 'Q56061'}, 'P1376', 'Q21']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q21 . ?d rdf:type ontology:Q56061 }
London
London is the capital of that territory
London
action filter_type
action find_reverse
entity England
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'England']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:England . ?d rdf:type ontology:administrative_territorial_entity }
[]