Simple Question (Direct)
Simple Question
Q98273
P166
Q618779
USER
What was won by Wolfram Siebeck ?
(Q98273,P166,c(Q618779))
action filter_type
action find
entity Q98273
relation P166
type Q618779
['Q98273', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q98273 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Wolfram Siebeck
action filter_type
action find
entity Wolfram Siebeck
relation award received
type award
['Wolfram Siebeck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Wolfram_Siebeck property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q10905334
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q10905334
(Q98273,P166,c(Q618779))
action filter_type
action find
entity Q98273
relation P166
type Q618779
Germany [ANSWER] was won by Wolfram Siebeck
['Q98273', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q98273 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Germany Officer's Cross of the Order of Merit of the Federal Republic of Germany was won by Wolfram Siebeck
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Wolfram Siebeck
relation award received
type award
['Wolfram Siebeck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Wolfram_Siebeck property:award_received ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98273
P20
Q56061
USER
Where did that person die ?
(Q10905334,P20,c(Q56061))
action filter_type
action find
entity Q98273
relation P20
type Q56061
['Q10905334', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q98273 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Wolfram Siebeck
action filter_type
action find
entity Wolfram Siebeck
relation place of death
type administrative territorial entity
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wolfram_Siebeck property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q532167
SYSTEM
Mahlberg
Q532167
(Q10905334,P20,c(Q56061))
action filter_type
action find
entity Q98273
relation P20
type Q56061
That person died at [ANSWER]
['Q10905334', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q98273 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Mahlberg
That person died at Mahlberg
Mahlberg
action filter_type
action find
entity Wolfram Siebeck
relation place of death
type administrative territorial entity
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wolfram_Siebeck property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q532167
P17
Q1048835
USER
How many political territories are Mahlberg a part of ?
(Q532167,P17,c(Q1048835))
action count
action filter_type
action find
entity Q532167
relation P17
type Q1048835
['Q532167', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q532167 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Mahlberg
action count
action filter_type
action find
entity Mahlberg
relation country
type political territorial entity
['Mahlberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Mahlberg property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q532167,P17,c(Q1048835))
action count
action filter_type
action find
entity Q532167
relation P17
type Q1048835
[ANSWER]
['Q532167', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q532167 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Mahlberg
relation country
type political territorial entity
['Mahlberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Mahlberg property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21921285
P17
Q1048835
USER
Which political territory is Mount Catherina situated in ?
(Q21921285,P17,c(Q1048835))
action filter_type
action find
entity Q21921285
relation P17
type Q1048835
['Q21921285', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q21921285 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Mount Catherina
action filter_type
action find
entity Mount Catherina
relation country
type political territorial entity
['Mount Catherina', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mount_Catherina property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21921285,P17,c(Q1048835))
action filter_type
action find
entity Q21921285
relation P17
type Q1048835
Mount Catherina is situated in [ANSWER]
['Q21921285', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q21921285 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Mount Catherina is situated in Australia
Australia
action filter_type
action find
entity Mount Catherina
relation country
type political territorial entity
['Mount Catherina', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mount_Catherina property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q6847314
P27
Q502895
USER
Is Mike Horan a native of that political territory ?
(Q6847314,P27,Q408)
action is_in
entity Q408
action find
entity Q6847314
relation P27
['Q6847314', 'P27', 'Q408']
ASK WHERE { resource:Q6847314 property:P27 resource:Q408 }
Australia Mike Horan
action is_in
entity Australia
action find
entity Mike Horan
relation country of citizenship
['Mike Horan', 'country of citizenship', 'Australia']
ASK WHERE { resource:Mike_Horan property:country_of_citizenship resource:Australia }
[]
common name
SYSTEM
YES
(Q6847314,P27,Q408)
action is_in
entity Q408
action find
entity Q6847314
relation P27
[ANSWER]
['Q6847314', 'P27', 'Q408']
ASK WHERE { resource:Q6847314 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Mike Horan
relation country of citizenship
['Mike Horan', 'country of citizenship', 'Australia']
ASK WHERE { resource:Mike_Horan property:country_of_citizenship resource:Australia }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1751912 Q532167
P47 P17
Q1048835
USER
Which political territories are Mahlberg present in or are adjacent to Torres de la Alameda ?
OR((Q532167,P17,c(Q1048835)), (Q1751912,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q532167
relation P17
action find
entity Q1751912
relation P47
type Q1048835
{'OR': [['Q532167', 'P17', {'concept': 'Q1048835'}], ['Q1751912', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q532167 property:P17 ?y } UNION { resource:Q1751912 property:P47 ?y } } . ?y rdf:type ontology:Q1048835 }
Torres de la Alameda Mahlberg
action filter_type
action union
action find
entity Mahlberg
relation country
action find
entity Torres de la Alameda
relation shares border with
type political territorial entity
{'OR': [['Mahlberg', 'country', {'concept': 'political territorial entity'}], ['Torres de la Alameda', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Mahlberg property:country ?y } UNION { resource:Torres_de_la_Alameda property:shares_border_with ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1646206 Q1646224 Q183 Q1751919 Q2003388 Q842211
SYSTEM
Loeches, Villalbilla, Germany, Pozuelo del Rey, Valverde de Alcalá, San Fernando de Henares
Q1646206 Q1646224 Q183 Q1751919 Q2003388 Q842211
OR((Q532167,P17,c(Q1048835)), (Q1751912,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q532167
relation P17
action find
entity Q1751912
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q532167', 'P17', {'concept': 'Q1048835'}], ['Q1751912', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q532167 property:P17 ?y } UNION { resource:Q1751912 property:P47 ?y } } . ?y rdf:type ontology:Q1048835 }
Loeches Villalbilla Germany Pozuelo del Rey Valverde de Alcalá San Fernando de Henares
Which political territories are Mahlberg present in or are adjacent to Torres de la Alameda
Loeches Villalbilla Germany Pozuelo del Rey Valverde de Alcalá San Fernando de Henares
action filter_type
action union
action find
entity Mahlberg
relation country
action find
entity Torres de la Alameda
relation shares border with
type political territorial entity
{'OR': [['Mahlberg', 'country', {'concept': 'political territorial entity'}], ['Torres de la Alameda', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Mahlberg property:country ?y } UNION { resource:Torres_de_la_Alameda property:shares_border_with ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1708925 Q532167
P17
Q1048835
USER
Which political territories are Mahlberg or Dawson City Water Aerodrome a part of ?
OR((Q532167,P17,c(Q1048835)), (Q1708925,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q532167
relation P17
action find
entity Q1708925
relation P17
type Q1048835
{'OR': [['Q532167', 'P17', {'concept': 'Q1048835'}], ['Q1708925', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1708925 property:P17 ?b } UNION { resource:Q532167 property:P17 ?b } } . ?b rdf:type ontology:Q1048835 }
Dawson City Water Aerodrome Mahlberg
action filter_type
action union
action find
entity Mahlberg
relation country
action find
entity Dawson City Water Aerodrome
relation country
type political territorial entity
{'OR': [['Mahlberg', 'country', {'concept': 'political territorial entity'}], ['Dawson City Water Aerodrome', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Dawson_City_Water_Aerodrome property:country ?b } UNION { resource:Mahlberg property:country ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q532167,P17,c(Q1048835)), (Q1708925,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q532167
relation P17
action find
entity Q1708925
relation P17
type Q1048835
[ANSWERS] are Mahlberg or Dawson City Water Aerodrome a part of
{'OR': [['Q532167', 'P17', {'concept': 'Q1048835'}], ['Q1708925', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1708925 property:P17 ?b } UNION { resource:Q532167 property:P17 ?b } } . ?b rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are Mahlberg or Dawson City Water Aerodrome a part of
Canada Germany
action filter_type
action union
action find
entity Mahlberg
relation country
action find
entity Dawson City Water Aerodrome
relation country
type political territorial entity
{'OR': [['Mahlberg', 'country', {'concept': 'political territorial entity'}], ['Dawson City Water Aerodrome', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Dawson_City_Water_Aerodrome property:country ?b } UNION { resource:Mahlberg property:country ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q183
P163
Q14660
USER
Which flags are associated with Canada and Germany ?
(Q16,P163,c(Q14660)) (Q183,P163,c(Q14660))
action union
action filter_type
action find
entity Q16
relation P163
type Q14660
action filter_type
action find
entity Q183
relation P163
type Q14660
['Q16', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { { resource:Q16 property:P163 ?p . ?p rdf:type ontology:Q14660 } UNION { resource:Q183 property:P163 ?p . ?p rdf:type ontology:Q14660 } }
Canada Germany
action union
action filter_type
action find
entity Canada
relation flag
type flag
action filter_type
action find
entity Germany
relation flag
type flag
['Canada', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { { resource:Canada property:flag ?p . ?p rdf:type ontology:flag } UNION { resource:Germany property:flag ?p . ?p rdf:type ontology:flag } }
[]
flag
Q80110 Q48160
SYSTEM
flag of Canada, flag of Germany
Q80110 Q48160
(Q16,P163,c(Q14660)) (Q183,P163,c(Q14660))
action union
action filter_type
action find
entity Q16
relation P163
type Q14660
action filter_type
action find
entity Q183
relation P163
type Q14660
And [ANSWERS] are associated with Canada and Germany
['Q16', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?p WHERE { { resource:Q16 property:P163 ?p . ?p rdf:type ontology:Q14660 } UNION { resource:Q183 property:P163 ?p . ?p rdf:type ontology:Q14660 } }
flag of Canada flag of Germany
And flag of Canada and flag of Germany are associated with Canada and Germany
flag of Canada flag of Germany
action union
action filter_type
action find
entity Canada
relation flag
type flag
action filter_type
action find
entity Germany
relation flag
type flag
['Canada', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?p WHERE { { resource:Canada property:flag ?p . ?p rdf:type ontology:flag } UNION { resource:Germany property:flag ?p . ?p rdf:type ontology:flag } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q80110 Q48160
P163
Q1048835
USER
Which political territories have their flag named those ones ?
(c(Q1048835),P163,Q80110) (c(Q1048835),P163,Q48160)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[{'concept': 'Q1048835'}, 'P163', 'Q80110'] [{'concept': 'Q1048835'}, 'P163', 'Q48160']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . ?f property:P163 ?e . VALUES ( ?e ) { ( resource:Q80110 ) ( resource:Q48160 ) } }
flag of Canada flag of Germany
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Canada'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Germany']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . ?f property:flag ?e . VALUES ( ?e ) { ( resource:flag_of_Canada ) ( resource:flag_of_Germany ) } }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
(c(Q1048835),P163,Q80110) (c(Q1048835),P163,Q48160)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[ANSWERS] have their flag named those ones
[{'concept': 'Q1048835'}, 'P163', 'Q80110'] [{'concept': 'Q1048835'}, 'P163', 'Q48160']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . ?f property:P163 ?e . VALUES ( ?e ) { ( resource:Q80110 ) ( resource:Q48160 ) } }
Canada Germany
Canada and Germany have their flag named those ones
Canada Germany
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'flag of Canada'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Germany']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . ?f property:flag ?e . VALUES ( ?e ) { ( resource:flag_of_Canada ) ( resource:flag_of_Germany ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16 Q183
P17
Q1048835
USER
Which political territories do those ones belong to ?
(Q16,P17,c(Q1048835)) (Q183,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q16', 'P17', {'concept': 'Q1048835'}] ['Q183', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . ?r property:P17 ?u . VALUES ( ?r ) { ( resource:Q16 ) ( resource:Q183 ) } }
Canada Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}] ['Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . ?r property:country ?u . VALUES ( ?r ) { ( resource:Canada ) ( resource:Germany ) } }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
(Q16,P17,c(Q1048835)) (Q183,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those ones belong to [ANSWERS]
['Q16', 'P17', {'concept': 'Q1048835'}] ['Q183', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . ?r property:P17 ?u . VALUES ( ?r ) { ( resource:Q16 ) ( resource:Q183 ) } }
Canada Germany
Those ones belong to Canada and Germany
Canada Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}] ['Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . ?r property:country ?u . VALUES ( ?r ) { ( resource:Canada ) ( resource:Germany ) } }
[]