Simple Question (Direct)
Simple Question
Q8840584
P54
Q12973014
USER
Which sports teams are Johan Markusson a member of ?
(Q8840584,P54,c(Q12973014))
action filter_type
action find
entity Q8840584
relation P54
type Q12973014
['Q8840584', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q8840584 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Johan Markusson
action filter_type
action find
entity Johan Markusson
relation member of sports team
type sports team
['Johan Markusson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Johan_Markusson property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
sports team
Q889642 Q995337
SYSTEM
Bodens IK, Brynäs IF
Q889642 Q995337
(Q8840584,P54,c(Q12973014))
action filter_type
action find
entity Q8840584
relation P54
type Q12973014
[ANSWERS] are Johan Markusson a member of
['Q8840584', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q8840584 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Bodens IK Brynäs IF
Bodens IK and Brynäs IF are Johan Markusson a member of
Bodens IK Brynäs IF
action filter_type
action find
entity Johan Markusson
relation member of sports team
type sports team
['Johan Markusson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Johan_Markusson property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q995337
P495
Q15617994
USER
What is the country of origin of Brynäs IF ?
(Q995337,P495,c(Q15617994))
action filter_type
action find
entity Q995337
relation P495
type Q15617994
['Q995337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q995337 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Brynäs IF
action filter_type
action find
entity Brynäs IF
relation country of origin
type designation for an administrative territorial entity
['Brynäs IF', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brynäs_IF property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q995337,P495,c(Q15617994))
action filter_type
action find
entity Q995337
relation P495
type Q15617994
The country of origin of Brynäs IF is from [ANSWER]
['Q995337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q995337 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Sweden
The country of origin of Brynäs IF is from Sweden
Sweden
action filter_type
action find
entity Brynäs IF
relation country of origin
type designation for an administrative territorial entity
['Brynäs IF', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brynäs_IF property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q995337
P466
Q811979
USER
Which architectural structure is occupied by that sports team ?
(c(Q811979),P466,Q34)
action filter_type
action find_reverse
entity Q995337
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q34']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q995337 . ?m rdf:type ontology:Q811979 }
Brynäs IF
action filter_type
action find_reverse
entity Brynäs IF
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Sweden']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Brynäs_IF . ?m rdf:type ontology:architectural_structure }
[]
architectural structure
Q1809785
SYSTEM
Gavlerinken Arena
Q1809785
(c(Q811979),P466,Q34)
action filter_type
action find_reverse
entity Q995337
relation P466
type Q811979
[ANSWER] is occupied by that sports team
[{'concept': 'Q811979'}, 'P466', 'Q34']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q995337 . ?m rdf:type ontology:Q811979 }
Gavlerinken Arena
Gavlerinken Arena is occupied by that sports team
Gavlerinken Arena
action filter_type
action find_reverse
entity Brynäs IF
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Sweden']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Brynäs_IF . ?m rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11986946
P137
Q740752 Q811979
USER
How many transport companies manages more number of architectural structures than Norwegian Civil Aviation Administration ?
(c(Q811979),P137,c(Q740752))
action count
action greater
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
action count
action filter_type
action find
entity Q11986946
relation P137
type Q740752
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:Q740752 . resource:Q11986946 property:P137 ?c } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P137 ?v . ?v rdf:type ontology:Q740752 . ?u rdf:type ontology:Q811979 } GROUP BY ?v } }
Norwegian Civil Aviation Administration
action count
action greater
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
action count
action filter_type
action find
entity Norwegian Civil Aviation Administration
relation operator
type transport company
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:transport_company . resource:Norwegian_Civil_Aviation_Administration property:operator ?c } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:operator ?v . ?v rdf:type ontology:transport_company . ?u rdf:type ontology:architectural_structure } GROUP BY ?v } }
[]
transport company architectural structure
SYSTEM
2
Q794563 Q295619
(c(Q811979),P137,c(Q740752))
action count
action greater
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
action count
action filter_type
action find
entity Q11986946
relation P137
type Q740752
[ANSWER]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:Q740752 . resource:Q11986946 property:P137 ?c } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P137 ?v . ?v rdf:type ontology:Q740752 . ?u rdf:type ontology:Q811979 } GROUP BY ?v } }
Aéroports de Paris ANA – Aeroportos de Portugal
2
action count
action greater
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
action count
action filter_type
action find
entity Norwegian Civil Aviation Administration
relation operator
type transport company
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:transport_company . resource:Norwegian_Civil_Aviation_Administration property:operator ?c } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:operator ?v . ?v rdf:type ontology:transport_company . ?u rdf:type ontology:architectural_structure } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q34 Q995337
P54 P27
Q502895
USER
Which people are members of Brynäs IF and are a native of Sweden ?
AND((c(Q502895),P54,Q995337), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q995337
relation P54
action find_reverse
entity Q34
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q995337'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P54 resource:Q995337 . ?y property:P27 resource:Q34 }
Sweden Brynäs IF
action filter_type
action intersection
action find_reverse
entity Brynäs IF
relation member of sports team
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Brynäs IF'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:member_of_sports_team resource:Brynäs_IF . ?y property:country_of_citizenship resource:Sweden }
[]
common name
Q1806247 Q1376695 Q596422 Q16212552 Q4353706 Q6339461 Q3161606 Q946879 Q948239 Q6258092
SYSTEM
Some of them are Lars Ivarsson, Tomas Sandström, Johan Harju, Jonathan Björklund, Mathias Månsson, Gösta Westerlund, Jan-Erik Silfverberg, Jonathan Carlsson, Ove Molin, Stig Östling
Q20745132 Q6258092 Q491049 Q961358 Q5907154 Q8839680 Q20712642 Q3557161 Q4353472 Q6069784 Q5579669 Q16212722 Q3064352 Q5940769 Q16228681 Q946879 Q5605528 Q3809260 Q446829 Q725574 Q5218817 Q3381244 Q5336258 Q4753786 Q533014 Q3050933 Q3062859 Q515963 Q593651 Q924291 Q879587 Q934186 Q1386250 Q6025265 Q16229453 Q3084429 Q5902090 Q452826 Q739746 Q3023188 Q450284 Q491147 Q276617 Q25802 Q16596771 Q6241181 Q4355302 Q3161606 Q16229517 Q176921 Q269213 Q746859 Q5572946 Q5902124 Q5499535 Q722097 Q1389982 Q1376695 Q574617 Q5617020 Q2899372 Q5993926 Q5713769 Q16177930 Q5914500 Q6339461 Q18275052 Q924165 Q1379112 Q6019931 Q5714503 Q6787958 Q3277261 Q16212499 Q5928112 Q6380509 Q1443107 Q16212552 Q708671 Q445715 Q20631015 Q984510 Q5615616 Q1806247 Q1340347 Q18706482 Q5966211 Q1391841 Q27549 Q5937719 Q5802484 Q1389952 Q16596809 Q16632922 Q6140006 Q16229760 Q2646146 Q6845613 Q5547731 Q596422 Q525338 Q20744984 Q6248325 Q3064378 Q497417 Q3354886 Q5900365 Q8840584 Q6775654 Q8839837 Q773840 Q16225635 Q326829 Q16225303 Q707335 Q447096 Q16229496 Q5716905 Q288176 Q954547 Q496746 Q515482 Q6197702 Q4353706 Q16224824 Q1169558 Q4753745 Q4811825 Q2602864 Q19518139 Q984502 Q16229167 Q6178473 Q3180779 Q1161110 Q1715608 Q18706394 Q948239 Q3218126 Q16199669 Q16194047 Q970786 Q20311202 Q2543408 Q5953599 Q5588189 Q1524701 Q5956482 Q3484353 Q5983955 Q534728 Q605511 Q879560 Q360102 Q6183216 Q5965958 Q5816579 Q742452 Q5826642 Q1444423 Q943350 Q5442199 Q4981259 Q552146
AND((c(Q502895),P54,Q995337), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q995337
relation P54
action find_reverse
entity Q34
relation P27
type Q502895
[ANSWERS] are members of Brynäs IF and are a native of Sweden
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q995337'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P54 resource:Q995337 . ?y property:P27 resource:Q34 }
Linus Olund Stig Östling Anders Huss Calle Järnkrok Stefan Ketola Kalle Johansson Pathrik Vesterholm Victor Berglind Robin Rahm Joachim Rohdin Jacob Blomqvist Adam Brodecki Tord Lundström Sebastian Lauritzen Johan Eriksson Jonathan Carlsson Henrik Cedergren Oscar Eklund Emil Sandin Stefan Persson Daniel Sperrle Henrik Malmström Eddie Läck Anders Gozzi Emma Eliasson Elias Lindholm Mattias Ekholm Pär Djoos Anton Rödin Stefan Canderyd Björn Danielsson Johan Holmqvist Niclas Wallin Jesper Ollas Emil Larsson Åke Lilljebjörn Sebastian Karlsson Johan Tornberg Börje Salming Dennis Persson Christer Olsson Anders Lindbäck Gunilla Andersson Martin Johansson Lina Bäcklin Niklas Wikegård Stig Salming Jan-Erik Silfverberg Daniel Ljunggren Michael Sundlöv Anders Carlsson Peter Larsson Kenneth Bergquist Stefan Karlsson Fredrik Styrman Tony Mårtensson Niclas Andersén Tomas Sandström Mikael L Wahlberg Oscar Dansk Bertil Karlsson Linus Morin Sebastian Enterfeldt Anna Borgqvist Stefan Klockare Gösta Westerlund Jan Åkerblom Tommy Sjödin Willy Lindström Peter Nylander Patrik Erickson Mats Lavander Magnus Kahnberg Adam Bergqvist Roger Kyrö Stefan Lundqvist Mikael Lind Jonathan Björklund Nicklas Bäckström Daniel Widing Hampus Eriksson Ludvig Rensfeldt Hans Dahllöf Lars Ivarsson Lennart Johansson Ponthus Westerholm Robert Nordmark Jonas Nordquist Jacob Markström Jan Larsson Göran Hermansson Jonas Andersson Josefine Holmgren Jan Eriksson Jonas Johnson Carl-Johan Meyer Joakim Lundström Mikael Lindholm Jonas Almtorp Johan Harju Jakob Silfverberg Marcus Lindblom Daniel Wågström Martin Karlsson Richard Gynge Lennart Svedberg Kyösti Karjalainen Johan Markusson Martin Hellgren Linus Fröberg Göran Sjöberg David Westlund Daniel Rudslätt Nicklas Strid Mikael Samuelsson Jonathan Granström Alexander Lindgren Lenny Eriksson Conny Silfverberg Tommy Westlund Andreas Dackell Håkan Wickberg Niklas Svedberg Mathias Månsson Victor Rollin Karlsson Stefan Lundin Anders Bäckström Joacim Eriksson Alexander Hellström Jens Lööke Inge Hammarström Jonas Johansson Christian Sjögren Johannes Salmonsson Daniel Hermansson Jörgen Sundqvist Lucas Carlsson Ove Molin Lars-Erik Ridderström Per-Johan Johansson Lars Eriksson Lars-Göran Nilsson Philip Alftberg William Löfqvist Hans Lindberg Johan Brummer Nicklas Danielsson Lennart Lindh Simon Löf Tommy Melkersson Simon Bertilsson Fredrik Modin Björn Bjurling Daniel Glimmenvall Jonas Soling Lars-Gunnar Lundberg Herman Hultgren Mats Näslund Robin Jacobsson Hans Eriksson Lars Jonsson Felix Eriksson Niklas Anger Mats Kihlström
Lars Ivarsson, Tomas Sandström, Johan Harju, Jonathan Björklund, Mathias Månsson, Gösta Westerlund, Jan-Erik Silfverberg, Jonathan Carlsson, Ove Molin and Stig Östling are members of Brynäs IF and are a native of Sweden
Lars Ivarsson Tomas Sandström Johan Harju Jonathan Björklund Mathias Månsson Gösta Westerlund Jan-Erik Silfverberg Jonathan Carlsson Ove Molin Stig Östling
action filter_type
action intersection
action find_reverse
entity Brynäs IF
relation member of sports team
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Brynäs IF'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:member_of_sports_team resource:Brynäs_IF . ?y property:country_of_citizenship resource:Sweden }
[]