Simple Question (Direct)
Simple Question
Q1651590
P20
Q515
USER
Where did Kurt Boßler expire ?
(Q1651590,P20,c(Q515))
action filter_type
action find
entity Q1651590
relation P20
type Q515
['Q1651590', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1651590 property:P20 ?z . ?z rdf:type ontology:Q515 }
Kurt Boßler
action filter_type
action find
entity Kurt Boßler
relation place of death
type city
['Kurt Boßler', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Kurt_Boßler property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Q2966
SYSTEM
Heidelberg
Q2966
(Q1651590,P20,c(Q515))
action filter_type
action find
entity Q1651590
relation P20
type Q515
Kurt Boßler expired [ANSWER]
['Q1651590', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1651590 property:P20 ?z . ?z rdf:type ontology:Q515 }
Heidelberg
Kurt Boßler expired Heidelberg
Heidelberg
action filter_type
action find
entity Kurt Boßler
relation place of death
type city
['Kurt Boßler', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Kurt_Boßler property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2966
P17
Q7275
USER
Which states are that city present in ?
(Q2966,P17,c(Q7275))
action filter_type
action find
entity Q2966
relation P17
type Q7275
['Q2966', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . resource:Q2966 property:P17 ?u }
Heidelberg
action filter_type
action find
entity Heidelberg
relation country
type state
['Heidelberg', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . resource:Heidelberg property:country ?u }
[]
state
Q7318 Q713750 Q41304
SYSTEM
Nazi Germany, West Germany, Weimar Republic
Q7318 Q713750 Q41304
(Q2966,P17,c(Q7275))
action filter_type
action find
entity Q2966
relation P17
type Q7275
That city are in [ANSWERS]
['Q2966', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . resource:Q2966 property:P17 ?u }
Nazi Germany West Germany Weimar Republic
That city are in Nazi Germany, West Germany and Weimar Republic
Nazi Germany West Germany Weimar Republic
action filter_type
action find
entity Heidelberg
relation country
type state
['Heidelberg', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . resource:Heidelberg property:country ?u }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2966
Q1048835
USER
And which political territory?
(Q2966,P17,c(Q1048835))
action filter_type
action find
entity Q2966
relation P17
type Q1048835
['Q2966', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q2966 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Heidelberg
action filter_type
action find
entity Heidelberg
relation country
type political territorial entity
['Heidelberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Heidelberg property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q22880
SYSTEM
Germany, Electoral Palatinate
Q183 Q22880
(Q2966,P17,c(Q1048835))
action filter_type
action find
entity Q2966
relation P17
type Q1048835
[ANSWERS]
['Q2966', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q2966 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Germany Electoral Palatinate
Germany Electoral Palatinate
action filter_type
action find
entity Heidelberg
relation country
type political territorial entity
['Heidelberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Heidelberg property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2966
P190
Q486972 Q515
USER
How many human settlements and cities are partner towns of Heidelberg ?
(Q2966,P190,c(Q486972)) (Q2966,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q2966
relation P190
type Q486972
action filter_type
action find
entity Q2966
relation P190
type Q515
['Q2966', 'P190', {'concept': 'Q486972'}] ['Q2966', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { resource:Q2966 property:P190 ?z . ?z rdf:type ontology:Q486972 } UNION { resource:Q2966 property:P190 ?z . ?z rdf:type ontology:Q515 } }
Heidelberg
action count
action union
action filter_type
action find
entity Heidelberg
relation sister city
type human settlement
action filter_type
action find
entity Heidelberg
relation sister city
type city
['Heidelberg', 'sister city', {'concept': 'human settlement'}] ['Heidelberg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { resource:Heidelberg property:sister_city ?z . ?z rdf:type ontology:human_settlement } UNION { resource:Heidelberg property:sister_city ?z . ?z rdf:type ontology:city } }
[]
human settlement city
SYSTEM
1 human settlements and 1 cities
Q14835 Q75978
(Q2966,P190,c(Q486972)) (Q2966,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q2966
relation P190
type Q486972
action filter_type
action find
entity Q2966
relation P190
type Q515
[ANSWER]
['Q2966', 'P190', {'concept': 'Q486972'}] ['Q2966', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { resource:Q2966 property:P190 ?z . ?z rdf:type ontology:Q486972 } UNION { resource:Q2966 property:P190 ?z . ?z rdf:type ontology:Q515 } }
Bautzen Calamba
1 human settlements and 1 cities
action count
action union
action filter_type
action find
entity Heidelberg
relation sister city
type human settlement
action filter_type
action find
entity Heidelberg
relation sister city
type city
['Heidelberg', 'sister city', {'concept': 'human settlement'}] ['Heidelberg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { resource:Heidelberg property:sister_city ?z . ?z rdf:type ontology:human_settlement } UNION { resource:Heidelberg property:sister_city ?z . ?z rdf:type ontology:city } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2966
P190
Q56061
USER
How many administrative territories are the sister cities of Heidelberg ?
(Q2966,P190,c(Q56061))
action count
action filter_type
action find
entity Q2966
relation P190
type Q56061
['Q2966', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q2966 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Heidelberg
action count
action filter_type
action find
entity Heidelberg
relation sister city
type administrative territorial entity
['Heidelberg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Heidelberg property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
5
Q93347 Q350 Q207350 Q19566 Q6441
(Q2966,P190,c(Q56061))
action count
action filter_type
action find
entity Q2966
relation P190
type Q56061
[ANSWER]
['Q2966', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q2966 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Mostar Cambridge Rehovot Simferopol Montpellier
5
action count
action filter_type
action find
entity Heidelberg
relation sister city
type administrative territorial entity
['Heidelberg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Heidelberg property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q158095
P47
Q15617994
USER
Which administrative territories are adjacent to Charlottenburg-Wilmersdorf ?
(Q158095,P47,c(Q15617994))
action filter_type
action find
entity Q158095
relation P47
type Q15617994
['Q158095', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q158095 property:P47 ?g }
Charlottenburg-Wilmersdorf
action filter_type
action find
entity Charlottenburg-Wilmersdorf
relation shares border with
type designation for an administrative territorial entity
['Charlottenburg-Wilmersdorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Charlottenburg-Wilmersdorf property:shares_border_with ?g }
[]
designation for an administrative territorial entity
Q158064 Q163966 Q158876
SYSTEM
Steglitz-Zehlendorf, Mitte, Reinickendorf
Q163966 Q158876 Q158083 Q158064 Q158106
(Q158095,P47,c(Q15617994))
action filter_type
action find
entity Q158095
relation P47
type Q15617994
[ANSWERS] are adjacent to Charlottenburg-Wilmersdorf
['Q158095', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q158095 property:P47 ?g }
Mitte Reinickendorf Spandau Steglitz-Zehlendorf Tempelhof-Schöneberg
Steglitz-Zehlendorf, Mitte and Reinickendorf are adjacent to Charlottenburg-Wilmersdorf
Steglitz-Zehlendorf Mitte Reinickendorf
action filter_type
action find
entity Charlottenburg-Wilmersdorf
relation shares border with
type designation for an administrative territorial entity
['Charlottenburg-Wilmersdorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Charlottenburg-Wilmersdorf property:shares_border_with ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q158064
P190
Q56061
USER
Which administrative territories are sister towns of that administrative territory ?
(Q158064,P190,c(Q56061))
action filter_type
action find
entity Q158064
relation P190
type Q56061
['Q158064', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q158064 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Steglitz-Zehlendorf
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type administrative territorial entity
['Steglitz-Zehlendorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Steglitz-Zehlendorf property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q163966
SYSTEM
Did you mean Mitte ?
Q158064 Q163966 Q158876
(Q158064,P190,c(Q56061)) (Q163966,P190,c(Q56061)) (Q158876,P190,c(Q56061))
[ANSWER]
['Q158064', 'P190', {'concept': 'Q56061'}] ['Q163966', 'P190', {'concept': 'Q56061'}] ['Q158876', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q158064 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Steglitz-Zehlendorf Mitte Reinickendorf
Did you mean Mitte ?
Mitte
['Steglitz-Zehlendorf', 'sister city', {'concept': 'administrative territorial entity'}] ['Mitte', 'sister city', {'concept': 'administrative territorial entity'}] ['Reinickendorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Steglitz-Zehlendorf property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Steglitz-Zehlendorf. Could you tell me the answer for that?
(Q158064,P190,c(Q56061))
Q158064
['Q158064', 'P190', {'concept': 'Q56061'}]
['Steglitz-Zehlendorf', 'sister city', {'concept': 'administrative territorial entity'}]
[]
Q42308 Q152374 Q16013
SYSTEM
Kharkiv, Kiryat Bialik, Königs Wusterhausen
Q16013 Q152374 Q774098 Q123196 Q42308 Q823785 Q2022196
(Q158064,P190,c(Q56061))
action filter_type
action find
entity Q158064
relation P190
type Q56061
[ANSWERS] are sister towns of that administrative territory
['Q158064', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q158064 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Königs Wusterhausen Kiryat Bialik Kazimierz Dolny Sderot Kharkiv Ronneby Sochos
Kharkiv, Kiryat Bialik and Königs Wusterhausen are sister towns of that administrative territory
Kharkiv Kiryat Bialik Königs Wusterhausen
action filter_type
action find
entity Steglitz-Zehlendorf
relation sister city
type administrative territorial entity
['Steglitz-Zehlendorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Steglitz-Zehlendorf property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q16013)
[{'concept': 'Q502895'}, 'P19', 'Q16013']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q16013 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Königs Wusterhausen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Königs_Wusterhausen . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q42308
SYSTEM
Did you mean Kharkiv ?
(c(Q502895),P19,Q42308) (c(Q502895),P19,Q152374) (c(Q502895),P19,Q16013)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q42308'] [{'concept': 'Q502895'}, 'P19', 'Q152374'] [{'concept': 'Q502895'}, 'P19', 'Q16013']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q16013 . ?z rdf:type ontology:Q502895 }
Did you mean Kharkiv ?
Kharkiv
[{'concept': 'common name'}, 'place of birth', 'Kharkiv'] [{'concept': 'common name'}, 'place of birth', 'Kiryat Bialik'] [{'concept': 'common name'}, 'place of birth', 'Königs Wusterhausen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Königs_Wusterhausen . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Königs Wusterhausen. Could you tell me the answer for that?
(c(Q502895),P19,Q16013)
Q16013
[{'concept': 'Q502895'}, 'P19', 'Q16013']
[{'concept': 'common name'}, 'place of birth', 'Königs Wusterhausen']
[]
SYSTEM
20
Q2080222 Q90991 Q1878081 Q1598285 Q1712118 Q916511 Q20724918 Q87818 Q19509763 Q2646102 Q1403742 Q18347151 Q15453758 Q1422724 Q1571185 Q100357 Q75997 Q6476258 Q61161 Q6847399
(c(Q502895),P19,Q16013)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q16013']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q16013 . ?z rdf:type ontology:Q502895 }
Petra Kasch Sandra Keller Lutz Franzke Heinrich Mederow Juliane Pohle Brigitte Martin Andreas Krause Jörg Schmidt-Reitwein Kristin Suckow Alfred Wegwerth Felix Poplawsky Paul-Georg Dittrich Oliver G. Wachlin Tim Morten Uhlenbrock Halina Wawzyniak Sabine Jünger Marek Kalbus Christin Guhr Judith Arndt Mike Jesse
20
[{'concept': 'common name'}, 'place of birth', 'Königs Wusterhausen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Königs_Wusterhausen . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q215692
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as registry port than HMHS Britannic ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q215692
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?x property:P532 ?m . ?x rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q215692 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?j ) }
HMHS Britannic
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity HMHS Britannic
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?x property:port_of_registry ?m . ?x rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:HMHS_Britannic property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?n > ?j ) }
[]
administrative territorial entity ship type
SYSTEM
5
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q215692
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?x property:P532 ?m . ?x rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q215692 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?j ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
5
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity HMHS Britannic
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?n ) WHERE { ?x property:port_of_registry ?m . ?x rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:HMHS_Britannic property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?n > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7318
P1346
Q1190554
USER
Which event was won by Nazi Germany ?
(c(Q1190554),P1346,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q7318']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q7318 . ?d rdf:type ontology:Q1190554 }
Nazi Germany
action filter_type
action find_reverse
entity Nazi Germany
relation winner
type event
[{'concept': 'event'}, 'winner', 'Nazi Germany']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Nazi_Germany . ?d rdf:type ontology:event }
[]
event
Q13435464
SYSTEM
Invasion of Luxembourg
Q13435464
(c(Q1190554),P1346,Q7318)
action filter_type
action find_reverse
entity Q7318
relation P1346
type Q1190554
Germany [ANSWER] was won by Nazi Germany
[{'concept': 'Q1190554'}, 'P1346', 'Q7318']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q7318 . ?d rdf:type ontology:Q1190554 }
Invasion of Luxembourg
Germany Invasion of Luxembourg was won by Nazi Germany
Invasion of Luxembourg
action filter_type
action find_reverse
entity Nazi Germany
relation winner
type event
[{'concept': 'event'}, 'winner', 'Nazi Germany']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Nazi_Germany . ?d rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163966
P840
Q15416
USER
Which television program has its narrative set in Mitte ?
(c(Q15416),P840,Q163966)
action filter_type
action find_reverse
entity Q163966
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q163966']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q163966 . ?y rdf:type ontology:Q15416 }
Mitte
action filter_type
action find_reverse
entity Mitte
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Mitte']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Mitte . ?y rdf:type ontology:television_program }
[]
television program
Q695478
SYSTEM
Gute Zeiten, schlechte Zeiten
Q695478
(c(Q15416),P840,Q163966)
action filter_type
action find_reverse
entity Q163966
relation P840
type Q15416
[ANSWER] has its narrative set in Mitte
[{'concept': 'Q15416'}, 'P840', 'Q163966']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q163966 . ?y rdf:type ontology:Q15416 }
Gute Zeiten, schlechte Zeiten
Gute Zeiten, schlechte Zeiten has its narrative set in Mitte
Gute Zeiten, schlechte Zeiten
action filter_type
action find_reverse
entity Mitte
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Mitte']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Mitte . ?y rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163966
P190
Q515
USER
Which cities are twin cities of that administrative territory ?
(Q695478,P190,c(Q515))
action filter_type
action find
entity Q163966
relation P190
type Q515
['Q695478', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q163966 property:P190 ?r . ?r rdf:type ontology:Q515 }
Mitte
action filter_type
action find
entity Mitte
relation sister city
type city
['Gute Zeiten, schlechte Zeiten', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Mitte property:sister_city ?r . ?r rdf:type ontology:city }
[]
city
Q2865 Q3069 Q2880
SYSTEM
Kassel, Bottrop, Hamm
Q75336 Q2865 Q3069 Q2880
(Q695478,P190,c(Q515))
action filter_type
action find
entity Q163966
relation P190
type Q515
[ANSWERS] are twin cities of that administrative territory
['Q695478', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q163966 property:P190 ?r . ?r rdf:type ontology:Q515 }
Chaoyang Kassel Bottrop Hamm
Kassel, Bottrop and Hamm are twin cities of that administrative territory
Kassel Bottrop Hamm
action filter_type
action find
entity Mitte
relation sister city
type city
['Gute Zeiten, schlechte Zeiten', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Mitte property:sister_city ?r . ?r rdf:type ontology:city }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q20667921 Q15617994
USER
How many french administrative divisions and administrative territories are twin city of that city ?
(c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880) (c(Q20667921),P190,Q2865) (c(Q15617994),P190,Q2865) (c(Q20667921),P190,Q3069) (c(Q15617994),P190,Q3069) (c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880)
[{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880'] [{'concept': 'Q20667921'}, 'P190', 'Q2865'] [{'concept': 'Q15617994'}, 'P190', 'Q2865'] [{'concept': 'Q20667921'}, 'P190', 'Q3069'] [{'concept': 'Q15617994'}, 'P190', 'Q3069'] [{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } UNION { ?z property:P190 resource:Q2865 } UNION { ?y property:P190 resource:Q2865 } UNION { ?z property:P190 resource:Q3069 } UNION { ?y property:P190 resource:Q3069 } UNION { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } } . ?z rdf:type ontology:Q20667921 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm'] [{'concept': 'type of french administrative division'}, 'sister city', 'Kassel'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kassel'] [{'concept': 'type of french administrative division'}, 'sister city', 'Bottrop'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bottrop'] [{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } UNION { ?z property:sister_city resource:Kassel } UNION { ?y property:sister_city resource:Kassel } UNION { ?z property:sister_city resource:Bottrop } UNION { ?y property:sister_city resource:Bottrop } UNION { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } } . ?z rdf:type ontology:type_of_french_administrative_division . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
type of french administrative division designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q3069
SYSTEM
Did you mean Bottrop ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } UNION { ?z property:P190 resource:Q2865 } UNION { ?y property:P190 resource:Q2865 } UNION { ?z property:P190 resource:Q3069 } UNION { ?y property:P190 resource:Q3069 } UNION { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } } . ?z rdf:type ontology:Q20667921 . ?y rdf:type ontology:Q15617994 }
Did you mean Bottrop ?
Bottrop
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } UNION { ?z property:sister_city resource:Kassel } UNION { ?y property:sister_city resource:Kassel } UNION { ?z property:sister_city resource:Bottrop } UNION { ?y property:sister_city resource:Bottrop } UNION { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } } . ?z rdf:type ontology:type_of_french_administrative_division . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Hamm. Could you tell me the answer for that?
(c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880) (c(Q20667921),P190,Q2865) (c(Q15617994),P190,Q2865) (c(Q20667921),P190,Q3069) (c(Q15617994),P190,Q3069) (c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880)
Q2880
[{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880'] [{'concept': 'Q20667921'}, 'P190', 'Q2865'] [{'concept': 'Q15617994'}, 'P190', 'Q2865'] [{'concept': 'Q20667921'}, 'P190', 'Q3069'] [{'concept': 'Q15617994'}, 'P190', 'Q3069'] [{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880']
[{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm'] [{'concept': 'type of french administrative division'}, 'sister city', 'Kassel'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kassel'] [{'concept': 'type of french administrative division'}, 'sister city', 'Bottrop'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bottrop'] [{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm']
[]
SYSTEM
1 french administrative divisions and 2 administrative territories
Q154728 Q163966 Q6681
(c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880) (c(Q20667921),P190,Q2865) (c(Q15617994),P190,Q2865) (c(Q20667921),P190,Q3069) (c(Q15617994),P190,Q3069) (c(Q20667921),P190,Q2880) (c(Q15617994),P190,Q2880)
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880'] [{'concept': 'Q20667921'}, 'P190', 'Q2865'] [{'concept': 'Q15617994'}, 'P190', 'Q2865'] [{'concept': 'Q20667921'}, 'P190', 'Q3069'] [{'concept': 'Q15617994'}, 'P190', 'Q3069'] [{'concept': 'Q20667921'}, 'P190', 'Q2880'] [{'concept': 'Q15617994'}, 'P190', 'Q2880']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } UNION { ?z property:P190 resource:Q2865 } UNION { ?y property:P190 resource:Q2865 } UNION { ?z property:P190 resource:Q3069 } UNION { ?y property:P190 resource:Q3069 } UNION { ?z property:P190 resource:Q656322 } UNION { ?y property:P190 resource:Q656322 } } . ?z rdf:type ontology:Q20667921 . ?y rdf:type ontology:Q15617994 }
Toul Mitte Crotone
1 french administrative divisions and 2 administrative territories
[{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm'] [{'concept': 'type of french administrative division'}, 'sister city', 'Kassel'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kassel'] [{'concept': 'type of french administrative division'}, 'sister city', 'Bottrop'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bottrop'] [{'concept': 'type of french administrative division'}, 'sister city', 'Hamm'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hamm']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } UNION { ?z property:sister_city resource:Kassel } UNION { ?y property:sister_city resource:Kassel } UNION { ?z property:sister_city resource:Bottrop } UNION { ?y property:sister_city resource:Bottrop } UNION { ?z property:sister_city resource:Hamm } UNION { ?y property:sister_city resource:Hamm } } . ?z rdf:type ontology:type_of_french_administrative_division . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2865
P931
Q62447
USER
What city is served by Kassel ?
(c(Q62447),P931,Q2865)
action filter_type
action find_reverse
entity Q2865
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q2865']
SELECT DISTINCT ?o WHERE { ?o property:P931 resource:Q2865 . ?o rdf:type ontology:Q62447 }
Kassel
action filter_type
action find_reverse
entity Kassel
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kassel']
SELECT DISTINCT ?o WHERE { ?o property:place_served_by_airport resource:Kassel . ?o rdf:type ontology:aerodrome }
[]
aerodrome
Q529143
SYSTEM
Kassel Airport
Q529143
(c(Q62447),P931,Q2865)
action filter_type
action find_reverse
entity Q2865
relation P931
type Q62447
[ANSWER] is served by Kassel
[{'concept': 'Q62447'}, 'P931', 'Q2865']
SELECT DISTINCT ?o WHERE { ?o property:P931 resource:Q2865 . ?o rdf:type ontology:Q62447 }
Kassel Airport
Kassel Airport is served by Kassel
Kassel Airport
action filter_type
action find_reverse
entity Kassel
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kassel']
SELECT DISTINCT ?o WHERE { ?o property:place_served_by_airport resource:Kassel . ?o rdf:type ontology:aerodrome }
[]