Simple Question (Direct)
Simple Question
Q452904
P734
Q82799
USER
Which name is associated with Amalia Pachelbel ?
(Q452904,P734,c(Q82799))
action filter_type
action find
entity Q452904
relation P734
type Q82799
['Q452904', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q452904 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Amalia Pachelbel
action filter_type
action find
entity Amalia Pachelbel
relation family name
type name
['Amalia Pachelbel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Amalia_Pachelbel property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q17165794
SYSTEM
Pachelbel
Q17165794
(Q452904,P734,c(Q82799))
action filter_type
action find
entity Q452904
relation P734
type Q82799
L [ANSWER] is associated with Amalia [ANSWER]
['Q452904', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q452904 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Pachelbel
L Pachelbel is associated with Amalia Pachelbel
Pachelbel
action filter_type
action find
entity Amalia Pachelbel
relation family name
type name
['Amalia Pachelbel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Amalia_Pachelbel property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q452904
P20
Q56061
USER
Which administrative territory is the place of death of Amalia Pachelbel ?
(Q452904,P20,c(Q56061))
action filter_type
action find
entity Q452904
relation P20
type Q56061
['Q452904', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q452904 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Amalia Pachelbel
action filter_type
action find
entity Amalia Pachelbel
relation place of death
type administrative territorial entity
['Amalia Pachelbel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Amalia_Pachelbel property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2090
SYSTEM
Nuremberg
Q2090
(Q452904,P20,c(Q56061))
action filter_type
action find
entity Q452904
relation P20
type Q56061
[ANSWER] is the place of death of Amalia Pachelbel
['Q452904', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q452904 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Nuremberg
Nuremberg is the place of death of Amalia Pachelbel
Nuremberg
action filter_type
action find
entity Amalia Pachelbel
relation place of death
type administrative territorial entity
['Amalia Pachelbel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Amalia_Pachelbel property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2090
P915
Q838948
USER
Which works of art were filmed at that administrative territory ?
(c(Q838948),P915,Q2090)
action filter_type
action find_reverse
entity Q2090
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q2090']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q2090 . ?v rdf:type ontology:Q838948 }
Nuremberg
action filter_type
action find_reverse
entity Nuremberg
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Nuremberg']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Nuremberg . ?v rdf:type ontology:work_of_art }
[]
work of art
Q309545 Q1345327 Q1216995
SYSTEM
Judgment at Nuremberg, Decision Before Dawn, No Place to Go
Q573953 Q525289 Q156497 Q309545 Q1258197 Q1345327 Q124246 Q671718 Q1216995 Q1171442
(c(Q838948),P915,Q2090)
action filter_type
action find_reverse
entity Q2090
relation P915
type Q838948
Judgment at Nuremberg, Decision Before Dawn and No Place to go were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q2090']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q2090 . ?v rdf:type ontology:Q838948 }
Artists Under the Big Top: Perplexed Bandits Triumph of the Will Judgment at Nuremberg Three Quarter Moon Decision Before Dawn The Immortal Heart The Search No Place to Go The Silence
Judgment at Nuremberg, Decision Before Dawn and No Place to go were filmed at that administrative territory
Judgment at Nuremberg Decision Before Dawn No Place to Go
action filter_type
action find_reverse
entity Nuremberg
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Nuremberg']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Nuremberg . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2090
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q309545,P190,c(Q56061)) (Q1345327,P190,c(Q56061)) (Q1216995,P190,c(Q56061))
action filter_type
action find
entity Q2090
relation P190
type Q56061
['Q309545', 'P190', {'concept': 'Q56061'}] ['Q1345327', 'P190', {'concept': 'Q56061'}] ['Q1216995', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2090 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Nuremberg
action filter_type
action find
entity Nuremberg
relation sister city
type administrative territorial entity
['Judgment at Nuremberg', 'sister city', {'concept': 'administrative territorial entity'}] ['Decision Before Dawn', 'sister city', {'concept': 'administrative territorial entity'}] ['No Place to Go', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Nuremberg property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q33959 Q641
SYSTEM
Prague, Nice, Venice
Q33959 Q8673 Q641 Q6487 Q187352 Q5818 Q384 Q4093 Q1085 Q42308 Q1020320 Q23556
(Q309545,P190,c(Q56061)) (Q1345327,P190,c(Q56061)) (Q1216995,P190,c(Q56061))
action filter_type
action find
entity Q2090
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q309545', 'P190', {'concept': 'Q56061'}] ['Q1345327', 'P190', {'concept': 'Q56061'}] ['Q1216995', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2090 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Nice Lagos Venice Antalya Kavala Córdoba Skopje Glasgow Prague Kharkiv San Carlos, Río San Juan Atlanta
Prague, Nice and Venice are the sister cities of that one
Prague Nice Venice
action filter_type
action find
entity Nuremberg
relation sister city
type administrative territorial entity
['Judgment at Nuremberg', 'sister city', {'concept': 'administrative territorial entity'}] ['Decision Before Dawn', 'sister city', {'concept': 'administrative territorial entity'}] ['No Place to Go', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Nuremberg property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1085
P1383
Q56061
USER
Which administrative territories are administratively managed by that one ?
(Q1085,P1383,c(Q56061))
action filter_type
action find
entity Q1085
relation P1383
type Q56061
['Q1085', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1085 property:P1383 ?h . ?h rdf:type ontology:Q56061 }
Prague
action filter_type
action find
entity Prague
relation contains settlement
type administrative territorial entity
['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Prague property:contains_settlement ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q33959
SYSTEM
Did you mean Nice ?
Q1085 Q33959 Q641
(Q1085,P1383,c(Q56061)) (Q33959,P1383,c(Q56061)) (Q641,P1383,c(Q56061))
[ANSWER]
['Q1085', 'P1383', {'concept': 'Q56061'}] ['Q33959', 'P1383', {'concept': 'Q56061'}] ['Q641', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1085 property:P1383 ?h . ?h rdf:type ontology:Q56061 }
Prague Nice Venice
Did you mean Nice ?
Nice
['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Nice', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Venice', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Prague property:contains_settlement ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Prague. Could you tell me the answer for that?
(Q1085,P1383,c(Q56061))
Q1085
['Q1085', 'P1383', {'concept': 'Q56061'}]
['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}]
[]
Q2157550 Q2071681 Q973974
SYSTEM
Prague 14, Prague 8, Prague 1
Q2157550 Q2598899 Q2743565 Q3490834 Q2667290 Q3490843 Q577602 Q973974 Q2444636 Q2750534 Q2071681 Q3490864 Q3490557 Q2686587 Q2444921 Q1490045
(Q1085,P1383,c(Q56061))
action filter_type
action find
entity Q1085
relation P1383
type Q56061
[ANSWERS] are administratively managed by that one
['Q1085', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1085 property:P1383 ?h . ?h rdf:type ontology:Q56061 }
Prague 14 Prague 3 Prague 13 Prague 15 Prague 6 Prague 12 Prague 5 Prague 1 Prague 2 Prague 9 Prague 8 Prague 11 Prague 22 Prague 4 Prague 10 Prague 7
Prague 14, Prague 8 and Prague 1 are administratively managed by that one
Prague 14 Prague 8 Prague 1
action filter_type
action find
entity Prague
relation contains settlement
type administrative territorial entity
['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Prague property:contains_settlement ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2090
P276
Q288514 Q15275719
USER
How many fairs or recurring events are situated at Nuremberg ?
(c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P276
type Q288514
action filter_type
action find_reverse
entity Q2090
relation P276
type Q15275719
[{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q288514 ) ( ontology:Q15275719 ) } }
Nuremberg
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation location
type fair
action filter_type
action find_reverse
entity Nuremberg
relation location
type recurring event
[{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:fair ) ( ontology:recurring_event ) } }
[]
fair recurring event
SYSTEM
5
Q21072378 Q1414678 Q1210723 Q12356177 Q2107127
(c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P276
type Q288514
action filter_type
action find_reverse
entity Q2090
relation P276
type Q15275719
[ANSWER]
[{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q288514 ) ( ontology:Q15275719 ) } }
Nuremberg International Human Rights Film Festival Film Festival Turkey/Germany The 24 hours of Nuremberg World Esperanto Congress 1923 Powtech
5
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation location
type fair
action filter_type
action find_reverse
entity Nuremberg
relation location
type recurring event
[{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:fair ) ( ontology:recurring_event ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2090
P190
Q486972 Q515
USER
How many human settlements or cities are partner town of Nuremberg ?
(c(Q486972),P190,Q2090) (c(Q515),P190,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P190
type Q486972
action filter_type
action find_reverse
entity Q2090
relation P190
type Q515
[{'concept': 'Q486972'}, 'P190', 'Q2090'] [{'concept': 'Q515'}, 'P190', 'Q2090']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?g ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?d rdf:type ?g }
Nuremberg
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation sister city
type human settlement
action filter_type
action find_reverse
entity Nuremberg
relation sister city
type city
[{'concept': 'human settlement'}, 'sister city', 'Nuremberg'] [{'concept': 'city'}, 'sister city', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?g ) { ( ontology:human_settlement ) ( ontology:city ) } . ?d rdf:type ?g }
[]
human settlement city
SYSTEM
2
Q3750 Q31487
(c(Q486972),P190,Q2090) (c(Q515),P190,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P190
type Q486972
action filter_type
action find_reverse
entity Q2090
relation P190
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P190', 'Q2090'] [{'concept': 'Q515'}, 'P190', 'Q2090']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?g ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?d rdf:type ?g }
Gera Kraków
2
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation sister city
type human settlement
action filter_type
action find_reverse
entity Nuremberg
relation sister city
type city
[{'concept': 'human settlement'}, 'sister city', 'Nuremberg'] [{'concept': 'city'}, 'sister city', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?g ) { ( ontology:human_settlement ) ( ontology:city ) } . ?d rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P206
Q355304
USER
Which watercourse is located in the neighbourhood of Prague ?
(Q1085,P206,c(Q355304))
action filter_type
action find
entity Q1085
relation P206
type Q355304
['Q1085', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q1085 property:P206 ?t . ?t rdf:type ontology:Q355304 }
Prague
action filter_type
action find
entity Prague
relation located next to body of water
type watercourse
['Prague', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Prague property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]
watercourse
Q131574
SYSTEM
Vltava
Q131574
(Q1085,P206,c(Q355304))
action filter_type
action find
entity Q1085
relation P206
type Q355304
[ANSWER] is located in the neighbourhood of Prague
['Q1085', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q1085 property:P206 ?t . ?t rdf:type ontology:Q355304 }
Vltava
Vltava is located in the neighbourhood of Prague
Vltava
action filter_type
action find
entity Prague
relation located next to body of water
type watercourse
['Prague', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Prague property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]