Simple Question (Direct)
Simple Question
Q7966073
P21
Q290
USER
Which sex does Walter Schlags-Koch possess ?
(Q7966073,P21,c(Q290))
action filter_type
action find
entity Q7966073
relation P21
type Q290
['Q7966073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7966073 property:P21 ?t . ?t rdf:type ontology:Q290 }
Walter Schlags-Koch
action filter_type
action find
entity Walter Schlags-Koch
relation gender
type sex
['Walter Schlags-Koch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Schlags-Koch property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7966073,P21,c(Q290))
action filter_type
action find
entity Q7966073
relation P21
type Q290
Walter Schlags-Koch possesses un [ANSWER]
['Q7966073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7966073 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Walter Schlags-Koch possesses un male
male
action filter_type
action find
entity Walter Schlags-Koch
relation gender
type sex
['Walter Schlags-Koch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Schlags-Koch property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7966073
P166
Q18328097
USER
Which courage award was received by Walter Schlags-Koch ?
(Q7966073,P166,c(Q18328097))
action filter_type
action find
entity Q7966073
relation P166
type Q18328097
['Q7966073', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q18328097 . resource:Q7966073 property:P166 ?r }
Walter Schlags-Koch
action filter_type
action find
entity Walter Schlags-Koch
relation award received
type courage award
['Walter Schlags-Koch', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:courage_award . resource:Walter_Schlags-Koch property:award_received ?r }
[]
courage award
Q17412908
SYSTEM
German Cross in Gold
Q17412908
(Q7966073,P166,c(Q18328097))
action filter_type
action find
entity Q7966073
relation P166
type Q18328097
The [ANSWER] was received by Walter Schlags-Koch
['Q7966073', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q18328097 . resource:Q7966073 property:P166 ?r }
German Cross in Gold
The German Cross in Gold was received by Walter Schlags-Koch
German Cross in Gold
action filter_type
action find
entity Walter Schlags-Koch
relation award received
type courage award
['Walter Schlags-Koch', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:courage_award . resource:Walter_Schlags-Koch property:award_received ?r }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7966073
Q618779
USER
And which award?
(Q7966073,P166,c(Q618779))
action filter_type
action find
entity Q7966073
relation P166
type Q618779
['Q7966073', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q7966073 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Walter Schlags-Koch
action filter_type
action find
entity Walter Schlags-Koch
relation award received
type award
['Walter Schlags-Koch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Schlags-Koch property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q3003469
SYSTEM
Knight's Cross of the Iron Cross with Oak Leaves
Q3003469
(Q7966073,P166,c(Q618779))
action filter_type
action find
entity Q7966073
relation P166
type Q618779
[ANSWER]
['Q7966073', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q7966073 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Knight's Cross of the Iron Cross with Oak Leaves
Knight's Cross of the Iron Cross with Oak Leaves
action filter_type
action find
entity Walter Schlags-Koch
relation award received
type award
['Walter Schlags-Koch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Schlags-Koch property:award_received ?n . ?n rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7966073
P20
Q56061
USER
Where did the expiration of Walter Schlags-Koch occur ?
(Q7966073,P20,c(Q56061))
action filter_type
action find
entity Q7966073
relation P20
type Q56061
['Q7966073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7966073 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Walter Schlags-Koch
action filter_type
action find
entity Walter Schlags-Koch
relation place of death
type administrative territorial entity
['Walter Schlags-Koch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Schlags-Koch property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q7966073,P20,c(Q56061))
action filter_type
action find
entity Q7966073
relation P20
type Q56061
The expiration of Walter Schlags-Koch occurred in [ANSWER]
['Q7966073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7966073 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Cologne
The expiration of Walter Schlags-Koch occurred in Cologne
Cologne
action filter_type
action find
entity Walter Schlags-Koch
relation place of death
type administrative territorial entity
['Walter Schlags-Koch', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Schlags-Koch property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q365 Q1288883
P937
Q502895
USER
Does Thomas Weigend work at that administrative territory ?
(Q1288883,P937,Q365)
action is_in
entity Q365
action find
entity Q1288883
relation P937
['Q1288883', 'P937', 'Q365']
ASK WHERE { resource:Q1288883 property:P937 resource:Q365 }
Cologne Thomas Weigend
action is_in
entity Cologne
action find
entity Thomas Weigend
relation work location
['Thomas Weigend', 'work location', 'Cologne']
ASK WHERE { resource:Thomas_Weigend property:work_location resource:Cologne }
[]
common name
SYSTEM
YES
(Q1288883,P937,Q365)
action is_in
entity Q365
action find
entity Q1288883
relation P937
[ANSWER]
['Q1288883', 'P937', 'Q365']
ASK WHERE { resource:Q1288883 property:P937 resource:Q365 }
Yes
action is_in
entity Cologne
action find
entity Thomas Weigend
relation work location
['Thomas Weigend', 'work location', 'Cologne']
ASK WHERE { resource:Thomas_Weigend property:work_location resource:Cologne }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q112920 Q7966073
P27
Q1048835
USER
Which political territories are Walter Schlags-Koch or Teresa Weißbach an inhabitant of ?
OR((Q7966073,P27,c(Q1048835)), (Q112920,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7966073
relation P27
action find
entity Q112920
relation P27
type Q1048835
{'OR': [['Q7966073', 'P27', {'concept': 'Q1048835'}], ['Q112920', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { ?l property:P27 ?i . VALUES ( ?l ) { ( resource:Q7966073 ) ( resource:Q112920 ) } } . ?i rdf:type ontology:Q1048835 }
Teresa Weißbach Walter Schlags-Koch
action filter_type
action union
action find
entity Walter Schlags-Koch
relation country of citizenship
action find
entity Teresa Weißbach
relation country of citizenship
type political territorial entity
{'OR': [['Walter Schlags-Koch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Teresa Weißbach', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?l property:country_of_citizenship ?i . VALUES ( ?l ) { ( resource:Walter_Schlags-Koch ) ( resource:Teresa_Weißbach ) } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q7966073,P27,c(Q1048835)), (Q112920,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7966073
relation P27
action find
entity Q112920
relation P27
type Q1048835
[ANSWER] is Walter Schlags-Koch or Teresa Weißbach an inhabitant of
{'OR': [['Q7966073', 'P27', {'concept': 'Q1048835'}], ['Q112920', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { ?l property:P27 ?i . VALUES ( ?l ) { ( resource:Q7966073 ) ( resource:Q112920 ) } } . ?i rdf:type ontology:Q1048835 }
Germany
Germany is Walter Schlags-Koch or Teresa Weißbach an inhabitant of
Germany
action filter_type
action union
action find
entity Walter Schlags-Koch
relation country of citizenship
action find
entity Teresa Weißbach
relation country of citizenship
type political territorial entity
{'OR': [['Walter Schlags-Koch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Teresa Weißbach', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?l property:country_of_citizenship ?i . VALUES ( ?l ) { ( resource:Walter_Schlags-Koch ) ( resource:Teresa_Weißbach ) } } . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q112920
P106
Q28640
USER
Which profession has Teresa Weißbach as his/her as a career ?
(Q183,P106,c(Q28640))
action filter_type
action find
entity Q112920
relation P106
type Q28640
['Q183', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q112920 property:P106 ?u . ?u rdf:type ontology:Q28640 }
Teresa Weißbach
action filter_type
action find
entity Teresa Weißbach
relation occupation
type profession
['Germany', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Teresa_Weißbach property:occupation ?u . ?u rdf:type ontology:profession }
[]
profession
Q10800557
SYSTEM
film actor
Q10800557
(Q183,P106,c(Q28640))
action filter_type
action find
entity Q112920
relation P106
type Q28640
The [ANSWER] has Teresa Weißbach as his/her as a career
['Q183', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q112920 property:P106 ?u . ?u rdf:type ontology:Q28640 }
film actor
The film actor has Teresa Weißbach as his/her as a career
film actor
action filter_type
action find
entity Teresa Weißbach
relation occupation
type profession
['Germany', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Teresa_Weißbach property:occupation ?u . ?u rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q112920
P161
Q15416 Q838948
USER
How many television programs and works of art do Teresa Weißbach star in ?
(c(Q15416),P161,Q112920) (c(Q838948),P161,Q112920)
action count
action union
action filter_type
action find_reverse
entity Q112920
relation P161
type Q15416
action filter_type
action find_reverse
entity Q112920
relation P161
type Q838948
[{'concept': 'Q15416'}, 'P161', 'Q112920'] [{'concept': 'Q838948'}, 'P161', 'Q112920']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
Teresa Weißbach
action count
action union
action filter_type
action find_reverse
entity Teresa Weißbach
relation cast member
type television program
action filter_type
action find_reverse
entity Teresa Weißbach
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Teresa Weißbach'] [{'concept': 'work of art'}, 'cast member', 'Teresa Weißbach']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
television program work of art
SYSTEM
1 television programs and 2 works of art
Q1454874 Q20795460 Q540191
(c(Q15416),P161,Q112920) (c(Q838948),P161,Q112920)
action count
action union
action filter_type
action find_reverse
entity Q112920
relation P161
type Q15416
action filter_type
action find_reverse
entity Q112920
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q112920'] [{'concept': 'Q838948'}, 'P161', 'Q112920']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
Freiwild - Ein Würzburg-Krimi Toilet Stories Sonnenallee
1 television programs and 2 works of art
action count
action union
action filter_type
action find_reverse
entity Teresa Weißbach
relation cast member
type television program
action filter_type
action find_reverse
entity Teresa Weißbach
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Teresa Weißbach'] [{'concept': 'work of art'}, 'cast member', 'Teresa Weißbach']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q604810 Q7966073
P47 P27
Q1048835
USER
Which political territories do Walter Schlags-Koch belong to or are adjacent to Markina-Xemein ?
OR((Q7966073,P27,c(Q1048835)), (Q604810,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q7966073
relation P27
action find
entity Q604810
relation P47
type Q1048835
{'OR': [['Q7966073', 'P27', {'concept': 'Q1048835'}], ['Q604810', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q604810 property:P47 ?y } UNION { resource:Q7966073 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
Markina-Xemein Walter Schlags-Koch
action filter_type
action union
action find
entity Walter Schlags-Koch
relation country of citizenship
action find
entity Markina-Xemein
relation shares border with
type political territorial entity
{'OR': [['Walter Schlags-Koch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Markina-Xemein', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Markina-Xemein property:shares_border_with ?y } UNION { resource:Walter_Schlags-Koch property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1618383 Q1247479 Q648921 Q4472 Q629193 Q183 Q427240 Q1228064 Q1618305 Q1227994
SYSTEM
Elgoibar, Ziortza-Bolibar, Etxebarria, Aulesti, Mendaro, Germany, Amoroto, Berriatua, Mutriku, Mallabia
Q1618383 Q1247479 Q648921 Q4472 Q629193 Q183 Q427240 Q1228064 Q1618305 Q1227994
OR((Q7966073,P27,c(Q1048835)), (Q604810,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q7966073
relation P27
action find
entity Q604810
relation P47
type Q1048835
Walter Schlags-Koch belong to or are adjacent to Markina-Xemein [ANSWERS]
{'OR': [['Q7966073', 'P27', {'concept': 'Q1048835'}], ['Q604810', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q604810 property:P47 ?y } UNION { resource:Q7966073 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
Elgoibar Ziortza-Bolibar Etxebarria Aulesti Mendaro Germany Amoroto Berriatua Mutriku Mallabia
Walter Schlags-Koch belong to or are adjacent to Markina-Xemein Elgoibar, Ziortza-Bolibar, Etxebarria, Aulesti, Mendaro, Germany, Amoroto, Berriatua, Mutriku and Mallabia
Elgoibar Ziortza-Bolibar Etxebarria Aulesti Mendaro Germany Amoroto Berriatua Mutriku Mallabia
action filter_type
action union
action find
entity Walter Schlags-Koch
relation country of citizenship
action find
entity Markina-Xemein
relation shares border with
type political territorial entity
{'OR': [['Walter Schlags-Koch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Markina-Xemein', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Markina-Xemein property:shares_border_with ?y } UNION { resource:Walter_Schlags-Koch property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1618305
P1313
Q12737077
USER
Which occupation is fulfilled by Mutriku ?
(Q1618305,P1313,c(Q12737077))
action filter_type
action find
entity Q1618305
relation P1313
type Q12737077
['Q1618305', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1618305 property:P1313 ?s . ?s rdf:type ontology:Q12737077 }
Mutriku
action filter_type
action find
entity Mutriku
relation office held by head of government
type occupation
['Mutriku', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Mutriku property:office_held_by_head_of_government ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q26692379
SYSTEM
mayor of Motrico
Q26692379
(Q1618305,P1313,c(Q12737077))
action filter_type
action find
entity Q1618305
relation P1313
type Q12737077
The [ANSWER] is fulfilled by Mutriku
['Q1618305', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1618305 property:P1313 ?s . ?s rdf:type ontology:Q12737077 }
mayor of Motrico
The mayor of Motrico is fulfilled by Mutriku
mayor of Motrico
action filter_type
action find
entity Mutriku
relation office held by head of government
type occupation
['Mutriku', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Mutriku property:office_held_by_head_of_government ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365
P840
Q234460
USER
Which texts have their narrative set in Cologne ?
(c(Q234460),P840,Q365)
action filter_type
action find_reverse
entity Q365
relation P840
type Q234460
[{'concept': 'Q234460'}, 'P840', 'Q365']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q234460 . ?w property:P840 resource:Q365 }
Cologne
action filter_type
action find_reverse
entity Cologne
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', 'Cologne']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:text . ?w property:narrative_location resource:Cologne }
[]
text
Q514002 Q1551030 Q1193148
SYSTEM
The Clown, Group Portrait with Lady, The Silent Angel
Q1193148 Q514002 Q655773 Q1551030
(c(Q234460),P840,Q365)
action filter_type
action find_reverse
entity Q365
relation P840
type Q234460
[ANSWERS] have their narrative set in Cologne
[{'concept': 'Q234460'}, 'P840', 'Q365']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q234460 . ?w property:P840 resource:Q365 }
The Silent Angel The Clown Billiards at Half-past Nine Group Portrait with Lady
The Clown, Group Portrait with Lady and The Silent Angel have their narrative set in Cologne
The Clown Group Portrait with Lady The Silent Angel
action filter_type
action find_reverse
entity Cologne
relation narrative location
type text
[{'concept': 'text'}, 'narrative location', 'Cologne']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:text . ?w property:narrative_location resource:Cologne }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365
P6
Q502895
USER
Which people are the head of government of Cologne ?
(Q365,P6,c(Q502895))
action filter_type
action find
entity Q365
relation P6
type Q502895
['Q365', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q365 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Cologne
action filter_type
action find
entity Cologne
relation head of government
type common name
['Cologne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Cologne property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q99424 Q19285371 Q2157402
SYSTEM
Norbert Burger, Henriette Reker, Robert Görlinger
Q99424 Q1360182 Q215272 Q19285371 Q2416853 Q54678 Q2157402 Q96758 Q104695
(Q365,P6,c(Q502895))
action filter_type
action find
entity Q365
relation P6
type Q502895
[ANSWERS] are the head of government of Cologne
['Q365', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q365 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Norbert Burger Ernst Schwering John van Nes Ziegler Henriette Reker Theo Burauen Jürgen Roters Robert Görlinger Fritz Schramma Harry Blum
Norbert Burger, Henriette Reker and Robert Görlinger are the head of government of Cologne
Norbert Burger Henriette Reker Robert Görlinger
action filter_type
action find
entity Cologne
relation head of government
type common name
['Cologne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Cologne property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]