Simple Question (Direct)
Simple Question
Q2038447
P19
Q486972
USER
Where was Otto Coors born ?
(Q2038447,P19,c(Q486972))
action filter_type
action find
entity Q2038447
relation P19
type Q486972
['Q2038447', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q2038447 property:P19 ?i }
Otto Coors
action filter_type
action find
entity Otto Coors
relation place of birth
type human settlement
['Otto Coors', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Otto_Coors property:place_of_birth ?i }
[]
human settlement
Q2916
SYSTEM
Osnabrück
Q2916
(Q2038447,P19,c(Q486972))
action filter_type
action find
entity Q2038447
relation P19
type Q486972
Otto Coors was born in [ANSWER]
['Q2038447', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q2038447 property:P19 ?i }
Osnabrück
Otto Coors was born in Osnabrück
Osnabrück
action filter_type
action find
entity Otto Coors
relation place of birth
type human settlement
['Otto Coors', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Otto_Coors property:place_of_birth ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2916
P740
Q2088357
USER
What were formed at that human settlement ?
(c(Q2088357),P740,Q2916)
action filter_type
action find_reverse
entity Q2916
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q2916']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q2916 . ?v rdf:type ontology:Q2088357 }
Osnabrück
action filter_type
action find_reverse
entity Osnabrück
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Osnabrück']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Osnabrück . ?v rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q204248 Q19258095
SYSTEM
S.D.I., 4.9.0 Friedhof Chiller
Q204248 Q19258095
(c(Q2088357),P740,Q2916)
action filter_type
action find_reverse
entity Q2916
relation P740
type Q2088357
[ANSWERS] were formed at that human settlement
[{'concept': 'Q2088357'}, 'P740', 'Q2916']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q2916 . ?v rdf:type ontology:Q2088357 }
S.D.I. 4.9.0 Friedhof Chiller
S.D.I. and 4.9.0 Friedhof Chiller were formed at that human settlement
S.D.I. 4.9.0 Friedhof Chiller
action filter_type
action find_reverse
entity Osnabrück
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Osnabrück']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Osnabrück . ?v rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q204248 Q19258095
P495
Q1048835
USER
What are the countries of origin of those musical ensembles ?
(Q204248,P495,c(Q1048835)) (Q19258095,P495,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P495
type Q1048835
['Q204248', 'P495', {'concept': 'Q1048835'}] ['Q19258095', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . VALUES ( ?a ) { ( resource:Q204248 ) ( resource:Q19258095 ) } . ?a property:P495 ?d }
S.D.I. 4.9.0 Friedhof Chiller
action filter_type
action find
entity prev_answer
relation country of origin
type political territorial entity
['S.D.I.', 'country of origin', {'concept': 'political territorial entity'}] ['4.9.0 Friedhof Chiller', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . VALUES ( ?a ) { ( resource:S.D.I. ) ( resource:4.9.0_Friedhof_Chiller ) } . ?a property:country_of_origin ?d }
[]
political territorial entity
Q183 Q183
SYSTEM
Germany
Q183 Q183
(Q204248,P495,c(Q1048835)) (Q19258095,P495,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P495
type Q1048835
The countries of origin of those musical ensembles are [ANSWER] and [ANSWER]
['Q204248', 'P495', {'concept': 'Q1048835'}] ['Q19258095', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . VALUES ( ?a ) { ( resource:Q204248 ) ( resource:Q19258095 ) } . ?a property:P495 ?d }
Germany Germany
The countries of origin of those musical ensembles are Germany and Germany
Germany Germany
action filter_type
action find
entity prev_answer
relation country of origin
type political territorial entity
['S.D.I.', 'country of origin', {'concept': 'political territorial entity'}] ['4.9.0 Friedhof Chiller', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . VALUES ( ?a ) { ( resource:S.D.I. ) ( resource:4.9.0_Friedhof_Chiller ) } . ?a property:country_of_origin ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2916
P190
Q56061
USER
Which administrative territories are twin cities of Osnabrück ?
(Q2916,P190,c(Q56061))
action filter_type
action find
entity Q2916
relation P190
type Q56061
['Q2916', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2916 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Osnabrück
action filter_type
action find
entity Osnabrück
relation sister city
type administrative territorial entity
['Osnabrück', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Osnabrück property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9920 Q2288 Q152462
SYSTEM
Haarlem, Tver, Afula
Q9920 Q2288 Q152462 Q503856 Q199712 Q42066 Q43475 Q486459
(Q2916,P190,c(Q56061))
action filter_type
action find
entity Q2916
relation P190
type Q56061
[ANSWERS] are twin cities of Osnabrück
['Q2916', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2916 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Haarlem Tver Afula Vila Real Çanakkale Gwangmyeong Derby Evansville
Haarlem, Tver and Afula are twin cities of Osnabrück
Haarlem Tver Afula
action filter_type
action find
entity Osnabrück
relation sister city
type administrative territorial entity
['Osnabrück', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Osnabrück property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2288
P276
Q3270632
USER
Which national championship is located at that administrative territory ?
(c(Q3270632),P276,Q2288)
action filter_type
action find_reverse
entity Q2288
relation P276
type Q3270632
[{'concept': 'Q3270632'}, 'P276', 'Q2288']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q2288 . ?l rdf:type ontology:Q3270632 }
Tver
action filter_type
action find_reverse
entity Tver
relation location
type national championship
[{'concept': 'national championship'}, 'location', 'Tver']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Tver . ?l rdf:type ontology:national_championship }
[]
national championship
Clarification for simple ques.
Q2288
SYSTEM
Did you mean Tver ?
Q9920 Q2288 Q152462
(c(Q3270632),P276,Q9920) (c(Q3270632),P276,Q2288) (c(Q3270632),P276,Q152462)
[ANSWER]
[{'concept': 'Q3270632'}, 'P276', 'Q9920'] [{'concept': 'Q3270632'}, 'P276', 'Q2288'] [{'concept': 'Q3270632'}, 'P276', 'Q152462']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q2288 . ?l rdf:type ontology:Q3270632 }
Haarlem Tver Afula
Did you mean Tver ?
Tver
[{'concept': 'national championship'}, 'location', 'Haarlem'] [{'concept': 'national championship'}, 'location', 'Tver'] [{'concept': 'national championship'}, 'location', 'Afula']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Tver . ?l rdf:type ontology:national_championship }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3270632),P276,Q2288)
[{'concept': 'Q3270632'}, 'P276', 'Q2288']
[{'concept': 'national championship'}, 'location', 'Tver']
[]
Q19916961
SYSTEM
2005 Russian judo championship
Q19916961
(c(Q3270632),P276,Q2288)
action filter_type
action find_reverse
entity Q2288
relation P276
type Q3270632
[ANSWER] is located at that administrative territory
[{'concept': 'Q3270632'}, 'P276', 'Q2288']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q2288 . ?l rdf:type ontology:Q3270632 }
2005 Russian judo championship
2005 Russian judo championship is located at that administrative territory
2005 Russian judo championship
action filter_type
action find_reverse
entity Tver
relation location
type national championship
[{'concept': 'national championship'}, 'location', 'Tver']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Tver . ?l rdf:type ontology:national_championship }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19916961 Q4837490
P276
Q56061
USER
Does Babamoradi-e Olya can 2005 Russian judo championship be found ?
(Q19916961,P276,Q4837490)
action is_in
entity Q4837490
action find
entity Q19916961
relation P276
['Q19916961', 'P276', 'Q4837490']
ASK WHERE { resource:Q19916961 property:P276 resource:Q4837490 }
2005 Russian judo championship Babamoradi-e Olya
action is_in
entity Babamoradi-e Olya
action find
entity 2005 Russian judo championship
relation location
['2005 Russian judo championship', 'location', 'Babamoradi-e Olya']
ASK WHERE { resource:2005_Russian_judo_championship property:location resource:Babamoradi-e_Olya }
[]
administrative territorial entity
SYSTEM
NO
(Q19916961,P276,Q4837490)
action is_in
entity Q4837490
action find
entity Q19916961
relation P276
[ANSWER]
['Q19916961', 'P276', 'Q4837490']
ASK WHERE { resource:Q19916961 property:P276 resource:Q4837490 }
No
action is_in
entity Babamoradi-e Olya
action find
entity 2005 Russian judo championship
relation location
['2005 Russian judo championship', 'location', 'Babamoradi-e Olya']
ASK WHERE { resource:2005_Russian_judo_championship property:location resource:Babamoradi-e_Olya }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P127
Q3947
USER
Which houses belongs to Germany ?
(c(Q3947),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q3947
[{'concept': 'Q3947'}, 'P127', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q183 . ?o rdf:type ontology:Q3947 }
Germany
action filter_type
action find_reverse
entity Germany
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Germany . ?o rdf:type ontology:house }
[]
house
Q1243445 Q15118459 Q966399
SYSTEM
Tempelstraße 1/3, Lindenallee 70, Hôtel Beauharnais
Q966399 Q1243445 Q1243439 Q15118459
(c(Q3947),P127,Q183)
action filter_type
action find_reverse
entity Q183
relation P127
type Q3947
[ANSWERS] belong to Germany
[{'concept': 'Q3947'}, 'P127', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q183 . ?o rdf:type ontology:Q3947 }
Hôtel Beauharnais Tempelstraße 1/3 Kaiser-Friedrich-Straße 8/10 Lindenallee 70
Tempelstraße 1/3, Lindenallee 70 and Hôtel Beauharnais belong to Germany
Tempelstraße 1/3 Lindenallee 70 Hôtel Beauharnais
action filter_type
action find_reverse
entity Germany
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Germany . ?o rdf:type ontology:house }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1243445
P17
Q1048835
USER
Which political territory is that house situated in ?
(Q1243445,P17,c(Q1048835))
action filter_type
action find
entity Q1243445
relation P17
type Q1048835
['Q1243445', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1243445 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Tempelstraße 1/3
action filter_type
action find
entity Tempelstraße 1/3
relation country
type political territorial entity
['Tempelstraße 1/3', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tempelstraße_1/3 property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q15118459
SYSTEM
Did you mean Lindenallee 70 ?
Q1243445 Q15118459 Q966399
(Q1243445,P17,c(Q1048835)) (Q15118459,P17,c(Q1048835)) (Q966399,P17,c(Q1048835))
[ANSWER]
['Q1243445', 'P17', {'concept': 'Q1048835'}] ['Q15118459', 'P17', {'concept': 'Q1048835'}] ['Q966399', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1243445 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Tempelstraße 1/3 Lindenallee 70 Hôtel Beauharnais
Did you mean Lindenallee 70 ?
Lindenallee 70
['Tempelstraße 1/3', 'country', {'concept': 'political territorial entity'}] ['Lindenallee 70', 'country', {'concept': 'political territorial entity'}] ['Hôtel Beauharnais', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tempelstraße_1/3 property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Tempelstraße 1/3. Could you tell me the answer for that?
(Q1243445,P17,c(Q1048835))
Q1243445
['Q1243445', 'P17', {'concept': 'Q1048835'}]
['Tempelstraße 1/3', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q1243445,P17,c(Q1048835))
action filter_type
action find
entity Q1243445
relation P17
type Q1048835
That house is situated in [ANSWER]
['Q1243445', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1243445 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Germany
That house is situated in Germany
Germany
action filter_type
action find
entity Tempelstraße 1/3
relation country
type political territorial entity
['Tempelstraße 1/3', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tempelstraße_1/3 property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15118459
P800 P21
Q502895
USER
Which people are author of Lindenallee 70 and are a male ?
AND((c(Q502895),P800,Q15118459), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15118459
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q15118459'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q15118459 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Lindenallee 70
action filter_type
action intersection
action find_reverse
entity Lindenallee 70
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Lindenallee 70'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:Lindenallee_70 . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q5839050
SYSTEM
Emil Felix
Q5839050
AND((c(Q502895),P800,Q15118459), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15118459
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is author of Lindenallee 70 and is a male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q15118459'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q15118459 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Emil Felix
Emil Felix is author of Lindenallee 70 and is a male
Emil Felix
action filter_type
action intersection
action find_reverse
entity Lindenallee 70
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Lindenallee 70'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:Lindenallee_70 . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q48597 Q9920
P47
Q13220204
USER
Which administrative country subdivisions share border with Haarlem or Tranøy ?
OR((Q9920,P47,c(Q13220204)), (Q48597,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q9920
relation P47
action find
entity Q48597
relation P47
type Q13220204
{'OR': [['Q9920', 'P47', {'concept': 'Q13220204'}], ['Q48597', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q9920 property:P47 ?e } UNION { resource:Q48597 property:P47 ?e } } . ?e rdf:type ontology:Q13220204 }
Tranøy Haarlem
action filter_type
action union
action find
entity Haarlem
relation shares border with
action find
entity Tranøy
relation shares border with
type second-level administrative country subdivision
{'OR': [['Haarlem', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Tranøy', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Haarlem property:shares_border_with ?e } UNION { resource:Tranøy property:shares_border_with ?e } } . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9921 Q9924 Q252381 Q9928 Q113710 Q499770 Q9970 Q488258 Q503912 Q48581
SYSTEM
Haarlemmerliede en Spaarnwoude, Haarlemmermeer, Dyrøy, Heemstede, Andøy, Lenvik, Velsen, Ibestad, Berg, Torsken
Q9921 Q9924 Q252381 Q9928 Q113710 Q499770 Q9970 Q488258 Q503912 Q48581
OR((Q9920,P47,c(Q13220204)), (Q48597,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q9920
relation P47
action find
entity Q48597
relation P47
type Q13220204
[ANSWERS] share border with Haarlem or Tranøy
{'OR': [['Q9920', 'P47', {'concept': 'Q13220204'}], ['Q48597', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q9920 property:P47 ?e } UNION { resource:Q48597 property:P47 ?e } } . ?e rdf:type ontology:Q13220204 }
Haarlemmerliede en Spaarnwoude Haarlemmermeer Dyrøy Heemstede Andøy Lenvik Velsen Ibestad Berg Torsken
Haarlemmerliede en Spaarnwoude, Haarlemmermeer, Dyrøy, Heemstede, Andøy, Lenvik, Velsen, Ibestad, Berg and Torsken share border with Haarlem or Tranøy
Haarlemmerliede en Spaarnwoude Haarlemmermeer Dyrøy Heemstede Andøy Lenvik Velsen Ibestad Berg Torsken
action filter_type
action union
action find
entity Haarlem
relation shares border with
action find
entity Tranøy
relation shares border with
type second-level administrative country subdivision
{'OR': [['Haarlem', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Tranøy', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Haarlem property:shares_border_with ?e } UNION { resource:Tranøy property:shares_border_with ?e } } . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]