Simple Question (Direct)
Simple Question
Q1459082
P39
Q12737077
USER
What was the position for which Friedrich Feustel was appointed ?
(Q1459082,P39,c(Q12737077))
action filter_type
action find
entity Q1459082
relation P39
type Q12737077
['Q1459082', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1459082 property:P39 ?g }
Friedrich Feustel
action filter_type
action find
entity Friedrich Feustel
relation position held
type occupation
['Friedrich Feustel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Friedrich_Feustel property:position_held ?g }
[]
occupation
Q17854096
SYSTEM
member of the Reichstag of the German Empire
Q17854096
(Q1459082,P39,c(Q12737077))
action filter_type
action find
entity Q1459082
relation P39
type Q12737077
Of [ANSWER]
['Q1459082', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1459082 property:P39 ?g }
member of the Reichstag of the German Empire
Of member of the Reichstag of the German Empire
member of the Reichstag of the German Empire
action filter_type
action find
entity Friedrich Feustel
relation position held
type occupation
['Friedrich Feustel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Friedrich_Feustel property:position_held ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1459082
P102
Q7210356
USER
Which party does Friedrich Feustel belong to ?
(Q1459082,P102,c(Q7210356))
action filter_type
action find
entity Q1459082
relation P102
type Q7210356
['Q1459082', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q1459082 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Friedrich Feustel
action filter_type
action find
entity Friedrich Feustel
relation member of political party
type political organization
['Friedrich Feustel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Friedrich_Feustel property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q694299
SYSTEM
National Liberal Party
Q694299
(Q1459082,P102,c(Q7210356))
action filter_type
action find
entity Q1459082
relation P102
type Q7210356
Friedrich Feustel belongs to [ANSWER]
['Q1459082', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q1459082 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
National Liberal Party
Friedrich Feustel belongs to National Liberal Party
National Liberal Party
action filter_type
action find
entity Friedrich Feustel
relation member of political party
type political organization
['Friedrich Feustel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Friedrich_Feustel property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1459082
P106
Q12737077
USER
Which occupation is the profession of Friedrich Feustel ?
(Q1459082,P106,c(Q12737077))
action filter_type
action find
entity Q1459082
relation P106
type Q12737077
['Q1459082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1459082 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Friedrich Feustel
action filter_type
action find
entity Friedrich Feustel
relation occupation
type occupation
['Friedrich Feustel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_Feustel property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1459082,P106,c(Q12737077))
action filter_type
action find
entity Q1459082
relation P106
type Q12737077
The [ANSWER] is the profession of Friedrich Feustel
['Q1459082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1459082 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
The politician is the profession of Friedrich Feustel
politician
action filter_type
action find
entity Friedrich Feustel
relation occupation
type occupation
['Friedrich Feustel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_Feustel property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1092089
Q12737077
USER
And what about Yuki Okubo?
(Q1092089,P106,c(Q12737077))
action filter_type
action find
entity Q1092089
relation P106
type Q12737077
['Q1092089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1092089 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Yuki Okubo
action filter_type
action find
entity Yuki Okubo
relation occupation
type occupation
['Yuki Okubo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Yuki_Okubo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1092089,P106,c(Q12737077))
action filter_type
action find
entity Q1092089
relation P106
type Q12737077
[ANSWER]
['Q1092089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1092089 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Yuki Okubo
relation occupation
type occupation
['Yuki Okubo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Yuki_Okubo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q114466
P425
Q349
USER
Does mixed martial arts have that one as the associated field of occupation ?
(Q937857,P425,Q114466)
action is_in
entity Q114466
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q114466']
ASK WHERE { resource:Q937857 property:P425 resource:Q114466 }
association football player mixed martial arts
action is_in
entity mixed martial arts
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'mixed martial arts']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:mixed_martial_arts }
[]
sport
SYSTEM
NO
(Q937857,P425,Q114466)
action is_in
entity Q114466
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q114466']
ASK WHERE { resource:Q937857 property:P425 resource:Q114466 }
No
action is_in
entity mixed martial arts
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'mixed martial arts']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:mixed_martial_arts }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2144790 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or did René Okle participate in ?
OR((Q937857,P425,c(Q349)), (Q2144790,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q2144790
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2144790', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?m } UNION { resource:Q2144790 property:P641 ?m } } }
René Okle association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity René Okle
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['René Okle', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?m } UNION { resource:René_Okle property:sport ?m } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q2144790,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q2144790
relation P641
type Q349
Is [ANSWER] is associated with the field of occupation [ANSWER] player or did René Okle participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2144790', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?m } UNION { resource:Q2144790 property:P641 ?m } } }
association football
Is association football is associated with the field of occupation association football player or did René Okle participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity René Okle
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['René Okle', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?m } UNION { resource:René_Okle property:sport ?m } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2144790
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q2144790
relation P27
type Q1048835
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q2144790 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
René Okle
action filter_type
action find
entity René Okle
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:René_Okle property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q2144790
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q2144790 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity René Okle
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:René_Okle property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2144790
P21
Q290
USER
What is the sex of René Okle ?
(Q2144790,P21,c(Q290))
action filter_type
action find
entity Q2144790
relation P21
type Q290
['Q2144790', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q2144790 property:P21 ?l }
René Okle
action filter_type
action find
entity René Okle
relation gender
type sex
['René Okle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:René_Okle property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2144790,P21,c(Q290))
action filter_type
action find
entity Q2144790
relation P21
type Q290
The sex of René Okle is the [ANSWER]
['Q2144790', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q2144790 property:P21 ?l }
male
The sex of René Okle is the male
male
action filter_type
action find
entity René Okle
relation gender
type sex
['René Okle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:René_Okle property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2144790
P54
Q618123
USER
Which sports team has René Okle as its member ?
(Q2144790,P54,c(Q618123))
action filter_type
action find
entity Q2144790
relation P54
type Q618123
['Q2144790', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618123 . resource:Q2144790 property:P54 ?m }
René Okle
action filter_type
action find
entity René Okle
relation member of sports team
type geographical object
['René Okle', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:geographical_object . resource:René_Okle property:member_of_sports_team ?m }
[]
geographical object
Q692586
SYSTEM
VfR Aalen
Q692586
(Q2144790,P54,c(Q618123))
action filter_type
action find
entity Q2144790
relation P54
type Q618123
[ANSWER] has René Okle as its member
['Q2144790', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618123 . resource:Q2144790 property:P54 ?m }
VfR Aalen
VfR Aalen has René Okle as its member
VfR Aalen
action filter_type
action find
entity René Okle
relation member of sports team
type geographical object
['René Okle', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:geographical_object . resource:René_Okle property:member_of_sports_team ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q41176 Q2424752
USER
How many sports are considered as the main functionality of exactly 1 buildings or products ?
(c(Q41176)|c(Q2424752),P366,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[[{'concept': 'Q41176'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q41176 } UNION { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?g } . FILTER ( ?s = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'building'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:building } UNION { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?g } . FILTER ( ?s = 1 ) }
[]
sport building product
SYSTEM
2
Q1875777 Q41466
(c(Q41176)|c(Q2424752),P366,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q41176 } UNION { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?g } . FILTER ( ?s = 1 ) }
air racing ice hockey
2
action count
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'building'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:building } UNION { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?g } . FILTER ( ?s = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q692586
P115
Q483110
USER
Which stadium is the home field of VfR Aalen ?
(Q692586,P115,c(Q483110))
action filter_type
action find
entity Q692586
relation P115
type Q483110
['Q692586', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?l WHERE { resource:Q692586 property:P115 ?l . ?l rdf:type ontology:Q483110 }
VfR Aalen
action filter_type
action find
entity VfR Aalen
relation home venue
type stadium
['VfR Aalen', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?l WHERE { resource:VfR_Aalen property:home_venue ?l . ?l rdf:type ontology:stadium }
[]
stadium
Q872808
SYSTEM
Scholz-Arena
Q872808
(Q692586,P115,c(Q483110))
action filter_type
action find
entity Q692586
relation P115
type Q483110
[ANSWER] is the home field of VfR Aalen
['Q692586', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?l WHERE { resource:Q692586 property:P115 ?l . ?l rdf:type ontology:Q483110 }
Scholz-Arena
Scholz-Arena is the home field of VfR Aalen
Scholz-Arena
action filter_type
action find
entity VfR Aalen
relation home venue
type stadium
['VfR Aalen', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?l WHERE { resource:VfR_Aalen property:home_venue ?l . ?l rdf:type ontology:stadium }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q530463
Q483110
USER
And how about Zug 94?
(Q530463,P115,c(Q483110))
action filter_type
action find
entity Q530463
relation P115
type Q483110
['Q530463', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?p WHERE { resource:Q530463 property:P115 ?p . ?p rdf:type ontology:Q483110 }
Zug 94
action filter_type
action find
entity Zug 94
relation home venue
type stadium
['Zug 94', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?p WHERE { resource:Zug_94 property:home_venue ?p . ?p rdf:type ontology:stadium }
[]
stadium
Q5744818
SYSTEM
Herti Allmend Stadion
Q5744818
(Q530463,P115,c(Q483110))
action filter_type
action find
entity Q530463
relation P115
type Q483110
[ANSWER]
['Q530463', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?p WHERE { resource:Q530463 property:P115 ?p . ?p rdf:type ontology:Q483110 }
Herti Allmend Stadion
Herti Allmend Stadion
action filter_type
action find
entity Zug 94
relation home venue
type stadium
['Zug 94', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?p WHERE { resource:Zug_94 property:home_venue ?p . ?p rdf:type ontology:stadium }
[]