Simple Question (Direct)
Simple Question
Q5677591
P21
Q290
USER
Which sex does Harvey Shapiro belong to ?
(Q5677591,P21,c(Q290))
action filter_type
action find
entity Q5677591
relation P21
type Q290
['Q5677591', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5677591 property:P21 ?d . ?d rdf:type ontology:Q290 }
Harvey Shapiro
action filter_type
action find
entity Harvey Shapiro
relation gender
type sex
['Harvey Shapiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Harvey_Shapiro property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5677591,P21,c(Q290))
action filter_type
action find
entity Q5677591
relation P21
type Q290
Harvey Shapiro belongs to [ANSWER]
['Q5677591', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q5677591 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Harvey Shapiro belongs to male
male
action filter_type
action find
entity Harvey Shapiro
relation gender
type sex
['Harvey Shapiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Harvey_Shapiro property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5677591
P106
Q12737077
USER
What is the profession of Harvey Shapiro ?
(Q5677591,P106,c(Q12737077))
action filter_type
action find
entity Q5677591
relation P106
type Q12737077
['Q5677591', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5677591 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Harvey Shapiro
action filter_type
action find
entity Harvey Shapiro
relation occupation
type occupation
['Harvey Shapiro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Harvey_Shapiro property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q49757
SYSTEM
poet
Q49757
(Q5677591,P106,c(Q12737077))
action filter_type
action find
entity Q5677591
relation P106
type Q12737077
The profession of Harvey Shapiro is a [ANSWER]
['Q5677591', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5677591 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
poet
The profession of Harvey Shapiro is a poet
poet
action filter_type
action find
entity Harvey Shapiro
relation occupation
type occupation
['Harvey Shapiro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Harvey_Shapiro property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5677591
P166
Q618779
USER
What was received by Harvey Shapiro ?
(Q5677591,P166,c(Q618779))
action filter_type
action find
entity Q5677591
relation P166
type Q618779
['Q5677591', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q5677591 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Harvey Shapiro
action filter_type
action find
entity Harvey Shapiro
relation award received
type award
['Harvey Shapiro', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Harvey_Shapiro property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q1754110
SYSTEM
Distinguished Flying Cross
Q1754110
(Q5677591,P166,c(Q618779))
action filter_type
action find
entity Q5677591
relation P166
type Q618779
The [ANSWER] was received by Harvey Shapiro
['Q5677591', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q5677591 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Distinguished Flying Cross
The Distinguished Flying Cross was received by Harvey Shapiro
Distinguished Flying Cross
action filter_type
action find
entity Harvey Shapiro
relation award received
type award
['Harvey Shapiro', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Harvey_Shapiro property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1754110 Q503703 Q30
P17
Q15617994
USER
Is that award present in Langscheid and United States of America ?
(Q1754110,P17,Q503703) (Q1754110,P17,Q30)
action is_in
entity Q1754110
action intersection
action find_reverse
entity Q503703
relation P17
action find_reverse
entity Q30
relation P17
['Q1754110', 'P17', 'Q503703'] ['Q1754110', 'P17', 'Q30']
ASK WHERE { resource:Q1754110 property:P17 resource:Q503703 . resource:Q1754110 property:P17 resource:Q30 }
Distinguished Flying Cross Langscheid United States of America
action is_in
entity Distinguished Flying Cross
action intersection
action find_reverse
entity Langscheid
relation country
action find_reverse
entity United States of America
relation country
['Distinguished Flying Cross', 'country', 'Langscheid'] ['Distinguished Flying Cross', 'country', 'United States of America']
ASK WHERE { resource:Distinguished_Flying_Cross property:country resource:Langscheid . resource:Distinguished_Flying_Cross property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1754110,P17,Q503703) (Q1754110,P17,Q30)
action is_in
entity Q1754110
action intersection
action find_reverse
entity Q503703
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q1754110', 'P17', 'Q503703'] ['Q1754110', 'P17', 'Q30']
ASK WHERE { resource:Q1754110 property:P17 resource:Q503703 . resource:Q1754110 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Distinguished Flying Cross
action intersection
action find_reverse
entity Langscheid
relation country
action find_reverse
entity United States of America
relation country
['Distinguished Flying Cross', 'country', 'Langscheid'] ['Distinguished Flying Cross', 'country', 'United States of America']
ASK WHERE { resource:Distinguished_Flying_Cross property:country resource:Langscheid . resource:Distinguished_Flying_Cross property:country resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5677591
P69
Q163740
USER
Which nonprofit organizations are the alma mater of Harvey Shapiro ?
(Q5677591,P69,c(Q163740))
action filter_type
action find
entity Q5677591
relation P69
type Q163740
['Q5677591', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q5677591 property:P69 ?i . ?i rdf:type ontology:Q163740 }
Harvey Shapiro
action filter_type
action find
entity Harvey Shapiro
relation educated at
type nonprofit organization
['Harvey Shapiro', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Harvey_Shapiro property:educated_at ?i . ?i rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088 Q49112
SYSTEM
Columbia University, Yale University
Q49088 Q49112
(Q5677591,P69,c(Q163740))
action filter_type
action find
entity Q5677591
relation P69
type Q163740
[ANSWERS] are the alma mater of Harvey Shapiro
['Q5677591', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q5677591 property:P69 ?i . ?i rdf:type ontology:Q163740 }
Columbia University Yale University
Columbia University and Yale University are the alma mater of Harvey Shapiro
Columbia University Yale University
action filter_type
action find
entity Harvey Shapiro
relation educated at
type nonprofit organization
['Harvey Shapiro', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Harvey_Shapiro property:educated_at ?i . ?i rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7422780
Q163740
USER
And how about Sarah Small?
(Q7422780,P69,c(Q163740))
action filter_type
action find
entity Q7422780
relation P69
type Q163740
['Q7422780', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q7422780 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Sarah Small
action filter_type
action find
entity Sarah Small
relation educated at
type nonprofit organization
['Sarah Small', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Sarah_Small property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49208
SYSTEM
Rhode Island School of Design
Q49208
(Q7422780,P69,c(Q163740))
action filter_type
action find
entity Q7422780
relation P69
type Q163740
[ANSWER]
['Q7422780', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q7422780 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Rhode Island School of Design
Rhode Island School of Design
action filter_type
action find
entity Sarah Small
relation educated at
type nonprofit organization
['Sarah Small', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Sarah_Small property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49088
P159
Q170584 Q48204
USER
How many projects and voluntary associations have headquarters located at Columbia University ?
(c(Q170584),P159,Q49088) (c(Q48204),P159,Q49088)
action count
action union
action filter_type
action find_reverse
entity Q49088
relation P159
type Q170584
action filter_type
action find_reverse
entity Q49088
relation P159
type Q48204
[{'concept': 'Q170584'}, 'P159', 'Q49088'] [{'concept': 'Q48204'}, 'P159', 'Q49088']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { ?x property:P159 resource:Q49088 . ?x rdf:type ontology:Q170584 } UNION { ?x property:P159 resource:Q49088 . ?x rdf:type ontology:Q48204 } }
Columbia University
action count
action union
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type project
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type voluntary association
[{'concept': 'project'}, 'headquarters location', 'Columbia University'] [{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { ?x property:headquarters_location resource:Columbia_University . ?x rdf:type ontology:project } UNION { ?x property:headquarters_location resource:Columbia_University . ?x rdf:type ontology:voluntary_association } }
[]
project voluntary association
SYSTEM
1 projects and 1 voluntary associations
Q23760279 Q5149829
(c(Q170584),P159,Q49088) (c(Q48204),P159,Q49088)
action count
action union
action filter_type
action find_reverse
entity Q49088
relation P159
type Q170584
action filter_type
action find_reverse
entity Q49088
relation P159
type Q48204
[ANSWER]
[{'concept': 'Q170584'}, 'P159', 'Q49088'] [{'concept': 'Q48204'}, 'P159', 'Q49088']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { ?x property:P159 resource:Q49088 . ?x rdf:type ontology:Q170584 } UNION { ?x property:P159 resource:Q49088 . ?x rdf:type ontology:Q48204 } }
Open Syllabus Project Columbia Scholastic Press Association
1 projects and 1 voluntary associations
action count
action union
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type project
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type voluntary association
[{'concept': 'project'}, 'headquarters location', 'Columbia University'] [{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University']
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { ?x property:headquarters_location resource:Columbia_University . ?x rdf:type ontology:project } UNION { ?x property:headquarters_location resource:Columbia_University . ?x rdf:type ontology:voluntary_association } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3443652 Q5677591
P27 P17
Q15617994
USER
Which administrative territories are Harvey Shapiro a civilian of or are Tijat located in ?
OR((Q5677591,P27,c(Q15617994)), (Q3443652,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5677591
relation P27
action find
entity Q3443652
relation P17
type Q15617994
{'OR': [['Q5677591', 'P27', {'concept': 'Q15617994'}], ['Q3443652', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q5677591 property:P27 ?o } UNION { resource:Q3443652 property:P17 ?o } } }
Tijat Harvey Shapiro
action filter_type
action union
action find
entity Harvey Shapiro
relation country of citizenship
action find
entity Tijat
relation country
type designation for an administrative territorial entity
{'OR': [['Harvey Shapiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tijat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harvey_Shapiro property:country_of_citizenship ?o } UNION { resource:Tijat property:country ?o } } }
[]
designation for an administrative territorial entity
Q224 Q30
SYSTEM
Croatia, United States of America
Q224 Q30
OR((Q5677591,P27,c(Q15617994)), (Q3443652,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5677591
relation P27
action find
entity Q3443652
relation P17
type Q15617994
[ANSWERS] are Harvey Shapiro a civilian of or are Tijat located in
{'OR': [['Q5677591', 'P27', {'concept': 'Q15617994'}], ['Q3443652', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q5677591 property:P27 ?o } UNION { resource:Q3443652 property:P17 ?o } } }
Croatia United States of America
Croatia and United States of America are Harvey Shapiro a civilian of or are Tijat located in
Croatia United States of America
action filter_type
action union
action find
entity Harvey Shapiro
relation country of citizenship
action find
entity Tijat
relation country
type designation for an administrative territorial entity
{'OR': [['Harvey Shapiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tijat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harvey_Shapiro property:country_of_citizenship ?o } UNION { resource:Tijat property:country ?o } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q224 Q30
P551
Q502895
USER
Which people dwell at Croatia and United States of America ?
(c(Q502895),P551,Q224) (c(Q502895),P551,Q30)
action union
action filter_type
action find_reverse
entity Q224
relation P551
type Q502895
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q224'] [{'concept': 'Q502895'}, 'P551', 'Q30']
SELECT DISTINCT ?y WHERE { VALUES ( ?f ) { ( resource:Q224 ) ( resource:Q30 ) } . ?y property:P551 ?f }
Croatia United States of America
action union
action filter_type
action find_reverse
entity Croatia
relation residence
type common name
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Croatia'] [{'concept': 'common name'}, 'residence', 'United States of America']
SELECT DISTINCT ?y WHERE { VALUES ( ?f ) { ( resource:Croatia ) ( resource:United_States_of_America ) } . ?y property:residence ?f }
[]
common name
Q7085 Q8753 Q48973
SYSTEM
Niels Bohr, Enrico Fermi, Glenn Seaborg
Q6097839 Q14943164 Q21063007 Q1129529 Q111751 Q3770634 Q926054 Q368827 Q21708679 Q373491 Q27808416 Q709148 Q23888163 Q661894 Q1522271 Q11192918 Q2032354 Q5237909 Q4761944 Q447351 Q447351 Q3613906 Q3946212 Q15074339 Q316022 Q3809645 Q961548 Q283123 Q15069933 Q15070040 Q19889136 Q6699941 Q939458 Q15068680 Q1885813 Q1402650 Q16387595 Q15819340 Q3765534 Q15666655 Q322150 Q5936683 Q3436512 Q19828396 Q667095 Q23008424 Q188692 Q530461 Q19876176 Q1143825 Q2259896 Q1331681 Q109559 Q109553 Q41548 Q19799971 Q19938318 Q43179 Q48973 Q7361598 Q377558 Q7217571 Q3383077 Q329630 Q335027 Q1151429 Q7085 Q18592223 Q1426421 Q3638183 Q23888162 Q20720200 Q4013888 Q1939343 Q496994 Q22695397 Q1707912 Q133877 Q23843063 Q115462 Q983643 Q1053255 Q1347418 Q1347418 Q15044073 Q205667 Q3856739 Q5235420 Q171363 Q16186222 Q7915490 Q1364019 Q15057907 Q21929727 Q22926323 Q4717011 Q4711951 Q420322 Q730889 Q468053 Q3839596 Q268166 Q42992 Q3810289 Q18587597 Q6141751 Q18720176 Q505358 Q173028 Q8006910 Q92623 Q9010725 Q706235 Q17455 Q4302801 Q185007 Q205850 Q5998814 Q712851 Q84445 Q299723 Q5257598 Q27210579 Q2719386 Q6424159 Q5671358 Q12885312 Q270662 Q5563216 Q3756604 Q2580510 Q186194 Q186481 Q3742191 Q4011245 Q17481148 Q238983 Q13053091 Q3856162 Q6689774 Q3810278 Q3810279 Q93052 Q4487 Q8753 Q315454 Q4216907 Q2900133 Q10959 Q6790970 Q1183434 Q2066366 Q3611327 Q51492 Q15987799 Q275760 Q3503829 Q1876144 Q16240767 Q3764275 Q16065986 Q3659276 Q3767700 Q3765354 Q3903877 Q1690702 Q323961 Q1375666 Q574810 Q359333
(c(Q502895),P551,Q224) (c(Q502895),P551,Q30)
action union
action filter_type
action find_reverse
entity Q224
relation P551
type Q502895
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[ANSWERS] dwell at Croatia and United States of America
[{'concept': 'Q502895'}, 'P551', 'Q224'] [{'concept': 'Q502895'}, 'P551', 'Q30']
SELECT DISTINCT ?y WHERE { VALUES ( ?f ) { ( resource:Q224 ) ( resource:Q30 ) } . ?y property:P551 ?f }
Ivan Zovko Alain Schneider Kemi Omololu-Olunloyo Conyers Herring Markus Greiner Giuseppe Gardella Mauro Fiore Alfred Polizzi Clara Belle Williams Geno Auriemma Jesus Llevadias Jane Ugo Fano Thanh-Van Tran-Nhut Eduardo Serrano Gian-Carlo Rota John D. Kraus Pietro Belluschi David Nainkin Angana P. Chatterji Paolo Soleri Paolo Soleri Amedeo Obici Salvatore Sabella Pietro Bachi Harry Nyquist John Tartamella Vito Antuofermo Frank Puglia Jean-Marc Pannetier Filippo Traetta Hubert C. Kennedy Luigi Antonini Vincent R. Impellitteri Max Ascoli Pasquale Amato Giuseppe Mario Bellanca Hagop Ishkanian Hans Bauer Giorgio La Piana Saudis in USA Daniel Biasone Josefina Zoraida Vázquez Robert Waelder Gabriel Serrano Federico Faggin Catherine Plaisant Rudolph Valentino David M. Raup Pavel Khodorkovsky Cummings C. Chesney Silvano Arieti Ella Briggs Thomas A. Steitz Renato Dulbecco Antonio Banderas Charan Prabhakar Ana Lucia Araujo Ellen Johnson Sirleaf Glenn Seaborg Roman Borvanov Mario Castelnuovo-Tedesco Mózes Weinberger Pierre-Gabriel Huot Frank Tieri Seymour Papert Dijen K. Ray-Chaudhuri Niels Bohr Michael Biberstein Pietro Yon Beniamino Bufano Kim Tran-Nhut John Edward Winblad Virgilia D'Andrea Alina Fernández Ji Han-jae Karen Khachatrian Joseph Rosati Carlo Tresca Leonardo D'Antoni Fritz Zwicky Constantino Brumidi Lamberto Cesari Joseph Stella Joseph Stella Carlo Bellini Salvador Luria Michele Pane David J. Farber Viggo Mortensen Emilio Palacio Varaz Samuelian Federico Castelluccio Giovanni Turini Antonio Zucca Yenovk Der Hagopian Alex Fox Alberto Bimboni Dina Manfredini Gaetano Salvemini Susan Athey Luigi Donato Ventura Lorenzo Da Ponte Golda Meir Joseph Zerilli Curt Perano Teodoro Aragón Foureaux Nuria Oliver Andrew Viterbi Emilio G. Segrè William Close Jon Postel James Tahhan Albert Anastasia John von Neumann Giuseppina Morlacchi Rita Levi-Montalcini Franco Modigliani Mario Díaz Bencomo Oliver Wallace Pierre Jean Édouard Desor Howard H. Aiken Denis Zivkovic Ali Gholi Khan Michael Snow Ko Mori Carles Reig i Morell James Paris Gian Carlo Menotti Gino Corrado Gabriele Giovanni Mazza Paul Haviland Giorgio de Santillana Riccardo Giacconi Felix Pedro Victor Alfieri Margaret Iaquinto Frances Xavier Cabrini Levon Larents Michael Fiaschetti Lourdes Lopez Joseph Toronto Joseph Tusiani Robert Fano Federico Gamboa Enrico Fermi Luigi Luca Cavalli-Sforza Ramon Castroviejo Piero Maroncelli Ruzena Bajcsy Matthew Michalewicz Nicolás Cabrera Óscar Jaenada Alfredo Antonini Frank Capra Sun Hwan Chung Henry Armetta Sundar Pichai Luigi Chinetti Caspar Bowden Gilda Mignonette George Lethbridge Saunders Charles DeRudio Giovanni Martino Giorgio Cavaglieri Pietro Floridia Joan A. Steitz Felix Silla Robert G. Vignola Henry Eyring Anthony J. Celebrezze
Niels Bohr, Enrico Fermi and Glenn Seaborg dwell at Croatia and United States of America
Niels Bohr Enrico Fermi Glenn Seaborg
action union
action filter_type
action find_reverse
entity Croatia
relation residence
type common name
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Croatia'] [{'concept': 'common name'}, 'residence', 'United States of America']
SELECT DISTINCT ?y WHERE { VALUES ( ?f ) { ( resource:Croatia ) ( resource:United_States_of_America ) } . ?y property:residence ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3443652
P206
Q15324
USER
Which body of water is located next to Tijat ?
(Q3443652,P206,c(Q15324))
action filter_type
action find
entity Q3443652
relation P206
type Q15324
['Q3443652', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15324 . resource:Q3443652 property:P206 ?x }
Tijat
action filter_type
action find
entity Tijat
relation located next to body of water
type body of water
['Tijat', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:body_of_water . resource:Tijat property:located_next_to_body_of_water ?x }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q3443652,P206,c(Q15324))
action filter_type
action find
entity Q3443652
relation P206
type Q15324
[ANSWER] is located next to Tijat
['Q3443652', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15324 . resource:Q3443652 property:P206 ?x }
Adriatic Sea
Adriatic Sea is located next to Tijat
Adriatic Sea
action filter_type
action find
entity Tijat
relation located next to body of water
type body of water
['Tijat', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:body_of_water . resource:Tijat property:located_next_to_body_of_water ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7085
P26
Q502895
USER
Which person has Niels Bohr as spouse ?
(c(Q502895),P26,Q7085)
action filter_type
action find
entity Q7085
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7085']
SELECT DISTINCT ?s WHERE { resource:Q7085 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Niels Bohr
action filter_type
action find
entity Niels Bohr
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Niels Bohr']
SELECT DISTINCT ?s WHERE { resource:Niels_Bohr property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q22231147
SYSTEM
Margrethe Nørlund
Q22231147
(c(Q502895),P26,Q7085)
action filter_type
action find
entity Q7085
relation P26
type Q502895
[ANSWER] has Niels Bohr as spouse
[{'concept': 'Q502895'}, 'P26', 'Q7085']
SELECT DISTINCT ?s WHERE { resource:Q7085 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Margrethe Nørlund
Margrethe Nørlund has Niels Bohr as spouse
Margrethe Nørlund
action filter_type
action find
entity Niels Bohr
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Niels Bohr']
SELECT DISTINCT ?s WHERE { resource:Niels_Bohr property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22231147
P22
Q502895
USER
Which person was the father of that one ?
(Q22231147,P22,c(Q502895))
action filter_type
action find
entity Q22231147
relation P22
type Q502895
['Q22231147', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q22231147 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Margrethe Nørlund
action filter_type
action find
entity Margrethe Nørlund
relation father
type common name
['Margrethe Nørlund', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Margrethe_Nørlund property:father ?w . ?w rdf:type ontology:common_name }
[]
common name
Q22231149
SYSTEM
Alfred Christian Nørlund
Q22231149
(Q22231147,P22,c(Q502895))
action filter_type
action find
entity Q22231147
relation P22
type Q502895
[ANSWER] was the father of that one
['Q22231147', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q22231147 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Alfred Christian Nørlund
Alfred Christian Nørlund was the father of that one
Alfred Christian Nørlund
action filter_type
action find
entity Margrethe Nørlund
relation father
type common name
['Margrethe Nørlund', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Margrethe_Nørlund property:father ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P750
Q838948
USER
Which works of art have United States of America as their distributor ?
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P750 resource:Q30 . ?n rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:distributor resource:United_States_of_America . ?n rdf:type ontology:work_of_art }
[]
work of art
Q1936875 Q5491136
SYSTEM
Dead Birds, Franklin's Magic Christmas
Q1936875 Q5491136
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[ANSWERS] have United States of America as their distributor
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P750 resource:Q30 . ?n rdf:type ontology:Q838948 }
Dead Birds Franklin's Magic Christmas
Dead Birds and Franklin's Magic Christmas have United States of America as their distributor
Dead Birds Franklin's Magic Christmas
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:distributor resource:United_States_of_America . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22231147
P40
Q502895
USER
Who are an offsprings of Margrethe Nørlund ?
(Q22231147,P40,c(Q502895))
action filter_type
action find
entity Q22231147
relation P40
type Q502895
['Q22231147', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q22231147 property:P40 ?j . ?j rdf:type ontology:Q502895 }
Margrethe Nørlund
action filter_type
action find
entity Margrethe Nørlund
relation child
type common name
['Margrethe Nørlund', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Margrethe_Nørlund property:child ?j . ?j rdf:type ontology:common_name }
[]
common name
Q103854 Q4505347 Q12315250
SYSTEM
Aage Niels Bohr, Ernest Bohr, Hans Bohr
Q12310291 Q12315250 Q103854 Q4505347
(Q22231147,P40,c(Q502895))
action filter_type
action find
entity Q22231147
relation P40
type Q502895
An offsprings of Margrethe Nørlund are [ANSWERS]
['Q22231147', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q22231147 property:P40 ?j . ?j rdf:type ontology:Q502895 }
Erik Bohr Hans Bohr Aage Niels Bohr Ernest Bohr
An offsprings of Margrethe Nørlund are Aage Niels Bohr, Ernest Bohr and Hans Bohr
Aage Niels Bohr Ernest Bohr Hans Bohr
action filter_type
action find
entity Margrethe Nørlund
relation child
type common name
['Margrethe Nørlund', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Margrethe_Nørlund property:child ?j . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12315250
P7
Q502895
USER
Who are the brother of that one ?
(Q12315250,P7,c(Q502895))
action filter_type
action find
entity Q12315250
relation P7
type Q502895
['Q12315250', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q12315250 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Hans Bohr
action filter_type
action find
entity Hans Bohr
relation brother
type common name
['Hans Bohr', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Hans_Bohr property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4505347
SYSTEM
Did you mean Ernest Bohr ?
Q103854 Q4505347 Q12315250
(Q103854,P7,c(Q502895)) (Q4505347,P7,c(Q502895)) (Q12315250,P7,c(Q502895))
[ANSWER]
['Q103854', 'P7', {'concept': 'Q502895'}] ['Q4505347', 'P7', {'concept': 'Q502895'}] ['Q12315250', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q12315250 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Aage Niels Bohr Ernest Bohr Hans Bohr
Did you mean Ernest Bohr ?
Ernest Bohr
['Aage Niels Bohr', 'brother', {'concept': 'common name'}] ['Ernest Bohr', 'brother', {'concept': 'common name'}] ['Hans Bohr', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Hans_Bohr property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Hans Bohr. Could you tell me the answer for that?
(Q12315250,P7,c(Q502895))
Q12315250
['Q12315250', 'P7', {'concept': 'Q502895'}]
['Hans Bohr', 'brother', {'concept': 'common name'}]
[]
Q12310291 Q4505347 Q103854
SYSTEM
Erik Bohr, Ernest Bohr, Aage Niels Bohr
Q12310291 Q103854 Q4505347
(Q12315250,P7,c(Q502895))
action filter_type
action find
entity Q12315250
relation P7
type Q502895
The brother of that one are Niels [ANSWERS]
['Q12315250', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q12315250 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Erik Bohr Aage Niels Bohr Ernest Bohr
The brother of that one are Niels Erik Bohr, Ernest Bohr and Aage Niels Bohr
Erik Bohr Ernest Bohr Aage Niels Bohr
action filter_type
action find
entity Hans Bohr
relation brother
type common name
['Hans Bohr', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Hans_Bohr property:brother ?d . ?d rdf:type ontology:common_name }
[]