Simple Question (Direct)
Simple Question
Q2831128
P20
Q56061
USER
Which administrative territory is the place of death of Albert Duchemin ?
(Q2831128,P20,c(Q56061))
action filter_type
action find
entity Q2831128
relation P20
type Q56061
['Q2831128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q2831128 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Albert Duchemin
action filter_type
action find
entity Albert Duchemin
relation place of death
type administrative territorial entity
['Albert Duchemin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Duchemin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2831128,P20,c(Q56061))
action filter_type
action find
entity Q2831128
relation P20
type Q56061
[ANSWER] is the place of death of Albert Duchemin
['Q2831128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q2831128 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Paris
Paris is the place of death of Albert Duchemin
Paris
action filter_type
action find
entity Albert Duchemin
relation place of death
type administrative territorial entity
['Albert Duchemin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Duchemin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P194
Q11204
USER
Which legislature is the legislative body for that administrative territory ?
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { resource:Q90 property:P194 ?c . ?c rdf:type ontology:Q11204 }
Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { resource:Paris property:legislative_body ?c . ?c rdf:type ontology:legislature }
[]
legislature
Q775994
SYSTEM
Council of Paris
Q775994
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
[ANSWER] is the legislative body for that administrative territory
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { resource:Q90 property:P194 ?c . ?c rdf:type ontology:Q11204 }
Council of Paris
Council of Paris is the legislative body for that administrative territory
Council of Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { resource:Paris property:legislative_body ?c . ?c rdf:type ontology:legislature }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170072
P194
Q11204 Q7275
USER
Which states have approximately the same number of legislatures as their council as Dutch Republic ?
(c(Q7275),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q170072
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?a ) WHERE { ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q11204 . ?y property:P194 ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q7275 . resource:Q170072 property:P194 ?k } } . FILTER ( ?a = ?n ) }
Dutch Republic
action approx
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity Dutch Republic
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?a ) WHERE { ?y rdf:type ontology:state . ?g rdf:type ontology:legislature . ?y property:legislative_body ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:state . resource:Dutch_Republic property:legislative_body ?k } } . FILTER ( ?a = ?n ) }
[]
legislature state
Q980 Q16957 Q518101
SYSTEM
Bavaria, East Germany, First Republic of Austria
Q211853 Q774783 Q70802 Q476757 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q207272 Q174193 Q965174 Q1078602 Q201038 Q330988 Q27306 Q208545 Q533558 Q167360 Q1044536 Q21203 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q215530 Q161885 Q191077 Q2638486 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1789596 Q1423581 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q83286 Q1277557 Q330362 Q15864 Q212439 Q844250 Q303421 Q2396442 Q28025 Q153015 Q83618 Q71092 Q217230 Q170072 Q964024 Q146328 Q487829 Q58296 Q371334 Q4948 Q156038 Q824489 Q49683 Q2342822 Q199841 Q1140152 Q615902 Q1077630 Q12557 Q217196 Q23541302 Q154195 Q1775277 Q285658 Q156020 Q70972 Q1054184 Q427941 Q161036 Q41304 Q216173
(c(Q7275),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q170072
relation P194
type Q7275
[ANSWERS] have approximately the same number of legislatures as their council as Dutch Republic
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?a ) WHERE { ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q11204 . ?y property:P194 ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q7275 . resource:Q170072 property:P194 ?k } } . FILTER ( ?a = ?n ) }
Republic of Serbian Krajina Sovereign Principality of the United Netherlands French Third Republic Democratic Republic of Afghanistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Second Polish Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Democratic Kampuchea Kingdom of Prussia Socialist Republic of Bosnia and Herzegovina Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Aruba Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Ireland Kingdom of Great Britain Kingdom of Yugoslavia Kingdom of Cambodia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Croatia in personal union with Hungary Italian Regency of Carnaro Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Saxony Maratha Empire Second French Empire Empire of Brazil Dutch Republic Moldavian Democratic Republic Commonwealth of the Philippines Chagatai Khanate French Republic Second Mexican Empire Republic of Venice Duchy of Courland and Semigallia Estado Novo Grand Duchy of Lithuania West Pakistan South Yemen Irish Republic Kingdom of Finland Septinsular Republic Mongol Empire Crown of Castile Kaluga Soviet Republic Kingdom of Bavaria Dominion of India First Mexican Empire State of the Teutonic Order Kingdom of France Khmer Republic Islamic Emirate of Afghanistan Free State of Prussia Weimar Republic Free City of Danzig
Bavaria, East Germany and First Republic of Austria have approximately the same number of legislatures as their council as Dutch Republic
Bavaria East Germany First Republic of Austria
action approx
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity Dutch Republic
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?a ) WHERE { ?y rdf:type ontology:state . ?g rdf:type ontology:legislature . ?y property:legislative_body ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:state . resource:Dutch_Republic property:legislative_body ?k } } . FILTER ( ?a = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q49683
P194
Q11204 Q7275
USER
And how about Grand Duchy of Lithuania?
(c(Q7275),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q49683
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?k ) WHERE { ?d rdf:type ontology:Q7275 . ?y rdf:type ontology:Q11204 . ?d property:P194 ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q49683 property:P194 ?b . ?b rdf:type ontology:Q7275 } } . FILTER ( ?k = ?o ) }
Grand Duchy of Lithuania
action approx
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?k ) WHERE { ?d rdf:type ontology:state . ?y rdf:type ontology:legislature . ?d property:legislative_body ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Grand_Duchy_of_Lithuania property:legislative_body ?b . ?b rdf:type ontology:state } } . FILTER ( ?k = ?o ) }
[]
legislature state
Q980 Q16957 Q518101
SYSTEM
Bavaria, East Germany, First Republic of Austria
Q211853 Q774783 Q70802 Q476757 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q207272 Q174193 Q965174 Q1078602 Q201038 Q330988 Q27306 Q208545 Q533558 Q167360 Q1044536 Q21203 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q215530 Q161885 Q191077 Q2638486 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1789596 Q1423581 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q83286 Q1277557 Q330362 Q15864 Q212439 Q844250 Q303421 Q2396442 Q28025 Q153015 Q83618 Q71092 Q217230 Q170072 Q964024 Q146328 Q487829 Q58296 Q371334 Q4948 Q156038 Q824489 Q49683 Q2342822 Q199841 Q1140152 Q615902 Q1077630 Q12557 Q217196 Q23541302 Q154195 Q1775277 Q285658 Q156020 Q70972 Q1054184 Q427941 Q161036 Q41304 Q216173
(c(Q7275),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_type
action find
entity Q49683
relation P194
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?k ) WHERE { ?d rdf:type ontology:Q7275 . ?y rdf:type ontology:Q11204 . ?d property:P194 ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q49683 property:P194 ?b . ?b rdf:type ontology:Q7275 } } . FILTER ( ?k = ?o ) }
Republic of Serbian Krajina Sovereign Principality of the United Netherlands French Third Republic Democratic Republic of Afghanistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Second Polish Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Democratic Kampuchea Kingdom of Prussia Socialist Republic of Bosnia and Herzegovina Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Aruba Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Ireland Kingdom of Great Britain Kingdom of Yugoslavia Kingdom of Cambodia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Croatia in personal union with Hungary Italian Regency of Carnaro Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Saxony Maratha Empire Second French Empire Empire of Brazil Dutch Republic Moldavian Democratic Republic Commonwealth of the Philippines Chagatai Khanate French Republic Second Mexican Empire Republic of Venice Duchy of Courland and Semigallia Estado Novo Grand Duchy of Lithuania West Pakistan South Yemen Irish Republic Kingdom of Finland Septinsular Republic Mongol Empire Crown of Castile Kaluga Soviet Republic Kingdom of Bavaria Dominion of India First Mexican Empire State of the Teutonic Order Kingdom of France Khmer Republic Islamic Emirate of Afghanistan Free State of Prussia Weimar Republic Free City of Danzig
Bavaria East Germany First Republic of Austria
action approx
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?k ) WHERE { ?d rdf:type ontology:state . ?y rdf:type ontology:legislature . ?d property:legislative_body ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Grand_Duchy_of_Lithuania property:legislative_body ?b . ?b rdf:type ontology:state } } . FILTER ( ?k = ?o ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q980
P551
Q502895
USER
Which people dwell at that state ?
(c(Q502895),P551,Q980)
action filter_type
action find_reverse
entity Q980
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q980']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q980 . ?d rdf:type ontology:Q502895 }
Bavaria
action filter_type
action find_reverse
entity Bavaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bavaria']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Bavaria . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q518101
SYSTEM
Did you mean First Republic of Austria ?
Q980 Q16957 Q518101
(c(Q502895),P551,Q980) (c(Q502895),P551,Q16957) (c(Q502895),P551,Q518101)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q980'] [{'concept': 'Q502895'}, 'P551', 'Q16957'] [{'concept': 'Q502895'}, 'P551', 'Q518101']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q980 . ?d rdf:type ontology:Q502895 }
Bavaria East Germany First Republic of Austria
Did you mean First Republic of Austria ?
First Republic of Austria
[{'concept': 'common name'}, 'residence', 'Bavaria'] [{'concept': 'common name'}, 'residence', 'East Germany'] [{'concept': 'common name'}, 'residence', 'First Republic of Austria']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Bavaria . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bavaria. Could you tell me the answer for that?
(c(Q502895),P551,Q980)
Q980
[{'concept': 'Q502895'}, 'P551', 'Q980']
[{'concept': 'common name'}, 'residence', 'Bavaria']
[]
Q77087 Q44068 Q44426
SYSTEM
Klaus Mann, Dirk Nowitzki, Rainer Werner Fassbinder
Q77087 Q76498 Q100205 Q100329 Q44068 Q44426 Q90947 Q101140 Q100028
(c(Q502895),P551,Q980)
action filter_type
action find_reverse
entity Q980
relation P551
type Q502895
[ANSWERS] dwell at that state
[{'concept': 'Q502895'}, 'P551', 'Q980']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q980 . ?d rdf:type ontology:Q502895 }
Klaus Mann Michael Ende Jakob Graf zu Eltz Michael Welker Dirk Nowitzki Rainer Werner Fassbinder Hans Schwaier Fritz Pröll Jörg Hube
Klaus Mann, Dirk Nowitzki and Rainer Werner Fassbinder dwell at that state
Klaus Mann Dirk Nowitzki Rainer Werner Fassbinder
action filter_type
action find_reverse
entity Bavaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bavaria']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Bavaria . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P9
Q502895
USER
How many people are the sisters of that person ?
(Q77087,P9,c(Q502895))
['Q77087', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77087 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
['Klaus Mann', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Klaus_Mann property:sister ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q77087
SYSTEM
Did you mean Klaus Mann ?
(Q77087,P9,c(Q502895)) (Q44068,P9,c(Q502895)) (Q44426,P9,c(Q502895))
[ANSWER]
['Q77087', 'P9', {'concept': 'Q502895'}] ['Q44068', 'P9', {'concept': 'Q502895'}] ['Q44426', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77087 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Klaus Mann ?
Klaus Mann
['Klaus Mann', 'sister', {'concept': 'common name'}] ['Dirk Nowitzki', 'sister', {'concept': 'common name'}] ['Rainer Werner Fassbinder', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Klaus_Mann property:sister ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q77087,P9,c(Q502895))
['Q77087', 'P9', {'concept': 'Q502895'}]
['Klaus Mann', 'sister', {'concept': 'common name'}]
[]
SYSTEM
3
Q71407 Q71819 Q61597
(Q77087,P9,c(Q502895))
[ANSWER]
['Q77087', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q77087 property:Q595094 ?z . ?z rdf:type ontology:Q502895 }
Monika Mann Elisabeth Mann-Borgese Erika Mann
3
['Klaus Mann', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Klaus_Mann property:sister ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77087
P551
Q56061
USER
Where did Klaus Mann live ?
(Q77087,P551,c(Q56061))
action filter_type
action find
entity Q77087
relation P551
type Q56061
['Q77087', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q77087 property:P551 ?z . ?z rdf:type ontology:Q56061 }
Klaus Mann
action filter_type
action find
entity Klaus Mann
relation residence
type administrative territorial entity
['Klaus Mann', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Klaus_Mann property:residence ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q77087,P551,c(Q56061))
action filter_type
action find
entity Q77087
relation P551
type Q56061
Klaus Mann lived in [ANSWER]
['Q77087', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q77087 property:P551 ?z . ?z rdf:type ontology:Q56061 }
Munich
Klaus Mann lived in Munich
Munich
action filter_type
action find
entity Klaus Mann
relation residence
type administrative territorial entity
['Klaus Mann', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Klaus_Mann property:residence ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1726
P1313
Q618779
USER
Which award serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q1726,P1313,c(Q618779))
action filter_type
action find
entity Q1726
relation P1313
type Q618779
['Q1726', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q1726 property:P1313 ?p . ?p rdf:type ontology:Q618779 }
Munich
action filter_type
action find
entity Munich
relation office held by head of government
type award
['Munich', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Munich property:office_held_by_head_of_government ?p . ?p rdf:type ontology:award }
[]
award
Q11902879
SYSTEM
Lord Mayor
Q11902879
(Q1726,P1313,c(Q618779))
action filter_type
action find
entity Q1726
relation P1313
type Q618779
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q1726', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q1726 property:P1313 ?p . ?p rdf:type ontology:Q618779 }
Lord Mayor
The Lord Mayor serves as the political office that is fulfilled by the head of the government of that administrative territory
Lord Mayor
action filter_type
action find
entity Munich
relation office held by head of government
type award
['Munich', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Munich property:office_held_by_head_of_government ?p . ?p rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11902879 Q3106025
P39
Q502895
USER
Was Gille Coemgáin of Moray appointed for the position of that award ?
(Q3106025,P39,Q11902879)
action is_in
entity Q3106025
action find
entity Q11902879
relation P39
['Q3106025', 'P39', 'Q11902879']
ASK WHERE { resource:Q11902879 property:P39 resource:Q3106025 }
Lord Mayor Gille Coemgáin of Moray
action is_in
entity Gille Coemgáin of Moray
action find
entity Lord Mayor
relation position held
['Gille Coemgáin of Moray', 'position held', 'Lord Mayor']
ASK WHERE { resource:Lord_Mayor property:position_held resource:Gille_Coemgáin_of_Moray }
[]
common name
SYSTEM
NO
(Q3106025,P39,Q11902879)
action is_in
entity Q3106025
action find
entity Q11902879
relation P39
[ANSWER]
['Q3106025', 'P39', 'Q11902879']
ASK WHERE { resource:Q11902879 property:P39 resource:Q3106025 }
No
action is_in
entity Gille Coemgáin of Moray
action find
entity Lord Mayor
relation position held
['Gille Coemgáin of Moray', 'position held', 'Lord Mayor']
ASK WHERE { resource:Lord_Mayor property:position_held resource:Gille_Coemgáin_of_Moray }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q334 Q980
P530 P138
Q1048835
USER
Which political territories are named after Bavaria and have diplomatic associations with Singapore ?
AND((c(Q1048835),P138,Q980), (c(Q1048835),P530,Q334))
action filter_type
action intersection
action find_reverse
entity Q980
relation P138
action find_reverse
entity Q334
relation P530
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P138', 'Q980'], [{'concept': 'Q1048835'}, 'P530', 'Q334']]}
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q980 . ?o property:P530 resource:Q334 . ?o rdf:type ontology:Q1048835 }
Singapore Bavaria
action filter_type
action intersection
action find_reverse
entity Bavaria
relation named after
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'named after', 'Bavaria'], [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']]}
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Bavaria . ?o property:diplomatic_relation resource:Singapore . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((c(Q1048835),P138,Q980), (c(Q1048835),P530,Q334))
action filter_type
action intersection
action find_reverse
entity Q980
relation P138
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER] is named after Bavaria and have diplomatic associations with Singapore
{'AND': [[{'concept': 'Q1048835'}, 'P138', 'Q980'], [{'concept': 'Q1048835'}, 'P530', 'Q334']]}
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q980 . ?o property:P530 resource:Q334 . ?o rdf:type ontology:Q1048835 }
Germany
Germany is named after Bavaria and have diplomatic associations with Singapore
Germany
action filter_type
action intersection
action find_reverse
entity Bavaria
relation named after
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'named after', 'Bavaria'], [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']]}
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:Bavaria . ?o property:diplomatic_relation resource:Singapore . ?o rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q578795 Q16957
P47 P530
Q1048835
USER
Which political territories have diplomatic relationships with East Germany or have a shared border with Roncal – Erronkari ?
OR((Q16957,P530,c(Q1048835)), (Q578795,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16957
relation P530
action find
entity Q578795
relation P47
type Q1048835
{'OR': [['Q16957', 'P530', {'concept': 'Q1048835'}], ['Q578795', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16957 property:P530 ?n } UNION { resource:Q578795 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Roncal – Erronkari East Germany
action filter_type
action union
action find
entity East Germany
relation diplomatic relation
action find
entity Roncal – Erronkari
relation shares border with
type political territorial entity
{'OR': [['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Roncal – Erronkari', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:East_Germany property:diplomatic_relation ?n } UNION { resource:Roncal_–_Erronkari property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1637042 Q1770960 Q183 Q1648019 Q1645687 Q545577 Q1647450
SYSTEM
Burgui – Burgi, Garde, Germany, Urzainqui, Vidángoz – Bidankoze, Isaba, Uztárroz – Uztarrotze
Q1637042 Q1770960 Q183 Q1648019 Q1645687 Q545577 Q1647450
OR((Q16957,P530,c(Q1048835)), (Q578795,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16957
relation P530
action find
entity Q578795
relation P47
type Q1048835
UNK [ANSWERS] have diplomatic relationships with East Germany or have a shared border with Roncal – Erronkari
{'OR': [['Q16957', 'P530', {'concept': 'Q1048835'}], ['Q578795', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16957 property:P530 ?n } UNION { resource:Q578795 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Burgui – Burgi Garde Germany Urzainqui Vidángoz – Bidankoze Isaba Uztárroz – Uztarrotze
UNK Burgui – Burgi, Garde, Germany, Urzainqui, Vidángoz – Bidankoze, Isaba and Uztárroz – Uztarrotze have diplomatic relationships with East Germany or have a shared border with Roncal – Erronkari
Burgui – Burgi Garde Germany Urzainqui Vidángoz – Bidankoze Isaba Uztárroz – Uztarrotze
action filter_type
action union
action find
entity East Germany
relation diplomatic relation
action find
entity Roncal – Erronkari
relation shares border with
type political territorial entity
{'OR': [['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Roncal – Erronkari', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:East_Germany property:diplomatic_relation ?n } UNION { resource:Roncal_–_Erronkari property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]