Simple Question (Direct)
Simple Question
Q364295
P734
Q82799
USER
Who has the surname Spud Webb ?
(Q364295,P734,c(Q82799))
action filter_type
action find
entity Q364295
relation P734
type Q82799
['Q364295', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q364295 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Spud Webb
action filter_type
action find
entity Spud Webb
relation family name
type name
['Spud Webb', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Spud_Webb property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q2553367
SYSTEM
Webb
Q2553367
(Q364295,P734,c(Q82799))
action filter_type
action find
entity Q364295
relation P734
type Q82799
[ANSWER] has the surname Spud [ANSWER]
['Q364295', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q364295 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Webb
Webb has the surname Spud Webb
Webb
action filter_type
action find
entity Spud Webb
relation family name
type name
['Spud Webb', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Spud_Webb property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q364295
P106
Q12737077
USER
What does that person do for a living ?
(Q2553367,P106,c(Q12737077))
action filter_type
action find
entity Q364295
relation P106
type Q12737077
['Q2553367', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q364295 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Spud Webb
action filter_type
action find
entity Spud Webb
relation occupation
type occupation
['Webb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Spud_Webb property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q2553367,P106,c(Q12737077))
action filter_type
action find
entity Q364295
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q2553367', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q364295 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
basketball player
That person does a basketball player for a living
basketball player
action filter_type
action find
entity Spud Webb
relation occupation
type occupation
['Webb', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Spud_Webb property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q234460 Q15961987 Q502895
USER
Which people are featured in min number of texts or television genres ?
(c(Q502895),P1441,c(Q234460)|c(Q15961987))
action argmin
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?y ) WHERE { { ?f property:P1441 ?s . ?s rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P1441 ?s . ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q234460 } } GROUP BY ?f } } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?t ) WHERE { { ?v property:P1441 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 } UNION { ?v property:P1441 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15961987 } } GROUP BY ?v } }
action argmin
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?y ) WHERE { { ?f property:present_in_work ?s . ?s rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } UNION { ?f property:present_in_work ?s . ?f rdf:type ontology:common_name . ?s rdf:type ontology:text } } GROUP BY ?f } } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?t ) WHERE { { ?v property:present_in_work ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:text } UNION { ?v property:present_in_work ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:television_genre } } GROUP BY ?v } }
[]
text television genre common name
Q17457 Q110436 Q270438
SYSTEM
Donald Knuth, Cory Doctorow, Charles of Valois
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q3259530 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q550255 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q264699 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q234460)|c(Q15961987))
action argmin
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
[ANSWERS] are featured in min number of texts or television genres
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?y ) WHERE { { ?f property:P1441 ?s . ?s rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P1441 ?s . ?f rdf:type ontology:Q502895 . ?s rdf:type ontology:Q234460 } } GROUP BY ?f } } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?t ) WHERE { { ?v property:P1441 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q234460 } UNION { ?v property:P1441 ?o . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15961987 } } GROUP BY ?v } }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Loretta Jones Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand J. William Fulbright Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Wil Wheaton Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
Donald Knuth, Cory Doctorow and Charles of Valois are featured in min number of texts or television genres
Donald Knuth Cory Doctorow Charles of Valois
action argmin
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?y ) WHERE { { ?f property:present_in_work ?s . ?s rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } UNION { ?f property:present_in_work ?s . ?f rdf:type ontology:common_name . ?s rdf:type ontology:text } } GROUP BY ?f } } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?t ) WHERE { { ?v property:present_in_work ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:text } UNION { ?v property:present_in_work ?o . ?v rdf:type ontology:common_name . ?o rdf:type ontology:television_genre } } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270438
P22
Q502895
USER
Who are the offspring of Charles of Valois ?
(c(Q502895),P22,Q270438)
action filter_type
action find_reverse
entity Q270438
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q270438']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q270438 }
Charles of Valois
action filter_type
action find_reverse
entity Charles of Valois
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles of Valois']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Charles_of_Valois }
[]
common name
Q237501 Q170586 Q1384129
SYSTEM
Blanche of Valois, Philip VI of France, Charles II, Count of Alençon
Q3087225 Q1034017 Q237501 Q2363495 Q916305 Q768737 Q170586 Q772606 Q3263567 Q1384129 Q260269
(c(Q502895),P22,Q270438)
action filter_type
action find_reverse
entity Q270438
relation P22
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q270438']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q270438 }
Joan of Valois, Countess of Beaumont Margaret of Valois, Countess of Blois Blanche of Valois Isabella of Valois, Duchess of Bourbon Joan of Valois, Countess of Hainaut Marie of Valois, Duchess of Calabria Philip VI of France Isabelle of Valois, Duchess of Brittany Lluís de Valois Charles II, Count of Alençon Catherine of Valois
The offspring of Charles of Valois are Queen Blanche of Valois, Philip VI of France and Charles II, Count of Alençon
Blanche of Valois Philip VI of France Charles II, Count of Alençon
action filter_type
action find_reverse
entity Charles of Valois
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles of Valois']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Charles_of_Valois }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q237501 Q170586 Q1384129
P25
Q502895
USER
Who were the mom of those ones ?
(Q237501,P25,c(Q502895)) (Q170586,P25,c(Q502895)) (Q1384129,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
['Q237501', 'P25', {'concept': 'Q502895'}] ['Q170586', 'P25', {'concept': 'Q502895'}] ['Q1384129', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?c property:P25 ?o . ?o rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q3087225 ) ( resource:Q1034017 ) ( resource:Q237501 ) } }
Blanche of Valois Philip VI of France Charles II, Count of Alençon
action filter_type
action find
entity prev_answer
relation mother
type common name
['Blanche of Valois', 'mother', {'concept': 'common name'}] ['Philip VI of France', 'mother', {'concept': 'common name'}] ['Charles II, Count of Alençon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?c property:mother ?o . ?o rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Joan_of_Valois,_Countess_of_Beaumont ) ( resource:Margaret_of_Valois,_Countess_of_Blois ) ( resource:Blanche_of_Valois ) } }
[]
common name
Q656859 Q241350 Q241350
SYSTEM
Mahaut of Châtillon for 1st, Margaret, Countess of Anjou for 2nd, 3rd
Q656859 Q241350 Q241350
(Q237501,P25,c(Q502895)) (Q170586,P25,c(Q502895)) (Q1384129,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
[ANSWERS]
['Q237501', 'P25', {'concept': 'Q502895'}] ['Q170586', 'P25', {'concept': 'Q502895'}] ['Q1384129', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?c property:P25 ?o . ?o rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q3087225 ) ( resource:Q1034017 ) ( resource:Q237501 ) } }
Mahaut of Châtillon Margaret, Countess of Anjou Margaret, Countess of Anjou
The mom of those ones were the Mahaut of Châtillon, Margaret, Countess of Anjou and Margaret, Countess of Anjou
Mahaut of Châtillon Margaret, Countess of Anjou Margaret, Countess of Anjou
action filter_type
action find
entity prev_answer
relation mother
type common name
['Blanche of Valois', 'mother', {'concept': 'common name'}] ['Philip VI of France', 'mother', {'concept': 'common name'}] ['Charles II, Count of Alençon', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?c property:mother ?o . ?o rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Joan_of_Valois,_Countess_of_Beaumont ) ( resource:Margaret_of_Valois,_Countess_of_Blois ) ( resource:Blanche_of_Valois ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270438
P9
Q502895
USER
Who are Charles of Valois a sibling of ?
(Q270438,P9,c(Q502895))
action filter_type
action find
entity Q270438
relation P9
type Q502895
['Q270438', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q270438 property:P9 ?m }
Charles of Valois
action filter_type
action find
entity Charles of Valois
relation sister
type common name
['Charles of Valois', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Charles_of_Valois property:sister ?m }
[]
common name
Q455035 Q235480
SYSTEM
Blanche of France, Duchess of Austria, Margaret of France, Queen of England
Q455035 Q235480
(Q270438,P9,c(Q502895))
action filter_type
action find
entity Q270438
relation P9
type Q502895
[ANSWERS]
['Q270438', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q270438 property:P9 ?m }
Blanche of France, Duchess of Austria Margaret of France, Queen of England
Blanche of France, Duchess of Austria and Margaret of France, Queen of England are Charles of Valois a sibling of
Blanche of France, Duchess of Austria Margaret of France, Queen of England
action filter_type
action find
entity Charles of Valois
relation sister
type common name
['Charles of Valois', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Charles_of_Valois property:sister ?m }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q270438
P9
Q502895
USER
Do Charles of Valois have those ones as their sibling ?
(Q270438,P9,Q455035) (Q270438,P9,Q235480)
action is_in
entity prev_answer
action find
entity Q270438
relation P9
['Q270438', 'P9', 'Q455035'] ['Q270438', 'P9', 'Q235480']
ASK WHERE { resource:Q270438 property:P9 ?m . VALUES ( ?m ) { ( resource:Q455035 ) ( resource:Q235480 ) } }
Charles of Valois
action is_in
entity prev_answer
action find
entity Charles of Valois
relation sister
['Charles of Valois', 'sister', 'Blanche of France, Duchess of Austria'] ['Charles of Valois', 'sister', 'Margaret of France, Queen of England']
ASK WHERE { resource:Charles_of_Valois property:sister ?m . VALUES ( ?m ) { ( resource:Blanche_of_France,_Duchess_of_Austria ) ( resource:Margaret_of_France,_Queen_of_England ) } }
[]
common name
SYSTEM
YES
(Q270438,P9,Q455035) (Q270438,P9,Q235480)
action is_in
entity prev_answer
action find
entity Q270438
relation P9
[ANSWER]
['Q270438', 'P9', 'Q455035'] ['Q270438', 'P9', 'Q235480']
ASK WHERE { resource:Q270438 property:P9 ?m . VALUES ( ?m ) { ( resource:Q455035 ) ( resource:Q235480 ) } }
Yes
action is_in
entity prev_answer
action find
entity Charles of Valois
relation sister
['Charles of Valois', 'sister', 'Blanche of France, Duchess of Austria'] ['Charles of Valois', 'sister', 'Margaret of France, Queen of England']
ASK WHERE { resource:Charles_of_Valois property:sister ?m . VALUES ( ?m ) { ( resource:Blanche_of_France,_Duchess_of_Austria ) ( resource:Margaret_of_France,_Queen_of_England ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q656859 Q6654925
P25
Q502895
USER
Was Marie of Brittany, Countess of Saint-Pol the mom of Mahaut of Châtillon ?
(Q656859,P25,Q6654925)
action is_in
entity Q6654925
action find
entity Q656859
relation P25
['Q656859', 'P25', 'Q6654925']
ASK WHERE { resource:Q656859 property:P25 resource:Q6654925 }
Mahaut of Châtillon Marie of Brittany, Countess of Saint-Pol
action is_in
entity Marie of Brittany, Countess of Saint-Pol
action find
entity Mahaut of Châtillon
relation mother
['Mahaut of Châtillon', 'mother', 'Marie of Brittany, Countess of Saint-Pol']
ASK WHERE { resource:Mahaut_of_Châtillon property:mother resource:Marie_of_Brittany,_Countess_of_Saint-Pol }
[]
common name
SYSTEM
YES
(Q656859,P25,Q6654925)
action is_in
entity Q6654925
action find
entity Q656859
relation P25
[ANSWER]
['Q656859', 'P25', 'Q6654925']
ASK WHERE { resource:Q656859 property:P25 resource:Q6654925 }
Yes
action is_in
entity Marie of Brittany, Countess of Saint-Pol
action find
entity Mahaut of Châtillon
relation mother
['Mahaut of Châtillon', 'mother', 'Marie of Brittany, Countess of Saint-Pol']
ASK WHERE { resource:Mahaut_of_Châtillon property:mother resource:Marie_of_Brittany,_Countess_of_Saint-Pol }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q110436 Q266012
P1411
Q618779
USER
Does Cory Doctorow have Nebula Award for Best Novel ?
(Q110436,P1411,Q266012)
action is_in
entity Q266012
action find
entity Q110436
relation P1411
['Q110436', 'P1411', 'Q266012']
ASK WHERE { resource:Q110436 property:P1411 resource:Q266012 }
Cory Doctorow Nebula Award for Best Novel
action is_in
entity Nebula Award for Best Novel
action find
entity Cory Doctorow
relation nominated for
['Cory Doctorow', 'nominated for', 'Nebula Award for Best Novel']
ASK WHERE { resource:Cory_Doctorow property:nominated_for resource:Nebula_Award_for_Best_Novel }
[]
award
SYSTEM
YES
(Q110436,P1411,Q266012)
action is_in
entity Q266012
action find
entity Q110436
relation P1411
[ANSWER]
['Q110436', 'P1411', 'Q266012']
ASK WHERE { resource:Q110436 property:P1411 resource:Q266012 }
Yes
action is_in
entity Nebula Award for Best Novel
action find
entity Cory Doctorow
relation nominated for
['Cory Doctorow', 'nominated for', 'Nebula Award for Best Novel']
ASK WHERE { resource:Cory_Doctorow property:nominated_for resource:Nebula_Award_for_Best_Novel }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q656859 Q26189999 Q142
P27
Q15617994
USER
Is Mahaut of Châtillon a native of Cheriton and France ?
(Q656859,P27,Q26189999) (Q656859,P27,Q142)
action is_in
entity Q656859
action intersection
action find_reverse
entity Q26189999
relation P27
action find_reverse
entity Q142
relation P27
['Q656859', 'P27', 'Q26189999'] ['Q656859', 'P27', 'Q142']
ASK WHERE { resource:Q656859 property:P27 resource:Q26189999 . resource:Q656859 property:P27 resource:Q142 }
Mahaut of Châtillon Cheriton France
action is_in
entity Mahaut of Châtillon
action intersection
action find_reverse
entity Cheriton
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Mahaut of Châtillon', 'country of citizenship', 'Cheriton'] ['Mahaut of Châtillon', 'country of citizenship', 'France']
ASK WHERE { resource:Mahaut_of_Châtillon property:country_of_citizenship resource:Cheriton . resource:Mahaut_of_Châtillon property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q656859,P27,Q26189999) (Q656859,P27,Q142)
action is_in
entity Q656859
action intersection
action find_reverse
entity Q26189999
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q656859', 'P27', 'Q26189999'] ['Q656859', 'P27', 'Q142']
ASK WHERE { resource:Q656859 property:P27 resource:Q26189999 . resource:Q656859 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Mahaut of Châtillon
action intersection
action find_reverse
entity Cheriton
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Mahaut of Châtillon', 'country of citizenship', 'Cheriton'] ['Mahaut of Châtillon', 'country of citizenship', 'France']
ASK WHERE { resource:Mahaut_of_Châtillon property:country_of_citizenship resource:Cheriton . resource:Mahaut_of_Châtillon property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q241350 Q184570
P25
Q502895
USER
How many people have Margaret, Countess of Anjou or Iris as mom ?
(c(Q502895),P25,Q241350) (c(Q502895),P25,Q184570)
action count
action union
action filter_type
action find_reverse
entity Q241350
relation P25
type Q502895
action filter_type
action find_reverse
entity Q184570
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q241350'] [{'concept': 'Q502895'}, 'P25', 'Q184570']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P25 resource:Q241350 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P25 resource:Q184570 . ?y rdf:type ontology:Q502895 } }
Margaret, Countess of Anjou Iris
action count
action union
action filter_type
action find_reverse
entity Margaret, Countess of Anjou
relation mother
type common name
action filter_type
action find_reverse
entity Iris
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margaret, Countess of Anjou'] [{'concept': 'common name'}, 'mother', 'Iris']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:mother resource:Margaret,_Countess_of_Anjou . ?y rdf:type ontology:common_name } UNION { ?y property:mother resource:Iris . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q916305 Q170586 Q1384129 Q772606 Q1034017
(c(Q502895),P25,Q241350) (c(Q502895),P25,Q184570)
action count
action union
action filter_type
action find_reverse
entity Q241350
relation P25
type Q502895
action filter_type
action find_reverse
entity Q184570
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q241350'] [{'concept': 'Q502895'}, 'P25', 'Q184570']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P25 resource:Q241350 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P25 resource:Q184570 . ?y rdf:type ontology:Q502895 } }
Joan of Valois, Countess of Hainaut Philip VI of France Charles II, Count of Alençon Isabelle of Valois, Duchess of Brittany Margaret of Valois, Countess of Blois
5
action count
action union
action filter_type
action find_reverse
entity Margaret, Countess of Anjou
relation mother
type common name
action filter_type
action find_reverse
entity Iris
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Margaret, Countess of Anjou'] [{'concept': 'common name'}, 'mother', 'Iris']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:mother resource:Margaret,_Countess_of_Anjou . ?y rdf:type ontology:common_name } UNION { ?y property:mother resource:Iris . ?y rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q583814 Q656859
P27
Q15617994
USER
Which administrative territories do Mahaut of Châtillon or Ricardo Piglia belong to ?
OR((Q656859,P27,c(Q15617994)), (Q583814,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q656859
relation P27
action find
entity Q583814
relation P27
type Q15617994
{'OR': [['Q656859', 'P27', {'concept': 'Q15617994'}], ['Q583814', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q656859 property:P27 ?a } UNION { resource:Q583814 property:P27 ?a } } }
Ricardo Piglia Mahaut of Châtillon
action filter_type
action union
action find
entity Mahaut of Châtillon
relation country of citizenship
action find
entity Ricardo Piglia
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mahaut of Châtillon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ricardo Piglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mahaut_of_Châtillon property:country_of_citizenship ?a } UNION { resource:Ricardo_Piglia property:country_of_citizenship ?a } } }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q656859,P27,c(Q15617994)), (Q583814,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q656859
relation P27
action find
entity Q583814
relation P27
type Q15617994
Mahaut of Châtillon or Ricardo Piglia belong to [ANSWERS]
{'OR': [['Q656859', 'P27', {'concept': 'Q15617994'}], ['Q583814', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q656859 property:P27 ?a } UNION { resource:Q583814 property:P27 ?a } } }
France Argentina
Mahaut of Châtillon or Ricardo Piglia belong to France and Argentina
France Argentina
action filter_type
action union
action find
entity Mahaut of Châtillon
relation country of citizenship
action find
entity Ricardo Piglia
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mahaut of Châtillon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ricardo Piglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mahaut_of_Châtillon property:country_of_citizenship ?a } UNION { resource:Ricardo_Piglia property:country_of_citizenship ?a } } }
[]