Simple Question (Direct)
Simple Question
Q7611767
P19
Q56061
USER
Which administrative territory was Steve Agee born at ?
(Q7611767,P19,c(Q56061))
action filter_type
action find
entity Q7611767
relation P19
type Q56061
['Q7611767', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7611767 property:P19 ?d }
Steve Agee
action filter_type
action find
entity Steve Agee
relation place of birth
type administrative territorial entity
['Steve Agee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Steve_Agee property:place_of_birth ?d }
[]
administrative territorial entity
Q49243
SYSTEM
Riverside
Q49243
(Q7611767,P19,c(Q56061))
action filter_type
action find
entity Q7611767
relation P19
type Q56061
Steve Agee was born in [ANSWER]
['Q7611767', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7611767 property:P19 ?d }
Riverside
Steve Agee was born in Riverside
Riverside
action filter_type
action find
entity Steve Agee
relation place of birth
type administrative territorial entity
['Steve Agee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Steve_Agee property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49243
P47
Q56061
USER
Which administrative territories are adjacent to that one ?
(Q49243,P47,c(Q56061))
action filter_type
action find
entity Q49243
relation P47
type Q56061
['Q49243', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q49243 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Riverside
action filter_type
action find
entity Riverside
relation shares border with
type administrative territorial entity
['Riverside', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Riverside property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q289661 Q494720
SYSTEM
Rialto, Moreno Valley
Q289661 Q494720
(Q49243,P47,c(Q56061))
action filter_type
action find
entity Q49243
relation P47
type Q56061
[ANSWERS] are adjacent to that one
['Q49243', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q49243 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Rialto Moreno Valley
Rialto and Moreno Valley are adjacent to that one
Rialto Moreno Valley
action filter_type
action find
entity Riverside
relation shares border with
type administrative territorial entity
['Riverside', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Riverside property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q474697 Q49243
P19
Q502895
USER
Which people were born at Riverside or Tczew ?
OR((c(Q502895),P19,Q49243), (c(Q502895),P19,Q474697))
action filter_type
action union
action find_reverse
entity Q49243
relation P19
action find_reverse
entity Q474697
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q49243'], [{'concept': 'Q502895'}, 'P19', 'Q474697']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { VALUES ( ?m ) { ( resource:Q474697 ) ( resource:Q49243 ) } . ?d property:P19 ?m } }
Tczew Riverside
action filter_type
action union
action find_reverse
entity Riverside
relation place of birth
action find_reverse
entity Tczew
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Riverside'], [{'concept': 'common name'}, 'place of birth', 'Tczew']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { VALUES ( ?m ) { ( resource:Tczew ) ( resource:Riverside ) } . ?d property:place_of_birth ?m } }
[]
common name
Q2025403 Q11714656 Q267765 Q5239516 Q5922946 Q19864340 Q5753277 Q6155987 Q19341086 Q7296407
SYSTEM
Some of them are Lucas Duda, Izabela Burczyk, Cheryl Miller, David Scantling, Hoyt S. Vandenberg, Jr., Kevin Young, Hieronim Zoch, Janusz Akermann, Celestaphone, Raven Oak
Q5044266 Q265482 Q448288 Q519932 Q127566 Q481893 Q7822308 Q888267 Q4961201 Q1465970 Q11753495 Q6712746 Q728346 Q2993466 Q399593 Q2490599 Q11749775 Q458454 Q5980736 Q8059783 Q235754 Q1338866 Q18249328 Q7844022 Q18441001 Q1738640 Q16216673 Q2942964 Q213570 Q2927384 Q100510 Q11714656 Q6796104 Q3018785 Q20054486 Q270966 Q1811941 Q6835418 Q238505 Q11749477 Q7109757 Q6155987 Q3681888 Q1876960 Q5054501 Q3908231 Q7823710 Q314712 Q6552790 Q421484 Q27243255 Q302575 Q2053227 Q1626497 Q897267 Q267765 Q589849 Q6214334 Q5041642 Q2554647 Q154303 Q318464 Q2960965 Q6871281 Q926248 Q7377606 Q527493 Q16528748 Q23772184 Q16214784 Q360550 Q1621492 Q3180194 Q1327262 Q1610545 Q9324755 Q6836222 Q2404575 Q1058606 Q3615422 Q323805 Q2877002 Q168105 Q19341086 Q437135 Q1342989 Q14918420 Q11779388 Q3156812 Q13561981 Q6348630 Q20659272 Q4888900 Q14459626 Q6374155 Q9388033 Q434492 Q584668 Q724641 Q19595216 Q11340742 Q7926072 Q62081 Q13562006 Q1356563 Q540654 Q5922946 Q3241284 Q5605367 Q338799 Q7611767 Q2623582 Q3505611 Q20988890 Q4978086 Q7296407 Q14495795 Q9165652 Q19864340 Q519473 Q3973381 Q1816618 Q20685507 Q6451440 Q3423008 Q11687470 Q5228721 Q721386 Q15126096 Q2549066 Q146772 Q455039 Q3675737 Q18661788 Q5086079 Q4228200 Q8029157 Q4980072 Q5202136 Q572791 Q15751638 Q4708113 Q15710745 Q4093329 Q19864217 Q11687338 Q534057 Q21082345 Q16567163 Q2891758 Q442453 Q466051 Q963304 Q2025403 Q172632 Q19961070 Q3300135 Q4311807 Q3041697 Q3574994 Q5239516 Q1701529 Q4738082 Q1463346 Q590329 Q16569625 Q89099 Q61584 Q4759709 Q7365177 Q17093945 Q4947167 Q3929805 Q5753277 Q15846417 Q975224 Q324118 Q3195045 Q551354 Q1929364 Q3807999 Q2823971 Q2164658 Q3476881 Q3219657 Q776579 Q14327265
OR((c(Q502895),P19,Q49243), (c(Q502895),P19,Q474697))
action filter_type
action union
action find_reverse
entity Q49243
relation P19
action find_reverse
entity Q474697
relation P19
type Q502895
[ANSWERS] were born at Riverside or Tczew
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q49243'], [{'concept': 'Q502895'}, 'P19', 'Q474697']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { VALUES ( ?m ) { ( resource:Q474697 ) ( resource:Q49243 ) } . ?d property:P19 ?m } }
Carol Bower Teresa Piotrowska Stefani Morgan Chelsie Rae Bobby Bonds Amy Leverenz Tony Eveready Bob Stapleton Brendon Villegas J. F. Lawton Lech Kulwicki M. K. Hobson Jennifer Banko-Stewart Zoe Britton Mark Takano Patrick Seitz Krzysztof Urbański Rod Piazza Rex Mays Ysmael R. Villegas Kellie Martin Bartosz Piasecki Austin Barnes Trisha Paytas Jeffrey Russell Hall Ken Middleham Alejandro Mendoza Cato June Johann Reinhold Forster Bubba Franks Stefan Lisewski Izabela Burczyk Maxwell Griffin David Sides Travis Alexander Reggie Miller Marvin Stalder Michael Wittig Phoenix Marie Krzysztof Maciejewski Otto P. Weyland Janusz Akermann Coby Dietrick Lukas Schulz Cauleen Smith Betty Fussell Tony Yazbeck Barry Bonds Lindsay Ridgeway Garrett Richards Rodney Mall Krzysztof Kosedowski Cynthia Woodhead Scott Haskin David Gilliland Cheryl Miller Scotty Leavenworth Joey Dawley Carlon Brown Mitch Lucker Piotr Trochowski Phil Ivey Charlotte Craig Miné Okubo Kawhi Leonard Rudy Garcia-Tolson Duncan Hunter Andrzej Majchrzyk Norberto Ochoa Duane Clemons Jaye Davidson Ed Gray Joe Stephens Ernst Seikowski Tanya James Ryszard Karczykowski Micheal Kott Teresa Budzisz-Krzyzanowska Chad Marshall Andrae Patterson Grzegorz Ciechowski Brad Howe Zbigniew Kruszyński Celestaphone Marguerite Moreau Paweł Wszołek Daimion Stafford Michał Zołoteńko J. K. Potter Judy Rodman Kaitlin Cochran Noemi Gonzalez Benjamin Kane Ethridge Michał Daszek Kasey Moore Zbigniew Korpolewski Billy Vera Danny Hassel Kazimierz Zimny Joshua Jennifer Espinoza Manny Tapia Victor Krummenacher Alfred Eisenstaedt Jordyn Taylor Jesse B. Oldendorf Jasmine Byrne Hoyt S. Vandenberg, Jr. RJ Harris Greg Buckingham Henry Bogdan Steve Agee Malcolm Lee Susan Straight Bill Manbo Bruce Ogilvie Raven Oak Jarosław Mazurkiewicz Barbara Wenta-Wojciechowska Kevin Young Ve Neill Steve Patterson Leland Fuller Arthur Shapiro Kyle Skipworth Reed Johnson Bartłomiej Szudek Dave Eggar Don Imus Chris D. Ward W. Briggs Zane Huett Tatum McCann Christie Burke Ernest M. Gifford Charlotte Morgan Grzegorz Kołodko Wojciech Wentura Bryan Duncan Czesława Kościańska Michał Zblewski Daniel Zalewski Alan Yang Cory Butner Tomasz Bonin Dres Anderson Barbara Babilińska Larry Christiansen Sean Ryan Fox Jean-Luke Figueroa Natalie Osman Scarlett Pomers Alia Shawkat Tyree Washington Lucas Duda Amy Lee Donald Wrye Maude George Grzegorz Nagórski Dusty Baker Zbigniew Grzybowski David Scantling John R. Quinn Alvin Davis Bob Rule Lorenz Larkin Fritz Lüdecke Bernhard Kamnitzer Travis Mills Andrzej Stretowicz Ronald Powell Michael Barrett Bosco Mann Ralph Polson Hieronim Zoch Rikki Six Allen Cunningham Dave Hunt Ken Hubbs Garrett Wang Michael Shawn Lewis Jerome Long Adam Kennedy Roman Korynt Sebastian Małkowski Laurie McBain Zbigniew Robert Promiński Jake Marisnick
Lucas Duda, Izabela Burczyk, Cheryl Miller, David Scantling, Hoyt S. Vandenberg, Jr., Kevin Young, Hieronim Zoch, Janusz Akermann, Celestaphone and Raven Oak were born at Riverside or Tczew
Lucas Duda Izabela Burczyk Cheryl Miller David Scantling Hoyt S. Vandenberg, Jr. Kevin Young Hieronim Zoch Janusz Akermann Celestaphone Raven Oak
action filter_type
action union
action find_reverse
entity Riverside
relation place of birth
action find_reverse
entity Tczew
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Riverside'], [{'concept': 'common name'}, 'place of birth', 'Tczew']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { VALUES ( ?m ) { ( resource:Tczew ) ( resource:Riverside ) } . ?d property:place_of_birth ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q474697
P206
Q355304
USER
Which watercourse is situated in the neighbourhood of Tczew ?
(Q474697,P206,c(Q355304))
action filter_type
action find
entity Q474697
relation P206
type Q355304
['Q474697', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { resource:Q474697 property:P206 ?y . ?y rdf:type ontology:Q355304 }
Tczew
action filter_type
action find
entity Tczew
relation located next to body of water
type watercourse
['Tczew', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { resource:Tczew property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse }
[]
watercourse
Q548
SYSTEM
Vistula
Q548
(Q474697,P206,c(Q355304))
action filter_type
action find
entity Q474697
relation P206
type Q355304
[ANSWER] is situated in the neighbourhood of Tczew
['Q474697', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { resource:Q474697 property:P206 ?y . ?y rdf:type ontology:Q355304 }
Vistula
Vistula is situated in the neighbourhood of Tczew
Vistula
action filter_type
action find
entity Tczew
relation located next to body of water
type watercourse
['Tczew', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { resource:Tczew property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3214
Q355304
USER
And what about Cottbus?
(Q3214,P206,c(Q355304))
action filter_type
action find
entity Q3214
relation P206
type Q355304
['Q3214', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?h WHERE { resource:Q3214 property:P206 ?h . ?h rdf:type ontology:Q355304 }
Cottbus
action filter_type
action find
entity Cottbus
relation located next to body of water
type watercourse
['Cottbus', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?h WHERE { resource:Cottbus property:located_next_to_body_of_water ?h . ?h rdf:type ontology:watercourse }
[]
watercourse
Q1684
SYSTEM
Spree
Q1684
(Q3214,P206,c(Q355304))
action filter_type
action find
entity Q3214
relation P206
type Q355304
[ANSWER]
['Q3214', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?h WHERE { resource:Q3214 property:P206 ?h . ?h rdf:type ontology:Q355304 }
Spree
Spree
action filter_type
action find
entity Cottbus
relation located next to body of water
type watercourse
['Cottbus', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?h WHERE { resource:Cottbus property:located_next_to_body_of_water ?h . ?h rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P177
Q12280
USER
How many bridges ranges over that watercourse ?
(c(Q12280),P177,Q1684)
action count
action filter_type
action find_reverse
entity Q1684
relation P177
type Q12280
[{'concept': 'Q12280'}, 'P177', 'Q1684']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q12280 . ?n property:P177 resource:Q1684 }
action count
action filter_type
action find_reverse
entity Spree
relation crosses
type bridge
[{'concept': 'bridge'}, 'crosses', 'Spree']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:bridge . ?n property:crosses resource:Spree }
[]
bridge
SYSTEM
35
Q1721743 Q1540066 Q2244901 Q1417842 Q1552146 Q701612 Q1513634 Q1555479 Q2215539 Q695082 Q1652970 Q1263420 Q1941322 Q1820930 Q2172288 Q592203 Q1333774 Q2052827 Q2453238 Q2571556 Q2132660 Q1736892 Q880972 Q597019 Q2162305 Q1158634 Q161907 Q1996279 Q2239520 Q1410532 Q1526462 Q1533412 Q830089 Q459161 Q1823986
(c(Q12280),P177,Q1684)
action count
action filter_type
action find_reverse
entity Q1684
relation P177
type Q12280
[ANSWER]
[{'concept': 'Q12280'}, 'P177', 'Q1684']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q12280 . ?n property:P177 resource:Q1684 }
Kaisersteg Gotzkowskybrücke Schlossbrücke Stubenrauch Bridge Schilling Bridge Jannowitz Bridge Gerickesteg Gustav Heinemann Bridge Salvador Allende Bridge Oberbaum Bridge Luther Bridge Treskow Bridge Moabiter Bridge Lessingbrücke Rudolf Wissell Bridge Crown Prince Bridge Elsen Bridge Parkwegbrücke Triglaw Bridge Wilhelm Spindler Bridge Rathaus Bridge Katzengrabensteg Friedrichs Bridge Moltke Bridge Rohrdammbrücke Damm Bridge Weidendammer Bridge Nonnendammbrücke Schleusenbrücke Inselbrücke Waisen Bridge Michael Bridge Mühlendamm Schlossbrücke Liebknecht Bridge
35
action count
action filter_type
action find_reverse
entity Spree
relation crosses
type bridge
[{'concept': 'bridge'}, 'crosses', 'Spree']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:bridge . ?n property:crosses resource:Spree }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267765
P734
Q82799
USER
Which name is associated with Cheryl Miller ?
(Q267765,P734,c(Q82799))
action filter_type
action find
entity Q267765
relation P734
type Q82799
['Q267765', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q267765 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Cheryl Miller
action filter_type
action find
entity Cheryl Miller
relation family name
type name
['Cheryl Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Cheryl_Miller property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q1605060
SYSTEM
Miller
Q1605060
(Q267765,P734,c(Q82799))
action filter_type
action find
entity Q267765
relation P734
type Q82799
Has [ANSWER] is associated with Cheryl [ANSWER]
['Q267765', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q267765 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Miller
Has Miller is associated with Cheryl Miller
Miller
action filter_type
action find
entity Cheryl Miller
relation family name
type name
['Cheryl Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Cheryl_Miller property:family_name ?x . ?x rdf:type ontology:name }
[]