Simple Question (Direct)
Simple Question
Q107823
P39
Q12737077
USER
Which occupation was a position held by Theodor Hausmann ?
(Q107823,P39,c(Q12737077))
action filter_type
action find
entity Q107823
relation P39
type Q12737077
['Q107823', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q107823 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Theodor Hausmann
action filter_type
action find
entity Theodor Hausmann
relation position held
type occupation
['Theodor Hausmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Theodor_Hausmann property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q103163
SYSTEM
abbot
Q103163
(Q107823,P39,c(Q12737077))
action filter_type
action find
entity Q107823
relation P39
type Q12737077
The [ANSWER] was a position held by Theodor Hausmann
['Q107823', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q107823 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
abbot
The abbot was a position held by Theodor Hausmann
abbot
action filter_type
action find
entity Theodor Hausmann
relation position held
type occupation
['Theodor Hausmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Theodor_Hausmann property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107823
P21
Q290
USER
Which sex does Theodor Hausmann belong to ?
(Q107823,P21,c(Q290))
action filter_type
action find
entity Q107823
relation P21
type Q290
['Q107823', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q107823 property:P21 ?m . ?m rdf:type ontology:Q290 }
Theodor Hausmann
action filter_type
action find
entity Theodor Hausmann
relation gender
type sex
['Theodor Hausmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Theodor_Hausmann property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q107823,P21,c(Q290))
action filter_type
action find
entity Q107823
relation P21
type Q290
Theodor Hausmann belongs to [ANSWER]
['Q107823', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q107823 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Theodor Hausmann belongs to male
male
action filter_type
action find
entity Theodor Hausmann
relation gender
type sex
['Theodor Hausmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Theodor_Hausmann property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q107823
P27
Q1048835
USER
How many political territories are the native countriesof Theodor Hausmann ?
(Q107823,P27,c(Q1048835))
action count
action filter_type
action find
entity Q107823
relation P27
type Q1048835
['Q107823', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q107823 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Theodor Hausmann
action count
action filter_type
action find
entity Theodor Hausmann
relation country of citizenship
type political territorial entity
['Theodor Hausmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Theodor_Hausmann property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q107823,P27,c(Q1048835))
action count
action filter_type
action find
entity Q107823
relation P27
type Q1048835
[ANSWER]
['Q107823', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q107823 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Theodor Hausmann
relation country of citizenship
type political territorial entity
['Theodor Hausmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Theodor_Hausmann property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q107823
P19
Q515
USER
Which city is the birthplace of that person ?
action filter_type
action find
entity Q107823
relation P19
type Q515
SELECT DISTINCT ?c WHERE { resource:Q107823 property:P19 ?c . ?c rdf:type ontology:Q515 }
Theodor Hausmann
action filter_type
action find
entity Theodor Hausmann
relation place of birth
type city
SELECT DISTINCT ?c WHERE { resource:Theodor_Hausmann property:place_of_birth ?c . ?c rdf:type ontology:city }
[]
city
Q2749
SYSTEM
Augsburg
Q2749
action filter_type
action find
entity Q107823
relation P19
type Q515
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?c WHERE { resource:Q107823 property:P19 ?c . ?c rdf:type ontology:Q515 }
Augsburg
Augsburg is the birthplace of that person
Augsburg
action filter_type
action find
entity Theodor Hausmann
relation place of birth
type city
SELECT DISTINCT ?c WHERE { resource:Theodor_Hausmann property:place_of_birth ?c . ?c rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P206
Q355304 Q337567 Q515
USER
Which cities are situated in the neighbourhood of lesser number of watercourses or still waterss than that city ?
(c(Q515),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q2749
relation P206
type Q355304
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?u ) WHERE { { ?q property:P206 ?d . ?q rdf:type ontology:Q515 . ?d rdf:type ontology:Q355304 } UNION { ?q property:P206 ?d . ?q rdf:type ontology:Q515 . ?d rdf:type ontology:Q337567 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q2749 property:P206 ?b . { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?e ) }
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Augsburg
relation located next to body of water
type watercourse
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?u ) WHERE { { ?q property:located_next_to_body_of_water ?d . ?q rdf:type ontology:city . ?d rdf:type ontology:watercourse } UNION { ?q property:located_next_to_body_of_water ?d . ?q rdf:type ontology:city . ?d rdf:type ontology:still_waters } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Augsburg property:located_next_to_body_of_water ?b . { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?e ) }
[]
watercourse still waters city
SYSTEM
18
Q1410 Q1519 Q846877 Q1486 Q602903 Q488869 Q217432 Q3572 Q623549 Q34261 Q612815 Q7473516 Q3826 Q41474 Q23661 Q3751 Q847550 Q3861
(c(Q515),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q2749
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?u ) WHERE { { ?q property:P206 ?d . ?q rdf:type ontology:Q515 . ?d rdf:type ontology:Q355304 } UNION { ?q property:P206 ?d . ?q rdf:type ontology:Q515 . ?d rdf:type ontology:Q337567 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q2749 property:P206 ?b . { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?e ) }
Gibraltar Abu Dhabi Semboku Buenos Aires Yurihonjō Benalmádena Port Harcourt Tunis Puerto de la Cruz Port-au-Prince Garachico Tokyo Muscat Kingstown Wellington Praia Nikaho Doha
18
action less
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Augsburg
relation located next to body of water
type watercourse
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?u ) WHERE { { ?q property:located_next_to_body_of_water ?d . ?q rdf:type ontology:city . ?d rdf:type ontology:watercourse } UNION { ?q property:located_next_to_body_of_water ?d . ?q rdf:type ontology:city . ?d rdf:type ontology:still_waters } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Augsburg property:located_next_to_body_of_water ?b . { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107823
P140
Q874405
USER
What is the religion associated with Theodor Hausmann ?
(Q107823,P140,c(Q874405))
action filter_type
action find
entity Q107823
relation P140
type Q874405
['Q107823', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q874405 . resource:Q107823 property:P140 ?g }
Theodor Hausmann
action filter_type
action find
entity Theodor Hausmann
relation religion
type social group
['Theodor Hausmann', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:social_group . resource:Theodor_Hausmann property:religion ?g }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q107823,P140,c(Q874405))
action filter_type
action find
entity Q107823
relation P140
type Q874405
The religion associated with Theodor Hausmann is Roman [ANSWER]
['Q107823', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q874405 . resource:Q107823 property:P140 ?g }
Catholicism
The religion associated with Theodor Hausmann is Roman Catholicism
Catholicism
action filter_type
action find
entity Theodor Hausmann
relation religion
type social group
['Theodor Hausmann', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:social_group . resource:Theodor_Hausmann property:religion ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16027332 Q107823
P140
Q874405
USER
Or André Charles de la Brousse?
OR((Q107823,P140,c(Q874405)), (Q16027332,P140,c(Q874405)))
action filter_type
action union
action find
entity Q107823
relation P140
action find
entity Q16027332
relation P140
type Q874405
{'OR': [['Q107823', 'P140', {'concept': 'Q874405'}], ['Q16027332', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q16027332 property:P140 ?i } UNION { resource:Q107823 property:P140 ?i } } . ?i rdf:type ontology:Q874405 }
André Charles de la Brousse Theodor Hausmann
action filter_type
action union
action find
entity Theodor Hausmann
relation religion
action find
entity André Charles de la Brousse
relation religion
type social group
{'OR': [['Theodor Hausmann', 'religion', {'concept': 'social group'}], ['André Charles de la Brousse', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?i WHERE { { { resource:André_Charles_de_la_Brousse property:religion ?i } UNION { resource:Theodor_Hausmann property:religion ?i } } . ?i rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
OR((Q107823,P140,c(Q874405)), (Q16027332,P140,c(Q874405)))
action filter_type
action union
action find
entity Q107823
relation P140
action find
entity Q16027332
relation P140
type Q874405
[ANSWER]
{'OR': [['Q107823', 'P140', {'concept': 'Q874405'}], ['Q16027332', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q16027332 property:P140 ?i } UNION { resource:Q107823 property:P140 ?i } } . ?i rdf:type ontology:Q874405 }
Catholicism
Catholicism
action filter_type
action union
action find
entity Theodor Hausmann
relation religion
action find
entity André Charles de la Brousse
relation religion
type social group
{'OR': [['Theodor Hausmann', 'religion', {'concept': 'social group'}], ['André Charles de la Brousse', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?i WHERE { { { resource:André_Charles_de_la_Brousse property:religion ?i } UNION { resource:Theodor_Hausmann property:religion ?i } } . ?i rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2749
P127
Q483110
USER
Which stadium is under posessision of Augsburg ?
(c(Q483110),P127,Q2749)
action filter_type
action find_reverse
entity Q2749
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q2749']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q483110 . ?p property:P127 resource:Q2749 }
Augsburg
action filter_type
action find_reverse
entity Augsburg
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Augsburg']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:stadium . ?p property:owned_by resource:Augsburg }
[]
stadium
Q672377
SYSTEM
Rosenaustadion
Q672377
(c(Q483110),P127,Q2749)
action filter_type
action find_reverse
entity Q2749
relation P127
type Q483110
[ANSWER] is under posessision of Augsburg
[{'concept': 'Q483110'}, 'P127', 'Q2749']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q483110 . ?p property:P127 resource:Q2749 }
Rosenaustadion
Rosenaustadion is under posessision of Augsburg
Rosenaustadion
action filter_type
action find_reverse
entity Augsburg
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Augsburg']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:stadium . ?p property:owned_by resource:Augsburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107823
P611
Q1530022
USER
What religion is Theodor Hausmann affiliated to ?
(Q107823,P611,c(Q1530022))
action filter_type
action find
entity Q107823
relation P611
type Q1530022
['Q107823', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?w WHERE { resource:Q107823 property:P611 ?w . ?w rdf:type ontology:Q1530022 }
Theodor Hausmann
action filter_type
action find
entity Theodor Hausmann
relation religious order
type religious organization
['Theodor Hausmann', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?w WHERE { resource:Theodor_Hausmann property:religious_order ?w . ?w rdf:type ontology:religious_organization }
[]
religious organization
Q131132
SYSTEM
Order of Saint Benedict
Q131132
(Q107823,P611,c(Q1530022))
action filter_type
action find
entity Q107823
relation P611
type Q1530022
Theodor Hausmann is affiliated with [ANSWER]
['Q107823', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?w WHERE { resource:Q107823 property:P611 ?w . ?w rdf:type ontology:Q1530022 }
Order of Saint Benedict
Theodor Hausmann is affiliated with Order of Saint Benedict
Order of Saint Benedict
action filter_type
action find
entity Theodor Hausmann
relation religious order
type religious organization
['Theodor Hausmann', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?w WHERE { resource:Theodor_Hausmann property:religious_order ?w . ?w rdf:type ontology:religious_organization }
[]