Simple Question (Direct)
Simple Question
Q3622662
P106
Q12737077
USER
What do Aristide Alafouzos do for a living ?
(Q3622662,P106,c(Q12737077))
action filter_type
action find
entity Q3622662
relation P106
type Q12737077
['Q3622662', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3622662 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Aristide Alafouzos
action filter_type
action find
entity Aristide Alafouzos
relation occupation
type occupation
['Aristide Alafouzos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Aristide_Alafouzos property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q2516866 Q131524 Q500251
SYSTEM
publisher, entrepreneur, shipowner
Q500251 Q2516866 Q131524 Q43845
(Q3622662,P106,c(Q12737077))
action filter_type
action find
entity Q3622662
relation P106
type Q12737077
[ANSWERS] Aristide Alafouzos do for a living
['Q3622662', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3622662 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
shipowner publisher entrepreneur businessperson
Publisher, entrepreneur and shipowner Aristide Alafouzos do for a living
publisher entrepreneur shipowner
action filter_type
action find
entity Aristide Alafouzos
relation occupation
type occupation
['Aristide Alafouzos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Aristide_Alafouzos property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2516866 Q131524 Q500251
P39
Q502895
USER
Who held the position of publisher, entrepreneur and shipowner ?
(c(Q502895),P39,Q2516866) (c(Q502895),P39,Q131524) (c(Q502895),P39,Q500251)
action union
action filter_type
action find_reverse
entity Q2516866
relation P39
type Q502895
action filter_type
action find_reverse
entity Q131524
relation P39
type Q502895
action filter_type
action find_reverse
entity Q500251
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2516866'] [{'concept': 'Q502895'}, 'P39', 'Q131524'] [{'concept': 'Q502895'}, 'P39', 'Q500251']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?g . VALUES ( ?g ) { ( resource:Q131524 ) ( resource:Q2516866 ) } }
publisher entrepreneur shipowner
action union
action filter_type
action find_reverse
entity publisher
relation position held
type common name
action filter_type
action find_reverse
entity entrepreneur
relation position held
type common name
action filter_type
action find_reverse
entity shipowner
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'publisher'] [{'concept': 'common name'}, 'position held', 'entrepreneur'] [{'concept': 'common name'}, 'position held', 'shipowner']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?g . VALUES ( ?g ) { ( resource:entrepreneur ) ( resource:publisher ) } }
[]
common name
Q4317718 Q16025728 Q18221077
SYSTEM
Vsevolod Nestayko, Adolphe Fraissinet, André Besnier
Q4317718 Q20792941 Q18221077 Q16025728
(c(Q502895),P39,Q2516866) (c(Q502895),P39,Q131524) (c(Q502895),P39,Q500251)
action union
action filter_type
action find_reverse
entity Q2516866
relation P39
type Q502895
action filter_type
action find_reverse
entity Q131524
relation P39
type Q502895
action filter_type
action find_reverse
entity Q500251
relation P39
type Q502895
[ANSWERS] held the position of publisher, entrepreneur and shipowner
[{'concept': 'Q502895'}, 'P39', 'Q2516866'] [{'concept': 'Q502895'}, 'P39', 'Q131524'] [{'concept': 'Q502895'}, 'P39', 'Q500251']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?g . VALUES ( ?g ) { ( resource:Q131524 ) ( resource:Q2516866 ) } }
Vsevolod Nestayko Marco André Besnier Adolphe Fraissinet
Vsevolod Nestayko, Adolphe Fraissinet and André Besnier held the position of publisher, entrepreneur and shipowner
Vsevolod Nestayko Adolphe Fraissinet André Besnier
action union
action filter_type
action find_reverse
entity publisher
relation position held
type common name
action filter_type
action find_reverse
entity entrepreneur
relation position held
type common name
action filter_type
action find_reverse
entity shipowner
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'publisher'] [{'concept': 'common name'}, 'position held', 'entrepreneur'] [{'concept': 'common name'}, 'position held', 'shipowner']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?g . VALUES ( ?g ) { ( resource:entrepreneur ) ( resource:publisher ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4317718
P20
Q515
USER
Where did the expiration of Vsevolod Nestayko occur ?
(Q4317718,P20,c(Q515))
action filter_type
action find
entity Q4317718
relation P20
type Q515
['Q4317718', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q4317718 property:P20 ?k . ?k rdf:type ontology:Q515 }
Vsevolod Nestayko
action filter_type
action find
entity Vsevolod Nestayko
relation place of death
type city
['Vsevolod Nestayko', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Vsevolod_Nestayko property:place_of_death ?k . ?k rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q4317718,P20,c(Q515))
action filter_type
action find
entity Q4317718
relation P20
type Q515
The expiration of Vsevolod Nestayko occurred in [ANSWER]
['Q4317718', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q4317718 property:P20 ?k . ?k rdf:type ontology:Q515 }
Kyiv
The expiration of Vsevolod Nestayko occurred in Kyiv
Kyiv
action filter_type
action find
entity Vsevolod Nestayko
relation place of death
type city
['Vsevolod Nestayko', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Vsevolod_Nestayko property:place_of_death ?k . ?k rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4317718
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1899,P27,c(Q15617994))
action filter_type
action find
entity Q4317718
relation P27
type Q15617994
['Q1899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4317718 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Vsevolod Nestayko
action filter_type
action find
entity Vsevolod Nestayko
relation country of citizenship
type designation for an administrative territorial entity
['Kyiv', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vsevolod_Nestayko property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q1899,P27,c(Q15617994))
action filter_type
action find
entity Q4317718
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q1899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4317718 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ukraine
Ukraine is the native country of that person
Ukraine
action filter_type
action find
entity Vsevolod Nestayko
relation country of citizenship
type designation for an administrative territorial entity
['Kyiv', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vsevolod_Nestayko property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q212
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q2031291 . ?f rdf:type ontology:Q15617994 . ?a property:P495 ?f } GROUP BY ?f } . FILTER ( ?k > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q212 property:P495 ?r . ?r rdf:type ontology:Q15617994 } } }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Ukraine
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:release . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country_of_origin ?f } GROUP BY ?f } . FILTER ( ?k > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Ukraine property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity release
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q212
relation P495
type Q15617994
[ANSWERS] are the origin of greater number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q2031291 . ?f rdf:type ontology:Q15617994 . ?a property:P495 ?f } GROUP BY ?f } . FILTER ( ?k > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q212 property:P495 ?r . ?r rdf:type ontology:Q15617994 } } }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the origin of greater number of releases than that administrative territory
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Ukraine
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:release . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country_of_origin ?f } GROUP BY ?f } . FILTER ( ?k > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Ukraine property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53402 Q155
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Brazil or are Zuglio present in ?
OR((Q155,P530,c(Q15617994)), (Q53402,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q53402
relation P17
type Q15617994
{'OR': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q53402', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q155 property:P530 ?d } UNION { resource:Q53402 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Zuglio Brazil
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Zuglio
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zuglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Brazil property:diplomatic_relation ?d } UNION { resource:Zuglio property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q800 Q733 Q213 Q916 Q1029 Q41 Q36 Q45 Q801
SYSTEM
Some of them are Argentina, Costa Rica, Paraguay, Czech Republic, Angola, Mozambique, Greece, Poland, Portugal, Israel
Q783 Q801 Q800 Q843 Q1029 Q822 Q241 Q419 Q244 Q668 Q414 Q574 Q142 Q145 Q148 Q96 Q17 Q30 Q36 Q79 Q77 Q38 Q1016 Q739 Q423 Q717 Q983 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q41 Q734 Q790 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
OR((Q155,P530,c(Q15617994)), (Q53402,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q53402
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Brazil or are Zuglio present in
{'OR': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q53402', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q155 property:P530 ?d } UNION { resource:Q53402 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Honduras Israel Costa Rica Pakistan Mozambique Lebanon Cuba Peru Barbados India Argentina East Timor France United Kingdom People's Republic of China Mexico Japan United States of America Poland Egypt Uruguay Italy Libya Colombia North Korea Venezuela Equatorial Guinea Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Greece Guyana Haiti Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
Argentina, Costa Rica, Paraguay, Czech Republic, Angola, Mozambique, Greece, Poland, Portugal and Israel have diplomatic relationships with Brazil or are Zuglio present in
Argentina Costa Rica Paraguay Czech Republic Angola Mozambique Greece Poland Portugal Israel
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Zuglio
relation country
type designation for an administrative territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zuglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Brazil property:diplomatic_relation ?d } UNION { resource:Zuglio property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q41
SYSTEM
Did you mean Greece ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Greece ?
Greece
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Czech Republic. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q213
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
146
Q805 Q804 Q800 Q1462 Q419 Q414 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
146
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P47
Q1048835
USER
Which political territories share border with Czech Republic ?
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?q }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?q }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
[ANSWERS] share border with Czech Republic
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q213 property:P47 ?q }
Germany Austria
Germany and Austria share border with Czech Republic
Germany Austria
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Czech_Republic property:shares_border_with ?q }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q40
P610
Q14524493
USER
Which terrains are the highest point of those political territories ?
(Q183,P610,c(Q14524493)) (Q40,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q183', 'P610', {'concept': 'Q14524493'}] ['Q40', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?q WHERE { ?n property:P610 ?q . ?q rdf:type ontology:Q14524493 . VALUES ( ?n ) { ( resource:Q183 ) ( resource:Q40 ) } }
Germany Austria
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}] ['Austria', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?q WHERE { ?n property:highest_point ?q . ?q rdf:type ontology:terrain . VALUES ( ?n ) { ( resource:Germany ) ( resource:Austria ) } }
[]
terrain
Q3375 Q3388
SYSTEM
Zugspitze, Grossglockner
Q3375 Q3388
(Q183,P610,c(Q14524493)) (Q40,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
[ANSWERS] are the highest point of those political territories
['Q183', 'P610', {'concept': 'Q14524493'}] ['Q40', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?q WHERE { ?n property:P610 ?q . ?q rdf:type ontology:Q14524493 . VALUES ( ?n ) { ( resource:Q183 ) ( resource:Q40 ) } }
Zugspitze Grossglockner
Zugspitze and Grossglockner are the highest point of those political territories
Zugspitze Grossglockner
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}] ['Austria', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?q WHERE { ?n property:highest_point ?q . ?q rdf:type ontology:terrain . VALUES ( ?n ) { ( resource:Germany ) ( resource:Austria ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3375 Q3388
P17
Q1048835
USER
Which political territories are Zugspitze and Grossglockner a part of ?
(Q3375,P17,c(Q1048835)) (Q3388,P17,c(Q1048835))
action union
action filter_type
action find
entity Q3375
relation P17
type Q1048835
action filter_type
action find
entity Q3388
relation P17
type Q1048835
['Q3375', 'P17', {'concept': 'Q1048835'}] ['Q3388', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Q3375 ) ( resource:Q3388 ) } . ?m property:P17 ?w }
Zugspitze Grossglockner
action union
action filter_type
action find
entity Zugspitze
relation country
type political territorial entity
action filter_type
action find
entity Grossglockner
relation country
type political territorial entity
['Zugspitze', 'country', {'concept': 'political territorial entity'}] ['Grossglockner', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Zugspitze ) ( resource:Grossglockner ) } . ?m property:country ?w }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q3375,P17,c(Q1048835)) (Q3388,P17,c(Q1048835))
action union
action filter_type
action find
entity Q3375
relation P17
type Q1048835
action filter_type
action find
entity Q3388
relation P17
type Q1048835
[ANSWERS] are Zugspitze and Grossglockner a part of
['Q3375', 'P17', {'concept': 'Q1048835'}] ['Q3388', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Q3375 ) ( resource:Q3388 ) } . ?m property:P17 ?w }
Germany Austria
Germany and Austria are Zugspitze and Grossglockner a part of
Germany Austria
action union
action filter_type
action find
entity Zugspitze
relation country
type political territorial entity
action filter_type
action find
entity Grossglockner
relation country
type political territorial entity
['Zugspitze', 'country', {'concept': 'political territorial entity'}] ['Grossglockner', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?m ) { ( resource:Zugspitze ) ( resource:Grossglockner ) } . ?m property:country ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q40
P127
Q3947
USER
Which houses are owned by those political territories ?
(c(Q3947),P127,Q183) (c(Q3947),P127,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q3947
[{'concept': 'Q3947'}, 'P127', 'Q183'] [{'concept': 'Q3947'}, 'P127', 'Q40']
SELECT DISTINCT ?y WHERE { ?y property:P127 ?l . ?y rdf:type ontology:Q3947 . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q40 ) } }
Germany Austria
action filter_type
action find_reverse
entity prev_answer
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Germany'] [{'concept': 'house'}, 'owned by', 'Austria']
SELECT DISTINCT ?y WHERE { ?y property:owned_by ?l . ?y rdf:type ontology:house . VALUES ( ?l ) { ( resource:Germany ) ( resource:Austria ) } }
[]
house
Q1243445 Q15118459 Q14544558
SYSTEM
Tempelstraße 1/3, Lindenallee 70, Friedrich-Wilhelm-Straße 14
Q966399 Q1243445 Q1243439 Q15118459 Q14544558
(c(Q3947),P127,Q183) (c(Q3947),P127,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q3947
[ANSWERS] are owned by those political territories
[{'concept': 'Q3947'}, 'P127', 'Q183'] [{'concept': 'Q3947'}, 'P127', 'Q40']
SELECT DISTINCT ?y WHERE { ?y property:P127 ?l . ?y rdf:type ontology:Q3947 . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q40 ) } }
Hôtel Beauharnais Tempelstraße 1/3 Kaiser-Friedrich-Straße 8/10 Lindenallee 70 Friedrich-Wilhelm-Straße 14
Tempelstraße 1/3, Lindenallee 70 and Friedrich-Wilhelm-Straße 14 are owned by those political territories
Tempelstraße 1/3 Lindenallee 70 Friedrich-Wilhelm-Straße 14
action filter_type
action find_reverse
entity prev_answer
relation owned by
type house
[{'concept': 'house'}, 'owned by', 'Germany'] [{'concept': 'house'}, 'owned by', 'Austria']
SELECT DISTINCT ?y WHERE { ?y property:owned_by ?l . ?y rdf:type ontology:house . VALUES ( ?l ) { ( resource:Germany ) ( resource:Austria ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1243445 Q15118459 Q14544558
P669
Q34442
USER
Which roads are Tempelstraße 1/3, Lindenallee 70 and Friedrich-Wilhelm-Straße 14 located on ?
(Q1243445,P669,c(Q34442)) (Q15118459,P669,c(Q34442)) (Q14544558,P669,c(Q34442))
action union
action filter_type
action find
entity Q1243445
relation P669
type Q34442
action filter_type
action find
entity Q15118459
relation P669
type Q34442
action filter_type
action find
entity Q14544558
relation P669
type Q34442
['Q1243445', 'P669', {'concept': 'Q34442'}] ['Q15118459', 'P669', {'concept': 'Q34442'}] ['Q14544558', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { { resource:Q1243445 property:P669 ?y . ?y rdf:type ontology:Q34442 } UNION { resource:Q15118459 property:P669 ?y . ?y rdf:type ontology:Q34442 } }
Tempelstraße 1/3 Lindenallee 70 Friedrich-Wilhelm-Straße 14
action union
action filter_type
action find
entity Tempelstraße 1/3
relation located on street
type road
action filter_type
action find
entity Lindenallee 70
relation located on street
type road
action filter_type
action find
entity Friedrich-Wilhelm-Straße 14
relation located on street
type road
['Tempelstraße 1/3', 'located on street', {'concept': 'road'}] ['Lindenallee 70', 'located on street', {'concept': 'road'}] ['Friedrich-Wilhelm-Straße 14', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { { resource:Tempelstraße_1/3 property:located_on_street ?y . ?y rdf:type ontology:road } UNION { resource:Lindenallee_70 property:located_on_street ?y . ?y rdf:type ontology:road } }
[]
road
Q15709866 Q15632541 Q15632120
SYSTEM
Tempelstrasse, Lindenallee, Friedrich-Wilhelm-Straße
Q15709866 Q15632541 Q15632120
(Q1243445,P669,c(Q34442)) (Q15118459,P669,c(Q34442)) (Q14544558,P669,c(Q34442))
action union
action filter_type
action find
entity Q1243445
relation P669
type Q34442
action filter_type
action find
entity Q15118459
relation P669
type Q34442
action filter_type
action find
entity Q14544558
relation P669
type Q34442
[ANSWERS] are Tempelstraße 1/3, Lindenallee 70 and Friedrich-Wilhelm-Straße 14 located on
['Q1243445', 'P669', {'concept': 'Q34442'}] ['Q15118459', 'P669', {'concept': 'Q34442'}] ['Q14544558', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { { resource:Q1243445 property:P669 ?y . ?y rdf:type ontology:Q34442 } UNION { resource:Q15118459 property:P669 ?y . ?y rdf:type ontology:Q34442 } }
Tempelstrasse Lindenallee Friedrich-Wilhelm-Straße
Tempelstrasse, Lindenallee and Friedrich-Wilhelm-Straße are Tempelstraße 1/3, Lindenallee 70 and Friedrich-Wilhelm-Straße 14 located on
Tempelstrasse Lindenallee Friedrich-Wilhelm-Straße
action union
action filter_type
action find
entity Tempelstraße 1/3
relation located on street
type road
action filter_type
action find
entity Lindenallee 70
relation located on street
type road
action filter_type
action find
entity Friedrich-Wilhelm-Straße 14
relation located on street
type road
['Tempelstraße 1/3', 'located on street', {'concept': 'road'}] ['Lindenallee 70', 'located on street', {'concept': 'road'}] ['Friedrich-Wilhelm-Straße 14', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { { resource:Tempelstraße_1/3 property:located_on_street ?y . ?y rdf:type ontology:road } UNION { resource:Lindenallee_70 property:located_on_street ?y . ?y rdf:type ontology:road } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15709866 Q15632541 Q15632120
P17
Q1048835
USER
Which political territories are those roads present in ?
(Q15709866,P17,c(Q1048835)) (Q15632541,P17,c(Q1048835)) (Q15632120,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q15709866', 'P17', {'concept': 'Q1048835'}] ['Q15632541', 'P17', {'concept': 'Q1048835'}] ['Q15632120', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q15709866 ) ( resource:Q15632541 ) ( resource:Q15632120 ) } . ?r property:P17 ?q }
Tempelstrasse Lindenallee Friedrich-Wilhelm-Straße
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Tempelstrasse', 'country', {'concept': 'political territorial entity'}] ['Lindenallee', 'country', {'concept': 'political territorial entity'}] ['Friedrich-Wilhelm-Straße', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:Tempelstrasse ) ( resource:Lindenallee ) ( resource:Friedrich-Wilhelm-Straße ) } . ?r property:country ?q }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q15709866,P17,c(Q1048835)) (Q15632541,P17,c(Q1048835)) (Q15632120,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those roads are in [ANSWER], [ANSWER] and [ANSWER]
['Q15709866', 'P17', {'concept': 'Q1048835'}] ['Q15632541', 'P17', {'concept': 'Q1048835'}] ['Q15632120', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q15709866 ) ( resource:Q15632541 ) ( resource:Q15632120 ) } . ?r property:P17 ?q }
Germany Germany Germany
Those roads are in Germany, Germany and Germany
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Tempelstrasse', 'country', {'concept': 'political territorial entity'}] ['Lindenallee', 'country', {'concept': 'political territorial entity'}] ['Friedrich-Wilhelm-Straße', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:Tempelstrasse ) ( resource:Lindenallee ) ( resource:Friedrich-Wilhelm-Straße ) } . ?r property:country ?q }
[]