Simple Question (Direct)
Simple Question
Q18244555
P512
Q3412758
USER
What is the name of the degree held by Magnus Möller ?
(Q18244555,P512,c(Q3412758))
action filter_type
action find
entity Q18244555
relation P512
type Q3412758
['Q18244555', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q18244555 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Magnus Möller
action filter_type
action find
entity Magnus Möller
relation academic degree
type qualification
['Magnus Möller', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Magnus_Möller property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
qualification
Q121594
SYSTEM
professor
Q121594
(Q18244555,P512,c(Q3412758))
action filter_type
action find
entity Q18244555
relation P512
type Q3412758
The name of the degree held by Magnus Möller is a [ANSWER]
['Q18244555', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q18244555 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
professor
The name of the degree held by Magnus Möller is a professor
professor
action filter_type
action find
entity Magnus Möller
relation academic degree
type qualification
['Magnus Möller', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Magnus_Möller property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18244555
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q121594,P27,c(Q15617994))
action filter_type
action find
entity Q18244555
relation P27
type Q15617994
['Q121594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q18244555 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Magnus Möller
action filter_type
action find
entity Magnus Möller
relation country of citizenship
type designation for an administrative territorial entity
['professor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Magnus_Möller property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q121594,P27,c(Q15617994))
action filter_type
action find
entity Q18244555
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q121594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q18244555 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of that person
Sweden
action filter_type
action find
entity Magnus Möller
relation country of citizenship
type designation for an administrative territorial entity
['professor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Magnus_Möller property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18244555
P119
Q43229
USER
Which organization is the resting place of Magnus Möller ?
(Q18244555,P119,c(Q43229))
action filter_type
action find
entity Q18244555
relation P119
type Q43229
['Q18244555', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q18244555 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Magnus Möller
action filter_type
action find
entity Magnus Möller
relation place of burial
type organization
['Magnus Möller', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Magnus_Möller property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
organization
Q252312
SYSTEM
Norra Begravningsplatsen
Q252312
(Q18244555,P119,c(Q43229))
action filter_type
action find
entity Q18244555
relation P119
type Q43229
[ANSWER] is the resting place of Magnus Möller
['Q18244555', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q18244555 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Norra Begravningsplatsen
Norra Begravningsplatsen is the resting place of Magnus Möller
Norra Begravningsplatsen
action filter_type
action find
entity Magnus Möller
relation place of burial
type organization
['Magnus Möller', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Magnus_Möller property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q252312 Q15058989 Q3046559
P17
Q15617994
USER
Is that organization situated in Bicton, Herefordshire and Easterhouse ?
(Q252312,P17,Q15058989) (Q252312,P17,Q3046559)
action is_in
entity Q252312
action intersection
action find_reverse
entity Q15058989
relation P17
action find_reverse
entity Q3046559
relation P17
['Q252312', 'P17', 'Q15058989'] ['Q252312', 'P17', 'Q3046559']
ASK WHERE { resource:Q252312 property:P17 resource:Q3046559 . resource:Q252312 property:P17 resource:Q15058989 }
Norra Begravningsplatsen Bicton, Herefordshire Easterhouse
action is_in
entity Norra Begravningsplatsen
action intersection
action find_reverse
entity Bicton, Herefordshire
relation country
action find_reverse
entity Easterhouse
relation country
['Norra Begravningsplatsen', 'country', 'Bicton, Herefordshire'] ['Norra Begravningsplatsen', 'country', 'Easterhouse']
ASK WHERE { resource:Norra_Begravningsplatsen property:country resource:Easterhouse . resource:Norra_Begravningsplatsen property:country resource:Bicton,_Herefordshire }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q252312,P17,Q15058989) (Q252312,P17,Q3046559)
action is_in
entity Q252312
action intersection
action find_reverse
entity Q15058989
relation P17
action find_reverse
entity Q3046559
relation P17
[ANSWER]
['Q252312', 'P17', 'Q15058989'] ['Q252312', 'P17', 'Q3046559']
ASK WHERE { resource:Q252312 property:P17 resource:Q3046559 . resource:Q252312 property:P17 resource:Q15058989 }
No
action is_in
entity Norra Begravningsplatsen
action intersection
action find_reverse
entity Bicton, Herefordshire
relation country
action find_reverse
entity Easterhouse
relation country
['Norra Begravningsplatsen', 'country', 'Bicton, Herefordshire'] ['Norra Begravningsplatsen', 'country', 'Easterhouse']
ASK WHERE { resource:Norra_Begravningsplatsen property:country resource:Easterhouse . resource:Norra_Begravningsplatsen property:country resource:Bicton,_Herefordshire }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18244555 Q1754
P20
Q56061
USER
Did Magnus Möller expire Stockholm ?
(Q18244555,P20,Q1754)
action is_in
entity Q1754
action find
entity Q18244555
relation P20
['Q18244555', 'P20', 'Q1754']
ASK WHERE { resource:Q18244555 property:P20 resource:Q1754 }
Magnus Möller Stockholm
action is_in
entity Stockholm
action find
entity Magnus Möller
relation place of death
['Magnus Möller', 'place of death', 'Stockholm']
ASK WHERE { resource:Magnus_Möller property:place_of_death resource:Stockholm }
[]
administrative territorial entity
SYSTEM
YES
(Q18244555,P20,Q1754)
action is_in
entity Q1754
action find
entity Q18244555
relation P20
[ANSWER]
['Q18244555', 'P20', 'Q1754']
ASK WHERE { resource:Q18244555 property:P20 resource:Q1754 }
Yes
action is_in
entity Stockholm
action find
entity Magnus Möller
relation place of death
['Magnus Möller', 'place of death', 'Stockholm']
ASK WHERE { resource:Magnus_Möller property:place_of_death resource:Stockholm }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18244555
P734
Q82799
USER
Who is associated with that person ?
action filter_type
action find
entity Q18244555
relation P734
type Q82799
SELECT DISTINCT ?c WHERE { resource:Q18244555 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Magnus Möller
action filter_type
action find
entity Magnus Möller
relation family name
type name
SELECT DISTINCT ?c WHERE { resource:Magnus_Möller property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q1184002
SYSTEM
Möller
Q1184002
action filter_type
action find
entity Q18244555
relation P734
type Q82799
[ANSWER] is associated with that person
SELECT DISTINCT ?c WHERE { resource:Q18244555 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Möller
Möller is associated with that person
Möller
action filter_type
action find
entity Magnus Möller
relation family name
type name
SELECT DISTINCT ?c WHERE { resource:Magnus_Möller property:family_name ?c . ?c rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6456259 Q18244555
P734 P735
Q82799
USER
What are known by the name Magnus Möller or are the name L.D. "Buddy" Napper are known by ?
OR((Q18244555,P734,c(Q82799)), (Q6456259,P735,c(Q82799)))
action filter_type
action union
action find
entity Q18244555
relation P734
action find
entity Q6456259
relation P735
type Q82799
{'OR': [['Q18244555', 'P734', {'concept': 'Q82799'}], ['Q6456259', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q6456259 property:P735 ?l } UNION { resource:Q18244555 property:P734 ?l } } . ?l rdf:type ontology:Q82799 }
L.D. "Buddy" Napper Magnus Möller
action filter_type
action union
action find
entity Magnus Möller
relation family name
action find
entity L.D. "Buddy" Napper
relation given name
type name
{'OR': [['Magnus Möller', 'family name', {'concept': 'name'}], ['L.D. "Buddy" Napper', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:L.D._"Buddy"_Napper property:given_name ?l } UNION { resource:Magnus_Möller property:family_name ?l } } . ?l rdf:type ontology:name }
[]
name
Q1184002 Q19803509
SYSTEM
Möller, L.
Q1184002 Q19803509
OR((Q18244555,P734,c(Q82799)), (Q6456259,P735,c(Q82799)))
action filter_type
action union
action find
entity Q18244555
relation P734
action find
entity Q6456259
relation P735
type Q82799
[ANSWERS] are known by the name Magnus Möller or are the name L.D. "Buddy" Napper are known by
{'OR': [['Q18244555', 'P734', {'concept': 'Q82799'}], ['Q6456259', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q6456259 property:P735 ?l } UNION { resource:Q18244555 property:P734 ?l } } . ?l rdf:type ontology:Q82799 }
Möller L.
Möller and L. are known by the name Magnus Möller or are the name L.D. "Buddy" Napper are known by
Möller L.
action filter_type
action union
action find
entity Magnus Möller
relation family name
action find
entity L.D. "Buddy" Napper
relation given name
type name
{'OR': [['Magnus Möller', 'family name', {'concept': 'name'}], ['L.D. "Buddy" Napper', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:L.D._"Buddy"_Napper property:given_name ?l } UNION { resource:Magnus_Möller property:family_name ?l } } . ?l rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3778878
P1441
Q2342494 Q15416 Q502895
USER
Which people are seen in less number of collectables or television programs than Guglielmo Borsiere ?
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q3778878
relation P1441
type Q2342494
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?g WHERE { { ?g property:P1441 ?e . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15416 . ?g property:P1441 ?e } } GROUP BY ?g } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?p rdf:type ?q } . resource:Q3778878 property:P1441 ?p } } }
Guglielmo Borsiere
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Guglielmo Borsiere
relation present in work
type collectable
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?g WHERE { { ?g property:present_in_work ?e . ?g rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?g rdf:type ontology:common_name . ?e rdf:type ontology:television_program . ?g property:present_in_work ?e } } GROUP BY ?g } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:television_program ) } . ?p rdf:type ?q } . resource:Guglielmo_Borsiere property:present_in_work ?p } } }
[]
collectable television program common name
Q17457 Q110436 Q8413
SYSTEM
Donald Knuth, Cory Doctorow, Constantine the Great
Q41863 Q603233 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q24624893 Q1396131 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q26858995 Q2487300 Q319049 Q18699300 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q3778878
relation P1441
type Q2342494
type Q15416
[ANSWERS] are seen in less number of collectables or television programs than Guglielmo Borsiere
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?g WHERE { { ?g property:P1441 ?e . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15416 . ?g property:P1441 ?e } } GROUP BY ?g } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?p rdf:type ?q } . resource:Q3778878 property:P1441 ?p } } }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Gracianus Municeps Hrethel Jephthah Raymond Sybert Wilbur Wright Erik Refilsson Bladud Arvirargus Abner Japheth Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail 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 Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham 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 Aloysius Kyazze Cunedda Jeconiah Eleazar Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah Judah Amaziah of Judah
Donald Knuth, Cory Doctorow and Constantine the Great are seen in less number of collectables or television programs than Guglielmo Borsiere
Donald Knuth Cory Doctorow Constantine the Great
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Guglielmo Borsiere
relation present in work
type collectable
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?g WHERE { { ?g property:present_in_work ?e . ?g rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?g rdf:type ontology:common_name . ?e rdf:type ontology:television_program . ?g property:present_in_work ?e } } GROUP BY ?g } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:television_program ) } . ?p rdf:type ?q } . resource:Guglielmo_Borsiere property:present_in_work ?p } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2124082
P1441
Q2342494 Q15416 Q502895
USER
And also tell me about Azzo VIII d'Este, Marquis of Ferrara?
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q2124082
relation P1441
type Q2342494
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?s ) WHERE { { ?h property:P1441 ?u . ?h rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15416 } UNION { ?h property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q2124082 property:P1441 ?j . { { ?j rdf:type ontology:Q2342494 } UNION { ?j rdf:type ontology:Q15416 } } } } }
Azzo VIII d'Este, Marquis of Ferrara
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Azzo VIII d'Este, Marquis of Ferrara
relation present in work
type collectable
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?s ) WHERE { { ?h property:present_in_work ?u . ?h rdf:type ontology:common_name . ?u rdf:type ontology:television_program } UNION { ?h property:present_in_work ?u . ?u rdf:type ontology:collectable . ?h rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Azzo_VIII_d'Este,_Marquis_of_Ferrara property:present_in_work ?j . { { ?j rdf:type ontology:collectable } UNION { ?j rdf:type ontology:television_program } } } } }
[]
collectable television program common name
Q17457 Q110436 Q8413
SYSTEM
Donald Knuth, Cory Doctorow, Constantine the Great
Q41863 Q603233 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q24624893 Q1396131 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q26858995 Q2487300 Q319049 Q18699300 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q2124082
relation P1441
type Q2342494
type Q15416
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?s ) WHERE { { ?h property:P1441 ?u . ?h rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15416 } UNION { ?h property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } } GROUP BY ?h } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q2124082 property:P1441 ?j . { { ?j rdf:type ontology:Q2342494 } UNION { ?j rdf:type ontology:Q15416 } } } } }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Gracianus Municeps Hrethel Jephthah Raymond Sybert Wilbur Wright Erik Refilsson Bladud Arvirargus Abner Japheth Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail 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 Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham 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 Aloysius Kyazze Cunedda Jeconiah Eleazar Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende 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 collectable
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Azzo VIII d'Este, Marquis of Ferrara
relation present in work
type collectable
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?s ) WHERE { { ?h property:present_in_work ?u . ?h rdf:type ontology:common_name . ?u rdf:type ontology:television_program } UNION { ?h property:present_in_work ?u . ?u rdf:type ontology:collectable . ?h rdf:type ontology:common_name } } GROUP BY ?h } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Azzo_VIII_d'Este,_Marquis_of_Ferrara property:present_in_work ?j . { { ?j rdf:type ontology:collectable } UNION { ?j rdf:type ontology:television_program } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211953
P40
Q6619679
USER
Which fictional humanoid is a child of Anchises ?
(Q211953,P40,c(Q6619679))
action filter_type
action find
entity Q211953
relation P40
type Q6619679
['Q211953', 'P40', {'concept': 'Q6619679'}]
SELECT DISTINCT ?q WHERE { resource:Q211953 property:P40 ?q . ?q rdf:type ontology:Q6619679 }
Anchises
action filter_type
action find
entity Anchises
relation child
type fictional humanoid
['Anchises', 'child', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?q WHERE { resource:Anchises property:child ?q . ?q rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q82732
SYSTEM
Aeneas
Q82732
(Q211953,P40,c(Q6619679))
action filter_type
action find
entity Q211953
relation P40
type Q6619679
[ANSWER] is a child of Anchises
['Q211953', 'P40', {'concept': 'Q6619679'}]
SELECT DISTINCT ?q WHERE { resource:Q211953 property:P40 ?q . ?q rdf:type ontology:Q6619679 }
Aeneas
Aeneas is a child of Anchises
Aeneas
action filter_type
action find
entity Anchises
relation child
type fictional humanoid
['Anchises', 'child', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?q WHERE { resource:Anchises property:child ?q . ?q rdf:type ontology:fictional_humanoid }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23780478
Q6619679
USER
And how about Elia Martell?
(Q23780478,P40,c(Q6619679))
action filter_type
action find
entity Q23780478
relation P40
type Q6619679
['Q23780478', 'P40', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { resource:Q23780478 property:P40 ?v . ?v rdf:type ontology:Q6619679 }
Elia Martell
action filter_type
action find
entity Elia Martell
relation child
type fictional humanoid
['Elia Martell', 'child', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { resource:Elia_Martell property:child ?v . ?v rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q23780479 Q23780468
SYSTEM
Aegon VI Targaryen, Rhaenys Targaryen
Q23780479 Q23780468
(Q23780478,P40,c(Q6619679))
action filter_type
action find
entity Q23780478
relation P40
type Q6619679
[ANSWERS]
['Q23780478', 'P40', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { resource:Q23780478 property:P40 ?v . ?v rdf:type ontology:Q6619679 }
Aegon VI Targaryen Rhaenys Targaryen
Aegon VI Targaryen Rhaenys Targaryen
action filter_type
action find
entity Elia Martell
relation child
type fictional humanoid
['Elia Martell', 'child', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { resource:Elia_Martell property:child ?v . ?v rdf:type ontology:fictional_humanoid }
[]