Simple Question (Direct)
Simple Question
Q1537931
P54
Q12973014
USER
Which sports teams are Gordie Roberts a member of ?
(Q1537931,P54,c(Q12973014))
action filter_type
action find
entity Q1537931
relation P54
type Q12973014
['Q1537931', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { resource:Q1537931 property:P54 ?p . ?p rdf:type ontology:Q12973014 }
Gordie Roberts
action filter_type
action find
entity Gordie Roberts
relation member of sports team
type sports team
['Gordie Roberts', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { resource:Gordie_Roberts property:member_of_sports_team ?p . ?p rdf:type ontology:sports_team }
[]
sports team
Q193643 Q192083 Q194121
SYSTEM
Pittsburgh Penguins, Philadelphia Flyers, Boston Bruins
Q902512 Q194121 Q193643 Q192083 Q1072030 Q830968 Q207735
(Q1537931,P54,c(Q12973014))
action filter_type
action find
entity Q1537931
relation P54
type Q12973014
The [ANSWERS] are Gordie Roberts a member of
['Q1537931', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { resource:Q1537931 property:P54 ?p . ?p rdf:type ontology:Q12973014 }
Minnesota North Stars Boston Bruins Pittsburgh Penguins Philadelphia Flyers Chicago Wolves Hartford Whalers St. Louis Blues
The Pittsburgh Penguins, Philadelphia Flyers and Boston Bruins are Gordie Roberts a member of
Pittsburgh Penguins Philadelphia Flyers Boston Bruins
action filter_type
action find
entity Gordie Roberts
relation member of sports team
type sports team
['Gordie Roberts', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { resource:Gordie_Roberts property:member_of_sports_team ?p . ?p rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1537931
P21
Q290
USER
Which sex does Gordie Roberts have ?
(Q1537931,P21,c(Q290))
action filter_type
action find
entity Q1537931
relation P21
type Q290
['Q1537931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1537931 property:P21 ?o . ?o rdf:type ontology:Q290 }
Gordie Roberts
action filter_type
action find
entity Gordie Roberts
relation gender
type sex
['Gordie Roberts', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Gordie_Roberts property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1537931,P21,c(Q290))
action filter_type
action find
entity Q1537931
relation P21
type Q290
Gordie Roberts has a [ANSWER]
['Q1537931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1537931 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Gordie Roberts has a male
male
action filter_type
action find
entity Gordie Roberts
relation gender
type sex
['Gordie Roberts', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Gordie_Roberts property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1537931
P641
Q349
USER
What was the sport that Gordie Roberts was a part of ?
(Q1537931,P641,c(Q349))
action filter_type
action find
entity Q1537931
relation P641
type Q349
['Q1537931', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q1537931 property:P641 ?r }
Gordie Roberts
action filter_type
action find
entity Gordie Roberts
relation sport
type sport
['Gordie Roberts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Gordie_Roberts property:sport ?r }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q1537931,P641,c(Q349))
action filter_type
action find
entity Q1537931
relation P641
type Q349
The sport that Gordie Roberts was a part of was h [ANSWER]
['Q1537931', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q1537931 property:P641 ?r }
ice hockey
The sport that Gordie Roberts was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Gordie Roberts
relation sport
type sport
['Gordie Roberts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Gordie_Roberts property:sport ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3124581 Q1537931
P641
Q349
USER
Or Gülbahar Akgül?
OR((Q1537931,P641,c(Q349)), (Q3124581,P641,c(Q349)))
action filter_type
action union
action find
entity Q1537931
relation P641
action find
entity Q3124581
relation P641
type Q349
{'OR': [['Q1537931', 'P641', {'concept': 'Q349'}], ['Q3124581', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . { VALUES ( ?l ) { ( resource:Q1537931 ) ( resource:Q3124581 ) } . ?l property:P641 ?z } }
Gülbahar Akgül Gordie Roberts
action filter_type
action union
action find
entity Gordie Roberts
relation sport
action find
entity Gülbahar Akgül
relation sport
type sport
{'OR': [['Gordie Roberts', 'sport', {'concept': 'sport'}], ['Gülbahar Akgül', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . { VALUES ( ?l ) { ( resource:Gordie_Roberts ) ( resource:Gülbahar_Akgül ) } . ?l property:sport ?z } }
[]
sport
Q1734 Q41466
SYSTEM
volleyball, ice hockey
Q1734 Q41466
OR((Q1537931,P641,c(Q349)), (Q3124581,P641,c(Q349)))
action filter_type
action union
action find
entity Q1537931
relation P641
action find
entity Q3124581
relation P641
type Q349
[ANSWERS]
{'OR': [['Q1537931', 'P641', {'concept': 'Q349'}], ['Q3124581', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . { VALUES ( ?l ) { ( resource:Q1537931 ) ( resource:Q3124581 ) } . ?l property:P641 ?z } }
volleyball ice hockey
volleyball ice hockey
action filter_type
action union
action find
entity Gordie Roberts
relation sport
action find
entity Gülbahar Akgül
relation sport
type sport
{'OR': [['Gordie Roberts', 'sport', {'concept': 'sport'}], ['Gülbahar Akgül', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . { VALUES ( ?l ) { ( resource:Gordie_Roberts ) ( resource:Gülbahar_Akgül ) } . ?l property:sport ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q2235308 Q39546
USER
How many sports represent the main use of atleast 1 ship types or tools ?
(c(Q2235308)|c(Q39546),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { { ?l property:P366 ?x . ?l rdf:type ontology:Q39546 . ?x rdf:type ontology:Q349 } UNION { ?l property:P366 ?x . ?x rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?x } . FILTER ( ?s >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { { ?l property:use ?x . ?l rdf:type ontology:tool . ?x rdf:type ontology:sport } UNION { ?l property:use ?x . ?x rdf:type ontology:sport . ?l rdf:type ontology:ship_type } } GROUP BY ?x } . FILTER ( ?s >= 1 ) }
[]
sport ship type tool
SYSTEM
2
Q61065 Q22857
(c(Q2235308)|c(Q39546),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { { ?l property:P366 ?x . ?l rdf:type ontology:Q39546 . ?x rdf:type ontology:Q349 } UNION { ?l property:P366 ?x . ?x rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?x } . FILTER ( ?s >= 1 ) }
water sport climbing
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { { ?l property:use ?x . ?l rdf:type ontology:tool . ?x rdf:type ontology:sport } UNION { ?l property:use ?x . ?x rdf:type ontology:sport . ?l rdf:type ontology:ship_type } } GROUP BY ?x } . FILTER ( ?s >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192083
P1346
Q618779
USER
Which awards were Philadelphia Flyers decalred as a victor of ?
(c(Q618779),P1346,Q192083)
action filter_type
action find_reverse
entity Q192083
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q192083']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . ?h property:P1346 resource:Q192083 }
Philadelphia Flyers
action filter_type
action find_reverse
entity Philadelphia Flyers
relation winner
type award
[{'concept': 'award'}, 'winner', 'Philadelphia Flyers']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . ?h property:winner resource:Philadelphia_Flyers }
[]
award
Q4576792 Q4576239
SYSTEM
1975 Stanley Cup Finals, 1974 Stanley Cup Finals
Q4576792 Q4576239
(c(Q618779),P1346,Q192083)
action filter_type
action find_reverse
entity Q192083
relation P1346
type Q618779
Philadelphia Flyers were decalred as a victor of the [ANSWERS]
[{'concept': 'Q618779'}, 'P1346', 'Q192083']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . ?h property:P1346 resource:Q192083 }
1975 Stanley Cup Finals 1974 Stanley Cup Finals
Philadelphia Flyers were decalred as a victor of the 1975 Stanley Cup Finals and 1974 Stanley Cup Finals
1975 Stanley Cup Finals 1974 Stanley Cup Finals
action filter_type
action find_reverse
entity Philadelphia Flyers
relation winner
type award
[{'concept': 'award'}, 'winner', 'Philadelphia Flyers']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . ?h property:winner resource:Philadelphia_Flyers }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4576792 Q4576239
P641
Q349
USER
Which sports did 1975 Stanley Cup Finals and 1974 Stanley Cup Finals participate in ?
(Q4576792,P641,c(Q349)) (Q4576239,P641,c(Q349))
action union
action filter_type
action find
entity Q4576792
relation P641
type Q349
action filter_type
action find
entity Q4576239
relation P641
type Q349
['Q4576792', 'P641', {'concept': 'Q349'}] ['Q4576239', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { resource:Q4576792 property:P641 ?t . ?t rdf:type ontology:Q349 } UNION { resource:Q4576239 property:P641 ?t . ?t rdf:type ontology:Q349 } }
1975 Stanley Cup Finals 1974 Stanley Cup Finals
action union
action filter_type
action find
entity 1975 Stanley Cup Finals
relation sport
type sport
action filter_type
action find
entity 1974 Stanley Cup Finals
relation sport
type sport
['1975 Stanley Cup Finals', 'sport', {'concept': 'sport'}] ['1974 Stanley Cup Finals', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { resource:1975_Stanley_Cup_Finals property:sport ?t . ?t rdf:type ontology:sport } UNION { resource:1974_Stanley_Cup_Finals property:sport ?t . ?t rdf:type ontology:sport } }
[]
sport
Q41466 Q41466
SYSTEM
ice hockey
Q41466 Q41466
(Q4576792,P641,c(Q349)) (Q4576239,P641,c(Q349))
action union
action filter_type
action find
entity Q4576792
relation P641
type Q349
action filter_type
action find
entity Q4576239
relation P641
type Q349
1975 Stanley Cup Finals and 1974 Stanley Cup Finals participated in [ANSWER] and [ANSWER]
['Q4576792', 'P641', {'concept': 'Q349'}] ['Q4576239', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { resource:Q4576792 property:P641 ?t . ?t rdf:type ontology:Q349 } UNION { resource:Q4576239 property:P641 ?t . ?t rdf:type ontology:Q349 } }
ice hockey ice hockey
1975 Stanley Cup Finals and 1974 Stanley Cup Finals participated in ice hockey and ice hockey
ice hockey ice hockey
action union
action filter_type
action find
entity 1975 Stanley Cup Finals
relation sport
type sport
action filter_type
action find
entity 1974 Stanley Cup Finals
relation sport
type sport
['1975 Stanley Cup Finals', 'sport', {'concept': 'sport'}] ['1974 Stanley Cup Finals', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { resource:1975_Stanley_Cup_Finals property:sport ?t . ?t rdf:type ontology:sport } UNION { resource:1974_Stanley_Cup_Finals property:sport ?t . ?t rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193643
P647
Q502895
USER
Which people drafted Pittsburgh Penguins ?
(c(Q502895),P647,Q193643)
action filter_type
action find_reverse
entity Q193643
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q193643']
SELECT DISTINCT ?j WHERE { ?j property:P647 resource:Q193643 . ?j rdf:type ontology:Q502895 }
Pittsburgh Penguins
action filter_type
action find_reverse
entity Pittsburgh Penguins
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Penguins']
SELECT DISTINCT ?j WHERE { ?j property:drafted_by resource:Pittsburgh_Penguins . ?j rdf:type ontology:common_name }
[]
common name
Q295345 Q147992 Q6381107
SYSTEM
Jaromír Jágr, Zarley Zalapski, Shane Peacock
Q517416 Q2177395 Q7221623 Q16152028 Q6213932 Q504655 Q902533 Q3553596 Q8841763 Q4963256 Q6381033 Q6381036 Q1691476 Q3195643 Q5144961 Q955689 Q8841789 Q2964891 Q1703636 Q241469 Q368554 Q899233 Q447927 Q6408552 Q735366 Q3371476 Q713392 Q1651282 Q3317065 Q6381020 Q311280 Q3379690 Q6113771 Q3531482 Q2940992 Q2923376 Q2060864 Q3573483 Q6377838 Q3499082 Q6381107 Q3110909 Q6223199 Q6381100 Q3176474 Q4978172 Q1450488 Q8841794 Q978408 Q6381109 Q949932 Q880500 Q16225692 Q3350275 Q4412219 Q3336742 Q18637940 Q1544887 Q966611 Q288230 Q477750 Q3453405 Q2939000 Q4963804 Q16217558 Q177960 Q6381114 Q6381117 Q6381052 Q7248837 Q923430 Q6381058 Q282577 Q3481359 Q3530266 Q203718 Q4885580 Q448152 Q440187 Q3351500 Q922913 Q314433 Q376478 Q354065 Q16186209 Q447270 Q2440908 Q4764937 Q3339786 Q16151798 Q3116270 Q2907827 Q6381042 Q255668 Q453738 Q6381046 Q1678834 Q472431 Q6381048 Q3370590 Q684777 Q321963 Q6288599 Q7248485 Q20473413 Q362366 Q3430427 Q3016549 Q147992 Q2023832 Q3098491 Q786172 Q6211567 Q1691635 Q744245 Q15534357 Q16216684 Q444553 Q888540 Q3082770 Q431307 Q3180052 Q881166 Q6381077 Q6381074 Q2577098 Q368511 Q4964723 Q5066274 Q1616896 Q971500 Q713663 Q2964875 Q6381092 Q426845 Q6148887 Q3161538 Q16213832 Q723684 Q332180 Q6378252 Q433279 Q715591 Q6120513 Q675927 Q3119466 Q3116250 Q346010 Q6381063 Q4963724 Q1499280 Q6381066 Q16185331 Q2330024 Q4757997 Q19663237 Q736356 Q1544961 Q16727861 Q3023994 Q434465 Q5161854 Q6381087 Q450653 Q295345 Q16236799 Q3313997 Q287032 Q16214234 Q6195416 Q16194195 Q2059357 Q452385 Q504351 Q4351828 Q3148031 Q4964541 Q3180779 Q4721271 Q949644 Q6381014 Q442341 Q181603 Q6381011 Q942510 Q6513673 Q3301965 Q4720453 Q434473 Q2929189 Q1681865 Q7221636 Q7147320 Q4894436 Q5024850 Q2924856 Q2272413 Q332203 Q3438762 Q2004775 Q316249 Q3444229 Q15964457 Q929783 Q2925013 Q3196695 Q6381006 Q943519 Q6381003 Q3319276 Q3431569 Q6381000 Q2832956 Q7254171 Q6381123 Q6755635 Q6381126 Q1930468 Q16213181 Q16186801
(c(Q502895),P647,Q193643)
action filter_type
action find_reverse
entity Q193643
relation P647
type Q502895
[ANSWERS] drafted Pittsburgh Penguins
[{'concept': 'Q502895'}, 'P647', 'Q193643']
SELECT DISTINCT ?j WHERE { ?j property:P647 resource:Q193643 . ?j rdf:type ontology:Q502895 }
Vladimir Malenkykh Rusty Fitzgerald Randy Boyd Brian Walker Joel Scherban Andrew Ference Dave Goertz Valentin Morozov Leonid Toropchenko Brian Callahan Mario Faubert Rob Garner Joe Jensen Keven Veilleux Colin Campbell Troy Loney Ben Hanowski Chris Wells Jordan Morrison David Kočí Marc-André Fleury Toby Petersen Ryan Stone Kim Davis Aleksey Morozov Paul Hoganson Artem Kopot Rob Gaudreau Mitch Lamoureux Tim Crowder Sidney Crosby Philippe DeRouville Jack Lynch Tomáš Škvaridlo Casey Pierro-Zabotel Brad Aitken Paul Laus Yves Bergeron Morris Lukowich Steve Rexe Shane Peacock Gordon Laxton John Brill Scott Myers Jeff Daniels Bruce Racine Bob Geale Kenny Agostino Josef Melichar Jim Pearson Matt Moulson Sven Butenschön Scott Wilson Oleg Belov Timo Seppänen Nathan Moon Bryan Rust Greg Crozier Stephen Dixon Éric Meloche Maxime Talbot Russ Anderson Carl Sneep Brian Gaffaney Borys Protsenko Chris Joseph Philip Samuelsson Sean Selmser Lex Hudson Tony Feltrin Craig Simpson Brian Ihnacak Dave McLlwain Shane Endicott Todd Nelson Daniel Gauthier Ben Eaves Alexander Pechurskiy Patrik Bärtschi Olli Määttä Michel Ouellet Evgeni Malkin Doug Shedden Darcy Robinson Bill Davis Jordan Staal Tommi Leinonen Lukáš Bolf Nick Petersen D'Arcy Keating Greg Polis Bob Smith Pat Graham Paul Stanton Yvon Labre Scott Harrington Jake Muzzin Shawn McEachern Petr Havelka Paul Baxter Ron Snell Mike Bullard Josh Archibald Todd Charlesworth Daniel Sprong Denis Herron Rich Sutter Darrin Shannon Zarley Zalapski Ondřej Němec Garry Swain Cam Paddock Joe Noris Joe Vitale Tom Kostopoulos Dominik Simon Mark Moore Drew Fata Bobby Goepfert Frank Pietrangelo Joe Morrow Joe Dziedzic Blair Chapman Ryan Lannon Ron Lalonde Alexei Krivchenkov Markus Näslund Brian McKenzie Chad Johnson Steven Crampton Craig Hillier Arto Javanainen Chris Tamer Paul Marshall Rick Tabaracci Jan Fadrný Jamie Leach Sergei Voronov Doug Bodger Angelo Esposito Rob Laird Greg Andrusak Mark Recchi Jacques Cossette Rob Scuderi Guido Tenesi Greg Malone Bob Errey Jonas Junkka Brian Farrell Ladislav Karabin Patrick Killeen Terry Ewasiuk Stan Drulia Andrew McPherson Matt Murray Colby Armstrong Greg Millen Greg Carvel Derrick Pouliot Matt Hussey Connie Forey Mark Major Tapio Levo Jaromír Jágr Tristan Jarry Milan Kraft Beau Bennett Travis Thiessen Jim Hamilton Steve McKenzie Paul Dyck Jonathan Filewich Nick Johnson Matt Murley Evgeny Isakov Brian Lundberg Johannes Salmonsson Alexei Kolkunov Sébastien Caron Marc Chorney Andy Sertich Jamie Heward Steve Cardwell Róbert Döme Lee Giffin Robert Bortuzzo Alexander Zevakhin Alexandre Rouleau Byron Shutt Jan Hrdina Rod Buskas Patrick Neaton Bernie Lukowich Cam Newton Brian Bonin Serge Aubin Blaine Stoughton Roger Belanger Ryan Whitney Mario Lemieux Steve Gatzos Dominik Uher Brooks Orpik Brian Strait Kim Clackson Nick Boucher Tomáš Surový Larry Bignell Moises Gutierrez Rick Kessell Wayne Bianchin Alex Grant Tim Hrynewich Oskar Sundqvist Marc Hussey Mika Välilä Michal Sersen Jason Smart Peter Morris
Jaromír Jágr, Zarley Zalapski and Shane Peacock drafted Pittsburgh Penguins
Jaromír Jágr Zarley Zalapski Shane Peacock
action filter_type
action find_reverse
entity Pittsburgh Penguins
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Pittsburgh Penguins']
SELECT DISTINCT ?j WHERE { ?j property:drafted_by resource:Pittsburgh_Penguins . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q295345
P551
Q56061
USER
What was the place of residence of Jaromír Jágr ?
(Q295345,P551,c(Q56061))
action filter_type
action find
entity Q295345
relation P551
type Q56061
['Q295345', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q295345 property:P551 ?v . ?v rdf:type ontology:Q56061 }
Jaromír Jágr
action filter_type
action find
entity Jaromír Jágr
relation residence
type administrative territorial entity
['Jaromír Jágr', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jaromír_Jágr property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q155993
SYSTEM
Kladno
Q155993
(Q295345,P551,c(Q56061))
action filter_type
action find
entity Q295345
relation P551
type Q56061
The place of residence of Jaromír Jágr was in [ANSWER]
['Q295345', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q295345 property:P551 ?v . ?v rdf:type ontology:Q56061 }
Kladno
The place of residence of Jaromír Jágr was in Kladno
Kladno
action filter_type
action find
entity Jaromír Jágr
relation residence
type administrative territorial entity
['Jaromír Jágr', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jaromír_Jágr property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1914033
Q56061
USER
And what about Maximilian Meisse?
(Q1914033,P551,c(Q56061))
action filter_type
action find
entity Q1914033
relation P551
type Q56061
['Q1914033', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1914033 property:P551 ?p . ?p rdf:type ontology:Q56061 }
Maximilian Meisse
action filter_type
action find
entity Maximilian Meisse
relation residence
type administrative territorial entity
['Maximilian Meisse', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Maximilian_Meisse property:residence ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1914033,P551,c(Q56061))
action filter_type
action find
entity Q1914033
relation P551
type Q56061
[ANSWER]
['Q1914033', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1914033 property:P551 ?p . ?p rdf:type ontology:Q56061 }
Berlin
Berlin
action filter_type
action find
entity Maximilian Meisse
relation residence
type administrative territorial entity
['Maximilian Meisse', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Maximilian_Meisse property:residence ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P159
Q19588327
USER
Which types of business organization in Switzerland have the principal seat at that administrative territory ?
(c(Q19588327),P159,Q64)
action filter_type
action find_reverse
entity Q64
relation P159
type Q19588327
[{'concept': 'Q19588327'}, 'P159', 'Q64']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q64 . ?k rdf:type ontology:Q19588327 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type type of business entity in Switzerland
[{'concept': 'type of business entity in Switzerland'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Berlin . ?k rdf:type ontology:type_of_business_entity_in_Switzerland }
[]
type of business entity in Switzerland
Q692419 Q99633
SYSTEM
Sender Freies Berlin, Berliner Verkehrsbetriebe
Q692419 Q99633
(c(Q19588327),P159,Q64)
action filter_type
action find_reverse
entity Q64
relation P159
type Q19588327
[ANSWERS] have the principal seat at that administrative territory
[{'concept': 'Q19588327'}, 'P159', 'Q64']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q64 . ?k rdf:type ontology:Q19588327 }
Sender Freies Berlin Berliner Verkehrsbetriebe
Sender Freies Berlin and Berliner Verkehrsbetriebe have the principal seat at that administrative territory
Sender Freies Berlin Berliner Verkehrsbetriebe
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type type of business entity in Switzerland
[{'concept': 'type of business entity in Switzerland'}, 'headquarters location', 'Berlin']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Berlin . ?k rdf:type ontology:type_of_business_entity_in_Switzerland }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q5398426 Q15850590
USER
Which people are approximately 2 television series or theatrical genres considered a copy of ?
(c(Q5398426)|c(Q15850590),P144,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 2
[[{'concept': 'Q5398426'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:P144 ?k . ?m rdf:type ontology:Q15850590 . ?k rdf:type ontology:Q502895 } UNION { ?m property:P144 ?k . ?m rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } }
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 2
[[{'concept': 'television series'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:based_on ?k . ?m rdf:type ontology:theatrical_genre . ?k rdf:type ontology:common_name } UNION { ?m property:based_on ?k . ?m rdf:type ontology:television_series . ?k rdf:type ontology:common_name } } GROUP BY ?k } }
[]
common name television series theatrical genre
Q298920 Q276615 Q184935
SYSTEM
Charles M. Schulz, Gabriela Preissová, Mihai Eminescu
Q298920 Q276615 Q184935
(c(Q5398426)|c(Q15850590),P144,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 2
[ANSWERS] are approximately 2 television series or theatrical genres considered a copy of
[[{'concept': 'Q5398426'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:P144 ?k . ?m rdf:type ontology:Q15850590 . ?k rdf:type ontology:Q502895 } UNION { ?m property:P144 ?k . ?m rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } }
Charles M. Schulz Gabriela Preissová Mihai Eminescu
Charles M. Schulz, Gabriela Preissová and Mihai Eminescu are approximately 2 television series or theatrical genres considered a copy of
Charles M. Schulz Gabriela Preissová Mihai Eminescu
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 2
[[{'concept': 'television series'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:based_on ?k . ?m rdf:type ontology:theatrical_genre . ?k rdf:type ontology:common_name } UNION { ?m property:based_on ?k . ?m rdf:type ontology:television_series . ?k rdf:type ontology:common_name } } GROUP BY ?k } }
[]