Simple Question (Direct)
Simple Question
Q11770219
P21
Q290
USER
Which sex does Mariusz Stoppel have ?
(Q11770219,P21,c(Q290))
action filter_type
action find
entity Q11770219
relation P21
type Q290
['Q11770219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q11770219 property:P21 ?i }
Mariusz Stoppel
action filter_type
action find
entity Mariusz Stoppel
relation gender
type sex
['Mariusz Stoppel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Mariusz_Stoppel property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11770219,P21,c(Q290))
action filter_type
action find
entity Q11770219
relation P21
type Q290
Mariusz Stoppel has a [ANSWER]
['Q11770219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q11770219 property:P21 ?i }
male
Mariusz Stoppel has a male
male
action filter_type
action find
entity Mariusz Stoppel
relation gender
type sex
['Mariusz Stoppel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Mariusz_Stoppel property:gender ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11770219
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11770219
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11770219 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Mariusz Stoppel
action filter_type
action find
entity Mariusz Stoppel
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Mariusz_Stoppel property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q49757 Q10873124
SYSTEM
poet, chess player
Q49757 Q10873124
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11770219
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q11770219 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
poet chess player
The professions of that person are the poet and chess player
poet chess player
action filter_type
action find
entity Mariusz Stoppel
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Mariusz_Stoppel property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11770219
P19
Q486972
USER
Which human settlement was that person born in ?
(Q49757,P19,c(Q486972)) (Q10873124,P19,c(Q486972))
action filter_type
action find
entity Q11770219
relation P19
type Q486972
['Q49757', 'P19', {'concept': 'Q486972'}] ['Q10873124', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q11770219 property:P19 ?q . ?q rdf:type ontology:Q486972 }
Mariusz Stoppel
action filter_type
action find
entity Mariusz Stoppel
relation place of birth
type human settlement
['poet', 'place of birth', {'concept': 'human settlement'}] ['chess player', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Mariusz_Stoppel property:place_of_birth ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q41252
SYSTEM
Bydgoszcz
Q41252
(Q49757,P19,c(Q486972)) (Q10873124,P19,c(Q486972))
action filter_type
action find
entity Q11770219
relation P19
type Q486972
That person was born in [ANSWER]
['Q49757', 'P19', {'concept': 'Q486972'}] ['Q10873124', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q11770219 property:P19 ?q . ?q rdf:type ontology:Q486972 }
Bydgoszcz
That person was born in Bydgoszcz
Bydgoszcz
action filter_type
action find
entity Mariusz Stoppel
relation place of birth
type human settlement
['poet', 'place of birth', {'concept': 'human settlement'}] ['chess player', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Mariusz_Stoppel property:place_of_birth ?q . ?q rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q41252 Q36
P17
Q15617994
USER
Is Bydgoszcz a part of Poland ?
(Q41252,P17,Q36)
action is_in
entity Q36
action find
entity Q41252
relation P17
['Q41252', 'P17', 'Q36']
ASK WHERE { resource:Q41252 property:P17 resource:Q36 }
Bydgoszcz Poland
action is_in
entity Poland
action find
entity Bydgoszcz
relation country
['Bydgoszcz', 'country', 'Poland']
ASK WHERE { resource:Bydgoszcz property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q41252,P17,Q36)
action is_in
entity Q36
action find
entity Q41252
relation P17
[ANSWER]
['Q41252', 'P17', 'Q36']
ASK WHERE { resource:Q41252 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Bydgoszcz
relation country
['Bydgoszcz', 'country', 'Poland']
ASK WHERE { resource:Bydgoszcz property:country resource:Poland }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q39631
P921
Q12737077 Q386724 Q2342494
USER
How many occupations were the main subjects in the work approximately the same number of works and collectables as physician ?
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P921
type Q386724
type Q2342494
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { VALUES ( ?m ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?u rdf:type ?m } GROUP BY ?q } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q386724 ) } } . ?e property:P921 resource:Q39631 } } }
physician
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity physician
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { VALUES ( ?m ) { ( ontology:work ) ( ontology:collectable ) } . ?u rdf:type ?m } GROUP BY ?q } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:work ) } } . ?e property:main_subject resource:physician } } }
[]
occupation work collectable
SYSTEM
4
Q39631 Q11631 Q937857 Q9402
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P921
type Q386724
type Q2342494
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { VALUES ( ?m ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?u rdf:type ?m } GROUP BY ?q } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q386724 ) } } . ?e property:P921 resource:Q39631 } } }
physician astronaut association football player ninja
4
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity physician
relation main subject
type work
type collectable
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?q WHERE { VALUES ( ?m ) { ( ontology:work ) ( ontology:collectable ) } . ?u rdf:type ?m } GROUP BY ?q } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:work ) } } . ?e property:main_subject resource:physician } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41252
P190
Q56061
USER
Which administrative territories are twin cities of Bydgoszcz ?
(Q41252,P190,c(Q56061))
action filter_type
action find
entity Q41252
relation P190
type Q56061
['Q41252', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q41252 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Bydgoszcz
action filter_type
action find
entity Bydgoszcz
relation sister city
type administrative territorial entity
['Bydgoszcz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bydgoszcz property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13360 Q133123 Q33486
SYSTEM
Reggio Emilia, Patras, Hartford
Q13360 Q203000 Q133123 Q486282 Q33486
(Q41252,P190,c(Q56061))
action filter_type
action find
entity Q41252
relation P190
type Q56061
[ANSWERS] are twin cities of Bydgoszcz
['Q41252', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q41252 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Reggio Emilia Perth Patras Pavlodar Hartford
Reggio Emilia, Patras and Hartford are twin cities of Bydgoszcz
Reggio Emilia Patras Hartford
action filter_type
action find
entity Bydgoszcz
relation sister city
type administrative territorial entity
['Bydgoszcz', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Bydgoszcz property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q13360 Q133123 Q33486
P20
Q502895
USER
Which people have Reggio Emilia, Patras and Hartford as the area of death ?
(c(Q502895),P20,Q13360) (c(Q502895),P20,Q133123) (c(Q502895),P20,Q33486)
action union
action filter_type
action find_reverse
entity Q13360
relation P20
type Q502895
action filter_type
action find_reverse
entity Q133123
relation P20
type Q502895
action filter_type
action find_reverse
entity Q33486
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q13360'] [{'concept': 'Q502895'}, 'P20', 'Q133123'] [{'concept': 'Q502895'}, 'P20', 'Q33486']
SELECT DISTINCT ?w WHERE { { ?w property:P20 resource:Q13360 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P20 resource:Q133123 . ?w rdf:type ontology:Q502895 } }
Reggio Emilia Patras Hartford
action union
action filter_type
action find_reverse
entity Reggio Emilia
relation place of death
type common name
action filter_type
action find_reverse
entity Patras
relation place of death
type common name
action filter_type
action find_reverse
entity Hartford
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Reggio Emilia'] [{'concept': 'common name'}, 'place of death', 'Patras'] [{'concept': 'common name'}, 'place of death', 'Hartford']
SELECT DISTINCT ?w WHERE { { ?w property:place_of_death resource:Reggio_Emilia . ?w rdf:type ontology:common_name } UNION { ?w property:place_of_death resource:Patras . ?w rdf:type ontology:common_name } }
[]
common name
Q102513 Q166835 Q817367
SYSTEM
Harriet Beecher Stowe, Wallace Stevens, Benizelos Rouphos
Q3734003 Q17298404 Q15411289 Q1536897 Q868517 Q639586 Q3762634 Q3830547 Q3960855 Q23309318 Q1110349 Q3724204 Q17992946 Q20953780 Q3659552 Q3731914 Q3620032 Q22069582 Q3849145 Q3733947 Q3770574 Q641914 Q16943425 Q3733955 Q3870417 Q3616951 Q3924131 Q17992293 Q777858 Q3725183 Q3726105 Q988860 Q19614733 Q3764580 Q3958219 Q319557 Q19614742 Q19984692 Q2939273 Q4003021 Q892145 Q3904244 Q18812279 Q3897187 Q1870191 Q17991849 Q3736378 Q3266449 Q2275879 Q3619880 Q3680198 Q353428 Q3606750 Q3620225 Q1876394 Q3745304 Q716773 Q21832745 Q3756938 Q3866005 Q745578 Q3382684 Q869276 Q1134183 Q3645783 Q3840169 Q4422142 Q20140367 Q3659084 Q16557540 Q3956040 Q822891 Q16268420 Q20007343 Q3938739 Q18418148 Q18811826 Q332335 Q3835640 Q3694212 Q3388169 Q3765253 Q16268833 Q3858853 Q3764752 Q2056095 Q3770984 Q3617279 Q3092596 Q3619387 Q3756941 Q3606801 Q21278908 Q3659466 Q3611144 Q3608986 Q4065904 Q19753578 Q20100661 Q5548435 Q1226001 Q817367 Q7687601 Q4813220 Q16893277 Q2416778 Q766385 Q7129852 Q5648628 Q5279387 Q5277567 Q3341828 Q12878331 Q12879635 Q3556516 Q4751921 Q6062008 Q712787 Q12884138 Q374700 Q552391 Q5113564 Q16327514 Q43399 Q16327145 Q1225979 Q4777101 Q13638378 Q7581784 Q1672991 Q883998 Q15995681 Q2418680 Q302111 Q4019051 Q6833153 Q529696 Q5039992 Q5361779 Q183246 Q4722698 Q612192 Q7328682 Q7791992 Q2919697 Q6761108 Q1687546 Q6783576 Q1708072 Q275600 Q1700405 Q32971 Q5364848 Q8014862 Q6285151 Q1441508 Q883181 Q5481792 Q5542073 Q723547 Q22815194 Q5353726 Q920490 Q17378082 Q1258994 Q955083 Q4678917 Q1665116 Q16010290 Q884367 Q5077048 Q22639414 Q6145738 Q885448 Q12026193 Q2031491 Q5560493 Q27230873 Q1607431 Q884612 Q5600837 Q6209265 Q1353934 Q1443095 Q5541013 Q1686911 Q3356618 Q5735720 Q1680279 Q20871048 Q451912 Q5545126 Q2835533 Q3887760 Q983339 Q1606562 Q1740154 Q951077 Q1549474 Q5083505 Q457286 Q2303939 Q2060973 Q2419126 Q7327534 Q5539413 Q5495780 Q8006911 Q3229673 Q330273 Q6287524 Q1388494 Q1703100 Q258346 Q885188 Q4013025 Q1767209 Q705540 Q5726214 Q10577372 Q1508656 Q18911998 Q2579639 Q534881 Q888580 Q2578591 Q1282848 Q166835 Q15079782 Q16065336 Q19837961 Q13415263 Q6135478 Q1704058 Q5132000 Q3773543 Q1701624 Q884057 Q952614 Q1937373 Q5909019 Q1740412 Q7326832 Q102513 Q1293026 Q881600 Q4143894 Q24257960 Q712484
(c(Q502895),P20,Q13360) (c(Q502895),P20,Q133123) (c(Q502895),P20,Q33486)
action union
action filter_type
action find_reverse
entity Q13360
relation P20
type Q502895
action filter_type
action find_reverse
entity Q133123
relation P20
type Q502895
action filter_type
action find_reverse
entity Q33486
relation P20
type Q502895
[ANSWERS] have Reggio Emilia, Patras and Hartford as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q13360'] [{'concept': 'Q502895'}, 'P20', 'Q133123'] [{'concept': 'Q502895'}, 'P20', 'Q33486']
SELECT DISTINCT ?w WHERE { { ?w property:P20 resource:Q13360 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P20 resource:Q133123 . ?w rdf:type ontology:Q502895 } }
Ettore Sanfelice Alberto Agazzani Prospero Sogari Giovanni Campari Ettore Agazzani Francisco de Borja Gian Francesco Gherardini Leone Tondelli Silvio D'Arzo Leone Carmana Gino Giaroli Emil Klein Guido I da Fogliano Luigi Lusignani Carlo Macchi Ermanno Dossetti Antonio Piccinini Giulio Torresi Mario Tiberini Ettore Giuria Giuseppe Fornaciari Enrico Paoli Severino Taddei Ettore Lindner Nardino Previdi Angelo Davoli Prospero Gallinari Ottorino Bojardi Anglesia Visconti Enea Manfredini Enrico Zambonini Giuseppe Baldi Ugo Benassi Gino Bondavalli Sesto Rocchi Matteo Maria Boiardo Renzo Bonazzi Ivano Davoli Carlo Zucchi Ulderico Levi Bonaventure Corti Pietro Scapinelli Piera Sonnino Pasquino Borghi Lorenzo Bedogni Egidio Anceschi Ezio Galbiati Luigi Ghirri Maria Teresa Cybo-Malaspina, Duchess of Massa Antonio Melandri Claudio Rangoni Giovanni Battista Venturi Agostino Ferrarini Antonio Soda Umberto Cornetti Filippo Re Achille Peri Virginio Mazzelli Gaetano Chierici Mosca dei Lamberti Pier Vittorio Tondelli Pier Martire Armani Stefano Aigotti Giambattista Andreini Bruno Giorgi Luigi Sormani Moretti Giovanna Scopelli Gianfranco Masini Carlo Bisi Franco Reggiani Sergio Borlenghi Bernardino Campi Alfonso Gonzaga Luciano Serra Roberto Dané Giovanni Ghersi Cesare Campioli Ferruccio Tagliavini Livio Spaggiari Corrado Costa Pietro Reverberi Giorgio Andreasi Luigi Tirelli Mirko Andreoli Gino Vasirani Prosper of Reggio Giuseppe Menada Angelo Zanti Felice Romano Antonio Casotti Gaetano Chierici Agostino Paradisi Antonio Luigi Del Buttero Carlo Gualandri Alfonso Cavagnari Alcide Ivan Violi Carlo Andreoli Walter Sacchetti Giovanni Acciaiuoli de Patres Georgios Roufos Dimitrios Tofalos Benizelos Rouphos Tasos Vidouris Athanasios Kanakaris-Roufos Asimakis Charalambis Themistoklis Diakidis Leonidas Tsiklitiras Panagiotis Skagiopoulos Hanmer Warrington Dionysis Diakos Dimitrios Andrikopoulos-Boukaouris Nikos Kachtitsis Ioannis Diakos Konstantinos Giannias Emmanouil Manousogiannakis Anastasios Christopoulos Ioannis Diakidis Mustafa Naima Ranieri di Prato Ilias Miniatis Giannis Gravanis Christos Laskaris Stephanopoulos Dimitrios Andrew Dimitris Sardounis Demetrios Lialios Antonios Antonopoulos Ioannis Zaimis Spyridonas Chrysanthakidis Irmfried Radauer John H. Trumbull William Herbert Corbin Theodore Ryder John Milton Niles Wes Bialosuknia Michael O'Donohue Horton Foote Carl Conrads Elisha K. Root Samuel Colt Alfred Fuller Thomas Hooker Richard Risley Thomas Lynch Henry Barnard Maria Colón Sánchez Jeremiah Wadsworth Mason Fitch Cogswell Joseph Talcott Alice Hamilton John Haynes Alice Cogswell Ellen Gilbert William M. Corry, Jr. Joseph M. Merrow Francis Gillette Henry Roberts Francis M. Bunce George Malcolm-Smith William Chester Minor Anna Adelia Angell Elbert Weinberg Jackie McLean Anthony Hart Harry Shepard Knapp Julius L. Strong Adam Crooks John R. Jewitt Eugene Belisle William W. Ellsworth Charles E. Billings Edythe J. Gaines James Wolfe Ripley Thomas H. Seymour Josef Kalvoda Orpha-F. Deveaux Gil Dobie Charles F. Olney Henry Wilson James L. McConaughy Ernest Cady Joe Coupland Yung Wing Frank Cole Babbitt George J. Mead Loren P. Waldo Francis A. Pratt Herbert T. Levack James Dixon E. Gould Chalker Ella T. Grasso George Thacher Alfred Eckhard Zimmern Ox Baker William Gillette Henry C. Deming Kevin Gray Ivan Brown Herman P. Kopplemann Charles Whittenberg Delia Bacon Gideon Welles Paul Leser Theophilus Eaton Richard M. Brett George Francis Henrechon Fred Lincoln William Closson Leonard Harris Ed Blackwell Joseph Hopkins Twichell William Lyman Jonathan Brace John R. Buck Joseph Trumbull Vince Cazzetta William Leete Harry Porter Joseph J. Fauliso Marietta Canty George Wyllys Selleck Osborn William L. Storrs Ezra Clark, Jr. Morgan Bulkeley William E. Simonds Eddie Jones Wallace Stevens Chauncey Goodrich James Laurie Annie Eliot Trumbull William Hampton Patton James Hammond Trumbull William W. Eaton Cleve Gray Gorham Munson John Russ Everett J. Lake Charles Dudley Warner William B. Franklin Robert K. Killian Thomas Scott Williams Richard Jarvis Harriet Beecher Stowe Edward Miner Gallaudet Isaac Toucey Jacques Gordon Charles Phillips Chipman Thomas Hopkins Gallaudet
Harriet Beecher Stowe, Wallace Stevens and Benizelos Rouphos have Reggio Emilia, Patras and Hartford as the area of death
Harriet Beecher Stowe Wallace Stevens Benizelos Rouphos
action union
action filter_type
action find_reverse
entity Reggio Emilia
relation place of death
type common name
action filter_type
action find_reverse
entity Patras
relation place of death
type common name
action filter_type
action find_reverse
entity Hartford
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Reggio Emilia'] [{'concept': 'common name'}, 'place of death', 'Patras'] [{'concept': 'common name'}, 'place of death', 'Hartford']
SELECT DISTINCT ?w WHERE { { ?w property:place_of_death resource:Reggio_Emilia . ?w rdf:type ontology:common_name } UNION { ?w property:place_of_death resource:Patras . ?w rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q166835
P737
Q502895
USER
Which person was influenced by that one ?
(c(Q502895),P737,Q166835)
action filter_type
action find_reverse
entity Q166835
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q166835']
SELECT DISTINCT ?g WHERE { ?g property:P737 resource:Q166835 . ?g rdf:type ontology:Q502895 }
Wallace Stevens
action filter_type
action find_reverse
entity Wallace Stevens
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Wallace Stevens']
SELECT DISTINCT ?g WHERE { ?g property:influenced_by resource:Wallace_Stevens . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q102513
SYSTEM
Did you mean Harriet Beecher Stowe ?
Q102513 Q166835 Q817367
(c(Q502895),P737,Q102513) (c(Q502895),P737,Q166835) (c(Q502895),P737,Q817367)
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q102513'] [{'concept': 'Q502895'}, 'P737', 'Q166835'] [{'concept': 'Q502895'}, 'P737', 'Q817367']
SELECT DISTINCT ?g WHERE { ?g property:P737 resource:Q166835 . ?g rdf:type ontology:Q502895 }
Harriet Beecher Stowe Wallace Stevens Benizelos Rouphos
Did you mean Harriet Beecher Stowe ?
Harriet Beecher Stowe
[{'concept': 'common name'}, 'influenced by', 'Harriet Beecher Stowe'] [{'concept': 'common name'}, 'influenced by', 'Wallace Stevens'] [{'concept': 'common name'}, 'influenced by', 'Benizelos Rouphos']
SELECT DISTINCT ?g WHERE { ?g property:influenced_by resource:Wallace_Stevens . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Wallace Stevens. Could you tell me the answer for that?
(c(Q502895),P737,Q166835)
Q166835
[{'concept': 'Q502895'}, 'P737', 'Q166835']
[{'concept': 'common name'}, 'influenced by', 'Wallace Stevens']
[]
Q1209000
SYSTEM
Diane Wakoski
Q1209000
(c(Q502895),P737,Q166835)
action filter_type
action find_reverse
entity Q166835
relation P737
type Q502895
[ANSWER] was influenced by that one
[{'concept': 'Q502895'}, 'P737', 'Q166835']
SELECT DISTINCT ?g WHERE { ?g property:P737 resource:Q166835 . ?g rdf:type ontology:Q502895 }
Diane Wakoski
Diane Wakoski was influenced by that one
Diane Wakoski
action filter_type
action find_reverse
entity Wallace Stevens
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Wallace Stevens']
SELECT DISTINCT ?g WHERE { ?g property:influenced_by resource:Wallace_Stevens . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q166835 Q2793
P50
Q223393
USER
How many literary genres were written by Wallace Stevens or Brothers Grimm ?
(c(Q223393),P50,Q166835) (c(Q223393),P50,Q2793)
action count
action union
action filter_type
action find_reverse
entity Q166835
relation P50
type Q223393
action filter_type
action find_reverse
entity Q2793
relation P50
type Q223393
[{'concept': 'Q223393'}, 'P50', 'Q166835'] [{'concept': 'Q223393'}, 'P50', 'Q2793']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?i ) { ( resource:Q166835 ) ( resource:Q2793 ) } . ?p property:P50 ?i }
Wallace Stevens Brothers Grimm
action count
action union
action filter_type
action find_reverse
entity Wallace Stevens
relation author
type literary genre
action filter_type
action find_reverse
entity Brothers Grimm
relation author
type literary genre
[{'concept': 'literary genre'}, 'author', 'Wallace Stevens'] [{'concept': 'literary genre'}, 'author', 'Brothers Grimm']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?i ) { ( resource:Wallace_Stevens ) ( resource:Brothers_Grimm ) } . ?p property:author ?i }
[]
literary genre
SYSTEM
5
Q11829 Q542305 Q322188 Q11831 Q832559
(c(Q223393),P50,Q166835) (c(Q223393),P50,Q2793)
action count
action union
action filter_type
action find_reverse
entity Q166835
relation P50
type Q223393
action filter_type
action find_reverse
entity Q2793
relation P50
type Q223393
[ANSWER]
[{'concept': 'Q223393'}, 'P50', 'Q166835'] [{'concept': 'Q223393'}, 'P50', 'Q2793']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?i ) { ( resource:Q166835 ) ( resource:Q2793 ) } . ?p property:P50 ?i }
Hansel and Gretel The Goose Girl Rumpelstiltskin Snow White The Wedding of Mrs. Fox
5
action count
action union
action filter_type
action find_reverse
entity Wallace Stevens
relation author
type literary genre
action filter_type
action find_reverse
entity Brothers Grimm
relation author
type literary genre
[{'concept': 'literary genre'}, 'author', 'Wallace Stevens'] [{'concept': 'literary genre'}, 'author', 'Brothers Grimm']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { VALUES ( ?i ) { ( resource:Wallace_Stevens ) ( resource:Brothers_Grimm ) } . ?p property:author ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q865021
P206
Q15324 Q1267889 Q56061
USER
How many administrative territories are located nearby greater number of bodies of water and waterways than Birchington-on-Sea ?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q865021
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q865021 property:P206 ?i } } . FILTER ( ?g > ?l ) }
Birchington-on-Sea
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Birchington-on-Sea
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Birchington-on-Sea property:located_next_to_body_of_water ?i } } . FILTER ( ?g > ?l ) }
[]
body of water waterway administrative territorial entity
SYSTEM
5
Q9911 Q831527 Q60 Q18419 Q3825
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q865021
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q865021 property:P206 ?i } } . FILTER ( ?g > ?l ) }
Den Helder Djurgården New York City Brooklyn Libreville
5
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Birchington-on-Sea
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Birchington-on-Sea property:located_next_to_body_of_water ?i } } . FILTER ( ?g > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14205508
P206
Q15324 Q1267889 Q56061
USER
And how about Barra de Potosí?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q14205508
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q14205508 property:P206 ?c . { { ?c rdf:type ontology:Q1267889 } UNION { ?c rdf:type ontology:Q15324 } } } } . FILTER ( ?u > ?n ) }
Barra de Potosí
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Barra de Potosí
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Barra_de_Potosí property:located_next_to_body_of_water ?c . { { ?c rdf:type ontology:waterway } UNION { ?c rdf:type ontology:body_of_water } } } } . FILTER ( ?u > ?n ) }
[]
body of water waterway administrative territorial entity
SYSTEM
145
Q12273 Q3818 Q770885 Q4083209 Q501661 Q501744 Q1939468 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q105342 Q1757 Q1754 Q47048 Q985587 Q501090 Q1113813 Q34820 Q991661 Q11901685 Q2060910 Q2921491 Q15981916 Q1335 Q28721 Q9911 Q6465685 Q41295 Q2861 Q37133 Q207998 Q3792 Q52437 Q2598092 Q2983392 Q463937 Q3630 Q334 Q12994 Q282461 Q35178 Q4119405 Q1563 Q991274 Q3299785 Q9536 Q849441 Q15068816 Q10707890 Q3947670 Q2229853 Q969531 Q851034 Q3595479 Q3398922 Q614919 Q36281 Q1000107 Q1442470 Q21060 Q2021057 Q831527 Q200036 Q517053 Q60 Q39178 Q2684898 Q9310 Q1052027 Q1874 Q837211 Q239496 Q959 Q3932309 Q2745332 Q213707 Q1770 Q41699 Q425786 Q938379 Q18419 Q227064 Q2893117 Q7314172 Q840867 Q133123 Q986387 Q3825 Q865021 Q2238911 Q1330853 Q5379235 Q25230 Q10690 Q5926907 Q16953999 Q724394 Q4347874 Q36526 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q1160017 Q2928585 Q79716 Q930204 Q10313 Q990130 Q368275 Q79848 Q2413248 Q34692 Q913649 Q585 Q220 Q2729387 Q176749 Q100 Q11873187 Q36262 Q569080 Q18386455 Q3932 Q1025353 Q1572113 Q683125 Q2978763 Q36600 Q36168 Q743521 Q1807728 Q11901258 Q446232 Q41547 Q1552720 Q505601 Q991400 Q1758944
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q14205508
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q14205508 property:P206 ?c . { { ?c rdf:type ontology:Q1267889 } UNION { ?c rdf:type ontology:Q15324 } } } } . FILTER ( ?u > ?n ) }
Gijón Malabo Bergen aan Zee Seymour Arm Schleswig Alert Paravur Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Bolshoy Kamen Helsinki Stockholm Oulu Lee-on-the-Solent Castro Urdiales Come By Chance, Newfoundland and Labrador Santo Domingo Callantsoog Virkkula Fuvahmulah Katwijk aan Zee El Sargento Montevideo Beeston Regis Den Helder La Ventana Basseterre Rostock Mariupol Fethiye Lomé Murano Shorne Colliers Saint Thomas Jakarta Singapore Bruges IJmuiden Kuwait City Nabih Saleh Havana Kalamos Halat Nuaim Bad Doberan Saint John Norris Arm Olhava San Mauro Mare Velsen-Noord Monster San Leandro Andrott Y Felinheli Atokos Roseau Kijkduin Santoña Ouddorp Hindersön Djurgården Volos De Koog New York City Port of Spain Ter Heijde Dili Cayo Largo del Sur Odessa Scheveningen Sheringham Vladivostok Nieuw-Haamstede Villa Las Estrellas Grímsey Tallinn Castries 's-Gravenzande Samarai Brooklyn Zoutelande Beit Ummar Reposaari Rudnaya Pristan Patras Cárdenas Libreville Birchington-on-Sea Kumta Vilsandi Ennore Guernsey Cardiff Hubbards, Nova Scotia Daloloia Group Poros Emäsalo Port Moresby Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Perim Burnt Islands, Newfoundland and Labrador Whittier Wells-next-the-Sea Donostia/San Sebastián Hook of Holland Spetses Southampton Cayo Romano Kingston Wijk aan Zee Oslo Rome Huisduinen Villingili Boston Kuivaniemi St. John's Koipsi Canoe Island São Tomé Cadzand-Bad Útila Ustronie Morskie Clearwater Beach The Hague Bridgetown Scarborough Samhah Vihiluoto Petten St. George's Guanaja Wassenaar Puerto Barrios Rottumeroog
145
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Barra de Potosí
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Barra_de_Potosí property:located_next_to_body_of_water ?c . { { ?c rdf:type ontology:waterway } UNION { ?c rdf:type ontology:body_of_water } } } } . FILTER ( ?u > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102513
P53
Q8436
USER
What dynasty does Harriet Beecher Stowe belong to ?
(Q102513,P53,c(Q8436))
action filter_type
action find
entity Q102513
relation P53
type Q8436
['Q102513', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?o WHERE { resource:Q102513 property:P53 ?o . ?o rdf:type ontology:Q8436 }
Harriet Beecher Stowe
action filter_type
action find
entity Harriet Beecher Stowe
relation noble family
type family
['Harriet Beecher Stowe', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?o WHERE { resource:Harriet_Beecher_Stowe property:noble_family ?o . ?o rdf:type ontology:family }
[]
family
Q4879644
SYSTEM
Beecher family
Q4879644
(Q102513,P53,c(Q8436))
action filter_type
action find
entity Q102513
relation P53
type Q8436
Harriet Beecher Stowe belongs to [ANSWER]
['Q102513', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?o WHERE { resource:Q102513 property:P53 ?o . ?o rdf:type ontology:Q8436 }
Beecher family
Harriet Beecher Stowe belongs to Beecher family
Beecher family
action filter_type
action find
entity Harriet Beecher Stowe
relation noble family
type family
['Harriet Beecher Stowe', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?o WHERE { resource:Harriet_Beecher_Stowe property:noble_family ?o . ?o rdf:type ontology:family }
[]