Simple Question (Direct)
Simple Question
Q2173546
P20
Q56061
USER
Where did Rudolf Otto Wiemer die ?
(Q2173546,P20,c(Q56061))
action filter_type
action find
entity Q2173546
relation P20
type Q56061
['Q2173546', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q2173546 property:P20 ?s }
Rudolf Otto Wiemer
action filter_type
action find
entity Rudolf Otto Wiemer
relation place of death
type administrative territorial entity
['Rudolf Otto Wiemer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Rudolf_Otto_Wiemer property:place_of_death ?s }
[]
administrative territorial entity
Q3033
SYSTEM
Göttingen
Q3033
(Q2173546,P20,c(Q56061))
action filter_type
action find
entity Q2173546
relation P20
type Q56061
Rudolf Otto Wiemer died in [ANSWER]
['Q2173546', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q2173546 property:P20 ?s }
Göttingen
Rudolf Otto Wiemer died in Göttingen
Göttingen
action filter_type
action find
entity Rudolf Otto Wiemer
relation place of death
type administrative territorial entity
['Rudolf Otto Wiemer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Rudolf_Otto_Wiemer property:place_of_death ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3033
P291
Q571
USER
Which book has that administrative territory as its publication place ?
(c(Q571),P291,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q3033']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q3033 . ?c rdf:type ontology:Q571 }
Göttingen
action filter_type
action find_reverse
entity Göttingen
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Göttingen']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Göttingen . ?c rdf:type ontology:book }
[]
book
Q18325681
SYSTEM
Unkenrufe (1st German edition)
Q18325681
(c(Q571),P291,Q3033)
action filter_type
action find_reverse
entity Q3033
relation P291
type Q571
[ANSWER] has that administrative territory as its publication place
[{'concept': 'Q571'}, 'P291', 'Q3033']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q3033 . ?c rdf:type ontology:Q571 }
Unkenrufe (1st German edition)
Unkenrufe (1st German edition) has that administrative territory as its publication place
Unkenrufe (1st German edition)
action filter_type
action find_reverse
entity Göttingen
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Göttingen']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Göttingen . ?c rdf:type ontology:book }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1524
P291
Q56061 Q11032 Q732577
USER
How many administrative territories are the locations of publication of more number of newspapers or publications than Athens ?
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q1524
relation P291
type Q11032
type Q732577
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:P291 ?u . ?s rdf:type ontology:Q732577 . ?u rdf:type ontology:Q56061 } UNION { ?s property:P291 ?u . ?u rdf:type ontology:Q56061 . ?s rdf:type ontology:Q11032 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P291 resource:Q1524 . { { ?q rdf:type ontology:Q11032 } UNION { ?q rdf:type ontology:Q732577 } } } } . FILTER ( ?e > ?k ) }
Athens
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Athens
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:place_of_publication ?u . ?s rdf:type ontology:publication . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?s property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:newspaper } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:place_of_publication resource:Athens . { { ?q rdf:type ontology:newspaper } UNION { ?q rdf:type ontology:publication } } } } . FILTER ( ?e > ?k ) }
[]
administrative territorial entity newspaper publication
SYSTEM
22
Q8692 Q1757 Q1754 Q1022 Q90 Q39561 Q365 Q8818 Q1335 Q72 Q16555 Q84 Q60 Q1492 Q2807 Q12225 Q8717 Q64 Q61 Q8757 Q47048 Q8826
(c(Q11032)|c(Q732577),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q1524
relation P291
type Q11032
type Q732577
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:P291 ?u . ?s rdf:type ontology:Q732577 . ?u rdf:type ontology:Q56061 } UNION { ?s property:P291 ?u . ?u rdf:type ontology:Q56061 . ?s rdf:type ontology:Q11032 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P291 resource:Q1524 . { { ?q rdf:type ontology:Q11032 } UNION { ?q rdf:type ontology:Q732577 } } } } . FILTER ( ?e > ?k ) }
Bilbao Helsinki Stockholm Stuttgart Paris Burbank Cologne Valencia Montevideo Zürich Houston London New York City Barcelona Madrid Murcia Seville Berlin Washington, D.C. A Coruña Oulu Palma
22
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action count
action filter_multi_types
action find_reverse
entity Athens
relation place of publication
type newspaper
type publication
[[{'concept': 'newspaper'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:place_of_publication ?u . ?s rdf:type ontology:publication . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?s property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:newspaper } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:place_of_publication resource:Athens . { { ?q rdf:type ontology:newspaper } UNION { ?q rdf:type ontology:publication } } } } . FILTER ( ?e > ?k ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5557781 Q1524
P19 P190
Q56061
USER
Which administrative territories are sister towns of Athens and were Gia Bugadze born ?
AND((Q1524,P190,c(Q56061)), (Q5557781,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q1524
relation P190
action find
entity Q5557781
relation P19
type Q56061
{'AND': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q5557781', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1524 property:P190 ?v . resource:Q5557781 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Gia Bugadze Athens
action filter_type
action intersection
action find
entity Athens
relation sister city
action find
entity Gia Bugadze
relation place of birth
type administrative territorial entity
{'AND': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Gia Bugadze', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Athens property:sister_city ?v . resource:Gia_Bugadze property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
AND((Q1524,P190,c(Q56061)), (Q5557781,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q1524
relation P190
action find
entity Q5557781
relation P19
type Q56061
[ANSWER] is sister towns of Athens and were Gia Bugadze born
{'AND': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q5557781', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1524 property:P190 ?v . resource:Q5557781 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Tbilisi
Tbilisi is sister towns of Athens and were Gia Bugadze born
Tbilisi
action filter_type
action intersection
action find
entity Athens
relation sister city
action find
entity Gia Bugadze
relation place of birth
type administrative territorial entity
{'AND': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Gia Bugadze', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Athens property:sister_city ?v . resource:Gia_Bugadze property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q994
P159
Q4830453 Q895526
USER
How many business enterprises and authority organs have headquarters located at Tbilisi ?
(c(Q4830453),P159,Q994) (c(Q895526),P159,Q994)
action count
action union
action filter_type
action find_reverse
entity Q994
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q994
relation P159
type Q895526
[{'concept': 'Q4830453'}, 'P159', 'Q994'] [{'concept': 'Q895526'}, 'P159', 'Q994']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4830453 ) ( ontology:Q895526 ) } }
Tbilisi
action count
action union
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type authority organ
[{'concept': 'business enterprise'}, 'headquarters location', 'Tbilisi'] [{'concept': 'authority organ'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:business_enterprise ) ( ontology:authority_organ ) } }
[]
business enterprise authority organ
SYSTEM
2 business enterprises and 1 authority organs
Q18274252 Q1659819 Q287734
(c(Q4830453),P159,Q994) (c(Q895526),P159,Q994)
action count
action union
action filter_type
action find_reverse
entity Q994
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q994
relation P159
type Q895526
[ANSWER]
[{'concept': 'Q4830453'}, 'P159', 'Q994'] [{'concept': 'Q895526'}, 'P159', 'Q994']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4830453 ) ( ontology:Q895526 ) } }
STC DELTA Imedi Media Holding Tbilisi Aircraft Manufacturing
2 business enterprises and 1 authority organs
action count
action union
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type authority organ
[{'concept': 'business enterprise'}, 'headquarters location', 'Tbilisi'] [{'concept': 'authority organ'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:business_enterprise ) ( ontology:authority_organ ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P551
Q502895
USER
Who lives in Tbilisi ?
(c(Q502895),P551,Q994)
action filter_type
action find_reverse
entity Q994
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q994']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q994 . ?q rdf:type ontology:Q502895 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tbilisi']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Tbilisi . ?q rdf:type ontology:common_name }
[]
common name
Q3646436 Q7849561 Q4299405
SYSTEM
Derenik Demirchian, Tserents, Lev Nikolayevich Modzalevskiy
Q2379482 Q5563411 Q7849561 Q1010588 Q6569156 Q16383621 Q441219 Q2126952 Q1958772 Q2655639 Q4307894 Q4299405 Q1010584 Q2610362 Q738576 Q4075091 Q321365 Q3646436
(c(Q502895),P551,Q994)
action filter_type
action find_reverse
entity Q994
relation P551
type Q502895
[ANSWERS] live in Tbilisi
[{'concept': 'Q502895'}, 'P551', 'Q994']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q994 . ?q rdf:type ontology:Q502895 }
Gabriel Sundukian Giorgi Chantouria Tserents Giorgi Baramidze Stepanos Nazarian Khnko Aper Leila Meskhi Irakli Labadze Kerope Patkanov Gigo Gabashvili Muratsan Lev Nikolayevich Modzalevskiy Giorgi Ganugrava Raffi Soghomon Tehlirian Alexander Bazhbeuk-Melikyan Otar Iosseliani Derenik Demirchian
Derenik Demirchian, Tserents and Lev Nikolayevich Modzalevskiy live in Tbilisi
Derenik Demirchian Tserents Lev Nikolayevich Modzalevskiy
action filter_type
action find_reverse
entity Tbilisi
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tbilisi']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Tbilisi . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P931
Q62447
USER
Which aerodrome serves the place named Tbilisi ?
(c(Q62447),P931,Q994)
action filter_type
action find_reverse
entity Q994
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q994']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q994 . ?h rdf:type ontology:Q62447 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Tbilisi']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Tbilisi . ?h rdf:type ontology:aerodrome }
[]
aerodrome
Q778213
SYSTEM
Tbilisi International Airport
Q778213
(c(Q62447),P931,Q994)
action filter_type
action find_reverse
entity Q994
relation P931
type Q62447
[ANSWER] serves the place named Tbilisi
[{'concept': 'Q62447'}, 'P931', 'Q994']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q994 . ?h rdf:type ontology:Q62447 }
Tbilisi International Airport
Tbilisi International Airport serves the place named Tbilisi
Tbilisi International Airport
action filter_type
action find_reverse
entity Tbilisi
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Tbilisi']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Tbilisi . ?h rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P1001
Q17335294
USER
Which coat of arms has jurisdiction over Tbilisi ?
(c(Q17335294),P1001,Q994)
action filter_type
action find_reverse
entity Q994
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q994']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q994 . ?j rdf:type ontology:Q17335294 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Tbilisi']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Tbilisi . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2915836
SYSTEM
Flag of Tbilisi
Q2915836
(c(Q17335294),P1001,Q994)
action filter_type
action find_reverse
entity Q994
relation P1001
type Q17335294
Georgia [ANSWER] has jurisdiction over Tbilisi
[{'concept': 'Q17335294'}, 'P1001', 'Q994']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q994 . ?j rdf:type ontology:Q17335294 }
Flag of Tbilisi
Georgia Flag of Tbilisi has jurisdiction over Tbilisi
Flag of Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Tbilisi']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Tbilisi . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P36
Q15617994
USER
Which administrative territory contains Tbilisi as its capital ?
(c(Q15617994),P36,Q994)
action filter_type
action find_reverse
entity Q994
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q994']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q994 . ?b rdf:type ontology:Q15617994 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Tbilisi']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Tbilisi . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P36,Q994)
action filter_type
action find_reverse
entity Q994
relation P36
type Q15617994
[ANSWER] contains Tbilisi as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q994']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q994 . ?b rdf:type ontology:Q15617994 }
Georgia
Georgia contains Tbilisi as its capital
Georgia
action filter_type
action find_reverse
entity Tbilisi
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Tbilisi']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Tbilisi . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]