Simple Question (Direct)
Simple Question
Q1454306
P937
Q56061
USER
What is the work location of Hansgerd Hellenkemper ?
(Q1454306,P937,c(Q56061))
action filter_type
action find
entity Q1454306
relation P937
type Q56061
['Q1454306', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1454306 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Hansgerd Hellenkemper
action filter_type
action find
entity Hansgerd Hellenkemper
relation work location
type administrative territorial entity
['Hansgerd Hellenkemper', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hansgerd_Hellenkemper property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q1454306,P937,c(Q56061))
action filter_type
action find
entity Q1454306
relation P937
type Q56061
The work location of Hansgerd Hellenkemper is in [ANSWER]
['Q1454306', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1454306 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Cologne
The work location of Hansgerd Hellenkemper is in Cologne
Cologne
action filter_type
action find
entity Hansgerd Hellenkemper
relation work location
type administrative territorial entity
['Hansgerd Hellenkemper', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hansgerd_Hellenkemper property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1454306
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q365,P27,c(Q1048835))
action filter_type
action find
entity Q1454306
relation P27
type Q1048835
['Q365', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q1454306 property:P27 ?l }
Hansgerd Hellenkemper
action filter_type
action find
entity Hansgerd Hellenkemper
relation country of citizenship
type political territorial entity
['Cologne', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Hansgerd_Hellenkemper property:country_of_citizenship ?l }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q365,P27,c(Q1048835))
action filter_type
action find
entity Q1454306
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q365', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q1454306 property:P27 ?l }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Hansgerd Hellenkemper
relation country of citizenship
type political territorial entity
['Cologne', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Hansgerd_Hellenkemper property:country_of_citizenship ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2012050
P206
Q15324 Q1267889 Q1048835
USER
Which political territories are located nearby lesser number of bodies of water or waterways than Donetsk Oblast ?
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q2012050
relation P206
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?m rdf:type ?g } GROUP BY ?j } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q2012050 property:P206 ?k . { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } } } }
Donetsk Oblast
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Donetsk Oblast
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?m rdf:type ?g } GROUP BY ?j } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Donetsk_Oblast property:located_next_to_body_of_water ?k . { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:waterway ) } } } } }
[]
body of water waterway political territorial entity
Q16 Q40 Q643919
SYSTEM
Canada, Austria, Torfaen County Borough
Q736872 Q434192 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q40 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q2012050
relation P206
type Q15324
type Q1267889
[ANSWERS] are located nearby lesser number of bodies of water or waterways than Donetsk Oblast
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?m rdf:type ?g } GROUP BY ?j } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q2012050 property:P206 ?k . { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } } } }
Ayamonte San Andrés y Sauces Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada, Austria and Torfaen County Borough are located nearby lesser number of bodies of water or waterways than Donetsk Oblast
Canada Austria Torfaen County Borough
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Donetsk Oblast
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?m rdf:type ?g } GROUP BY ?j } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Donetsk_Oblast property:located_next_to_body_of_water ?k . { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:waterway ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4673688
P206
Q15324 Q1267889 Q1048835
USER
And how about Achila?
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q4673688
relation P206
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?b rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { { ?p rdf:type ontology:Q15324 } UNION { ?p rdf:type ontology:Q1267889 } } . resource:Q4673688 property:P206 ?p } } . FILTER ( ?m < ?u ) }
Achila
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Achila
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?b rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { { ?p rdf:type ontology:body_of_water } UNION { ?p rdf:type ontology:waterway } } . resource:Achila property:located_next_to_body_of_water ?p } } . FILTER ( ?m < ?u ) }
[]
body of water waterway political territorial entity
Q16 Q40 Q643919
SYSTEM
Canada, Austria, Torfaen County Borough
Q736872 Q434192 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q40 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q4673688
relation P206
type Q15324
type Q1267889
[ANSWERS]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?b rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { { ?p rdf:type ontology:Q15324 } UNION { ?p rdf:type ontology:Q1267889 } } . resource:Q4673688 property:P206 ?p } } . FILTER ( ?m < ?u ) }
Ayamonte San Andrés y Sauces Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada Austria Torfaen County Borough
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Achila
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?b rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { { ?p rdf:type ontology:body_of_water } UNION { ?p rdf:type ontology:waterway } } . resource:Achila property:located_next_to_body_of_water ?p } } . FILTER ( ?m < ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1680798 Q183
P530 P20
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany or did the demise of Rudolf Haake occur ?
OR((Q183,P530,c(Q15617994)), (Q1680798,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q1680798
relation P20
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1680798', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q183 property:P530 ?r } UNION { resource:Q1680798 property:P20 ?r } } . ?r rdf:type ontology:Q15617994 }
Rudolf Haake Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Rudolf Haake
relation place of death
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rudolf Haake', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Germany property:diplomatic_relation ?r } UNION { resource:Rudolf_Haake property:place_of_death ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224 Q974 Q115 Q265 Q958 Q41 Q786 Q77 Q730 Q1007
SYSTEM
Some of them are Croatia, Democratic Republic of the Congo, Ethiopia, Uzbekistan, South Sudan, Greece, Dominican Republic, Uruguay, Suriname, Guinea-Bissau
Q804 Q801 Q800 Q419 Q539059 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q1680798,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q1680798
relation P20
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany or did the demise of Rudolf Haake occur
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1680798', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q183 property:P530 ?r } UNION { resource:Q1680798 property:P20 ?r } } . ?r rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru Kelbra India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Croatia, Democratic Republic of the Congo, Ethiopia, Uzbekistan, South Sudan, Greece, Dominican Republic, Uruguay, Suriname and Guinea-Bissau have a diplomatic relationship with Germany or did the demise of Rudolf Haake occur
Croatia Democratic Republic of the Congo Ethiopia Uzbekistan South Sudan Greece Dominican Republic Uruguay Suriname Guinea-Bissau
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Rudolf Haake
relation place of death
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rudolf Haake', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Germany property:diplomatic_relation ?r } UNION { resource:Rudolf_Haake property:place_of_death ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q224 Q974 Q115 Q265 Q958 Q41 Q786 Q77 Q730 Q1007
P530
Q1048835
USER
Which political territories have diplomatic associations with those administrative territories ?
(c(Q1048835),P530,Q224) (c(Q1048835),P530,Q974) (c(Q1048835),P530,Q115) (c(Q1048835),P530,Q265) (c(Q1048835),P530,Q958) (c(Q1048835),P530,Q41) (c(Q1048835),P530,Q786) (c(Q1048835),P530,Q77) (c(Q1048835),P530,Q730) (c(Q1048835),P530,Q1007)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q224'] [{'concept': 'Q1048835'}, 'P530', 'Q974'] [{'concept': 'Q1048835'}, 'P530', 'Q115'] [{'concept': 'Q1048835'}, 'P530', 'Q265'] [{'concept': 'Q1048835'}, 'P530', 'Q958'] [{'concept': 'Q1048835'}, 'P530', 'Q41'] [{'concept': 'Q1048835'}, 'P530', 'Q786'] [{'concept': 'Q1048835'}, 'P530', 'Q77'] [{'concept': 'Q1048835'}, 'P530', 'Q730'] [{'concept': 'Q1048835'}, 'P530', 'Q1007']
SELECT DISTINCT ?x WHERE { VALUES ( ?z ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?z property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Croatia Democratic Republic of the Congo Ethiopia Uzbekistan South Sudan Greece Dominican Republic Uruguay Suriname Guinea-Bissau
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Croatia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Ethiopia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Uzbekistan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'South Sudan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Dominican Republic'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Uruguay'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Suriname'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Guinea-Bissau']
SELECT DISTINCT ?x WHERE { VALUES ( ?z ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?z property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q408 Q183 Q183 Q408 Q183 Q16 Q183 Q183 Q408 Q183 Q408 Q183 Q408 Q183 Q16 Q183 Q183
(c(Q1048835),P530,Q224) (c(Q1048835),P530,Q974) (c(Q1048835),P530,Q115) (c(Q1048835),P530,Q265) (c(Q1048835),P530,Q958) (c(Q1048835),P530,Q41) (c(Q1048835),P530,Q786) (c(Q1048835),P530,Q77) (c(Q1048835),P530,Q730) (c(Q1048835),P530,Q1007)
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic associations with those administrative territories
[{'concept': 'Q1048835'}, 'P530', 'Q224'] [{'concept': 'Q1048835'}, 'P530', 'Q974'] [{'concept': 'Q1048835'}, 'P530', 'Q115'] [{'concept': 'Q1048835'}, 'P530', 'Q265'] [{'concept': 'Q1048835'}, 'P530', 'Q958'] [{'concept': 'Q1048835'}, 'P530', 'Q41'] [{'concept': 'Q1048835'}, 'P530', 'Q786'] [{'concept': 'Q1048835'}, 'P530', 'Q77'] [{'concept': 'Q1048835'}, 'P530', 'Q730'] [{'concept': 'Q1048835'}, 'P530', 'Q1007']
SELECT DISTINCT ?x WHERE { VALUES ( ?z ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?z property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Australia Germany Germany Australia Germany Canada Germany Germany Australia Germany Australia Germany Australia Germany Canada Germany Germany
Germany, Germany and Germany have diplomatic associations with those administrative territories
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Croatia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Ethiopia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Uzbekistan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'South Sudan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Dominican Republic'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Uruguay'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Suriname'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Guinea-Bissau']
SELECT DISTINCT ?x WHERE { VALUES ( ?z ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?z property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P137
Q3947
USER
Which house was operated by Croatia ?
(c(Q3947),P137,Q224)
action filter_type
action find_reverse
entity Q224
relation P137
type Q3947
[{'concept': 'Q3947'}, 'P137', 'Q224']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q224 . ?q rdf:type ontology:Q3947 }
Croatia
action filter_type
action find_reverse
entity Croatia
relation operator
type house
[{'concept': 'house'}, 'operator', 'Croatia']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:Croatia . ?q rdf:type ontology:house }
[]
house
Q5369660
SYSTEM
Embassy of Croatia, Ottawa
Q5369660
(c(Q3947),P137,Q224)
action filter_type
action find_reverse
entity Q224
relation P137
type Q3947
[ANSWER] was operated by Croatia
[{'concept': 'Q3947'}, 'P137', 'Q224']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q224 . ?q rdf:type ontology:Q3947 }
Embassy of Croatia, Ottawa
Embassy of Croatia, Ottawa was operated by Croatia
Embassy of Croatia, Ottawa
action filter_type
action find_reverse
entity Croatia
relation operator
type house
[{'concept': 'house'}, 'operator', 'Croatia']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:Croatia . ?q rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5369660
P1435
Q2065736
USER
Which cultural property is the heritage status of that house ?
(Q5369660,P1435,c(Q2065736))
action filter_type
action find
entity Q5369660
relation P1435
type Q2065736
['Q5369660', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?f WHERE { resource:Q5369660 property:P1435 ?f . ?f rdf:type ontology:Q2065736 }
Embassy of Croatia, Ottawa
action filter_type
action find
entity Embassy of Croatia, Ottawa
relation heritage status
type cultural property
['Embassy of Croatia, Ottawa', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?f WHERE { resource:Embassy_of_Croatia,_Ottawa property:heritage_status ?f . ?f rdf:type ontology:cultural_property }
[]
cultural property
Q15080599
SYSTEM
designated heritage property (part IV)
Q15080599
(Q5369660,P1435,c(Q2065736))
action filter_type
action find
entity Q5369660
relation P1435
type Q2065736
The [ANSWER] is the heritage status of that house
['Q5369660', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?f WHERE { resource:Q5369660 property:P1435 ?f . ?f rdf:type ontology:Q2065736 }
designated heritage property (part IV)
The designated heritage property (part IV) is the heritage status of that house
designated heritage property (part IV)
action filter_type
action find
entity Embassy of Croatia, Ottawa
relation heritage status
type cultural property
['Embassy of Croatia, Ottawa', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?f WHERE { resource:Embassy_of_Croatia,_Ottawa property:heritage_status ?f . ?f rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5369660
P17
Q1048835
USER
Which political territory is that house situated in ?
(Q15080599,P17,c(Q1048835))
action filter_type
action find
entity Q5369660
relation P17
type Q1048835
['Q15080599', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q5369660 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Embassy of Croatia, Ottawa
action filter_type
action find
entity Embassy of Croatia, Ottawa
relation country
type political territorial entity
['designated heritage property (part IV)', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Embassy_of_Croatia,_Ottawa property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q15080599,P17,c(Q1048835))
action filter_type
action find
entity Q5369660
relation P17
type Q1048835
That house is situated in [ANSWER]
['Q15080599', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q5369660 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Canada
That house is situated in Canada
Canada
action filter_type
action find
entity Embassy of Croatia, Ottawa
relation country
type political territorial entity
['designated heritage property (part IV)', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Embassy_of_Croatia,_Ottawa property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]