Simple Question (Direct)
Simple Question
Q78063
P21
Q290
USER
Which sex does Louis Kugelmann belong to ?
(Q78063,P21,c(Q290))
action filter_type
action find
entity Q78063
relation P21
type Q290
['Q78063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q78063 property:P21 ?k . ?k rdf:type ontology:Q290 }
Louis Kugelmann
action filter_type
action find
entity Louis Kugelmann
relation gender
type sex
['Louis Kugelmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Kugelmann property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q78063,P21,c(Q290))
action filter_type
action find
entity Q78063
relation P21
type Q290
Louis Kugelmann belongs to [ANSWER]
['Q78063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q78063 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Louis Kugelmann belongs to male
male
action filter_type
action find
entity Louis Kugelmann
relation gender
type sex
['Louis Kugelmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Kugelmann property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78063
P463
Q7210356
USER
Which political organization was that person a member of ?
(Q6581097,P463,c(Q7210356))
action filter_type
action find
entity Q78063
relation P463
type Q7210356
['Q6581097', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q78063 property:P463 ?y . ?y rdf:type ontology:Q7210356 }
Louis Kugelmann
action filter_type
action find
entity Louis Kugelmann
relation member of
type political organization
['male', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Louis_Kugelmann property:member_of ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q183725
SYSTEM
International Workingmen's Association
Q183725
(Q6581097,P463,c(Q7210356))
action filter_type
action find
entity Q78063
relation P463
type Q7210356
[ANSWER] was that person a member of
['Q6581097', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q78063 property:P463 ?y . ?y rdf:type ontology:Q7210356 }
International Workingmen's Association
International Workingmen's Association was that person a member of
International Workingmen's Association
action filter_type
action find
entity Louis Kugelmann
relation member of
type political organization
['male', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Louis_Kugelmann property:member_of ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78063
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q183725,P20,c(Q56061))
action filter_type
action find
entity Q78063
relation P20
type Q56061
['Q183725', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q78063 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Louis Kugelmann
action filter_type
action find
entity Louis Kugelmann
relation place of death
type administrative territorial entity
["International Workingmen's Association", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Louis_Kugelmann property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q183725,P20,c(Q56061))
action filter_type
action find
entity Q78063
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q183725', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q78063 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Hanover
Hanover is the place of death of that person
Hanover
action filter_type
action find
entity Louis Kugelmann
relation place of death
type administrative territorial entity
["International Workingmen's Association", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Louis_Kugelmann property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P206
Q337567 Q355304
USER
How many still waterss or watercourses are located in the neighbourhood of that administrative territory ?
(Q1715,P206,c(Q337567)) (Q1715,P206,c(Q355304)) (Q1715,P206,c(Q337567)) (Q1715,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q1715
relation P206
type Q337567
action filter_type
action find
entity Q1715
relation P206
type Q355304
['Q1715', 'P206', {'concept': 'Q337567'}] ['Q1715', 'P206', {'concept': 'Q355304'}] ['Q1715', 'P206', {'concept': 'Q337567'}] ['Q1715', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } }
action count
action union
action filter_type
action find
entity Hanover
relation located next to body of water
type still waters
action filter_type
action find
entity Hanover
relation located next to body of water
type watercourse
['Hanover', 'located next to body of water', {'concept': 'still waters'}] ['Hanover', 'located next to body of water', {'concept': 'watercourse'}] ['Hanover', 'located next to body of water', {'concept': 'still waters'}] ['Hanover', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:watercourse ) } }
[]
still waters watercourse
SYSTEM
4
Q161051 Q315045 Q48480 Q464568
(Q1715,P206,c(Q337567)) (Q1715,P206,c(Q355304)) (Q1715,P206,c(Q337567)) (Q1715,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q1715
relation P206
type Q337567
action filter_type
action find
entity Q1715
relation P206
type Q355304
[ANSWER]
['Q1715', 'P206', {'concept': 'Q337567'}] ['Q1715', 'P206', {'concept': 'Q355304'}] ['Q1715', 'P206', {'concept': 'Q337567'}] ['Q1715', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } }
Leine Maschsee Mittelland Canal Ihme
4
action count
action union
action filter_type
action find
entity Hanover
relation located next to body of water
type still waters
action filter_type
action find
entity Hanover
relation located next to body of water
type watercourse
['Hanover', 'located next to body of water', {'concept': 'still waters'}] ['Hanover', 'located next to body of water', {'concept': 'watercourse'}] ['Hanover', 'located next to body of water', {'concept': 'still waters'}] ['Hanover', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:still_waters ) ( ontology:watercourse ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78063
P19
Q486972
USER
Which human settlement is the birthplace of Louis Kugelmann ?
(Q78063,P19,c(Q486972))
action filter_type
action find
entity Q78063
relation P19
type Q486972
['Q78063', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q78063 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Louis Kugelmann
action filter_type
action find
entity Louis Kugelmann
relation place of birth
type human settlement
['Louis Kugelmann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Louis_Kugelmann property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q503697
SYSTEM
Lemförde
Q503697
(Q78063,P19,c(Q486972))
action filter_type
action find
entity Q78063
relation P19
type Q486972
[ANSWER] is the birthplace of Louis Kugelmann
['Q78063', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q78063 property:P19 ?x . ?x rdf:type ontology:Q486972 }
Lemförde
Lemförde is the birthplace of Louis Kugelmann
Lemförde
action filter_type
action find
entity Louis Kugelmann
relation place of birth
type human settlement
['Louis Kugelmann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Louis_Kugelmann property:place_of_birth ?x . ?x rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9345305
Q486972
USER
And what about Stefan Półrul?
(Q9345305,P19,c(Q486972))
action filter_type
action find
entity Q9345305
relation P19
type Q486972
['Q9345305', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q9345305 property:P19 ?s }
Stefan Półrul
action filter_type
action find
entity Stefan Półrul
relation place of birth
type human settlement
['Stefan Półrul', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Stefan_Półrul property:place_of_birth ?s }
[]
human settlement
Q6432790
SYSTEM
Korwin, Greater Poland Voivodeship
Q6432790
(Q9345305,P19,c(Q486972))
action filter_type
action find
entity Q9345305
relation P19
type Q486972
[ANSWER]
['Q9345305', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q9345305 property:P19 ?s }
Korwin, Greater Poland Voivodeship
Korwin, Greater Poland Voivodeship
action filter_type
action find
entity Stefan Półrul
relation place of birth
type human settlement
['Stefan Półrul', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Stefan_Półrul property:place_of_birth ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q503697
P21 P20
Q502895
USER
Which people died in Lemförde and have male as the sex ?
AND((c(Q502895),P20,Q503697), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q503697
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q503697'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q503697 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Lemförde
action filter_type
action intersection
action find_reverse
entity Lemförde
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Lemförde'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Lemförde . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q1777330
SYSTEM
Richard Ey
Q1777330
AND((c(Q502895),P20,Q503697), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q503697
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] died in Lemförde and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q503697'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q503697 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Richard Ey
Richard Ey died in Lemförde and have male as the sex
Richard Ey
action filter_type
action intersection
action find_reverse
entity Lemförde
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Lemförde'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Lemförde . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1777330 Q183
P27
Q1048835
USER
Is Germany the native country of Richard Ey ?
(Q1777330,P27,Q183)
action is_in
entity Q183
action find
entity Q1777330
relation P27
['Q1777330', 'P27', 'Q183']
ASK WHERE { resource:Q1777330 property:P27 resource:Q183 }
Richard Ey Germany
action is_in
entity Germany
action find
entity Richard Ey
relation country of citizenship
['Richard Ey', 'country of citizenship', 'Germany']
ASK WHERE { resource:Richard_Ey property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1777330,P27,Q183)
action is_in
entity Q183
action find
entity Q1777330
relation P27
[ANSWER]
['Q1777330', 'P27', 'Q183']
ASK WHERE { resource:Q1777330 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Richard Ey
relation country of citizenship
['Richard Ey', 'country of citizenship', 'Germany']
ASK WHERE { resource:Richard_Ey property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1777330
P39
Q12737077
USER
Which occupations were a position held by Richard Ey ?
(Q1777330,P39,c(Q12737077))
action filter_type
action find
entity Q1777330
relation P39
type Q12737077
['Q1777330', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1777330 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Richard Ey
action filter_type
action find
entity Richard Ey
relation position held
type occupation
['Richard Ey', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Richard_Ey property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q30185 Q17521638 Q1939555
SYSTEM
mayor, Member of the Landtag of Lower Saxony, member of the German Bundestag
Q30185 Q17521638 Q1939555
(Q1777330,P39,c(Q12737077))
action filter_type
action find
entity Q1777330
relation P39
type Q12737077
The [ANSWERS] were a position held by Richard Ey
['Q1777330', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1777330 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
mayor Member of the Landtag of Lower Saxony member of the German Bundestag
The mayor, Member of the Landtag of Lower Saxony and member of the German Bundestag were a position held by Richard Ey
mayor Member of the Landtag of Lower Saxony member of the German Bundestag
action filter_type
action find
entity Richard Ey
relation position held
type occupation
['Richard Ey', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Richard_Ey property:position_held ?v . ?v rdf:type ontology:occupation }
[]