Simple Question (Direct)
Simple Question
Q5075300
P106
Q12737077
USER
Which occupation has Charles B. Green as his/her 's career ?
(Q5075300,P106,c(Q12737077))
action filter_type
action find
entity Q5075300
relation P106
type Q12737077
['Q5075300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5075300 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Charles B. Green
action filter_type
action find
entity Charles B. Green
relation occupation
type occupation
['Charles B. Green', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Charles_B._Green property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q5075300,P106,c(Q12737077))
action filter_type
action find
entity Q5075300
relation P106
type Q12737077
[ANSWER] has Charles B. Green as his/her 's career
['Q5075300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5075300 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
officer
Officer has Charles B. Green as his/her 's career
officer
action filter_type
action find
entity Charles B. Green
relation occupation
type occupation
['Charles B. Green', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Charles_B._Green property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5075300
P69
Q163740
USER
Which nonprofit organization was Charles B. Green educated at ?
(Q5075300,P69,c(Q163740))
action filter_type
action find
entity Q5075300
relation P69
type Q163740
['Q5075300', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q163740 . resource:Q5075300 property:P69 ?d }
Charles B. Green
action filter_type
action find
entity Charles B. Green
relation educated at
type nonprofit organization
['Charles B. Green', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nonprofit_organization . resource:Charles_B._Green property:educated_at ?d }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q5075300,P69,c(Q163740))
action filter_type
action find
entity Q5075300
relation P69
type Q163740
The [ANSWER] was Charles B. Green educated at
['Q5075300', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q163740 . resource:Q5075300 property:P69 ?d }
Harvard University
The Harvard University was Charles B. Green educated at
Harvard University
action filter_type
action find
entity Charles B. Green
relation educated at
type nonprofit organization
['Charles B. Green', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nonprofit_organization . resource:Charles_B._Green property:educated_at ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6283014
Q163740
USER
And also tell me about Joseph F. Toomy?
(Q6283014,P69,c(Q163740))
action filter_type
action find
entity Q6283014
relation P69
type Q163740
['Q6283014', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q6283014 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Joseph F. Toomy
action filter_type
action find
entity Joseph F. Toomy
relation educated at
type nonprofit organization
['Joseph F. Toomy', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_F._Toomy property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1193547
SYSTEM
Tulane University
Q1193547
(Q6283014,P69,c(Q163740))
action filter_type
action find
entity Q6283014
relation P69
type Q163740
[ANSWER]
['Q6283014', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q6283014 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Tulane University
Tulane University
action filter_type
action find
entity Joseph F. Toomy
relation educated at
type nonprofit organization
['Joseph F. Toomy', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_F._Toomy property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1193547
P108
Q502895
USER
Which people have that nonprofit organization as their employer ?
(c(Q502895),P108,Q1193547)
action filter_type
action find_reverse
entity Q1193547
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1193547']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 resource:Q1193547 }
Tulane University
action filter_type
action find_reverse
entity Tulane University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Tulane University']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer resource:Tulane_University }
[]
common name
Q1238888 Q519780 Q141147
SYSTEM
James B. Eustis, David Vitter, Andrew Schally
Q710934 Q309820 Q5129478 Q5342846 Q7787556 Q7793769 Q7176580 Q16499859 Q6390779 Q11694452 Q7375938 Q7173377 Q16089981 Q7151068 Q15997664 Q6391679 Q17385873 Q7382846 Q16016379 Q7817458 Q5086336 Q6253901 Q3373473 Q5082402 Q1281204 Q4960734 Q8063969 Q5407166 Q16732280 Q6724190 Q1238888 Q7615091 Q7356567 Q8016294 Q16014103 Q5481656 Q5983524 Q6504494 Q8008242 Q7345084 Q1323255 Q16185342 Q1693934 Q6767726 Q4681963 Q6710675 Q4945319 Q7648548 Q7436183 Q6308299 Q5040443 Q5325522 Q4747181 Q6135127 Q6389794 Q8005393 Q5538717 Q16734149 Q7342032 Q20979251 Q5170377 Q15453236 Q967508 Q8005004 Q16030143 Q57095 Q16730179 Q5278492 Q6182700 Q5077427 Q5346198 Q2840874 Q16018123 Q7350051 Q4794234 Q4722379 Q6252559 Q2835172 Q8008213 Q2941784 Q4097170 Q16194371 Q7153732 Q313739 Q3305117 Q519780 Q8017071 Q5224955 Q7050119 Q5056227 Q3110880 Q1530473 Q462116 Q7331355 Q16221088 Q16007747 Q5109874 Q2832230 Q5515647 Q5661499 Q5346334 Q7378031 Q5231533 Q5078675 Q7326399 Q8020556 Q6135065 Q7493502 Q5944462 Q3568995 Q16014999 Q16200965 Q141147 Q6205526 Q6253883 Q5362980 Q4648204 Q17375935 Q4859646 Q5110084 Q7154371 Q8017403 Q8001836 Q16011546 Q6128003 Q4736904 Q7436878 Q4081267 Q6775264 Q6149024 Q377380 Q6861472 Q8003712 Q5250022 Q7378013 Q5739624 Q7153070 Q4685702 Q13448520 Q6833699 Q5387998 Q5005994 Q5081445
(c(Q502895),P108,Q1193547)
action filter_type
action find_reverse
entity Q1193547
relation P108
type Q502895
[ANSWERS] have that nonprofit organization as their employer
[{'concept': 'Q502895'}, 'P108', 'Q1193547']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P108 resource:Q1193547 }
Arthur Peacocke Louis Ignarro Claudius W. Sears Edward F. Sherman Thomas Beller Thomas Sancton, Sr. Peter Ricchiuti William C. Van Buskirk Kenneth W. Harl Munro S. Edmonson Ruben Armiñana Peter Cooley John J. Shea, Jr. Paul H. Lewis John Lombard Kent Courtney George C. Edwards III Ruth Abbey W. Burlie Brown Tom Sancton Charlton Reid Beattie John R. Kramer Marvin Opler Charles Schwartz, Jr. James Carville Brenda Marie Osbey Zachary Lazar Eugene Davis Saunders Marguerite McDonald Mack Barham James B. Eustis Steven Nock Roderic Ai Camp William Oakland James A. Knight Francis L. Hawks Monica Maxwell Lawrence Ponoroff William E. Gates Robert H. Miller Harry Blackmun Michael Fitts Richard Henry Wilde Mark Gasiorowski Adeline Masquelier László Fuchs Boris M. Schein Susan Wittig Albert Scott Cowen Julie Kane Carl L. Bankston Eamon Kelly Ammar Eloueini James H. Dillard Kenneth A. Schwartz William Benjamin Smith George E. Burch Geoffrey G Parker Robert Bennett Bean Lisa Fauci Corey Hébert John Canaday Austin Flint II William Balée Henry E. Chambers Emanuel Lasker Jane El-Dahr Dino Cinel Jerome Goldstein Charles Eshleman Edwin Alderman Amadou Koné Giovanni B. Giglioni Robert Stevens Mary S. Sherman Alfred Bryan Bonds John Perdew Alfred H. Clifford William E. Cooper Catharine Savage Brosman William Craft Brumfield Jonathan Turley Paul Spindt John Kennedy Toole Melissa Harris-Perry David Vitter William Preston Johnston Darren Hawkins Nora Lustig Cecil Morgan Gordon Preston Robin Wilson Frank J. Tipler Rick Dickson Nicholas Edward Seeliger Charles C. Bass Christian M. M. Brady Alcée Fortier Gabriel Gomez Harold Lief Edwin D. Kilbourne Rufus Edward Foster David Bonderman Charles H. Zeanah Richard Henry Jesse William Woodward James H. "Jim" Brown Sheldon Hackney Hunter McGuire William Tetley Joseph Modeste Sweeney Ally Burguieres Andrew Schally Joan W. Bennett John R. Hubbard Elizabeth Hill Boone A. N. Yiannopoulos Radomír Luža Barbette Spaeth Christian Roselius Paul William Brosman William Ray Forrester Wilfred M. McClay Fred C. Cole James (Mac) Hyman Alton Ochsner Scott Minnich Guy Beck Martin Davies Jan Hamer Édouard Dessommes Milton Terris Willey Glover Denis Deen Kemsley Rufus Carrollton Harris Herman Clarence Nixon Paul R. Verkuil Adrienne Koch Rudolph Matas Michael R. Fontham Erich Albrecht C.B. Forgotston Charles P. Roland
James B. Eustis, David Vitter and Andrew Schally have that nonprofit organization as their employer
James B. Eustis David Vitter Andrew Schally
action filter_type
action find_reverse
entity Tulane University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Tulane University']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:employer resource:Tulane_University }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works did exactly 6 people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 6
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?y ) WHERE { ?u property:P725 ?d . ?u rdf:type ontology:Q386724 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y = 6 ) }
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 6
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?y ) WHERE { ?u property:voice_actor ?d . ?u rdf:type ontology:work . ?d rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y = 6 ) }
[]
common name work
Q25858085 Q13516675
SYSTEM
Alicia a través del espejo, Sakura Trick
Q25858085 Q13516675
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 6
Exactly 6 people did the dubbing for [ANSWERS]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?y ) WHERE { ?u property:P725 ?d . ?u rdf:type ontology:Q386724 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y = 6 ) }
Alicia a través del espejo Sakura Trick
Exactly 6 people did the dubbing for Alicia a través del espejo and Sakura Trick
Alicia a través del espejo Sakura Trick
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 6
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?y ) WHERE { ?u property:voice_actor ?d . ?u rdf:type ontology:work . ?d rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y = 6 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q25858085 Q13516675
P725
Q502895
USER
Which people did the dubbing for Alicia a través del espejo and Sakura Trick ?
(Q25858085,P725,c(Q502895)) (Q13516675,P725,c(Q502895))
action union
action filter_type
action find
entity Q25858085
relation P725
type Q502895
action filter_type
action find
entity Q13516675
relation P725
type Q502895
['Q25858085', 'P725', {'concept': 'Q502895'}] ['Q13516675', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?s ) { ( resource:Q25858085 ) ( resource:Q13516675 ) } . ?s property:P725 ?h }
Alicia a través del espejo Sakura Trick
action union
action filter_type
action find
entity Alicia a través del espejo
relation voice actor
type common name
action filter_type
action find
entity Sakura Trick
relation voice actor
type common name
['Alicia a través del espejo', 'voice actor', {'concept': 'common name'}] ['Sakura Trick', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?s ) { ( resource:Alicia_a_través_del_espejo ) ( resource:Sakura_Trick ) } . ?s property:voice_actor ?h }
[]
common name
Q50025 Q1183854 Q5770504
SYSTEM
Haruka Tomatsu, Yuka Iguchi, Hiromi Igarashi
Q24634108 Q24719296 Q25858102 Q24634917 Q24028567 Q25858098 Q50025 Q1183854 Q1066065 Q5770504 Q16003597 Q15990694
(Q25858085,P725,c(Q502895)) (Q13516675,P725,c(Q502895))
action union
action filter_type
action find
entity Q25858085
relation P725
type Q502895
action filter_type
action find
entity Q13516675
relation P725
type Q502895
[ANSWERS] did the dubbing for Alicia a través del espejo and Sakura Trick
['Q25858085', 'P725', {'concept': 'Q502895'}] ['Q13516675', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?s ) { ( resource:Q25858085 ) ( resource:Q13516675 ) } . ?s property:P725 ?h }
Iván Muelas Álvaro de Juana Ángela Arellano María Blanco Ana María Marí Eduardo del Hoyo Haruka Tomatsu Yuka Iguchi Saki Fujita Hiromi Igarashi Megumi Toda Yuka Aisaka
Haruka Tomatsu, Yuka Iguchi and Hiromi Igarashi did the dubbing for Alicia a través del espejo and Sakura Trick
Haruka Tomatsu Yuka Iguchi Hiromi Igarashi
action union
action filter_type
action find
entity Alicia a través del espejo
relation voice actor
type common name
action filter_type
action find
entity Sakura Trick
relation voice actor
type common name
['Alicia a través del espejo', 'voice actor', {'concept': 'common name'}] ['Sakura Trick', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?s ) { ( resource:Alicia_a_través_del_espejo ) ( resource:Sakura_Trick ) } . ?s property:voice_actor ?h }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q50025 Q1183854 Q5770504
P21
Q290
USER
What are the sex of Haruka Tomatsu, Yuka Iguchi and Hiromi Igarashi ?
(Q50025,P21,c(Q290)) (Q1183854,P21,c(Q290)) (Q5770504,P21,c(Q290))
action union
action filter_type
action find
entity Q50025
relation P21
type Q290
action filter_type
action find
entity Q1183854
relation P21
type Q290
action filter_type
action find
entity Q5770504
relation P21
type Q290
['Q50025', 'P21', {'concept': 'Q290'}] ['Q1183854', 'P21', {'concept': 'Q290'}] ['Q5770504', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?t property:P21 ?w . VALUES ( ?t ) { ( resource:Q1183854 ) ( resource:Q50025 ) } }
Haruka Tomatsu Yuka Iguchi Hiromi Igarashi
action union
action filter_type
action find
entity Haruka Tomatsu
relation gender
type sex
action filter_type
action find
entity Yuka Iguchi
relation gender
type sex
action filter_type
action find
entity Hiromi Igarashi
relation gender
type sex
['Haruka Tomatsu', 'gender', {'concept': 'sex'}] ['Yuka Iguchi', 'gender', {'concept': 'sex'}] ['Hiromi Igarashi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?t property:gender ?w . VALUES ( ?t ) { ( resource:Yuka_Iguchi ) ( resource:Haruka_Tomatsu ) } }
[]
sex
Q6581072 Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072 Q6581072
(Q50025,P21,c(Q290)) (Q1183854,P21,c(Q290)) (Q5770504,P21,c(Q290))
action union
action filter_type
action find
entity Q50025
relation P21
type Q290
action filter_type
action find
entity Q1183854
relation P21
type Q290
action filter_type
action find
entity Q5770504
relation P21
type Q290
The sex of Haruka Tomatsu , Yuka Iguchi and Hiromi Igarashi are the [ANSWER], [ANSWER] and [ANSWER]
['Q50025', 'P21', {'concept': 'Q290'}] ['Q1183854', 'P21', {'concept': 'Q290'}] ['Q5770504', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?t property:P21 ?w . VALUES ( ?t ) { ( resource:Q1183854 ) ( resource:Q50025 ) } }
female female female
The sex of Haruka Tomatsu , Yuka Iguchi and Hiromi Igarashi are the female, female and female
female female female
action union
action filter_type
action find
entity Haruka Tomatsu
relation gender
type sex
action filter_type
action find
entity Yuka Iguchi
relation gender
type sex
action filter_type
action find
entity Hiromi Igarashi
relation gender
type sex
['Haruka Tomatsu', 'gender', {'concept': 'sex'}] ['Yuka Iguchi', 'gender', {'concept': 'sex'}] ['Hiromi Igarashi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?t property:gender ?w . VALUES ( ?t ) { ( resource:Yuka_Iguchi ) ( resource:Haruka_Tomatsu ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50025
P735
Q82799
USER
What the name that Haruka Tomatsu is known by?
(Q6581072,P735,c(Q82799)) (Q6581072,P735,c(Q82799)) (Q6581072,P735,c(Q82799))
action filter_type
action find
entity Q50025
relation P735
type Q82799
['Q6581072', 'P735', {'concept': 'Q82799'}] ['Q6581072', 'P735', {'concept': 'Q82799'}] ['Q6581072', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q50025 property:P735 ?h . ?h rdf:type ontology:Q82799 }
Haruka Tomatsu
action filter_type
action find
entity Haruka Tomatsu
relation given name
type name
['female', 'given name', {'concept': 'name'}] ['female', 'given name', {'concept': 'name'}] ['female', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Haruka_Tomatsu property:given_name ?h . ?h rdf:type ontology:name }
[]
name
Q938731
SYSTEM
Haruka
Q938731
(Q6581072,P735,c(Q82799)) (Q6581072,P735,c(Q82799)) (Q6581072,P735,c(Q82799))
action filter_type
action find
entity Q50025
relation P735
type Q82799
Known Japan [ANSWER]
['Q6581072', 'P735', {'concept': 'Q82799'}] ['Q6581072', 'P735', {'concept': 'Q82799'}] ['Q6581072', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q50025 property:P735 ?h . ?h rdf:type ontology:Q82799 }
Haruka
Known Japan Haruka
Haruka
action filter_type
action find
entity Haruka Tomatsu
relation given name
type name
['female', 'given name', {'concept': 'name'}] ['female', 'given name', {'concept': 'name'}] ['female', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Haruka_Tomatsu property:given_name ?h . ?h rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5537065 Q1238888
P937
Q56061
USER
Which administrative territories did James B. Eustis or George Boas work ?
OR((Q1238888,P937,c(Q56061)), (Q5537065,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1238888
relation P937
action find
entity Q5537065
relation P937
type Q56061
{'OR': [['Q1238888', 'P937', {'concept': 'Q56061'}], ['Q5537065', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?r ) { ( resource:Q1238888 ) ( resource:Q5537065 ) } . ?r property:P937 ?f } . ?f rdf:type ontology:Q56061 }
George Boas James B. Eustis
action filter_type
action union
action find
entity James B. Eustis
relation work location
action find
entity George Boas
relation work location
type administrative territorial entity
{'OR': [['James B. Eustis', 'work location', {'concept': 'administrative territorial entity'}], ['George Boas', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?r ) { ( resource:James_B._Eustis ) ( resource:George_Boas ) } . ?r property:work_location ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5092 Q61 Q28218
SYSTEM
Baltimore, Washington, D.C., Baton Rouge
Q5092 Q61 Q28218
OR((Q1238888,P937,c(Q56061)), (Q5537065,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1238888
relation P937
action find
entity Q5537065
relation P937
type Q56061
[ANSWERS] did James B. Eustis or George Boas work
{'OR': [['Q1238888', 'P937', {'concept': 'Q56061'}], ['Q5537065', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?r ) { ( resource:Q1238888 ) ( resource:Q5537065 ) } . ?r property:P937 ?f } . ?f rdf:type ontology:Q56061 }
Baltimore Washington, D.C. Baton Rouge
Baltimore, Washington, D.C. and Baton Rouge did James B. Eustis or George Boas work
Baltimore Washington, D.C. Baton Rouge
action filter_type
action union
action find
entity James B. Eustis
relation work location
action find
entity George Boas
relation work location
type administrative territorial entity
{'OR': [['James B. Eustis', 'work location', {'concept': 'administrative territorial entity'}], ['George Boas', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?r ) { ( resource:James_B._Eustis ) ( resource:George_Boas ) } . ?r property:work_location ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are sister towns of that administrative territory ?
(Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921)) (Q5092,P190,c(Q15617994)) (Q5092,P190,c(Q20667921)) (Q61,P190,c(Q15617994)) (Q61,P190,c(Q20667921)) (Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921))
['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}] ['Q5092', 'P190', {'concept': 'Q15617994'}] ['Q5092', 'P190', {'concept': 'Q20667921'}] ['Q61', 'P190', {'concept': 'Q15617994'}] ['Q61', 'P190', {'concept': 'Q20667921'}] ['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } UNION { resource:Q16208590 property:P190 ?z } UNION { resource:Q16208590 property:P190 ?y } UNION { resource:Q22442863 property:P190 ?z } UNION { resource:Q22442863 property:P190 ?y } UNION { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}] ['Baltimore', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baltimore', 'sister city', {'concept': 'type of french administrative division'}] ['Washington, D.C.', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Washington, D.C.', 'sister city', {'concept': 'type of french administrative division'}] ['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } UNION { resource:Baltimore property:sister_city ?z } UNION { resource:Baltimore property:sister_city ?y } UNION { resource:Washington,_D.C. property:sister_city ?z } UNION { resource:Washington,_D.C. property:sister_city ?y } UNION { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
designation for an administrative territorial entity type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q5092
SYSTEM
Did you mean Baltimore ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } UNION { resource:Q16208590 property:P190 ?z } UNION { resource:Q16208590 property:P190 ?y } UNION { resource:Q22442863 property:P190 ?z } UNION { resource:Q22442863 property:P190 ?y } UNION { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Did you mean Baltimore ?
Baltimore
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } UNION { resource:Baltimore property:sister_city ?z } UNION { resource:Baltimore property:sister_city ?y } UNION { resource:Washington,_D.C. property:sister_city ?z } UNION { resource:Washington,_D.C. property:sister_city ?y } UNION { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Baton Rouge. Could you tell me the answer for that?
(Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921)) (Q5092,P190,c(Q15617994)) (Q5092,P190,c(Q20667921)) (Q61,P190,c(Q15617994)) (Q61,P190,c(Q20667921)) (Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921))
Q28218
['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}] ['Q5092', 'P190', {'concept': 'Q15617994'}] ['Q5092', 'P190', {'concept': 'Q20667921'}] ['Q61', 'P190', {'concept': 'Q15617994'}] ['Q61', 'P190', {'concept': 'Q20667921'}] ['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}]
['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}] ['Baltimore', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baltimore', 'sister city', {'concept': 'type of french administrative division'}] ['Washington, D.C.', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Washington, D.C.', 'sister city', {'concept': 'type of french administrative division'}] ['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}]
[]
SYSTEM
2
Q47465 Q165995
(Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921)) (Q5092,P190,c(Q15617994)) (Q5092,P190,c(Q20667921)) (Q61,P190,c(Q15617994)) (Q61,P190,c(Q20667921)) (Q28218,P190,c(Q15617994)) (Q28218,P190,c(Q20667921))
[ANSWER]
['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}] ['Q5092', 'P190', {'concept': 'Q15617994'}] ['Q5092', 'P190', {'concept': 'Q20667921'}] ['Q61', 'P190', {'concept': 'Q15617994'}] ['Q61', 'P190', {'concept': 'Q20667921'}] ['Q28218', 'P190', {'concept': 'Q15617994'}] ['Q28218', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } UNION { resource:Q16208590 property:P190 ?z } UNION { resource:Q16208590 property:P190 ?y } UNION { resource:Q22442863 property:P190 ?z } UNION { resource:Q22442863 property:P190 ?y } UNION { resource:Q4869466 property:P190 ?z } UNION { resource:Q4869466 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Aix-en-Provence Malatya
2
['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}] ['Baltimore', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baltimore', 'sister city', {'concept': 'type of french administrative division'}] ['Washington, D.C.', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Washington, D.C.', 'sister city', {'concept': 'type of french administrative division'}] ['Baton Rouge', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Baton Rouge', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } UNION { resource:Baltimore property:sister_city ?z } UNION { resource:Baltimore property:sister_city ?y } UNION { resource:Washington,_D.C. property:sister_city ?z } UNION { resource:Washington,_D.C. property:sister_city ?y } UNION { resource:Baton_Rouge property:sister_city ?z } UNION { resource:Baton_Rouge property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092
P1071
Q2235308
USER
Which ship types have Baltimore as their final place of assembly ?
(c(Q2235308),P1071,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q5092']
SELECT DISTINCT ?e WHERE { ?e property:P1071 resource:Q5092 . ?e rdf:type ontology:Q2235308 }
Baltimore
action filter_type
action find_reverse
entity Baltimore
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Baltimore']
SELECT DISTINCT ?e WHERE { ?e property:location_of_final_assembly resource:Baltimore . ?e rdf:type ontology:ship_type }
[]
ship type
Q7871162 Q4002100 Q19876531
SYSTEM
USS Lark, USS Bobolink, SS Claymont Victory
Q7866843 Q7869411 Q7874775 Q11667047 Q7866056 Q7707321 Q7871162 Q2290440 Q4002100 Q7869700 Q7869255 Q7707319 Q7874038 Q7707310 Q7394034 Q7707312 Q5631577 Q7874669 Q7874938 Q7867340 Q6781323 Q7875121 Q7867837 Q7868473 Q7866902 Q7866907 Q7875545 Q7865919 Q6718263 Q7872081 Q6719993 Q7873333 Q7873534 Q7871663 Q2961407 Q961439 Q5631302 Q7870160 Q7869468 Q16222881 Q7872304 Q7868854 Q7867018 Q7871182 Q1994406 Q7870694 Q7874284 Q19876531 Q7872953 Q7707320 Q7874283 Q2479290 Q7875774 Q7871371 Q7873990 Q7278031 Q471944 Q7871579 Q7871882 Q7875368 Q7865954 Q7865947 Q7875611 Q11703662 Q11679940 Q7866329 Q11708062 Q7869207 Q7869458 Q7870375 Q5566123 Q7874902 Q11680627 Q7875253 Q7865958 Q7869433 Q7872879 Q7866146 Q7866226 Q7875320 Q7875011 Q10386354 Q7870221 Q7866668 Q7865967 Q7872246 Q11706034 Q7872902 Q7872731 Q7369835 Q7875229 Q16224235 Q7875141 Q7868083 Q1548371 Q5046346 Q7872973
(c(Q2235308),P1071,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P1071
type Q2235308
[ANSWERS] have Baltimore as their final place of assembly
[{'concept': 'Q2235308'}, 'P1071', 'Q5092']
SELECT DISTINCT ?e WHERE { ?e property:P1071 resource:Q5092 . ?e rdf:type ontology:Q2235308 }
USRC Active USS Flirt USS Tingey USS Java (1815) USCGC Decisive Texan schooner San Jacinto USS Lark USS Hornet USS Bobolink USS George P. Squires USS Eutaw Texan schooner San Antonio USS Serapis Texan brig Archer SS Maverick Texan brig Wharton HMS Black Joke USS Tensaw USS Two Sisters USS Apache Maryland Federalist USS Virginia USS Braziliera USS Comet USRC Seminole USRC Tench Coxe USS William Isom USC&GS Arago MS Transpet USS Naiwa MV Rhododendron USS Redwing USS Rodgers USS McKee Chasseur USS Petrel HMS Ambush USS Hetzel USS Fox USS Ferret USS Nitro USS Detroit USS Active USS Lawrence USS Baltimore USS Katherine K. USS Sparrow II SS Claymont Victory USS Plunger Texan schooner San Bernard USS Spartan USS Baltimore USS Zizania USS Lucille Ross USS Secota RV Atlantis II SS Republic USS Mary B. Garner USS Mobile USS Waxsaw USC&GS Mitchell USC&GS Marindin USS Winslow USS King Philip (1845) USCGC Alert (WMEC-630) USCS Varina USCGC Cape Fox (WPB-95316) USS Erie USS Fort Wayne USS Independence USS Montgomery USS Tuna MV Islander USS Wanaloset USC&GS Ogden USS Foote USS Pigeon USCGC Mendota USCGC Pontchartrain USS Wasp USS Valparaiso USS Orestes USS Holly USNS Point Barrow USC&GS Silliman USS Newark USRC Mackinac (1903) USS Pinola USS Paul Jones Rossie USS Wallacut SS Gustavus Victory USS Vixen USS Carl R. Gray USS Enterprise Carrier Dove USS Pocomoke
USS Lark, USS Bobolink and SS Claymont Victory have Baltimore as their final place of assembly
USS Lark USS Bobolink SS Claymont Victory
action filter_type
action find_reverse
entity Baltimore
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Baltimore']
SELECT DISTINCT ?e WHERE { ?e property:location_of_final_assembly resource:Baltimore . ?e rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092
P119
Q502895
USER
Who has Baltimore as his/her tomb ?
(c(Q502895),P119,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q5092']
SELECT DISTINCT ?i WHERE { ?i property:P119 resource:Q5092 . ?i rdf:type ontology:Q502895 }
Baltimore
action filter_type
action find_reverse
entity Baltimore
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Baltimore']
SELECT DISTINCT ?i WHERE { ?i property:place_of_burial resource:Baltimore . ?i rdf:type ontology:common_name }
[]
common name
Q24816621
SYSTEM
Randolph Harrison McKim
Q24816621
(c(Q502895),P119,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P119
type Q502895
The [ANSWER] has Baltimore as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q5092']
SELECT DISTINCT ?i WHERE { ?i property:P119 resource:Q5092 . ?i rdf:type ontology:Q502895 }
Randolph Harrison McKim
The Randolph Harrison McKim has Baltimore as his/her tomb
Randolph Harrison McKim
action filter_type
action find_reverse
entity Baltimore
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Baltimore']
SELECT DISTINCT ?i WHERE { ?i property:place_of_burial resource:Baltimore . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092
P6
Q502895
USER
Who are the heads of the government of Baltimore ?
(Q5092,P6,c(Q502895))
action filter_type
action find
entity Q5092
relation P6
type Q502895
['Q5092', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q5092 property:P6 ?v }
Baltimore
action filter_type
action find
entity Baltimore
relation head of government
type common name
['Baltimore', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Baltimore property:head_of_government ?v }
[]
common name
Q120260 Q879287 Q431641
SYSTEM
Martin O'Malley, William Donald Schaefer, Theodore McKeldin
Q3481746 Q879287 Q16137482 Q120260 Q5126548 Q431641 Q1676331 Q7183663 Q3498466 Q7791637
(Q5092,P6,c(Q502895))
action filter_type
action find
entity Q5092
relation P6
type Q502895
The heads of the government of Baltimore are John [ANSWERS]
['Q5092', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q5092 property:P6 ?v }
Sheila Dixon William Donald Schaefer Kurt Schmoke Martin O'Malley Clarence H. Burns Theodore McKeldin J. Harold Grady Philip H. Goodman Stephanie Rawlings-Blake Thomas L. J. D'Alesandro III
The heads of the government of Baltimore are John Martin O'Malley, William Donald Schaefer and Theodore McKeldin
Martin O'Malley William Donald Schaefer Theodore McKeldin
action filter_type
action find
entity Baltimore
relation head of government
type common name
['Baltimore', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Baltimore property:head_of_government ?v }
[]