Simple Question (Direct)
Simple Question
Q6779487
P140
Q879146
USER
Which Christian denomination does Mary Ephrem Glenn relate to ?
(Q6779487,P140,c(Q879146))
action filter_type
action find
entity Q6779487
relation P140
type Q879146
['Q6779487', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q6779487 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Mary Ephrem Glenn
action filter_type
action find
entity Mary Ephrem Glenn
relation religion
type Christian denomination
['Mary Ephrem Glenn', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Mary_Ephrem_Glenn property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q6779487,P140,c(Q879146))
action filter_type
action find
entity Q6779487
relation P140
type Q879146
Mary Ephrem Glenn relates the [ANSWER]
['Q6779487', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q6779487 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Roman Catholic Church
Mary Ephrem Glenn relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Mary Ephrem Glenn
relation religion
type Christian denomination
['Mary Ephrem Glenn', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Mary_Ephrem_Glenn property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6779487
P106
Q12737077
USER
What is the profession of Mary Ephrem Glenn ?
(Q6779487,P106,c(Q12737077))
action filter_type
action find
entity Q6779487
relation P106
type Q12737077
['Q6779487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6779487 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Mary Ephrem Glenn
action filter_type
action find
entity Mary Ephrem Glenn
relation occupation
type occupation
['Mary Ephrem Glenn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mary_Ephrem_Glenn property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q191808
SYSTEM
nun
Q191808
(Q6779487,P106,c(Q12737077))
action filter_type
action find
entity Q6779487
relation P106
type Q12737077
The profession of Mary Ephrem Glenn is born [ANSWER]
['Q6779487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6779487 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
nun
The profession of Mary Ephrem Glenn is born nun
nun
action filter_type
action find
entity Mary Ephrem Glenn
relation occupation
type occupation
['Mary Ephrem Glenn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Mary_Ephrem_Glenn property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6779487
P921
Q2342494
USER
Which collectable was primarily based on that person ?
(c(Q2342494),P921,Q191808)
action filter_type
action find_reverse
entity Q6779487
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q191808']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P921 resource:Q6779487 }
Mary Ephrem Glenn
action filter_type
action find_reverse
entity Mary Ephrem Glenn
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'nun']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:main_subject resource:Mary_Ephrem_Glenn }
[]
collectable
Q20220056
SYSTEM
In God's Acre
Q20220056
(c(Q2342494),P921,Q191808)
action filter_type
action find_reverse
entity Q6779487
relation P921
type Q2342494
[ANSWER] was primarily based on that person
[{'concept': 'Q2342494'}, 'P921', 'Q191808']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P921 resource:Q6779487 }
In God's Acre
In God's Acre was primarily based on that person
In God's Acre
action filter_type
action find_reverse
entity Mary Ephrem Glenn
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'nun']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:main_subject resource:Mary_Ephrem_Glenn }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20220056 Q13562217 Q3407143
P921
Q502895
USER
Is Mary Cecilia Bailly and Chen Zhibin a main subject of In God's Acre ?
(Q20220056,P921,Q13562217) (Q20220056,P921,Q3407143)
action is_in
entity Q20220056
action intersection
action find_reverse
entity Q13562217
relation P921
action find_reverse
entity Q3407143
relation P921
['Q20220056', 'P921', 'Q13562217'] ['Q20220056', 'P921', 'Q3407143']
ASK WHERE { resource:Q20220056 property:P921 resource:Q13562217 . resource:Q20220056 property:P921 resource:Q3407143 }
In God's Acre Mary Cecilia Bailly Chen Zhibin
action is_in
entity In God's Acre
action intersection
action find_reverse
entity Mary Cecilia Bailly
relation main subject
action find_reverse
entity Chen Zhibin
relation main subject
["In God's Acre", 'main subject', 'Mary Cecilia Bailly'] ["In God's Acre", 'main subject', 'Chen Zhibin']
ASK WHERE { resource:In_God's_Acre property:main_subject resource:Mary_Cecilia_Bailly . resource:In_God's_Acre property:main_subject resource:Chen_Zhibin }
[]
common name
SYSTEM
YES and NO respectively
(Q20220056,P921,Q13562217) (Q20220056,P921,Q3407143)
action is_in
entity Q20220056
action intersection
action find_reverse
entity Q13562217
relation P921
action find_reverse
entity Q3407143
relation P921
[ANSWER]
['Q20220056', 'P921', 'Q13562217'] ['Q20220056', 'P921', 'Q3407143']
ASK WHERE { resource:Q20220056 property:P921 resource:Q13562217 . resource:Q20220056 property:P921 resource:Q3407143 }
YES and NO respectively
action is_in
entity In God's Acre
action intersection
action find_reverse
entity Mary Cecilia Bailly
relation main subject
action find_reverse
entity Chen Zhibin
relation main subject
["In God's Acre", 'main subject', 'Mary Cecilia Bailly'] ["In God's Acre", 'main subject', 'Chen Zhibin']
ASK WHERE { resource:In_God's_Acre property:main_subject resource:Mary_Cecilia_Bailly . resource:In_God's_Acre property:main_subject resource:Chen_Zhibin }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17356468
P361
Q386724 Q49447 Q2342494
USER
How many collectables are a component of greater number of works and world views than Le Parnasse contemporain (1866) ?
(c(Q2342494),P361,c(Q386724)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q2342494
type Q386724
action find_tuple_counts
relation P361
type Q2342494
type Q49447
action count
action filter_multi_types
action find
entity Q17356468
relation P361
type Q386724
type Q49447
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q17356468 property:P361 ?z . { VALUES ( ?h ) { ( ontology:Q386724 ) ( ontology:Q49447 ) } . ?z rdf:type ?h } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q386724 ) } . ?e rdf:type ?k } GROUP BY ?c } }
Le Parnasse contemporain (1866)
action count
action greater
action union
action find_tuple_counts
relation part of
type collectable
type work
action find_tuple_counts
relation part of
type collectable
type world view
action count
action filter_multi_types
action find
entity Le Parnasse contemporain (1866)
relation part of
type work
type world view
[{'concept': 'collectable'}, 'part of', [{'concept': 'work'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Le_Parnasse_contemporain_(1866) property:part_of ?z . { VALUES ( ?h ) { ( ontology:work ) ( ontology:world_view ) } . ?z rdf:type ?h } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?k ) { ( ontology:world_view ) ( ontology:work ) } . ?e rdf:type ?k } GROUP BY ?c } }
[]
work world view collectable
SYSTEM
10
Q16466017 Q1627579 Q1782122 Q21344426 Q7782400 Q7601035 Q16466026 Q739529 Q7824026 Q17145778
(c(Q2342494),P361,c(Q386724)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q2342494
type Q386724
action find_tuple_counts
relation P361
type Q2342494
type Q49447
action count
action filter_multi_types
action find
entity Q17356468
relation P361
type Q386724
type Q49447
[ANSWER]
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q17356468 property:P361 ?z . { VALUES ( ?h ) { ( ontology:Q386724 ) ( ontology:Q49447 ) } . ?z rdf:type ?h } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q386724 ) } . ?e rdf:type ?k } GROUP BY ?c } }
Serenity Iliupersis M*A*S*H novels Percy Jackson's Greek Heroes Theorizing about Myth Star Trek My Own Kind of Freedom Argonautica Tooke's Pantheon V: The Second Generation
10
action count
action greater
action union
action find_tuple_counts
relation part of
type collectable
type work
action find_tuple_counts
relation part of
type collectable
type world view
action count
action filter_multi_types
action find
entity Le Parnasse contemporain (1866)
relation part of
type work
type world view
[{'concept': 'collectable'}, 'part of', [{'concept': 'work'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Le_Parnasse_contemporain_(1866) property:part_of ?z . { VALUES ( ?h ) { ( ontology:work ) ( ontology:world_view ) } . ?z rdf:type ?h } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { VALUES ( ?k ) { ( ontology:world_view ) ( ontology:work ) } . ?e rdf:type ?k } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q340401
P361
Q386724 Q49447 Q2342494
USER
And also tell me about The Book of Lost Tales?
(c(Q2342494),P361,c(Q386724)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q2342494
type Q386724
action find_tuple_counts
relation P361
type Q2342494
type Q49447
action count
action filter_multi_types
action find
entity Q340401
relation P361
type Q386724
type Q49447
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q340401 property:P361 ?w . { { ?w rdf:type ontology:Q386724 } UNION { ?w rdf:type ontology:Q49447 } } } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?u ) WHERE { { ?s property:P361 ?f . ?s rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 } UNION { ?s rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q49447 . ?s property:P361 ?f } } GROUP BY ?s } }
The Book of Lost Tales
action count
action greater
action union
action find_tuple_counts
relation part of
type collectable
type work
action find_tuple_counts
relation part of
type collectable
type world view
action count
action filter_multi_types
action find
entity The Book of Lost Tales
relation part of
type work
type world view
[{'concept': 'collectable'}, 'part of', [{'concept': 'work'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:The_Book_of_Lost_Tales property:part_of ?w . { { ?w rdf:type ontology:work } UNION { ?w rdf:type ontology:world_view } } } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?u ) WHERE { { ?s property:part_of ?f . ?s rdf:type ontology:collectable . ?f rdf:type ontology:work } UNION { ?s rdf:type ontology:collectable . ?f rdf:type ontology:world_view . ?s property:part_of ?f } } GROUP BY ?s } }
[]
work world view collectable
SYSTEM
10
Q16466017 Q1627579 Q1782122 Q21344426 Q7782400 Q7601035 Q16466026 Q739529 Q7824026 Q17145778
(c(Q2342494),P361,c(Q386724)|c(Q49447))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q2342494
type Q386724
action find_tuple_counts
relation P361
type Q2342494
type Q49447
action count
action filter_multi_types
action find
entity Q340401
relation P361
type Q386724
type Q49447
[ANSWER]
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q340401 property:P361 ?w . { { ?w rdf:type ontology:Q386724 } UNION { ?w rdf:type ontology:Q49447 } } } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?u ) WHERE { { ?s property:P361 ?f . ?s rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 } UNION { ?s rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q49447 . ?s property:P361 ?f } } GROUP BY ?s } }
Serenity Iliupersis M*A*S*H novels Percy Jackson's Greek Heroes Theorizing about Myth Star Trek My Own Kind of Freedom Argonautica Tooke's Pantheon V: The Second Generation
10
action count
action greater
action union
action find_tuple_counts
relation part of
type collectable
type work
action find_tuple_counts
relation part of
type collectable
type world view
action count
action filter_multi_types
action find
entity The Book of Lost Tales
relation part of
type work
type world view
[{'concept': 'collectable'}, 'part of', [{'concept': 'work'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:The_Book_of_Lost_Tales property:part_of ?w . { { ?w rdf:type ontology:work } UNION { ?w rdf:type ontology:world_view } } } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?u ) WHERE { { ?s property:part_of ?f . ?s rdf:type ontology:collectable . ?f rdf:type ontology:work } UNION { ?s rdf:type ontology:collectable . ?f rdf:type ontology:world_view . ?s property:part_of ?f } } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15619164 Q2342494
USER
Which collectables depict around 1 occupations and abstract beings ?
(c(Q2342494),P180,c(Q12737077)|c(Q15619164))
action approx
action union
action find_tuple_counts
relation P180
type Q2342494
type Q12737077
action find_tuple_counts
relation P180
type Q2342494
type Q15619164
value 1
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { { ?n rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q12737077 . ?n property:P180 ?i } UNION { ?n property:P180 ?i . ?n rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?n } }
action approx
action union
action find_tuple_counts
relation depicts
type collectable
type occupation
action find_tuple_counts
relation depicts
type collectable
type abstract being
value 1
[{'concept': 'collectable'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { { ?n rdf:type ontology:collectable . ?i rdf:type ontology:occupation . ?n property:depicts ?i } UNION { ?n property:depicts ?i . ?n rdf:type ontology:collectable . ?i rdf:type ontology:abstract_being } } GROUP BY ?n } }
[]
occupation abstract being collectable
Q1213763 Q746583 Q5226593
SYSTEM
The Selected Works of T.S. Spivet, Histories, The Technicolor Time Machine
Q896376 Q5226593 Q1213763 Q746583
(c(Q2342494),P180,c(Q12737077)|c(Q15619164))
action approx
action union
action find_tuple_counts
relation P180
type Q2342494
type Q12737077
action find_tuple_counts
relation P180
type Q2342494
type Q15619164
value 1
The selected Works of T.S. Spivet, Histories and The Technicolor Time Machine depict around 1 occupations and abstract beings
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q12737077'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { { ?n rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q12737077 . ?n property:P180 ?i } UNION { ?n property:P180 ?i . ?n rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?n } }
Cassandra The Technicolor Time Machine The Selected Works of T.S. Spivet Histories
The selected Works of T.S. Spivet, Histories and The Technicolor Time Machine depict around 1 occupations and abstract beings
The Selected Works of T.S. Spivet Histories The Technicolor Time Machine
action approx
action union
action find_tuple_counts
relation depicts
type collectable
type occupation
action find_tuple_counts
relation depicts
type collectable
type abstract being
value 1
[{'concept': 'collectable'}, 'depicts', [{'concept': 'occupation'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?a ) WHERE { { ?n rdf:type ontology:collectable . ?i rdf:type ontology:occupation . ?n property:depicts ?i } UNION { ?n property:depicts ?i . ?n rdf:type ontology:collectable . ?i rdf:type ontology:abstract_being } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5431317
P1441
Q2342494 Q15619164 Q3895768
USER
How many collectables are greater number of abstract beings or fictional locations shown in than Faiths and Pantheons ?
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q5431317
relation P1441
type Q15619164
type Q3895768
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:P1441 ?p . ?x rdf:type ontology:Q15619164 . ?p rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q3895768 . ?p rdf:type ontology:Q2342494 . ?x property:P1441 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1441 resource:Q5431317 . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q3895768 } } } } . FILTER ( ?y > ?c ) }
Faiths and Pantheons
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action count
action filter_multi_types
action find_reverse
entity Faiths and Pantheons
relation present in work
type abstract being
type fictional location
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:present_in_work ?p . ?x rdf:type ontology:abstract_being . ?p rdf:type ontology:collectable } UNION { ?x rdf:type ontology:fictional_location . ?p rdf:type ontology:collectable . ?x property:present_in_work ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:present_in_work resource:Faiths_and_Pantheons . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:fictional_location } } } } . FILTER ( ?y > ?c ) }
[]
collectable abstract being fictional location
SYSTEM
34
Q220331 Q70806 Q289130 Q8258 Q332388 Q189811 Q218950 Q15228 Q467139 Q896604 Q92640 Q79762 Q157360 Q161531 Q331656 Q74287 Q16998127 Q4348667 Q2293012 Q480 Q17118796 Q485093 Q8279 Q70784 Q1771810 Q860091 Q19867004 Q174596 Q208460 Q180736 Q605249 Q16438 Q181488 Q41542
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q5431317
relation P1441
type Q15619164
type Q3895768
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:P1441 ?p . ?x rdf:type ontology:Q15619164 . ?p rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q3895768 . ?p rdf:type ontology:Q2342494 . ?x property:P1441 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1441 resource:Q5431317 . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q3895768 } } } } . FILTER ( ?y > ?c ) }
Through the Looking-Glass Romance of the Three Kingdoms The Last Battle One Thousand and One Nights The Two Towers David Copperfield Prince Caspian The Lord of the Rings The Player of Games Warcraft: Day of the Dragon Alice's Adventures in Wonderland The Silmarillion The Horse and His Boy War and Peace The Voyage of the Dawn Treader The Hobbit Kara-Tur: The Eastern Realms The Railway Series Paul et Virginie Don Quixote Waterdeep The Lion, the Witch, and the Wardrobe Shahnameh Journey to the West A Wizard of Earthsea World of Warcraft: Arthas: Rise of the Lich King Baldur's Gate Moby-Dick Nineteen Eighty-Four Les Misérables Do Androids Dream of Electric Sheep? The Decameron Gulliver's Travels Dracula
34
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action count
action filter_multi_types
action find_reverse
entity Faiths and Pantheons
relation present in work
type abstract being
type fictional location
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:present_in_work ?p . ?x rdf:type ontology:abstract_being . ?p rdf:type ontology:collectable } UNION { ?x rdf:type ontology:fictional_location . ?p rdf:type ontology:collectable . ?x property:present_in_work ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:present_in_work resource:Faiths_and_Pantheons . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:fictional_location } } } } . FILTER ( ?y > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q340401
P1441
Q2342494 Q15619164 Q3895768
USER
And also tell me about The Book of Lost Tales?
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q340401
relation P1441
type Q15619164
type Q3895768
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q3895768 ) } . ?o rdf:type ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P1441 resource:Q340401 . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3895768 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?m > ?d ) }
The Book of Lost Tales
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action count
action filter_multi_types
action find_reverse
entity The Book of Lost Tales
relation present in work
type abstract being
type fictional location
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:fictional_location ) } . ?o rdf:type ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:present_in_work resource:The_Book_of_Lost_Tales . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:fictional_location ) ( ontology:abstract_being ) } } } } . FILTER ( ?m > ?d ) }
[]
collectable abstract being fictional location
SYSTEM
109
Q220331 Q70806 Q4154269 Q289130 Q17024064 Q248899 Q130295 Q8258 Q332388 Q384635 Q189811 Q835341 Q918052 Q3202526 Q218950 Q756866 Q674832 Q15228 Q46758 Q477831 Q887867 Q467139 Q437365 Q3591952 Q896604 Q326914 Q978387 Q25958115 Q92640 Q331669 Q7570608 Q79762 Q157360 Q5642692 Q309019 Q1229792 Q161531 Q331651 Q331656 Q733448 Q897685 Q704677 Q74287 Q1167993 Q16998127 Q466605 Q339761 Q4348667 Q188538 Q7973944 Q185118 Q2842837 Q2293012 Q9144808 Q480 Q1996380 Q19049533 Q41359 Q16246872 Q178869 Q2165190 Q17118796 Q485093 Q7719319 Q70827 Q8279 Q70784 Q437338 Q130924 Q5123928 Q2317161 Q1771810 Q1638148 Q860091 Q20791621 Q437349 Q19587249 Q1751752 Q19867004 Q3497005 Q7930820 Q5431317 Q717326 Q174596 Q932592 Q753251 Q7940528 Q7940527 Q2261855 Q206870 Q212718 Q421615 Q208460 Q837283 Q17116406 Q6579159 Q180736 Q1050014 Q202009 Q291087 Q332581 Q605249 Q16438 Q181488 Q1187056 Q17116366 Q1964483 Q437353 Q41542
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q340401
relation P1441
type Q15619164
type Q3895768
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q3895768 ) } . ?o rdf:type ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P1441 resource:Q340401 . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3895768 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?m > ?d ) }
Through the Looking-Glass Romance of the Three Kingdoms The Farther Adventures of Robinson Crusoe The Last Battle The Pirate King (novel) Hunters of Dune The Wonderful Wizard of Oz One Thousand and One Nights The Two Towers The Diary of a Chambermaid David Copperfield 2001: A Space Odyssey The Martian Chronicles Atlantida Prince Caspian Jurassic Park Carmen The Lord of the Rings Harry Potter and the Deathly Hallows The Magician's Nephew The Life of Hunger The Player of Games Children of Dune Evermeet: Island of Elves Warcraft: Day of the Dragon The Adventures of Tom Sawyer The Character of Rain Ali Baba and the Forty Thieves Alice's Adventures in Wonderland The Silver Chair Southern Victory Series The Silmarillion The Horse and His Boy Hall of Heroes Unfinished Tales Pale Fire War and Peace The Children of Húrin The Voyage of the Dawn Treader The Purloined Letter The Silence of the Lambs Jim Button and Luke the Engine Driver The Hobbit The Mystery of Marie Rogêt Kara-Tur: The Eastern Realms Charlie and the Chocolate Factory Bel Ami The Railway Series The Master and Margarita Waterdeep and the North Treasure Island Péplum Paul et Virginie Red Dragon Don Quixote Tokyo Fiancée Vulthoom Cat's Cradle The Grand History of the Realms One Hundred Years of Solitude The Book of Proper Names Waterdeep The Lion, the Witch, and the Wardrobe The Book of Urizen Water Margin Shahnameh Journey to the West Dune: House Atreides Kalevala City of Splendors: Waterdeep The Dream-Quest of Unknown Kadath A Wizard of Earthsea Fear and Trembling World of Warcraft: Arthas: Rise of the Lich King Kharé: Cityport of Traps Sandworms of Dune Jim Button and the Wild 13 2010: Odyssey Two Baldur's Gate Star Wars Episode I: The Phantom Menace Villains' Lorebook Faiths and Pantheons The Other Wind Moby-Dick Foundation's Edge Atala Volo's Guide to the Dalelands Volo's Guide to Waterdeep Tehanu Doctor Zhivago 2061: Odyssey Three Les Aventures de Télémaque Nineteen Eighty-Four Fight Club Tantras The Grimoire of Marisa Les Misérables Foundation and Earth Fahrenheit 451 Hannibal Rising The Return of the King Do Androids Dream of Electric Sheep? The Decameron Gulliver's Travels The Tailor of Panama Shadowdale Loving Sabotage Heretics of Dune Dracula
109
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
action count
action filter_multi_types
action find_reverse
entity The Book of Lost Tales
relation present in work
type abstract being
type fictional location
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:fictional_location ) } . ?o rdf:type ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:present_in_work resource:The_Book_of_Lost_Tales . { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:fictional_location ) ( ontology:abstract_being ) } } } } . FILTER ( ?m > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1213763
P50
Q502895
USER
Who penned The Selected Works of T.S. Spivet ?
(Q1213763,P50,c(Q502895))
action filter_type
action find
entity Q1213763
relation P50
type Q502895
['Q1213763', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1213763 property:P50 ?a . ?a rdf:type ontology:Q502895 }
The Selected Works of T.S. Spivet
action filter_type
action find
entity The Selected Works of T.S. Spivet
relation author
type common name
['The Selected Works of T.S. Spivet', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Selected_Works_of_T.S._Spivet property:author ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1458612
SYSTEM
Reif Larsen
Q1458612
(Q1213763,P50,c(Q502895))
action filter_type
action find
entity Q1213763
relation P50
type Q502895
[ANSWER] penned The Selected Works of T.S. Spivet
['Q1213763', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1213763 property:P50 ?a . ?a rdf:type ontology:Q502895 }
Reif Larsen
Reif Larsen penned The Selected Works of T.S. Spivet
Reif Larsen
action filter_type
action find
entity The Selected Works of T.S. Spivet
relation author
type common name
['The Selected Works of T.S. Spivet', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Selected_Works_of_T.S._Spivet property:author ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q502895 Q6619679
USER
Which collectables are atleast 21 people or fictional humanoids present in ?
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
value 21
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P1441 ?x . ?x rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P1441 ?x . ?x rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q6619679 } } GROUP BY ?x } . FILTER ( ?e >= 21 ) }
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
value 21
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:present_in_work ?x . ?x rdf:type ontology:collectable . ?u rdf:type ontology:common_name } UNION { ?u property:present_in_work ?x . ?x rdf:type ontology:collectable . ?u rdf:type ontology:fictional_humanoid } } GROUP BY ?x } . FILTER ( ?e >= 21 ) }
[]
collectable common name fictional humanoid
Q8279 Q8265 Q6511
SYSTEM
Shahnameh, Dream of the Red Chamber, Ulysses
Q6511 Q70827 Q8279 Q8265 Q16438
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
value 21
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P1441 ?x . ?x rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P1441 ?x . ?x rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q6619679 } } GROUP BY ?x } . FILTER ( ?e >= 21 ) }
Ulysses Water Margin Shahnameh Dream of the Red Chamber The Decameron
Which collectables are atleast 21 people or fictional humanoids present in
Shahnameh Dream of the Red Chamber Ulysses
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
value 21
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:present_in_work ?x . ?x rdf:type ontology:collectable . ?u rdf:type ontology:common_name } UNION { ?u property:present_in_work ?x . ?x rdf:type ontology:collectable . ?u rdf:type ontology:fictional_humanoid } } GROUP BY ?x } . FILTER ( ?e >= 21 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8265
P1441
Q6619679
USER
How many fictional humanoids appear in Dream of the Red Chamber ?
(c(Q6619679),P1441,Q8265)
action count
action filter_type
action find_reverse
entity Q8265
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q8265']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P1441 resource:Q8265 . ?n rdf:type ontology:Q6619679 }
Dream of the Red Chamber
action count
action filter_type
action find_reverse
entity Dream of the Red Chamber
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Dream of the Red Chamber']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:present_in_work resource:Dream_of_the_Red_Chamber . ?n rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
SYSTEM
38
Q10488760 Q10300313 Q10538121 Q15927584 Q10423836 Q15927652 Q7495932 Q3178958 Q14474222 Q10540116 Q6191409 Q10500526 Q7195647 Q10538467 Q10415494 Q10554902 Q10788075 Q6827742 Q10538170 Q10264763 Q3772823 Q8044164 Q10264740 Q21045725 Q21045722 Q17039675 Q10350634 Q15956032 Q8045205 Q8045212 Q5596002 Q10402754 Q5595500 Q10761740 Q10761741 Q3817857 Q8428650 Q10538381
(c(Q6619679),P1441,Q8265)
action count
action filter_type
action find_reverse
entity Q8265
relation P1441
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q8265']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P1441 resource:Q8265 . ?n rdf:type ontology:Q6619679 }
Hu Junrong Wenguan Jia Dairu Jia Lian Zhen Baoyu Hua Xiren Shi Xiangyun Lin Daiyu Qin Zhong Concubine Zhao Jia Tanchun Fangguan Ping'er Jia Jun Wang Jiren Xing Dequan Li Wan Miaoyu Jia Lan You Erjie Wang Xifeng Xiangling You Sanjie Jia Min Jia Daishan Jia Zheng Liu Xianglian Jia She Xue Baochai Xue Pan Granny Liu Jiao Da Grandmother Jia Jia Xichun Jia Qiaojie Lady Wang Jia Baoyu Jia Cong
38
action count
action filter_type
action find_reverse
entity Dream of the Red Chamber
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Dream of the Red Chamber']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:present_in_work resource:Dream_of_the_Red_Chamber . ?n rdf:type ontology:fictional_humanoid }
[]