Simple Question (Direct)
Simple Question
Q302785
P190
Q13539802
USER
Which place with town privileges is twin town of Hammelburg ?
(Q302785,P190,c(Q13539802))
action filter_type
action find
entity Q302785
relation P190
type Q13539802
['Q302785', 'P190', {'concept': 'Q13539802'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13539802 . resource:Q302785 property:P190 ?q }
Hammelburg
action filter_type
action find
entity Hammelburg
relation sister city
type place with town rights and privileges
['Hammelburg', 'sister city', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:place_with_town_rights_and_privileges . resource:Hammelburg property:sister_city ?q }
[]
place with town rights and privileges
Q271783
SYSTEM
Turnhout
Q271783
(Q302785,P190,c(Q13539802))
action filter_type
action find
entity Q302785
relation P190
type Q13539802
In [ANSWER] is twin town of Hammelburg
['Q302785', 'P190', {'concept': 'Q13539802'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13539802 . resource:Q302785 property:P190 ?q }
Turnhout
In Turnhout is twin town of Hammelburg
Turnhout
action filter_type
action find
entity Hammelburg
relation sister city
type place with town rights and privileges
['Hammelburg', 'sister city', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:place_with_town_rights_and_privileges . resource:Hammelburg property:sister_city ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302785
P937
Q502895
USER
Who works at Hammelburg ?
(c(Q502895),P937,Q302785)
action filter_type
action find_reverse
entity Q302785
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q302785']
SELECT DISTINCT ?a WHERE { ?a property:P937 resource:Q302785 . ?a rdf:type ontology:Q502895 }
Hammelburg
action filter_type
action find_reverse
entity Hammelburg
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hammelburg']
SELECT DISTINCT ?a WHERE { ?a property:work_location resource:Hammelburg . ?a rdf:type ontology:common_name }
[]
common name
Q15110476
SYSTEM
Adam Kaiser
Q15110476
(c(Q502895),P937,Q302785)
action filter_type
action find_reverse
entity Q302785
relation P937
type Q502895
[ANSWER] works at Hammelburg
[{'concept': 'Q502895'}, 'P937', 'Q302785']
SELECT DISTINCT ?a WHERE { ?a property:P937 resource:Q302785 . ?a rdf:type ontology:Q502895 }
Adam Kaiser
Adam Kaiser works at Hammelburg
Adam Kaiser
action filter_type
action find_reverse
entity Hammelburg
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hammelburg']
SELECT DISTINCT ?a WHERE { ?a property:work_location resource:Hammelburg . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15110476
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q15110476,P39,c(Q12737077))
action filter_type
action find
entity Q15110476
relation P39
type Q12737077
['Q15110476', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q15110476 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Adam Kaiser
action filter_type
action find
entity Adam Kaiser
relation position held
type occupation
['Adam Kaiser', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Adam_Kaiser property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q15110476,P39,c(Q12737077))
action filter_type
action find
entity Q15110476
relation P39
type Q12737077
The [ANSWER] was a position occupied by that person
['Q15110476', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q15110476 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
mayor
The mayor was a position occupied by that person
mayor
action filter_type
action find
entity Adam Kaiser
relation position held
type occupation
['Adam Kaiser', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Adam_Kaiser property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30185 Q20876638
P39
Q502895
USER
Was Salvador Fábregas Buicel responsible for occupying the position of that occupation ?
(Q20876638,P39,Q30185)
action is_in
entity Q30185
action find
entity Q20876638
relation P39
['Q20876638', 'P39', 'Q30185']
ASK WHERE { resource:Q20876638 property:P39 resource:Q30185 }
mayor Salvador Fábregas Buicel
action is_in
entity mayor
action find
entity Salvador Fábregas Buicel
relation position held
['Salvador Fábregas Buicel', 'position held', 'mayor']
ASK WHERE { resource:Salvador_Fábregas_Buicel property:position_held resource:mayor }
[]
common name
SYSTEM
YES
(Q20876638,P39,Q30185)
action is_in
entity Q30185
action find
entity Q20876638
relation P39
[ANSWER]
['Q20876638', 'P39', 'Q30185']
ASK WHERE { resource:Q20876638 property:P39 resource:Q30185 }
Yes
action is_in
entity mayor
action find
entity Salvador Fábregas Buicel
relation position held
['Salvador Fábregas Buicel', 'position held', 'mayor']
ASK WHERE { resource:Salvador_Fábregas_Buicel property:position_held resource:mayor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q302785 Q583371 Q9447
P47
Q15617994
USER
Is Hammelburg bordered by Wasserlosen and Lusigliè ?
(Q302785,P47,Q583371) (Q302785,P47,Q9447)
action is_in
entity Q302785
action intersection
action find_reverse
entity Q583371
relation P47
action find_reverse
entity Q9447
relation P47
['Q302785', 'P47', 'Q583371'] ['Q302785', 'P47', 'Q9447']
ASK WHERE { resource:Q302785 property:P47 resource:Q583371 . resource:Q302785 property:P47 resource:Q9447 }
Hammelburg Wasserlosen Lusigliè
action is_in
entity Hammelburg
action intersection
action find_reverse
entity Wasserlosen
relation shares border with
action find_reverse
entity Lusigliè
relation shares border with
['Hammelburg', 'shares border with', 'Wasserlosen'] ['Hammelburg', 'shares border with', 'Lusigliè']
ASK WHERE { resource:Hammelburg property:shares_border_with resource:Wasserlosen . resource:Hammelburg property:shares_border_with resource:Lusigliè }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q302785,P47,Q583371) (Q302785,P47,Q9447)
action is_in
entity Q302785
action intersection
action find_reverse
entity Q583371
relation P47
action find_reverse
entity Q9447
relation P47
[ANSWER]
['Q302785', 'P47', 'Q583371'] ['Q302785', 'P47', 'Q9447']
ASK WHERE { resource:Q302785 property:P47 resource:Q583371 . resource:Q302785 property:P47 resource:Q9447 }
YES and NO respectively
action is_in
entity Hammelburg
action intersection
action find_reverse
entity Wasserlosen
relation shares border with
action find_reverse
entity Lusigliè
relation shares border with
['Hammelburg', 'shares border with', 'Wasserlosen'] ['Hammelburg', 'shares border with', 'Lusigliè']
ASK WHERE { resource:Hammelburg property:shares_border_with resource:Wasserlosen . resource:Hammelburg property:shares_border_with resource:Lusigliè }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15110476 Q4393482 Q8165
P27
Q1048835
USER
Is Adam Kaiser a citizen of Ripne and Karlsruhe Government Region ?
(Q15110476,P27,Q4393482) (Q15110476,P27,Q8165)
action is_in
entity Q15110476
action intersection
action find_reverse
entity Q4393482
relation P27
action find_reverse
entity Q8165
relation P27
['Q15110476', 'P27', 'Q4393482'] ['Q15110476', 'P27', 'Q8165']
ASK WHERE { resource:Q15110476 property:P27 resource:Q4393482 . resource:Q15110476 property:P27 resource:Q8165 }
Adam Kaiser Ripne Karlsruhe Government Region
action is_in
entity Adam Kaiser
action intersection
action find_reverse
entity Ripne
relation country of citizenship
action find_reverse
entity Karlsruhe Government Region
relation country of citizenship
['Adam Kaiser', 'country of citizenship', 'Ripne'] ['Adam Kaiser', 'country of citizenship', 'Karlsruhe Government Region']
ASK WHERE { resource:Adam_Kaiser property:country_of_citizenship resource:Ripne . resource:Adam_Kaiser property:country_of_citizenship resource:Karlsruhe_Government_Region }
[]
political territorial entity
SYSTEM
NO
(Q15110476,P27,Q4393482) (Q15110476,P27,Q8165)
action is_in
entity Q15110476
action intersection
action find_reverse
entity Q4393482
relation P27
action find_reverse
entity Q8165
relation P27
[ANSWER]
['Q15110476', 'P27', 'Q4393482'] ['Q15110476', 'P27', 'Q8165']
ASK WHERE { resource:Q15110476 property:P27 resource:Q4393482 . resource:Q15110476 property:P27 resource:Q8165 }
No
action is_in
entity Adam Kaiser
action intersection
action find_reverse
entity Ripne
relation country of citizenship
action find_reverse
entity Karlsruhe Government Region
relation country of citizenship
['Adam Kaiser', 'country of citizenship', 'Ripne'] ['Adam Kaiser', 'country of citizenship', 'Karlsruhe Government Region']
ASK WHERE { resource:Adam_Kaiser property:country_of_citizenship resource:Ripne . resource:Adam_Kaiser property:country_of_citizenship resource:Karlsruhe_Government_Region }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1261526 Q15110476
P27
Q1048835
USER
Which political territories do Adam Kaiser or Ksenija Pajčin belong to ?
OR((Q15110476,P27,c(Q1048835)), (Q1261526,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q15110476
relation P27
action find
entity Q1261526
relation P27
type Q1048835
{'OR': [['Q15110476', 'P27', {'concept': 'Q1048835'}], ['Q1261526', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q15110476 property:P27 ?i } UNION { resource:Q1261526 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
Ksenija Pajčin Adam Kaiser
action filter_type
action union
action find
entity Adam Kaiser
relation country of citizenship
action find
entity Ksenija Pajčin
relation country of citizenship
type political territorial entity
{'OR': [['Adam Kaiser', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ksenija Pajčin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Adam_Kaiser property:country_of_citizenship ?i } UNION { resource:Ksenija_Pajčin property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q838261 Q183
SYSTEM
Federal Republic of Yugoslavia, Germany
Q838261 Q183
OR((Q15110476,P27,c(Q1048835)), (Q1261526,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q15110476
relation P27
action find
entity Q1261526
relation P27
type Q1048835
Adam Kaiser or Ksenija Pajčin belong to the [ANSWERS]
{'OR': [['Q15110476', 'P27', {'concept': 'Q1048835'}], ['Q1261526', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q15110476 property:P27 ?i } UNION { resource:Q1261526 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
Federal Republic of Yugoslavia Germany
Adam Kaiser or Ksenija Pajčin belong to the Federal Republic of Yugoslavia and Germany
Federal Republic of Yugoslavia Germany
action filter_type
action union
action find
entity Adam Kaiser
relation country of citizenship
action find
entity Ksenija Pajčin
relation country of citizenship
type political territorial entity
{'OR': [['Adam Kaiser', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ksenija Pajčin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Adam_Kaiser property:country_of_citizenship ?i } UNION { resource:Ksenija_Pajčin property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4997376
P495
Q838948
USER
Did Bun-rye's Story originate in those political territories ?
(Q4997376,P495,Q838261) (Q4997376,P495,Q183)
action is_in
entity prev_answer
action find
entity Q4997376
relation P495
['Q4997376', 'P495', 'Q838261'] ['Q4997376', 'P495', 'Q183']
ASK WHERE { resource:Q4997376 property:P495 ?f . VALUES ( ?f ) { ( resource:Q838261 ) ( resource:Q183 ) } }
Bun-rye's Story
action is_in
entity prev_answer
action find
entity Bun-rye's Story
relation country of origin
["Bun-rye's Story", 'country of origin', 'Federal Republic of Yugoslavia'] ["Bun-rye's Story", 'country of origin', 'Germany']
ASK WHERE { resource:Bun-rye's_Story property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Federal_Republic_of_Yugoslavia ) ( resource:Germany ) } }
[]
work of art
SYSTEM
NO
(Q4997376,P495,Q838261) (Q4997376,P495,Q183)
action is_in
entity prev_answer
action find
entity Q4997376
relation P495
[ANSWER]
['Q4997376', 'P495', 'Q838261'] ['Q4997376', 'P495', 'Q183']
ASK WHERE { resource:Q4997376 property:P495 ?f . VALUES ( ?f ) { ( resource:Q838261 ) ( resource:Q183 ) } }
No
action is_in
entity prev_answer
action find
entity Bun-rye's Story
relation country of origin
["Bun-rye's Story", 'country of origin', 'Federal Republic of Yugoslavia'] ["Bun-rye's Story", 'country of origin', 'Germany']
ASK WHERE { resource:Bun-rye's_Story property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Federal_Republic_of_Yugoslavia ) ( resource:Germany ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1368162 Q20876638
P39
Q12737077
USER
Which occupations were the positions occupied by Salvador Fábregas Buicel or Karin Schmidt ?
OR((Q20876638,P39,c(Q12737077)), (Q1368162,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q20876638
relation P39
action find
entity Q1368162
relation P39
type Q12737077
{'OR': [['Q20876638', 'P39', {'concept': 'Q12737077'}], ['Q1368162', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . { { resource:Q20876638 property:P39 ?k } UNION { resource:Q1368162 property:P39 ?k } } }
Karin Schmidt Salvador Fábregas Buicel
action filter_type
action union
action find
entity Salvador Fábregas Buicel
relation position held
action find
entity Karin Schmidt
relation position held
type occupation
{'OR': [['Salvador Fábregas Buicel', 'position held', {'concept': 'occupation'}], ['Karin Schmidt', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . { { resource:Salvador_Fábregas_Buicel property:position_held ?k } UNION { resource:Karin_Schmidt property:position_held ?k } } }
[]
occupation
Q30185 Q18327349 Q708492
SYSTEM
mayor, Member of the Landtag of Mecklenburg-Vorpommern, councillor
Q30185 Q18327349 Q708492
OR((Q20876638,P39,c(Q12737077)), (Q1368162,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q20876638
relation P39
action find
entity Q1368162
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Salvador Fábregas Buicel or Karin Schmidt
{'OR': [['Q20876638', 'P39', {'concept': 'Q12737077'}], ['Q1368162', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . { { resource:Q20876638 property:P39 ?k } UNION { resource:Q1368162 property:P39 ?k } } }
mayor Member of the Landtag of Mecklenburg-Vorpommern councillor
Mayor, Member of the Landtag of Mecklenburg-Vorpommern and councillor were the positions occupied by Salvador Fábregas Buicel or Karin Schmidt
mayor Member of the Landtag of Mecklenburg-Vorpommern councillor
action filter_type
action union
action find
entity Salvador Fábregas Buicel
relation position held
action find
entity Karin Schmidt
relation position held
type occupation
{'OR': [['Salvador Fábregas Buicel', 'position held', {'concept': 'occupation'}], ['Karin Schmidt', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . { { resource:Salvador_Fábregas_Buicel property:position_held ?k } UNION { resource:Karin_Schmidt property:position_held ?k } } }
[]