Simple Question (Direct)
Simple Question
Q3402352
P69
Q1244442
USER
Where was Henry Newbolt educated ?
(Q3402352,P69,c(Q1244442))
action filter_type
action find
entity Q3402352
relation P69
type Q1244442
['Q3402352', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?p WHERE { resource:Q3402352 property:P69 ?p . ?p rdf:type ontology:Q1244442 }
Henry Newbolt
action filter_type
action find
entity Henry Newbolt
relation educated at
type school building
['Henry Newbolt', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?p WHERE { resource:Henry_Newbolt property:educated_at ?p . ?p rdf:type ontology:school_building }
[]
school building
Q1135137
SYSTEM
Corpus Christi College
Q1135137
(Q3402352,P69,c(Q1244442))
action filter_type
action find
entity Q3402352
relation P69
type Q1244442
Henry Newbolt was educated at [ANSWER]
['Q3402352', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?p WHERE { resource:Q3402352 property:P69 ?p . ?p rdf:type ontology:Q1244442 }
Corpus Christi College
Henry Newbolt was educated at Corpus Christi College
Corpus Christi College
action filter_type
action find
entity Henry Newbolt
relation educated at
type school building
['Henry Newbolt', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?p WHERE { resource:Henry_Newbolt property:educated_at ?p . ?p rdf:type ontology:school_building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3402352
P50
Q2342494
USER
Which collectable has that person as its author ?
(c(Q2342494),P50,Q1135137)
action filter_type
action find_reverse
entity Q3402352
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1135137']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q3402352 . ?f rdf:type ontology:Q2342494 }
Henry Newbolt
action filter_type
action find_reverse
entity Henry Newbolt
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Corpus Christi College']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Henry_Newbolt . ?f rdf:type ontology:collectable }
[]
collectable
Q4705514
SYSTEM
Aladore
Q4705514
(c(Q2342494),P50,Q1135137)
action filter_type
action find_reverse
entity Q3402352
relation P50
type Q2342494
[ANSWER] has that person as its author
[{'concept': 'Q2342494'}, 'P50', 'Q1135137']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q3402352 . ?f rdf:type ontology:Q2342494 }
Aladore
Aladore has that person as its author
Aladore
action filter_type
action find_reverse
entity Henry Newbolt
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Corpus Christi College']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Henry_Newbolt . ?f rdf:type ontology:collectable }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q6619679 Q15619164
USER
Which collectables are atleast 44 fictional humanoids or abstract beings present in ?
(c(Q6619679)|c(Q15619164),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
value 44
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?z WHERE { { ?k property:P1441 ?z . ?k rdf:type ontology:Q15619164 . ?z rdf:type ontology:Q2342494 } UNION { ?k property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?z } . FILTER ( ?t >= 44 ) }
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
value 44
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?z WHERE { { ?k property:present_in_work ?z . ?k rdf:type ontology:abstract_being . ?z rdf:type ontology:collectable } UNION { ?k property:present_in_work ?z . ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?z } . FILTER ( ?t >= 44 ) }
[]
collectable fictional humanoid abstract being
Q70827 Q8279
SYSTEM
Water Margin, Shahnameh
Q70827 Q8279
(c(Q6619679)|c(Q15619164),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
value 44
[ANSWERS] are atleast 44 fictional humanoids or abstract beings present in
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?z WHERE { { ?k property:P1441 ?z . ?k rdf:type ontology:Q15619164 . ?z rdf:type ontology:Q2342494 } UNION { ?k property:P1441 ?z . ?z rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q6619679 } } GROUP BY ?z } . FILTER ( ?t >= 44 ) }
Water Margin Shahnameh
Water Margin and Shahnameh are atleast 44 fictional humanoids or abstract beings present in
Water Margin Shahnameh
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
value 44
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?z WHERE { { ?k property:present_in_work ?z . ?k rdf:type ontology:abstract_being . ?z rdf:type ontology:collectable } UNION { ?k property:present_in_work ?z . ?z rdf:type ontology:collectable . ?k rdf:type ontology:fictional_humanoid } } GROUP BY ?z } . FILTER ( ?t >= 44 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4705514
P495
Q15617994
USER
How many administrative territories are the countries of origin of Aladore ?
(Q4705514,P495,c(Q15617994))
action count
action filter_type
action find
entity Q4705514
relation P495
type Q15617994
['Q4705514', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q4705514 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Aladore
action count
action filter_type
action find
entity Aladore
relation country of origin
type designation for an administrative territorial entity
['Aladore', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Aladore property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q4705514,P495,c(Q15617994))
action count
action filter_type
action find
entity Q4705514
relation P495
type Q15617994
[ANSWER]
['Q4705514', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q4705514 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Aladore
relation country of origin
type designation for an administrative territorial entity
['Aladore', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Aladore property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4705514
P123
Q502895
USER
Who published that collectable ?
action filter_type
action find
entity Q4705514
relation P123
type Q502895
SELECT DISTINCT ?f WHERE { resource:Q4705514 property:P123 ?f . ?f rdf:type ontology:Q502895 }
Aladore
action filter_type
action find
entity Aladore
relation publisher
type common name
SELECT DISTINCT ?f WHERE { resource:Aladore property:publisher ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3568439
SYSTEM
William Blackwood
Q3568439
action filter_type
action find
entity Q4705514
relation P123
type Q502895
[ANSWER] published that collectable
SELECT DISTINCT ?f WHERE { resource:Q4705514 property:P123 ?f . ?f rdf:type ontology:Q502895 }
William Blackwood
William Blackwood published that collectable
William Blackwood
action filter_type
action find
entity Aladore
relation publisher
type common name
SELECT DISTINCT ?f WHERE { resource:Aladore property:publisher ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3568439
P921
Q191067
USER
Which article has that person as its main topic ?
(c(Q191067),P921,Q3568439)
action filter_type
action find_reverse
entity Q3568439
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q3568439']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q3568439 . ?u rdf:type ontology:Q191067 }
William Blackwood
action filter_type
action find_reverse
entity William Blackwood
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Blackwood']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:William_Blackwood . ?u rdf:type ontology:article }
[]
article
Q19079117
SYSTEM
Blackwood, William (DNB00)
Q19079117
(c(Q191067),P921,Q3568439)
action filter_type
action find_reverse
entity Q3568439
relation P921
type Q191067
[ANSWER] has that person as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q3568439']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q3568439 . ?u rdf:type ontology:Q191067 }
Blackwood, William (DNB00)
Blackwood, William (DNB00) has that person as its main topic
Blackwood, William (DNB00)
action filter_type
action find_reverse
entity William Blackwood
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Blackwood']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:William_Blackwood . ?u rdf:type ontology:article }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q867541
P361
Q571 Q191067
USER
How many books are lesser number of articles a portion of than 1911 Encyclopædia Britannica ?
(c(Q191067),P361,c(Q571))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
action count
action filter_type
action find_reverse
entity Q867541
relation P361
type Q191067
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P361 ?b . ?h rdf:type ontology:Q191067 . ?b rdf:type ontology:Q571 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P361 resource:Q867541 . ?a rdf:type ontology:Q191067 } } . FILTER ( ?i < ?x ) }
1911 Encyclopædia Britannica
action count
action less
action find_reverse_tuple_counts
relation part of
type book
type article
action count
action filter_type
action find_reverse
entity 1911 Encyclopædia Britannica
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:part_of ?b . ?h rdf:type ontology:article . ?b rdf:type ontology:book } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:part_of resource:1911_Encyclopædia_Britannica . ?a rdf:type ontology:article } } . FILTER ( ?i < ?x ) }
[]
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 less
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
action count
action filter_type
action find_reverse
entity Q867541
relation P361
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P361 ?b . ?h rdf:type ontology:Q191067 . ?b rdf:type ontology:Q571 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P361 resource:Q867541 . ?a rdf:type ontology:Q191067 } } . FILTER ( ?i < ?x ) }
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 less
action find_reverse_tuple_counts
relation part of
type book
type article
action count
action filter_type
action find_reverse
entity 1911 Encyclopædia Britannica
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:part_of ?b . ?h rdf:type ontology:article . ?b rdf:type ontology:book } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:part_of resource:1911_Encyclopædia_Britannica . ?a rdf:type ontology:article } } . FILTER ( ?i < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q20096917
P361
Q571 Q191067
USER
And also tell me about Encyclopædia Britannica Ninth Edition?
(c(Q191067),P361,c(Q571))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
action count
action filter_type
action find_reverse
entity Q20096917
relation P361
type Q191067
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P361 ?p . ?p rdf:type ontology:Q571 . ?z rdf:type ontology:Q191067 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P361 resource:Q20096917 . ?x rdf:type ontology:Q191067 } } . FILTER ( ?d < ?k ) }
Encyclopædia Britannica Ninth Edition
action count
action less
action find_reverse_tuple_counts
relation part of
type book
type article
action count
action filter_type
action find_reverse
entity Encyclopædia Britannica Ninth Edition
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:part_of ?p . ?p rdf:type ontology:book . ?z rdf:type ontology:article } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:part_of resource:Encyclopædia_Britannica_Ninth_Edition . ?x rdf:type ontology:article } } . FILTER ( ?d < ?k ) }
[]
book article
SYSTEM
26
Q9339507 Q21065345 Q20798923 Q2069352 Q865902 Q20155177 Q19085957 Q15987490 Q4547210 Q19038757 Q21856050 Q15670114 Q20644964 Q1762690 Q671859 Q19221484 Q20961706 Q26414644 Q17378135 Q12302041 Q216578 Q5805827 Q19038689 Q11964957 Q2748292 Q205874
(c(Q191067),P361,c(Q571))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
action count
action filter_type
action find_reverse
entity Q20096917
relation P361
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P361 ?p . ?p rdf:type ontology:Q571 . ?z rdf:type ontology:Q191067 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P361 resource:Q20096917 . ?x rdf:type ontology:Q191067 } } . FILTER ( ?d < ?k ) }
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 Œ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
26
action count
action less
action find_reverse_tuple_counts
relation part of
type book
type article
action count
action filter_type
action find_reverse
entity Encyclopædia Britannica Ninth Edition
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:part_of ?p . ?p rdf:type ontology:book . ?z rdf:type ontology:article } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:part_of resource:Encyclopædia_Britannica_Ninth_Edition . ?x rdf:type ontology:article } } . FILTER ( ?d < ?k ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q3568439
P123 P364
Q2342494
USER
Which collectables were published by William Blackwood and have English as their original language of creation ?
AND((c(Q2342494),P123,Q3568439), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3568439
relation P123
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P123', 'Q3568439'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2342494 . ?v property:P364 resource:Q1860 . ?v property:P123 resource:Q3568439 }
English William Blackwood
action filter_type
action intersection
action find_reverse
entity William Blackwood
relation publisher
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'publisher', 'William Blackwood'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:collectable . ?v property:original_language_of_work resource:English . ?v property:publisher resource:William_Blackwood }
[]
collectable
Q6544172 Q8020241 Q7727846 Q2609365 Q7748735 Q638327 Q5442230 Q7993159 Q3234969 Q3224969
SYSTEM
Scenes of Clerical Life, William Wetmore Story and His Friends, The Course of Time, The Thirty-Nine Steps, The Lost Stradivarius, Silas Marner, Felix Holt, the Radical, Where Angels Fear to Tread, Old Mortality, The Black Dwarf
Q6544172 Q8020241 Q7727846 Q2609365 Q7748735 Q638327 Q5442230 Q7993159 Q3234969 Q3224969
AND((c(Q2342494),P123,Q3568439), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3568439
relation P123
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWERS]
{'AND': [[{'concept': 'Q2342494'}, 'P123', 'Q3568439'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2342494 . ?v property:P364 resource:Q1860 . ?v property:P123 resource:Q3568439 }
Scenes of Clerical Life William Wetmore Story and His Friends The Course of Time The Thirty-Nine Steps The Lost Stradivarius Silas Marner Felix Holt, the Radical Where Angels Fear to Tread Old Mortality The Black Dwarf
Where Angels fear to Tread, Old Mortality and The Black Dwarf were published by William Blackwood and have English as their original language of creation
Scenes of Clerical Life William Wetmore Story and His Friends The Course of Time The Thirty-Nine Steps The Lost Stradivarius Silas Marner Felix Holt, the Radical Where Angels Fear to Tread Old Mortality The Black Dwarf
action filter_type
action intersection
action find_reverse
entity William Blackwood
relation publisher
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'publisher', 'William Blackwood'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:collectable . ?v property:original_language_of_work resource:English . ?v property:publisher resource:William_Blackwood }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2609365
P144
Q838948
USER
How many works of art are adapted from The Thirty-Nine Steps ?
(c(Q838948),P144,Q2609365)
action count
action filter_type
action find_reverse
entity Q2609365
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q2609365']
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f rdf:type ontology:Q838948 . ?f property:P144 resource:Q2609365 }
The Thirty-Nine Steps
action count
action filter_type
action find_reverse
entity The Thirty-Nine Steps
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'The Thirty-Nine Steps']
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f rdf:type ontology:work_of_art . ?f property:based_on resource:The_Thirty-Nine_Steps }
[]
work of art
SYSTEM
3
Q501105 Q288361 Q1210739
(c(Q838948),P144,Q2609365)
action count
action filter_type
action find_reverse
entity Q2609365
relation P144
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q2609365']
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f rdf:type ontology:Q838948 . ?f property:P144 resource:Q2609365 }
The 39 Steps The 39 Steps The Thirty Nine Steps
3
action count
action filter_type
action find_reverse
entity The Thirty-Nine Steps
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'The Thirty-Nine Steps']
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f rdf:type ontology:work_of_art . ?f property:based_on resource:The_Thirty-Nine_Steps }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272506
P144
Q838948
USER
Which works of art are an extension Phantom of the Opera ?
(c(Q838948),P144,Q272506)
action filter_type
action find_reverse
entity Q272506
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q272506']
SELECT DISTINCT ?i WHERE { ?i property:P144 resource:Q272506 . ?i rdf:type ontology:Q838948 }
Phantom of the Opera
action filter_type
action find_reverse
entity Phantom of the Opera
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Phantom of the Opera']
SELECT DISTINCT ?i WHERE { ?i property:based_on resource:Phantom_of_the_Opera . ?i rdf:type ontology:work_of_art }
[]
work of art
Q927919 Q1435221 Q276407
SYSTEM
The Phantom of the Opera, Phantom of the Opera, The Phantom of the Opera
Q1170086 Q1435221 Q1170077 Q927919 Q1170215 Q7756859 Q4274245 Q505325 Q276407 Q7756841
(c(Q838948),P144,Q272506)
action filter_type
action find_reverse
entity Q272506
relation P144
type Q838948
[ANSWERS] are an extension Phantom of the Opera
[{'concept': 'Q838948'}, 'P144', 'Q272506']
SELECT DISTINCT ?i WHERE { ?i property:P144 resource:Q272506 . ?i rdf:type ontology:Q838948 }
Phantom of the Paradise Phantom of the Opera The Phantom of the Opera The Phantom of the Opera The Phantom of the Opera The Phantom of the Opera at the Royal Albert Hall Song at Midnight The Phantom of the Opera: The Motion Picture The Phantom of the Opera The Phantom Lover
The Phantom of the Opera, Phantom of the Opera and The Phantom of the Opera are an extension Phantom of the Opera
The Phantom of the Opera Phantom of the Opera The Phantom of the Opera
action filter_type
action find_reverse
entity Phantom of the Opera
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Phantom of the Opera']
SELECT DISTINCT ?i WHERE { ?i property:based_on resource:Phantom_of_the_Opera . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272506
P674
Q6619679
USER
Which fictional humanoids plays a role in that collectable ?
(Q927919,P674,c(Q6619679)) (Q1435221,P674,c(Q6619679)) (Q276407,P674,c(Q6619679))
action filter_type
action find
entity Q272506
relation P674
type Q6619679
['Q927919', 'P674', {'concept': 'Q6619679'}] ['Q1435221', 'P674', {'concept': 'Q6619679'}] ['Q276407', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6619679 . resource:Q272506 property:P674 ?t }
Phantom of the Opera
action filter_type
action find
entity Phantom of the Opera
relation characters
type fictional humanoid
['The Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}] ['Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}] ['The Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_humanoid . resource:Phantom_of_the_Opera property:characters ?t }
[]
fictional humanoid
Q1750813 Q2713628
SYSTEM
Erik, Christine Daaé
Q1750813 Q2713628
(Q927919,P674,c(Q6619679)) (Q1435221,P674,c(Q6619679)) (Q276407,P674,c(Q6619679))
action filter_type
action find
entity Q272506
relation P674
type Q6619679
[ANSWERS] play a role in that collectable
['Q927919', 'P674', {'concept': 'Q6619679'}] ['Q1435221', 'P674', {'concept': 'Q6619679'}] ['Q276407', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q6619679 . resource:Q272506 property:P674 ?t }
Erik Christine Daaé
Erik and Christine Daaé play a role in that collectable
Erik Christine Daaé
action filter_type
action find
entity Phantom of the Opera
relation characters
type fictional humanoid
['The Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}] ['Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}] ['The Phantom of the Opera', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_humanoid . resource:Phantom_of_the_Opera property:characters ?t }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P674
Q2342494
USER
How many collectables have the character that fictional humanoid ?
(c(Q2342494),P674,Q1750813)
[{'concept': 'Q2342494'}, 'P674', 'Q1750813']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q1750813 . ?z rdf:type ontology:Q2342494 }
[{'concept': 'collectable'}, 'characters', 'Erik']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Erik . ?z rdf:type ontology:collectable }
[]
collectable
Quantitative|Count|Single entity type|Clarification
Q2713628
SYSTEM
Did you mean Christine Daaé ?
(c(Q2342494),P674,Q1750813) (c(Q2342494),P674,Q2713628)
[ANSWER]
[{'concept': 'Q2342494'}, 'P674', 'Q1750813'] [{'concept': 'Q2342494'}, 'P674', 'Q2713628']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q1750813 . ?z rdf:type ontology:Q2342494 }
Did you mean Christine Daaé ?
Christine Daaé
[{'concept': 'collectable'}, 'characters', 'Erik'] [{'concept': 'collectable'}, 'characters', 'Christine Daaé']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Erik . ?z rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Erik. Could you tell me the answer for that?
(c(Q2342494),P674,Q1750813)
Q1750813
[{'concept': 'Q2342494'}, 'P674', 'Q1750813']
[{'concept': 'collectable'}, 'characters', 'Erik']
[]
SYSTEM
1
Q272506
(c(Q2342494),P674,Q1750813)
[ANSWER]
[{'concept': 'Q2342494'}, 'P674', 'Q1750813']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q1750813 . ?z rdf:type ontology:Q2342494 }
Phantom of the Opera
1
[{'concept': 'collectable'}, 'characters', 'Erik']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Erik . ?z rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q690335
P47
Q15617994
USER
How many administrative territories are bordered by Penzing ?
(Q690335,P47,c(Q15617994))
action count
action filter_type
action find
entity Q690335
relation P47
type Q15617994
['Q690335', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q690335 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Penzing
action count
action filter_type
action find
entity Penzing
relation shares border with
type designation for an administrative territorial entity
['Penzing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Penzing property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q700542 Q265945 Q636910 Q262808 Q653289
(Q690335,P47,c(Q15617994))
action count
action filter_type
action find
entity Q690335
relation P47
type Q15617994
[ANSWER]
['Q690335', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q690335 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Mauerbach Ottakring Hietzing Hernals Rudolfsheim-Fünfhaus
5
action count
action filter_type
action find
entity Penzing
relation shares border with
type designation for an administrative territorial entity
['Penzing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Penzing property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q690335
P17
Q1048835
USER
Which political territory is that administrative territory situated in ?
action filter_type
action find
entity Q690335
relation P17
type Q1048835
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q690335 property:P17 ?v }
Penzing
action filter_type
action find
entity Penzing
relation country
type political territorial entity
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Penzing property:country ?v }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
action filter_type
action find
entity Q690335
relation P17
type Q1048835
That administrative territory is situated in [ANSWER]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q690335 property:P17 ?v }
Austria
That administrative territory is situated in Austria
Austria
action filter_type
action find
entity Penzing
relation country
type political territorial entity
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Penzing property:country ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q690335
P47
Q15617994
USER
Which administrative territories share border with that one ?
(Q40,P47,c(Q15617994))
action filter_type
action find
entity Q690335
relation P47
type Q15617994
['Q40', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q690335 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Penzing
action filter_type
action find
entity Penzing
relation shares border with
type designation for an administrative territorial entity
['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Penzing property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262808 Q265945 Q636910
SYSTEM
Hernals, Ottakring, Hietzing
Q700542 Q265945 Q636910 Q262808 Q653289
(Q40,P47,c(Q15617994))
action filter_type
action find
entity Q690335
relation P47
type Q15617994
[ANSWERS] share border with that one
['Q40', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q690335 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Mauerbach Ottakring Hietzing Hernals Rudolfsheim-Fünfhaus
Hernals, Ottakring and Hietzing share border with that one
Hernals Ottakring Hietzing
action filter_type
action find
entity Penzing
relation shares border with
type designation for an administrative territorial entity
['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Penzing property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19086807 Q19079117
P1433
Q5292
USER
Which encyclopedias contains Blackwood, William (DNB00) or King, Richard John (DNB00) ?
OR((Q19079117,P1433,c(Q5292)), (Q19086807,P1433,c(Q5292)))
action filter_type
action union
action find
entity Q19079117
relation P1433
action find
entity Q19086807
relation P1433
type Q5292
{'OR': [['Q19079117', 'P1433', {'concept': 'Q5292'}], ['Q19086807', 'P1433', {'concept': 'Q5292'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q19079117 property:P1433 ?m } UNION { resource:Q19086807 property:P1433 ?m } } . ?m rdf:type ontology:Q5292 }
King, Richard John (DNB00) Blackwood, William (DNB00)
action filter_type
action union
action find
entity Blackwood, William (DNB00)
relation published in
action find
entity King, Richard John (DNB00)
relation published in
type encyclopedia
{'OR': [['Blackwood, William (DNB00)', 'published in', {'concept': 'encyclopedia'}], ['King, Richard John (DNB00)', 'published in', {'concept': 'encyclopedia'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Blackwood,_William_(DNB00) property:published_in ?m } UNION { resource:King,_Richard_John_(DNB00) property:published_in ?m } } . ?m rdf:type ontology:encyclopedia }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
OR((Q19079117,P1433,c(Q5292)), (Q19086807,P1433,c(Q5292)))
action filter_type
action union
action find
entity Q19079117
relation P1433
action find
entity Q19086807
relation P1433
type Q5292
[ANSWER] contains Blackwood, William (DNB00) or King, Richard John (DNB00)
{'OR': [['Q19079117', 'P1433', {'concept': 'Q5292'}], ['Q19086807', 'P1433', {'concept': 'Q5292'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q19079117 property:P1433 ?m } UNION { resource:Q19086807 property:P1433 ?m } } . ?m rdf:type ontology:Q5292 }
Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900) contains Blackwood, William (DNB00) or King, Richard John (DNB00)
Dictionary of National Biography (1885-1900)
action filter_type
action union
action find
entity Blackwood, William (DNB00)
relation published in
action find
entity King, Richard John (DNB00)
relation published in
type encyclopedia
{'OR': [['Blackwood, William (DNB00)', 'published in', {'concept': 'encyclopedia'}], ['King, Richard John (DNB00)', 'published in', {'concept': 'encyclopedia'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Blackwood,_William_(DNB00) property:published_in ?m } UNION { resource:King,_Richard_John_(DNB00) property:published_in ?m } } . ?m rdf:type ontology:encyclopedia }
[]