Simple Question (Direct)
Simple Question
Q15989185
P21
Q290
USER
What is the sex of Oskar Roth ?
(Q15989185,P21,c(Q290))
action filter_type
action find
entity Q15989185
relation P21
type Q290
['Q15989185', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q15989185 property:P21 ?b . ?b rdf:type ontology:Q290 }
Oskar Roth
action filter_type
action find
entity Oskar Roth
relation gender
type sex
['Oskar Roth', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Oskar_Roth property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15989185,P21,c(Q290))
action filter_type
action find
entity Q15989185
relation P21
type Q290
The sex of Oskar Roth is the [ANSWER]
['Q15989185', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q15989185 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Oskar Roth is the male
male
action filter_type
action find
entity Oskar Roth
relation gender
type sex
['Oskar Roth', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Oskar_Roth property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15989185
P19
Q515
USER
Which city was that person born in ?
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q15989185
relation P19
type Q515
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q15989185 property:P19 ?h . ?h rdf:type ontology:Q515 }
Oskar Roth
action filter_type
action find
entity Oskar Roth
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Oskar_Roth property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
city
Q2966
SYSTEM
Heidelberg
Q2966
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q15989185
relation P19
type Q515
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q15989185 property:P19 ?h . ?h rdf:type ontology:Q515 }
Heidelberg
That person was born in Heidelberg
Heidelberg
action filter_type
action find
entity Oskar Roth
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Oskar_Roth property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15989185
P54
Q12973014
USER
Which sports team is Oskar Roth a member of ?
(Q15989185,P54,c(Q12973014))
action filter_type
action find
entity Q15989185
relation P54
type Q12973014
['Q15989185', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q15989185 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Oskar Roth
action filter_type
action find
entity Oskar Roth
relation member of sports team
type sports team
['Oskar Roth', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Oskar_Roth property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q164592
SYSTEM
Germany national basketball team
Q164592
(Q15989185,P54,c(Q12973014))
action filter_type
action find
entity Q15989185
relation P54
type Q12973014
The [ANSWER] is Oskar Roth a member of
['Q15989185', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q15989185 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Germany national basketball team
The Germany national basketball team is Oskar Roth a member of
Germany national basketball team
action filter_type
action find
entity Oskar Roth
relation member of sports team
type sports team
['Oskar Roth', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Oskar_Roth property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15989185
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q164592,P27,c(Q1048835))
action filter_type
action find
entity Q15989185
relation P27
type Q1048835
['Q164592', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q15989185 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Oskar Roth
action filter_type
action find
entity Oskar Roth
relation country of citizenship
type political territorial entity
['Germany national basketball team', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Oskar_Roth property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q164592,P27,c(Q1048835))
action filter_type
action find
entity Q15989185
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q164592', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q15989185 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Oskar Roth
relation country of citizenship
type political territorial entity
['Germany national basketball team', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Oskar_Roth property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q7275 Q1048835
USER
How many states or political territories are bordered by that political territory ?
(Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q7275
action filter_type
action find
entity Q183
relation P47
type Q1048835
['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?x }
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type state
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?x }
[]
state political territorial entity
SYSTEM
5
Q310293 Q16957 Q33946 Q40 Q35
(Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q7275
action filter_type
action find
entity Q183
relation P47
type Q1048835
[ANSWER]
['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?x }
Saar Protectorate East Germany Czechoslovakia Austria Denmark
5
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type state
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2966
P740
Q43229
USER
Which organizations originated at Heidelberg ?
(c(Q43229),P740,Q2966)
action filter_type
action find_reverse
entity Q2966
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q2966']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q2966 . ?k rdf:type ontology:Q43229 }
Heidelberg
action filter_type
action find_reverse
entity Heidelberg
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Heidelberg']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Heidelberg . ?k rdf:type ontology:organization }
[]
organization
Q2570276 Q632233
SYSTEM
Wild, HeidelbergCement
Q2570276 Q632233
(c(Q43229),P740,Q2966)
action filter_type
action find_reverse
entity Q2966
relation P740
type Q43229
[ANSWERS] originated at Heidelberg
[{'concept': 'Q43229'}, 'P740', 'Q2966']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q2966 . ?k rdf:type ontology:Q43229 }
Wild HeidelbergCement
Wild and HeidelbergCement originated at Heidelberg
Wild HeidelbergCement
action filter_type
action find_reverse
entity Heidelberg
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Heidelberg']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Heidelberg . ?k rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2966
P189
Q79529
USER
What was found at that city ?
(c(Q79529),P189,Q2570276) (c(Q79529),P189,Q632233)
action filter_type
action find_reverse
entity Q2966
relation P189
type Q79529
[{'concept': 'Q79529'}, 'P189', 'Q2570276'] [{'concept': 'Q79529'}, 'P189', 'Q632233']
SELECT DISTINCT ?f WHERE { ?f property:P189 resource:Q2966 . ?f rdf:type ontology:Q79529 }
Heidelberg
action filter_type
action find_reverse
entity Heidelberg
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'Wild'] [{'concept': 'chemical substance'}, 'location of discovery', 'HeidelbergCement']
SELECT DISTINCT ?f WHERE { ?f property:location_of_discovery resource:Heidelberg . ?f rdf:type ontology:chemical_substance }
[]
chemical substance
Q1108
SYSTEM
caesium
Q1108
(c(Q79529),P189,Q2570276) (c(Q79529),P189,Q632233)
action filter_type
action find_reverse
entity Q2966
relation P189
type Q79529
[ANSWER] was found at that city
[{'concept': 'Q79529'}, 'P189', 'Q2570276'] [{'concept': 'Q79529'}, 'P189', 'Q632233']
SELECT DISTINCT ?f WHERE { ?f property:P189 resource:Q2966 . ?f rdf:type ontology:Q79529 }
caesium
Caesium was found at that city
caesium
action filter_type
action find_reverse
entity Heidelberg
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'Wild'] [{'concept': 'chemical substance'}, 'location of discovery', 'HeidelbergCement']
SELECT DISTINCT ?f WHERE { ?f property:location_of_discovery resource:Heidelberg . ?f rdf:type ontology:chemical_substance }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1108 Q2966
P189
Q515
USER
Is Heidelberg the location of discovery of that chemical substance ?
(Q1108,P189,Q2966)
action is_in
entity Q2966
action find
entity Q1108
relation P189
['Q1108', 'P189', 'Q2966']
ASK WHERE { resource:Q1108 property:P189 resource:Q2966 }
caesium Heidelberg
action is_in
entity Heidelberg
action find
entity caesium
relation location of discovery
['caesium', 'location of discovery', 'Heidelberg']
ASK WHERE { resource:caesium property:location_of_discovery resource:Heidelberg }
[]
city
SYSTEM
YES
(Q1108,P189,Q2966)
action is_in
entity Q2966
action find
entity Q1108
relation P189
[ANSWER]
['Q1108', 'P189', 'Q2966']
ASK WHERE { resource:Q1108 property:P189 resource:Q2966 }
Yes
action is_in
entity Heidelberg
action find
entity caesium
relation location of discovery
['caesium', 'location of discovery', 'Heidelberg']
ASK WHERE { resource:caesium property:location_of_discovery resource:Heidelberg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q5436702
P36
Q56061
USER
Is Fashand called the capital of Germany ?
(Q183,P36,Q5436702)
action is_in
entity Q5436702
action find
entity Q183
relation P36
['Q183', 'P36', 'Q5436702']
ASK WHERE { resource:Q183 property:P36 resource:Q5436702 }
Germany Fashand
action is_in
entity Fashand
action find
entity Germany
relation capital
['Germany', 'capital', 'Fashand']
ASK WHERE { resource:Germany property:capital resource:Fashand }
[]
administrative territorial entity
SYSTEM
NO
(Q183,P36,Q5436702)
action is_in
entity Q5436702
action find
entity Q183
relation P36
[ANSWER]
['Q183', 'P36', 'Q5436702']
ASK WHERE { resource:Q183 property:P36 resource:Q5436702 }
No
action is_in
entity Fashand
action find
entity Germany
relation capital
['Germany', 'capital', 'Fashand']
ASK WHERE { resource:Germany property:capital resource:Fashand }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q632233 Q183 Q1997380
P17
Q1048835
USER
Is HeidelbergCement present in Germany and Praia do Almoxarife ?
(Q632233,P17,Q183) (Q632233,P17,Q1997380)
action is_in
entity Q632233
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1997380
relation P17
['Q632233', 'P17', 'Q183'] ['Q632233', 'P17', 'Q1997380']
ASK WHERE { resource:Q632233 property:P17 resource:Q183 . resource:Q632233 property:P17 resource:Q1997380 }
HeidelbergCement Germany Praia do Almoxarife
action is_in
entity HeidelbergCement
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Praia do Almoxarife
relation country
['HeidelbergCement', 'country', 'Germany'] ['HeidelbergCement', 'country', 'Praia do Almoxarife']
ASK WHERE { resource:HeidelbergCement property:country resource:Germany . resource:HeidelbergCement property:country resource:Praia_do_Almoxarife }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q632233,P17,Q183) (Q632233,P17,Q1997380)
action is_in
entity Q632233
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1997380
relation P17
[ANSWER]
['Q632233', 'P17', 'Q183'] ['Q632233', 'P17', 'Q1997380']
ASK WHERE { resource:Q632233 property:P17 resource:Q183 . resource:Q632233 property:P17 resource:Q1997380 }
YES and NO respectively
action is_in
entity HeidelbergCement
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Praia do Almoxarife
relation country
['HeidelbergCement', 'country', 'Germany'] ['HeidelbergCement', 'country', 'Praia do Almoxarife']
ASK WHERE { resource:HeidelbergCement property:country resource:Germany . resource:HeidelbergCement property:country resource:Praia_do_Almoxarife }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q632233
P159
Q515
USER
Which city is the HQ of that organization ?
action filter_type
action find
entity Q632233
relation P159
type Q515
SELECT DISTINCT ?y WHERE { resource:Q632233 property:P159 ?y . ?y rdf:type ontology:Q515 }
HeidelbergCement
action filter_type
action find
entity HeidelbergCement
relation headquarters location
type city
SELECT DISTINCT ?y WHERE { resource:HeidelbergCement property:headquarters_location ?y . ?y rdf:type ontology:city }
[]
city
Q2966
SYSTEM
Heidelberg
Q2966
action filter_type
action find
entity Q632233
relation P159
type Q515
[ANSWER] is the HQ of that organization
SELECT DISTINCT ?y WHERE { resource:Q632233 property:P159 ?y . ?y rdf:type ontology:Q515 }
Heidelberg
Heidelberg is the HQ of that organization
Heidelberg
action filter_type
action find
entity HeidelbergCement
relation headquarters location
type city
SELECT DISTINCT ?y WHERE { resource:HeidelbergCement property:headquarters_location ?y . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q632233 Q118922
P159
Q56061
USER
How many administrative territories are the headquarter locations of HeidelbergCement or United Nations Observer Mission in Georgia ?
(Q632233,P159,c(Q56061)) (Q118922,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q632233
relation P159
type Q56061
action filter_type
action find
entity Q118922
relation P159
type Q56061
['Q632233', 'P159', {'concept': 'Q56061'}] ['Q118922', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?i property:P159 ?j . VALUES ( ?i ) { ( resource:Q632233 ) ( resource:Q118922 ) } }
HeidelbergCement United Nations Observer Mission in Georgia
action count
action union
action filter_type
action find
entity HeidelbergCement
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations Observer Mission in Georgia
relation headquarters location
type administrative territorial entity
['HeidelbergCement', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations Observer Mission in Georgia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?i property:headquarters_location ?j . VALUES ( ?i ) { ( resource:HeidelbergCement ) ( resource:United_Nations_Observer_Mission_in_Georgia ) } }
[]
administrative territorial entity
SYSTEM
2
Q40811 Q994
(Q632233,P159,c(Q56061)) (Q118922,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q632233
relation P159
type Q56061
action filter_type
action find
entity Q118922
relation P159
type Q56061
[ANSWER]
['Q632233', 'P159', {'concept': 'Q56061'}] ['Q118922', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?i property:P159 ?j . VALUES ( ?i ) { ( resource:Q632233 ) ( resource:Q118922 ) } }
Sokhumi Tbilisi
2
action count
action union
action filter_type
action find
entity HeidelbergCement
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations Observer Mission in Georgia
relation headquarters location
type administrative territorial entity
['HeidelbergCement', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations Observer Mission in Georgia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?i property:headquarters_location ?j . VALUES ( ?i ) { ( resource:HeidelbergCement ) ( resource:United_Nations_Observer_Mission_in_Georgia ) } }
[]