Simple Question (Direct)
Simple Question
Q12028173
P19
Q515
USER
Which city is the place of birth of Karel Drahotín Villani ?
(Q12028173,P19,c(Q515))
action filter_type
action find
entity Q12028173
relation P19
type Q515
['Q12028173', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q12028173 property:P19 ?y . ?y rdf:type ontology:Q515 }
Karel Drahotín Villani
action filter_type
action find
entity Karel Drahotín Villani
relation place of birth
type city
['Karel Drahotín Villani', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Karel_Drahotín_Villani property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
city
Q1000056
SYSTEM
Sušice
Q1000056
(Q12028173,P19,c(Q515))
action filter_type
action find
entity Q12028173
relation P19
type Q515
[ANSWER] is the place of birth of Karel Drahotín Villani
['Q12028173', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q12028173 property:P19 ?y . ?y rdf:type ontology:Q515 }
Sušice
Sušice is the place of birth of Karel Drahotín Villani
Sušice
action filter_type
action find
entity Karel Drahotín Villani
relation place of birth
type city
['Karel Drahotín Villani', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Karel_Drahotín_Villani property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1000056
P190
Q13220204
USER
Which administrative country subdivision is the sister city of that one ?
(Q1000056,P190,c(Q13220204))
action filter_type
action find
entity Q1000056
relation P190
type Q13220204
['Q1000056', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q1000056 property:P190 ?q . ?q rdf:type ontology:Q13220204 }
Sušice
action filter_type
action find
entity Sušice
relation sister city
type second-level administrative country subdivision
['Sušice', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:Sušice property:sister_city ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9772
SYSTEM
Meerssen
Q9772
(Q1000056,P190,c(Q13220204))
action filter_type
action find
entity Q1000056
relation P190
type Q13220204
[ANSWER] is the sister city of that one
['Q1000056', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?q WHERE { resource:Q1000056 property:P190 ?q . ?q rdf:type ontology:Q13220204 }
Meerssen
Meerssen is the sister city of that one
Meerssen
action filter_type
action find
entity Sušice
relation sister city
type second-level administrative country subdivision
['Sušice', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?q WHERE { resource:Sušice property:sister_city ?q . ?q rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q460925
Q13220204
USER
And also tell me about Michalovce?
(Q460925,P190,c(Q13220204))
action filter_type
action find
entity Q460925
relation P190
type Q13220204
['Q460925', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q460925 property:P190 ?g . ?g rdf:type ontology:Q13220204 }
Michalovce
action filter_type
action find
entity Michalovce
relation sister city
type second-level administrative country subdivision
['Michalovce', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Michalovce property:sister_city ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q156724 Q156711
SYSTEM
Kremenchuk, Uzhhorod
Q156724 Q156711
(Q460925,P190,c(Q13220204))
action filter_type
action find
entity Q460925
relation P190
type Q13220204
[ANSWERS]
['Q460925', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q460925 property:P190 ?g . ?g rdf:type ontology:Q13220204 }
Kremenchuk Uzhhorod
Kremenchuk Uzhhorod
action filter_type
action find
entity Michalovce
relation sister city
type second-level administrative country subdivision
['Michalovce', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Michalovce property:sister_city ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P159
Q43229 Q21506450
USER
How many organizations or military unit size classes have headquarters located at that administrative country subdivision ?
(c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156711) (c(Q21506450),P159,Q156711)
[{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156711'] [{'concept': 'Q21506450'}, 'P159', 'Q156711']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156711 } UNION { ?y property:P159 resource:Q156711 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q21506450 }
[{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Uzhhorod'] [{'concept': 'military unit size class'}, 'headquarters location', 'Uzhhorod']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Uzhhorod } UNION { ?y property:headquarters_location resource:Uzhhorod } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:military_unit_size_class }
[]
organization military unit size class
Quantitative|Count|Mult. entity type|Clarification
Q156724
SYSTEM
Did you mean Kremenchuk ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156711 } UNION { ?y property:P159 resource:Q156711 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q21506450 }
Did you mean Kremenchuk ?
Kremenchuk
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Uzhhorod } UNION { ?y property:headquarters_location resource:Uzhhorod } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:military_unit_size_class }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156711) (c(Q21506450),P159,Q156711)
[{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156711'] [{'concept': 'Q21506450'}, 'P159', 'Q156711']
[{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Uzhhorod'] [{'concept': 'military unit size class'}, 'headquarters location', 'Uzhhorod']
[]
SYSTEM
9
Q12114530 Q12114543 Q6436698 Q12164397 Q4243191 Q4336876 Q12114527 Q783036 Q12114534
(c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156724) (c(Q21506450),P159,Q156724) (c(Q43229),P159,Q156711) (c(Q21506450),P159,Q156711)
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156724'] [{'concept': 'Q21506450'}, 'P159', 'Q156724'] [{'concept': 'Q43229'}, 'P159', 'Q156711'] [{'concept': 'Q21506450'}, 'P159', 'Q156711']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156724 } UNION { ?y property:P159 resource:Q156724 } UNION { ?z property:P159 resource:Q156711 } UNION { ?y property:P159 resource:Q156711 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q21506450 }
Kremenchug Carbon Black Plant Kremenchuk Refinery Kremenchukm'yaso Ukrtatnafta Kriukiv Railway Car Building Works Infantry Regiment 36 Orlovsky Kremenchug plant of road machines KrAZ Kremenchug Wheel Plant
9
[{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'military unit size class'}, 'headquarters location', 'Kremenchuk'] [{'concept': 'organization'}, 'headquarters location', 'Uzhhorod'] [{'concept': 'military unit size class'}, 'headquarters location', 'Uzhhorod']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Kremenchuk } UNION { ?y property:headquarters_location resource:Kremenchuk } UNION { ?z property:headquarters_location resource:Uzhhorod } UNION { ?y property:headquarters_location resource:Uzhhorod } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:military_unit_size_class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q156724
P127
Q1076486
USER
Which sports venue belongs to Kremenchuk ?
(c(Q1076486),P127,Q156724)
action filter_type
action find_reverse
entity Q156724
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q156724']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q156724 . ?q rdf:type ontology:Q1076486 }
Kremenchuk
action filter_type
action find_reverse
entity Kremenchuk
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Kremenchuk']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Kremenchuk . ?q rdf:type ontology:sports_venue }
[]
sports venue
Q5425020
SYSTEM
FC Kremin Stadium
Q5425020
(c(Q1076486),P127,Q156724)
action filter_type
action find_reverse
entity Q156724
relation P127
type Q1076486
[ANSWER] belongs to Kremenchuk
[{'concept': 'Q1076486'}, 'P127', 'Q156724']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q156724 . ?q rdf:type ontology:Q1076486 }
FC Kremin Stadium
FC Kremin Stadium belongs to Kremenchuk
FC Kremin Stadium
action filter_type
action find_reverse
entity Kremenchuk
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Kremenchuk']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Kremenchuk . ?q rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q156724
P931
Q62447
USER
Which aerodrome serves Kremenchuk ?
(c(Q62447),P931,Q156724)
action filter_type
action find_reverse
entity Q156724
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q156724']
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q156724 . ?w rdf:type ontology:Q62447 }
Kremenchuk
action filter_type
action find_reverse
entity Kremenchuk
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kremenchuk']
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Kremenchuk . ?w rdf:type ontology:aerodrome }
[]
aerodrome
Q6436694
SYSTEM
Kremenchuk Airport
Q6436694
(c(Q62447),P931,Q156724)
action filter_type
action find_reverse
entity Q156724
relation P931
type Q62447
Airport [ANSWER] serves Kremenchuk
[{'concept': 'Q62447'}, 'P931', 'Q156724']
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q156724 . ?w rdf:type ontology:Q62447 }
Kremenchuk Airport
Airport Kremenchuk Airport serves Kremenchuk
Kremenchuk Airport
action filter_type
action find_reverse
entity Kremenchuk
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kremenchuk']
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Kremenchuk . ?w rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6436694
P17
Q15617994
USER
Which administrative territory is that aerodrome located in ?
(Q6436694,P17,c(Q15617994))
action filter_type
action find
entity Q6436694
relation P17
type Q15617994
['Q6436694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6436694 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Kremenchuk Airport
action filter_type
action find
entity Kremenchuk Airport
relation country
type designation for an administrative territorial entity
['Kremenchuk Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Kremenchuk_Airport property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q6436694,P17,c(Q15617994))
action filter_type
action find
entity Q6436694
relation P17
type Q15617994
That aerodrome is located in [ANSWER]
['Q6436694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6436694 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Ukraine
That aerodrome is located in Ukraine
Ukraine
action filter_type
action find
entity Kremenchuk Airport
relation country
type designation for an administrative territorial entity
['Kremenchuk Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Kremenchuk_Airport property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]