Simple Question (Direct)
Simple Question
Q1458684
P102
Q7210356
USER
Which party does Friedrich Castelle belong to ?
(Q1458684,P102,c(Q7210356))
action filter_type
action find
entity Q1458684
relation P102
type Q7210356
['Q1458684', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1458684 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation member of political party
type political organization
['Friedrich Castelle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Castelle property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1458684,P102,c(Q7210356))
action filter_type
action find
entity Q1458684
relation P102
type Q7210356
Friedrich Castelle belongs to [ANSWER]
['Q1458684', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1458684 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Nazi Party
Friedrich Castelle belongs to Nazi Party
Nazi Party
action filter_type
action find
entity Friedrich Castelle
relation member of political party
type political organization
['Friedrich Castelle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Castelle property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1458684
P27
Q1048835
USER
Which political territory is the native country of Friedrich Castelle ?
(Q1458684,P27,c(Q1048835))
action filter_type
action find
entity Q1458684
relation P27
type Q1048835
['Q1458684', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1458684 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation country of citizenship
type political territorial entity
['Friedrich Castelle', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Friedrich_Castelle property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1458684,P27,c(Q1048835))
action filter_type
action find
entity Q1458684
relation P27
type Q1048835
[ANSWER] is the native country of Friedrich Castelle
['Q1458684', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1458684 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany is the native country of Friedrich Castelle
Germany
action filter_type
action find
entity Friedrich Castelle
relation country of citizenship
type political territorial entity
['Friedrich Castelle', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Friedrich_Castelle property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1458684
P21
Q290
USER
What is the sex of Friedrich Castelle ?
(Q1458684,P21,c(Q290))
action filter_type
action find
entity Q1458684
relation P21
type Q290
['Q1458684', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1458684 property:P21 ?d . ?d rdf:type ontology:Q290 }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation gender
type sex
['Friedrich Castelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_Castelle property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1458684,P21,c(Q290))
action filter_type
action find
entity Q1458684
relation P21
type Q290
The sex of Friedrich Castelle is the [ANSWER]
['Q1458684', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1458684 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Friedrich Castelle is the male
male
action filter_type
action find
entity Friedrich Castelle
relation gender
type sex
['Friedrich Castelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_Castelle property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1458684
P106
Q12737077
USER
What are the professions of Friedrich Castelle ?
(Q1458684,P106,c(Q12737077))
action filter_type
action find
entity Q1458684
relation P106
type Q12737077
['Q1458684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1458684 property:P106 ?v }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation occupation
type occupation
['Friedrich Castelle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Friedrich_Castelle property:occupation ?v }
[]
occupation
Q1930187 Q333634 Q36180
SYSTEM
journalist, translator, writer
Q1930187 Q333634 Q36180
(Q1458684,P106,c(Q12737077))
action filter_type
action find
entity Q1458684
relation P106
type Q12737077
The professions of Friedrich Castelle are [ANSWERS]
['Q1458684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1458684 property:P106 ?v }
journalist translator writer
The professions of Friedrich Castelle are journalist, translator and writer
journalist translator writer
action filter_type
action find
entity Friedrich Castelle
relation occupation
type occupation
['Friedrich Castelle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Friedrich_Castelle property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1458684
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q1930187,P19,c(Q56061)) (Q333634,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q1458684
relation P19
type Q56061
['Q1930187', 'P19', {'concept': 'Q56061'}] ['Q333634', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1458684 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation place of birth
type administrative territorial entity
['journalist', 'place of birth', {'concept': 'administrative territorial entity'}] ['translator', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Castelle property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q620755
SYSTEM
Appelhülsen
Q620755
(Q1930187,P19,c(Q56061)) (Q333634,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q1458684
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q1930187', 'P19', {'concept': 'Q56061'}] ['Q333634', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1458684 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Appelhülsen
Appelhülsen is the birthplace of that person
Appelhülsen
action filter_type
action find
entity Friedrich Castelle
relation place of birth
type administrative territorial entity
['journalist', 'place of birth', {'concept': 'administrative territorial entity'}] ['translator', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Castelle property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1458684
P20
Q486972
USER
Where did the demise of Friedrich Castelle occur ?
(Q1458684,P20,c(Q486972))
action filter_type
action find
entity Q1458684
relation P20
type Q486972
['Q1458684', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q1458684 property:P20 ?g . ?g rdf:type ontology:Q486972 }
Friedrich Castelle
action filter_type
action find
entity Friedrich Castelle
relation place of death
type human settlement
['Friedrich Castelle', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_Castelle property:place_of_death ?g . ?g rdf:type ontology:human_settlement }
[]
human settlement
Q2557412
SYSTEM
Welbergen
Q2557412
(Q1458684,P20,c(Q486972))
action filter_type
action find
entity Q1458684
relation P20
type Q486972
The demise of Friedrich Castelle occurred in [ANSWER]
['Q1458684', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q1458684 property:P20 ?g . ?g rdf:type ontology:Q486972 }
Welbergen
The demise of Friedrich Castelle occurred in Welbergen
Welbergen
action filter_type
action find
entity Friedrich Castelle
relation place of death
type human settlement
['Friedrich Castelle', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_Castelle property:place_of_death ?g . ?g rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2557412 Q183 Q586905
P17
Q1048835
USER
Is that human settlement located in Germany and Lagoa dos Três Cantos ?
(Q2557412,P17,Q183) (Q2557412,P17,Q586905)
action is_in
entity Q2557412
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q586905
relation P17
['Q2557412', 'P17', 'Q183'] ['Q2557412', 'P17', 'Q586905']
ASK WHERE { resource:Q2557412 property:P17 resource:Q183 . resource:Q2557412 property:P17 resource:Q586905 }
Welbergen Germany Lagoa dos Três Cantos
action is_in
entity Welbergen
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Lagoa dos Três Cantos
relation country
['Welbergen', 'country', 'Germany'] ['Welbergen', 'country', 'Lagoa dos Três Cantos']
ASK WHERE { resource:Welbergen property:country resource:Germany . resource:Welbergen property:country resource:Lagoa_dos_Três_Cantos }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q2557412,P17,Q183) (Q2557412,P17,Q586905)
action is_in
entity Q2557412
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q586905
relation P17
[ANSWER]
['Q2557412', 'P17', 'Q183'] ['Q2557412', 'P17', 'Q586905']
ASK WHERE { resource:Q2557412 property:P17 resource:Q183 . resource:Q2557412 property:P17 resource:Q586905 }
YES and NO respectively
action is_in
entity Welbergen
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Lagoa dos Três Cantos
relation country
['Welbergen', 'country', 'Germany'] ['Welbergen', 'country', 'Lagoa dos Três Cantos']
ASK WHERE { resource:Welbergen property:country resource:Germany . resource:Welbergen property:country resource:Lagoa_dos_Três_Cantos }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q620755 Q183
P17
Q1048835
USER
Is Appelhülsen a part of Germany ?
(Q620755,P17,Q183)
action is_in
entity Q183
action find
entity Q620755
relation P17
['Q620755', 'P17', 'Q183']
ASK WHERE { resource:Q620755 property:P17 resource:Q183 }
Appelhülsen Germany
action is_in
entity Germany
action find
entity Appelhülsen
relation country
['Appelhülsen', 'country', 'Germany']
ASK WHERE { resource:Appelhülsen property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q620755,P17,Q183)
action is_in
entity Q183
action find
entity Q620755
relation P17
[ANSWER]
['Q620755', 'P17', 'Q183']
ASK WHERE { resource:Q620755 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Appelhülsen
relation country
['Appelhülsen', 'country', 'Germany']
ASK WHERE { resource:Appelhülsen property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q13220204
USER
Which administrative country subdivisions are twin city of approximately 3 human settlements ?
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:P190 ?l . ?q rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q486972 } GROUP BY ?q } }
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:sister_city ?l . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:human_settlement } GROUP BY ?q } }
[]
human settlement second-level administrative country subdivision
Q156739
SYSTEM
Rivne
Q156739
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[ANSWER] is twin city of approximately 3 human settlements
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:P190 ?l . ?q rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q486972 } GROUP BY ?q } }
Rivne
Rivne is twin city of approximately 3 human settlements
Rivne
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?n = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?n ) WHERE { ?q property:sister_city ?l . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:human_settlement } GROUP BY ?q } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q156739 Q212
P17
Q15617994
USER
Does that administrative country subdivision belong to Ukraine ?
(Q156739,P17,Q212)
action is_in
entity Q212
action find
entity Q156739
relation P17
['Q156739', 'P17', 'Q212']
ASK WHERE { resource:Q156739 property:P17 resource:Q212 }
Rivne Ukraine
action is_in
entity Ukraine
action find
entity Rivne
relation country
['Rivne', 'country', 'Ukraine']
ASK WHERE { resource:Rivne property:country resource:Ukraine }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q156739,P17,Q212)
action is_in
entity Q212
action find
entity Q156739
relation P17
[ANSWER]
['Q156739', 'P17', 'Q212']
ASK WHERE { resource:Q156739 property:P17 resource:Q212 }
Yes
action is_in
entity Ukraine
action find
entity Rivne
relation country
['Rivne', 'country', 'Ukraine']
ASK WHERE { resource:Rivne property:country resource:Ukraine }
[]