Simple Question (Direct)
Simple Question
Q3520236
P57
Q502895
USER
Who was the director of The Chain ?
(Q3520236,P57,c(Q502895))
action filter_type
action find
entity Q3520236
relation P57
type Q502895
['Q3520236', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3520236 property:P57 ?v . ?v rdf:type ontology:Q502895 }
The Chain
action filter_type
action find
entity The Chain
relation director
type common name
['The Chain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Chain property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q543700
SYSTEM
Jack Gold
Q543700
(Q3520236,P57,c(Q502895))
action filter_type
action find
entity Q3520236
relation P57
type Q502895
The director of The Chain was the [ANSWER]
['Q3520236', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3520236 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Jack Gold
The director of The Chain was the Jack Gold
Jack Gold
action filter_type
action find
entity The Chain
relation director
type common name
['The Chain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Chain property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3520236
P364
Q34770
USER
Which language was used originally for the creation of The Chain ?
(Q3520236,P364,c(Q34770))
action filter_type
action find
entity Q3520236
relation P364
type Q34770
['Q3520236', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q3520236 property:P364 ?p . ?p rdf:type ontology:Q34770 }
The Chain
action filter_type
action find
entity The Chain
relation original language of work
type language
['The Chain', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:The_Chain property:original_language_of_work ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3520236,P364,c(Q34770))
action filter_type
action find
entity Q3520236
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Chain
['Q3520236', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q3520236 property:P364 ?p . ?p rdf:type ontology:Q34770 }
English
English was used originally for the creation of The Chain
English
action filter_type
action find
entity The Chain
relation original language of work
type language
['The Chain', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:The_Chain property:original_language_of_work ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3520236
P162
Q502895
USER
Who is the creator of The Chain ?
(Q3520236,P162,c(Q502895))
action filter_type
action find
entity Q3520236
relation P162
type Q502895
['Q3520236', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3520236 property:P162 ?o }
The Chain
action filter_type
action find
entity The Chain
relation producer
type common name
['The Chain', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:The_Chain property:producer ?o }
[]
common name
Q7925927
SYSTEM
Victor Glynn
Q7925927
(Q3520236,P162,c(Q502895))
action filter_type
action find
entity Q3520236
relation P162
type Q502895
The creator of The Chain is the [ANSWER]
['Q3520236', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3520236 property:P162 ?o }
Victor Glynn
The creator of The Chain is the Victor Glynn
Victor Glynn
action filter_type
action find
entity The Chain
relation producer
type common name
['The Chain', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:The_Chain property:producer ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3520236
P840
Q56061
USER
Which narrative location is that work of art set in ?
(Q7925927,P840,c(Q56061))
action filter_type
action find
entity Q3520236
relation P840
type Q56061
['Q7925927', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3520236 property:P840 ?w . ?w rdf:type ontology:Q56061 }
The Chain
action filter_type
action find
entity The Chain
relation narrative location
type administrative territorial entity
['Victor Glynn', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Chain property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7925927,P840,c(Q56061))
action filter_type
action find
entity Q3520236
relation P840
type Q56061
That work of art is set in [ANSWER]
['Q7925927', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3520236 property:P840 ?w . ?w rdf:type ontology:Q56061 }
London
That work of art is set in London
London
action filter_type
action find
entity The Chain
relation narrative location
type administrative territorial entity
['Victor Glynn', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Chain property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3520236
P136
Q483394
USER
What can be considered as category for that work of art ?
(Q84,P136,c(Q483394))
action filter_type
action find
entity Q3520236
relation P136
type Q483394
['Q84', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { resource:Q3520236 property:P136 ?j . ?j rdf:type ontology:Q483394 }
The Chain
action filter_type
action find
entity The Chain
relation genre
type genre
['London', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { resource:The_Chain property:genre ?j . ?j rdf:type ontology:genre }
[]
genre
Q859369
SYSTEM
comedy-drama
Q859369
(Q84,P136,c(Q483394))
action filter_type
action find
entity Q3520236
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
['Q84', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { resource:Q3520236 property:P136 ?j . ?j rdf:type ontology:Q483394 }
comedy-drama
Comedy-drama can be considered as category for that work of art
comedy-drama
action filter_type
action find
entity The Chain
relation genre
type genre
['London', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { resource:The_Chain property:genre ?j . ?j rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3520236
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q859369,P86,c(Q502895))
action filter_type
action find
entity Q3520236
relation P86
type Q502895
['Q859369', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q3520236 property:P86 ?w }
The Chain
action filter_type
action find
entity The Chain
relation composer
type common name
['comedy-drama', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Chain property:composer ?w }
[]
common name
Q730252
SYSTEM
Stanley Myers
Q730252
(Q859369,P86,c(Q502895))
action filter_type
action find
entity Q3520236
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q859369', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q3520236 property:P86 ?w }
Stanley Myers
Stanley Myers did the compostion for that work of art
Stanley Myers
action filter_type
action find
entity The Chain
relation composer
type common name
['comedy-drama', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Chain property:composer ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q730252 Q145 Q3376279
P27
Q15617994
USER
Is that person a civilian of United Kingdom and Pesochny ?
(Q730252,P27,Q145) (Q730252,P27,Q3376279)
action is_in
entity Q730252
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q3376279
relation P27
['Q730252', 'P27', 'Q145'] ['Q730252', 'P27', 'Q3376279']
ASK WHERE { resource:Q730252 property:P27 resource:Q145 . resource:Q730252 property:P27 resource:Q3376279 }
Stanley Myers United Kingdom Pesochny
action is_in
entity Stanley Myers
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Pesochny
relation country of citizenship
['Stanley Myers', 'country of citizenship', 'United Kingdom'] ['Stanley Myers', 'country of citizenship', 'Pesochny']
ASK WHERE { resource:Stanley_Myers property:country_of_citizenship resource:United_Kingdom . resource:Stanley_Myers property:country_of_citizenship resource:Pesochny }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q730252,P27,Q145) (Q730252,P27,Q3376279)
action is_in
entity Q730252
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q3376279
relation P27
[ANSWER]
['Q730252', 'P27', 'Q145'] ['Q730252', 'P27', 'Q3376279']
ASK WHERE { resource:Q730252 property:P27 resource:Q145 . resource:Q730252 property:P27 resource:Q3376279 }
YES and NO respectively
action is_in
entity Stanley Myers
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Pesochny
relation country of citizenship
['Stanley Myers', 'country of citizenship', 'United Kingdom'] ['Stanley Myers', 'country of citizenship', 'Pesochny']
ASK WHERE { resource:Stanley_Myers property:country_of_citizenship resource:United_Kingdom . resource:Stanley_Myers property:country_of_citizenship resource:Pesochny }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3520236 Q15453801 Q519940
P161
Q502895
USER
Does The Chain have Carl Biedermann and Maurice Denham in its star cast ?
(Q3520236,P161,Q15453801) (Q3520236,P161,Q519940)
action is_in
entity Q3520236
action intersection
action find_reverse
entity Q15453801
relation P161
action find_reverse
entity Q519940
relation P161
['Q3520236', 'P161', 'Q15453801'] ['Q3520236', 'P161', 'Q519940']
ASK WHERE { resource:Q3520236 property:P161 resource:Q15453801 . resource:Q3520236 property:P161 resource:Q519940 }
The Chain Carl Biedermann Maurice Denham
action is_in
entity The Chain
action intersection
action find_reverse
entity Carl Biedermann
relation cast member
action find_reverse
entity Maurice Denham
relation cast member
['The Chain', 'cast member', 'Carl Biedermann'] ['The Chain', 'cast member', 'Maurice Denham']
ASK WHERE { resource:The_Chain property:cast_member resource:Carl_Biedermann . resource:The_Chain property:cast_member resource:Maurice_Denham }
[]
common name
SYSTEM
NO and YES respectively
(Q3520236,P161,Q15453801) (Q3520236,P161,Q519940)
action is_in
entity Q3520236
action intersection
action find_reverse
entity Q15453801
relation P161
action find_reverse
entity Q519940
relation P161
[ANSWER]
['Q3520236', 'P161', 'Q15453801'] ['Q3520236', 'P161', 'Q519940']
ASK WHERE { resource:Q3520236 property:P161 resource:Q15453801 . resource:Q3520236 property:P161 resource:Q519940 }
NO and YES respectively
action is_in
entity The Chain
action intersection
action find_reverse
entity Carl Biedermann
relation cast member
action find_reverse
entity Maurice Denham
relation cast member
['The Chain', 'cast member', 'Carl Biedermann'] ['The Chain', 'cast member', 'Maurice Denham']
ASK WHERE { resource:The_Chain property:cast_member resource:Carl_Biedermann . resource:The_Chain property:cast_member resource:Maurice_Denham }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q84 Q472
P190
Q56061
USER
Is Sofia the sister city of London ?
(Q84,P190,Q472)
action is_in
entity Q472
action find
entity Q84
relation P190
['Q84', 'P190', 'Q472']
ASK WHERE { resource:Q84 property:P190 resource:Q472 }
London Sofia
action is_in
entity Sofia
action find
entity London
relation sister city
['London', 'sister city', 'Sofia']
ASK WHERE { resource:London property:sister_city resource:Sofia }
[]
administrative territorial entity
SYSTEM
YES
(Q84,P190,Q472)
action is_in
entity Q472
action find
entity Q84
relation P190
[ANSWER]
['Q84', 'P190', 'Q472']
ASK WHERE { resource:Q84 property:P190 resource:Q472 }
Yes
action is_in
entity Sofia
action find
entity London
relation sister city
['London', 'sister city', 'Sofia']
ASK WHERE { resource:London property:sister_city resource:Sofia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1346246
P1441
Q838948 Q2342494 Q502895
USER
Which people are from the works of lesser number of works of art or collectables than Johnny Ringo ?
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q1346246
relation P1441
type Q838948
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?z WHERE { { ?z property:P1441 ?x . ?z rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q502895 . ?z property:P1441 ?x } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q1346246 property:P1441 ?s . { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?s rdf:type ?r } } } . FILTER ( ?q < ?f ) }
Johnny Ringo
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Johnny Ringo
relation present in work
type work of art
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?z WHERE { { ?z property:present_in_work ?x . ?z rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:collectable . ?z rdf:type ontology:common_name . ?z property:present_in_work ?x } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Johnny_Ringo property:present_in_work ?s . { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?s rdf:type ?r } } } . FILTER ( ?q < ?f ) }
[]
work of art collectable common name
Q17457 Q110436 Q8413
SYSTEM
Donald Knuth, Cory Doctorow, Constantine the Great
Q41863 Q603233 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q1938388 Q2040793 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q311556 Q560559 Q807236 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q3259530 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q515828 Q1771358 Q923021 Q272277 Q460763 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q1380878 Q16879711 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 Q2651263 Q1542853 Q209793 Q1808889 Q587893 Q2685920 Q256076 Q184273 Q107626 Q205365 Q32295 Q477527 Q1091513 Q2601106 Q18699310 Q62788 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q262766 Q1947936 Q225198 Q211396 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q2487300 Q319049 Q18699300 Q18699268 Q17457 Q786748 Q229702 Q574641 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q1346246
relation P1441
type Q838948
type Q2342494
[ANSWERS] are from the works of lesser number of works of art or collectables than Johnny Ringo
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?z WHERE { { ?z property:P1441 ?x . ?z rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q502895 . ?z property:P1441 ?x } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q1346246 property:P1441 ?s . { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?s rdf:type ?r } } } . FILTER ( ?q < ?f ) }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Ezekiel Olof Björnsson Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Adoniram Samson Sisillius III Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Miriam Reu Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Allectus Constans II Barak Jago of Britain Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Gracianus Municeps Hrethel Jephthah Erik Refilsson Bladud Arvirargus Abner Japheth Loretta Jones Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Tasciovanus Salomon Gorboduc Bathsheba Benjamin Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Heoroweard Islamic views on Abraham Porrex I Nahor Daniel J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Vortimer Sage Animandaya Amminadab Bharata Archmail Wil Wheaton Asa of Judah Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Coel Hen Trahern Alphaeus Constantine III Kimarcus Sisillius II Bledudo Cunedagius Zedekiah Seth Cain Michael J. Massimino Amram Son of Gorbonianus Rukmi Matthan Jethro Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli Junia Beldgabred Belshazzar Magnus Maximus Josiah Andragius Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Abdon Publius Septimius Geta Joshua Ebraucus Togodumnus Tamar Cunedda Jeconiah Eleazar Zadok Donald Knuth Pedro González de Mendoza Ham Balaam Ahijah the Shilonite Marius of Britain Baruch ben Neriah Judah Amaziah of Judah
Donald Knuth, Cory Doctorow and Constantine the Great are from the works of lesser number of works of art or collectables than Johnny Ringo
Donald Knuth Cory Doctorow Constantine the Great
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Johnny Ringo
relation present in work
type work of art
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?z WHERE { { ?z property:present_in_work ?x . ?z rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:collectable . ?z rdf:type ontology:common_name . ?z property:present_in_work ?x } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Johnny_Ringo property:present_in_work ?s . { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?s rdf:type ?r } } } . FILTER ( ?q < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q24624067
P1441
Q838948 Q2342494 Q502895
USER
And how about Bea Hansen?
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q24624067
relation P1441
type Q838948
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q24624067 property:P1441 ?h . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?o < ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?w WHERE { { ?w property:P1441 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q838948 } UNION { ?w property:P1441 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?w } }
Bea Hansen
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Bea Hansen
relation present in work
type work of art
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Bea_Hansen property:present_in_work ?h . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?o < ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?w WHERE { { ?w property:present_in_work ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:work_of_art } UNION { ?w property:present_in_work ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:collectable } } GROUP BY ?w } }
[]
work of art collectable common name
Q17457 Q110436 Q8413
SYSTEM
Donald Knuth, Cory Doctorow, Constantine the Great
Q41863 Q603233 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q1938388 Q2040793 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q311556 Q560559 Q807236 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q3259530 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q515828 Q1771358 Q923021 Q272277 Q460763 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q1380878 Q16879711 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 Q2651263 Q1542853 Q209793 Q1808889 Q587893 Q2685920 Q256076 Q184273 Q107626 Q205365 Q32295 Q477527 Q1091513 Q2601106 Q18699310 Q62788 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q262766 Q1947936 Q225198 Q211396 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q2487300 Q319049 Q18699300 Q18699268 Q17457 Q786748 Q229702 Q574641 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q24624067
relation P1441
type Q838948
type Q2342494
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q24624067 property:P1441 ?h . { { ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q2342494 } } } } . FILTER ( ?o < ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?w WHERE { { ?w property:P1441 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q838948 } UNION { ?w property:P1441 ?k . ?w rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?w } }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Ezekiel Olof Björnsson Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Adoniram Samson Sisillius III Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Miriam Reu Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Allectus Constans II Barak Jago of Britain Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Gracianus Municeps Hrethel Jephthah Erik Refilsson Bladud Arvirargus Abner Japheth Loretta Jones Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Tasciovanus Salomon Gorboduc Bathsheba Benjamin Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Heoroweard Islamic views on Abraham Porrex I Nahor Daniel J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Vortimer Sage Animandaya Amminadab Bharata Archmail Wil Wheaton Asa of Judah Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Coel Hen Trahern Alphaeus Constantine III Kimarcus Sisillius II Bledudo Cunedagius Zedekiah Seth Cain Michael J. Massimino Amram Son of Gorbonianus Rukmi Matthan Jethro Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli Junia Beldgabred Belshazzar Magnus Maximus Josiah Andragius Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Abdon Publius Septimius Geta Joshua Ebraucus Togodumnus Tamar Cunedda Jeconiah Eleazar Zadok Donald Knuth Pedro González de Mendoza Ham Balaam Ahijah the Shilonite Marius of Britain Baruch ben Neriah Judah Amaziah of Judah
Donald Knuth Cory Doctorow Constantine the Great
action less
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Bea Hansen
relation present in work
type work of art
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Bea_Hansen property:present_in_work ?h . { { ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:collectable } } } } . FILTER ( ?o < ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) ?w WHERE { { ?w property:present_in_work ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:work_of_art } UNION { ?w property:present_in_work ?k . ?w rdf:type ontology:common_name . ?k rdf:type ontology:collectable } } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17457
P166
Q24016972
USER
What was received by that person ?
(Q17457,P166,c(Q24016972))
action filter_type
action find
entity Q17457
relation P166
type Q24016972
['Q17457', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?z WHERE { resource:Q17457 property:P166 ?z . ?z rdf:type ontology:Q24016972 }
Donald Knuth
action filter_type
action find
entity Donald Knuth
relation award received
type type of distinction
['Donald Knuth', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?z WHERE { resource:Donald_Knuth property:award_received ?z . ?z rdf:type ontology:type_of_distinction }
[]
type of distinction
Clarification for simple ques.
Q8413
SYSTEM
Did you mean Constantine the Great ?
Q17457 Q110436 Q8413
(Q17457,P166,c(Q24016972)) (Q110436,P166,c(Q24016972)) (Q8413,P166,c(Q24016972))
[ANSWER]
['Q17457', 'P166', {'concept': 'Q24016972'}] ['Q110436', 'P166', {'concept': 'Q24016972'}] ['Q8413', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?z WHERE { resource:Q17457 property:P166 ?z . ?z rdf:type ontology:Q24016972 }
Donald Knuth Cory Doctorow Constantine the Great
Did you mean Constantine the Great ?
Constantine the Great
['Donald Knuth', 'award received', {'concept': 'type of distinction'}] ['Cory Doctorow', 'award received', {'concept': 'type of distinction'}] ['Constantine the Great', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?z WHERE { resource:Donald_Knuth property:award_received ?z . ?z rdf:type ontology:type_of_distinction }
[]
Simple Question (Coreferenced)
USER
No, I meant Donald Knuth. Could you tell me the answer for that?
(Q17457,P166,c(Q24016972))
Q17457
['Q17457', 'P166', {'concept': 'Q24016972'}]
['Donald Knuth', 'award received', {'concept': 'type of distinction'}]
[]
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q17457,P166,c(Q24016972))
action filter_type
action find
entity Q17457
relation P166
type Q24016972
The [ANSWER] was received by that person
['Q17457', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?z WHERE { resource:Q17457 property:P166 ?z . ?z rdf:type ontology:Q24016972 }
Fellow of the Royal Society
The Fellow of the Royal Society was received by that person
Fellow of the Royal Society
action filter_type
action find
entity Donald Knuth
relation award received
type type of distinction
['Donald Knuth', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?z WHERE { resource:Donald_Knuth property:award_received ?z . ?z rdf:type ontology:type_of_distinction }
[]