Simple Question (Direct)
Simple Question
Q19958644
P410
Q4189293
USER
Which title was the military rank held by Édouard Zoltowski ?
(Q19958644,P410,c(Q4189293))
action filter_type
action find
entity Q19958644
relation P410
type Q4189293
['Q19958644', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q19958644 property:P410 ?o }
Édouard Zoltowski
action filter_type
action find
entity Édouard Zoltowski
relation military rank
type title
['Édouard Zoltowski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:Édouard_Zoltowski property:military_rank ?o }
[]
title
Q2487961
SYSTEM
divisional general
Q2487961
(Q19958644,P410,c(Q4189293))
action filter_type
action find
entity Q19958644
relation P410
type Q4189293
[ANSWER] was the military rank held by Édouard Zoltowski
['Q19958644', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q19958644 property:P410 ?o }
divisional general
Divisional general was the military rank held by Édouard Zoltowski
divisional general
action filter_type
action find
entity Édouard Zoltowski
relation military rank
type title
['Édouard Zoltowski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:Édouard_Zoltowski property:military_rank ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5941915 Q19958644
P19
Q486972
USER
Which human settlements are the places of birth of Édouard Zoltowski or José Maclovio Vásquez Silos ?
OR((Q19958644,P19,c(Q486972)), (Q5941915,P19,c(Q486972)))
action filter_type
action union
action find
entity Q19958644
relation P19
action find
entity Q5941915
relation P19
type Q486972
{'OR': [['Q19958644', 'P19', {'concept': 'Q486972'}], ['Q5941915', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q19958644 property:P19 ?d } UNION { resource:Q5941915 property:P19 ?d } } . ?d rdf:type ontology:Q486972 }
José Maclovio Vásquez Silos Édouard Zoltowski
action filter_type
action union
action find
entity Édouard Zoltowski
relation place of birth
action find
entity José Maclovio Vásquez Silos
relation place of birth
type human settlement
{'OR': [['Édouard Zoltowski', 'place of birth', {'concept': 'human settlement'}], ['José Maclovio Vásquez Silos', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Édouard_Zoltowski property:place_of_birth ?d } UNION { resource:José_Maclovio_Vásquez_Silos property:place_of_birth ?d } } . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q104725 Q204271
SYSTEM
Płock, San Luis Potosí
Q104725 Q204271
OR((Q19958644,P19,c(Q486972)), (Q5941915,P19,c(Q486972)))
action filter_type
action union
action find
entity Q19958644
relation P19
action find
entity Q5941915
relation P19
type Q486972
[ANSWERS] are the places of birth of Édouard Zoltowski or José Maclovio Vásquez Silos
{'OR': [['Q19958644', 'P19', {'concept': 'Q486972'}], ['Q5941915', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q19958644 property:P19 ?d } UNION { resource:Q5941915 property:P19 ?d } } . ?d rdf:type ontology:Q486972 }
Płock San Luis Potosí
Płock and San Luis Potosí are the places of birth of Édouard Zoltowski or José Maclovio Vásquez Silos
Płock San Luis Potosí
action filter_type
action union
action find
entity Édouard Zoltowski
relation place of birth
action find
entity José Maclovio Vásquez Silos
relation place of birth
type human settlement
{'OR': [['Édouard Zoltowski', 'place of birth', {'concept': 'human settlement'}], ['José Maclovio Vásquez Silos', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Édouard_Zoltowski property:place_of_birth ?d } UNION { resource:José_Maclovio_Vásquez_Silos property:place_of_birth ?d } } . ?d rdf:type ontology:human_settlement }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P206
Q15324 Q486972
USER
Which human settlements are situated close to approximately the same number of bodies of water as that human settlement ?
(c(Q486972),P206,c(Q15324))
[{'concept': 'Q486972'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?z WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 }
[{'concept': 'human settlement'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?z WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water }
[]
body of water human settlement
Comparative|More/Less|Single entity type|Clarification
Q204271
SYSTEM
Did you mean San Luis Potosí ?
(c(Q486972),P206,c(Q15324))
[ANSWER]
[{'concept': 'Q486972'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?z WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 }
Did you mean San Luis Potosí ?
San Luis Potosí
[{'concept': 'human settlement'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?z WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water }
[]
Comparative Reasoning (All)
USER
No, I meant Płock. Could you tell me the answer for that?
(c(Q486972),P206,c(Q15324))
Q104725
[{'concept': 'Q486972'}, 'P206', {'concept': 'Q15324'}]
[{'concept': 'human settlement'}, 'located next to body of water', {'concept': 'body of water'}]
[]
Q1799 Q2916 Q24879
SYSTEM
Wrocław, Osnabrück, Bremen
Q17147002 Q1799 Q19963830 Q2743964 Q5730555 Q486341 Q2759508 Q5733111 Q7636289 Q18027409 Q15077848 Q399750 Q5743233 Q4776323 Q2567504 Q5740023 Q2326308 Q5745686 Q2303485 Q1001134 Q81276 Q2498834 Q819176 Q749717 Q15123379 Q2538595 Q1658489 Q859187 Q8067706 Q3184100 Q1424949 Q1505272 Q14524602 Q5103794 Q16083 Q171219 Q594339 Q7253200 Q5088733 Q61827 Q2682641 Q212257 Q4981726 Q201516 Q5590579 Q652199 Q810328 Q2111250 Q6412451 Q2002693 Q5595988 Q5738311 Q3657716 Q10729538 Q973641 Q21039837 Q3593263 Q1223143 Q4787391 Q512874 Q1788598 Q2920812 Q3321002 Q15056333 Q5201956 Q1566490 Q152443 Q3593074 Q834490 Q936539 Q5745769 Q3593402 Q1939107 Q325652 Q4859894 Q3270886 Q1980942 Q19308844 Q15110580 Q47554 Q2765504 Q209932 Q5742519 Q3175246 Q993913 Q2911399 Q1511769 Q2398063 Q577150 Q2600062 Q5739370 Q464344 Q1514988 Q214215 Q5268143 Q11710105 Q302205 Q2725842 Q5321242 Q1179003 Q21036953 Q146436 Q14805 Q2574197 Q1201569 Q10448563 Q5072194 Q6351669 Q5584067 Q5618822 Q810372 Q2408688 Q927604 Q1669687 Q15058274 Q11744903 Q15136209 Q896243 Q15266084 Q4340978 Q106681 Q910356 Q681851 Q24879 Q1418789 Q5311044 Q5735200 Q3533 Q17353524 Q5738210 Q18668390 Q934815 Q26239886 Q1904081 Q5746607 Q1342149 Q2916 Q773853 Q387739 Q226870 Q5741748 Q1277568 Q28516 Q1059628 Q1661362 Q6827682 Q1483934 Q8067489 Q3182086 Q661881 Q1554589 Q8082197 Q13571426 Q18026381 Q1014971 Q3303930 Q2351193 Q773029 Q573294 Q1183074 Q2789932 Q7827075 Q2474873 Q6836102 Q2555365 Q2823875 Q13167040 Q16304198 Q5617577 Q2568008 Q317056 Q2500141 Q2230782 Q1523372 Q148114 Q1343060 Q104725 Q60475 Q609660 Q5618298
(c(Q486972),P206,c(Q15324))
[ANSWERS] are situated close to approximately the same number of bodies of water as that human settlement
[{'concept': 'Q486972'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?z WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 }
Kemptville Wrocław Leibi Kryłów Mień Kufstein Liwcze Wyszków, Węgrów County Sulimów-Kolonia Ritzmannshof Sissable Aha Twarogi Ruskie Antonin, Podlaskie Voivodeship Krzyczew Pokaniewo Liw, Poland Trzaski, Wysokie Mazowieckie County Woudrichem Hilton Head Island Monnickendam Unterriexingen Wola Uhruska Kunowice Odertaler Sägemühle Wackerstein Todos los Santos Big Pine Key Zbereże Veere Ritsem Vashon Styrum Chodów, Masovian Voivodeship Deggendorf Dornbirn Murawiec Pruszyn, Siedlce County Chańki Freudenberg am Main Kodeń Gnojno Serpelice Miami Beach Grabarka, Gmina Milejczyce Mielnik Schlungenhof Zuzela Kingcome Inlet Rogacze Granne Niemirów Orchówek Gravedona Ontinyent Markhof Île aux Basques Dietfurt in Mittelfranken Arciechów Gezira Island Kriegenbrunn Nur Monkey Bay Geyern Czeremcha-Wieś Haaren Carolinensiel île Feydeau Sławatycze Borowiki Pobikry Puget Island Hulcze Tinian Barchów Pratulin Neumühlen-Dietrichsdorf Schwarzach Eßlingen Toruń Chochłów Biała Podlaska Pełch Jean de Baie, Newfoundland and Labrador Małkinia Górna Borzychy Säynätsalo Nurczyk Wyżłów Kuzawka Lewosze Caputh Gersdorf La Paz Dewees Island Horodyszcze, Hrubieszów County Brańszczyk Perlejewo Dłużniów Daxlanden Laubenthal Waterloo Kaufbeuren Myców Dettenheim Charlottendal Chanie Klimkowicze Goose Island Leszczka Mała Unterasbach Mokobody Bronkhorst Ursheim Oderhaus Kościukowicze Zimmern Boćki Petrovka settlement Czeremcha, Podlaskie Voivodeship Włocławek Fort Ruychaver Żuki, Gmina Terespol Bremen Fire Island Dubno, Podlaskie Voivodeship Kózki Rönneburg Eppenreuth Miedwieżyki Le Carnet Horodło Hügelmühle Kamieńczyk Radziszewo-Króle Engelreuth Osnabrück Venice Dorohusk Zosin Twarogi Lackie Würm Tarnobrzeg Terminal Island Salbke Mianowo, Ostrów Mazowiecka County Weiboldshausen Zawiszyn Kortgene Speicherstadt Gundelsheim Świerże, Chełm County De Vaart Niederpappenheim Burggrub Medemblik Michalków Urle Mühlburg Dehrn Zaręby Kościelne Torresdale Dobrotvir Michałowice, Lesser Poland Voivodeship Weiherfeld-Dammerstock Ada Međica Angle Inlet Beaujoire Wojtkowice Stare Neple Friedrichshain Starawieś Schambach St. Simons Zartwitz Enhofen Płock Harlingen Kobiernice Leszczka Duża
Wrocław, Osnabrück and Bremen are situated close to approximately the same number of bodies of water as that human settlement
Wrocław Osnabrück Bremen
[{'concept': 'human settlement'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?z WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q337567 Q15324 Q486972
USER
Which human settlements are located nearby min number of still waterss or bodies of water ?
(c(Q486972),P206,c(Q337567)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q15324
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?l WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:Q486972 . ?y rdf:type ontology:Q337567 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?b rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?p = ?d ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?l WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:human_settlement . ?y rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?b rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?p = ?d ) }
[]
still waters body of water human settlement
Q1799 Q2916 Q24879
SYSTEM
Wrocław, Osnabrück, Bremen
Q17147002 Q1799 Q19963830 Q2743964 Q5730555 Q486341 Q2759508 Q5733111 Q7636289 Q18027409 Q15077848 Q399750 Q5743233 Q4776323 Q2567504 Q5740023 Q2326308 Q5745686 Q2303485 Q1001134 Q81276 Q2498834 Q819176 Q749717 Q15123379 Q2538595 Q1658489 Q859187 Q8067706 Q3184100 Q1424949 Q1505272 Q14524602 Q5103794 Q16083 Q171219 Q594339 Q7253200 Q5088733 Q61827 Q2682641 Q212257 Q4981726 Q201516 Q5590579 Q652199 Q810328 Q2111250 Q6412451 Q2002693 Q5595988 Q5738311 Q3657716 Q973641 Q21039837 Q3593263 Q1223143 Q4787391 Q512874 Q1788598 Q2920812 Q3321002 Q15056333 Q5201956 Q1566490 Q152443 Q3593074 Q834490 Q936539 Q5745769 Q3593402 Q1939107 Q325652 Q4859894 Q3270886 Q1980942 Q19308844 Q15110580 Q2765504 Q209932 Q5742519 Q3175246 Q993913 Q2911399 Q2398063 Q577150 Q2600062 Q5739370 Q1514988 Q214215 Q5268143 Q11710105 Q302205 Q2725842 Q5321242 Q1179003 Q21036953 Q146436 Q14805 Q2574197 Q1201569 Q5072194 Q6351669 Q5584067 Q5618822 Q810372 Q2408688 Q927604 Q1669687 Q15058274 Q11744903 Q15136209 Q896243 Q15266084 Q4340978 Q910356 Q681851 Q24879 Q1418789 Q5311044 Q5735200 Q3533 Q17353524 Q5738210 Q18668390 Q934815 Q26239886 Q1904081 Q5746607 Q1342149 Q2916 Q773853 Q387739 Q226870 Q5741748 Q1277568 Q28516 Q1059628 Q1661362 Q6827682 Q1483934 Q8067489 Q3182086 Q661881 Q1554589 Q8082197 Q18026381 Q1014971 Q3303930 Q2351193 Q773029 Q573294 Q1183074 Q2789932 Q7827075 Q2474873 Q6836102 Q2555365 Q2823875 Q16304198 Q5617577 Q2568008 Q317056 Q2500141 Q2230782 Q1523372 Q1343060 Q104725 Q60475 Q609660 Q5618298
(c(Q486972),P206,c(Q337567)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q15324
[ANSWERS] are located nearby min number of still waterss or bodies of water
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?l WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:Q486972 . ?y rdf:type ontology:Q337567 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?b rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?p = ?d ) }
Kemptville Wrocław Leibi Kryłów Mień Kufstein Liwcze Wyszków, Węgrów County Sulimów-Kolonia Ritzmannshof Sissable Aha Twarogi Ruskie Antonin, Podlaskie Voivodeship Krzyczew Pokaniewo Liw, Poland Trzaski, Wysokie Mazowieckie County Woudrichem Hilton Head Island Monnickendam Unterriexingen Wola Uhruska Kunowice Odertaler Sägemühle Wackerstein Todos los Santos Big Pine Key Zbereże Veere Ritsem Vashon Styrum Chodów, Masovian Voivodeship Deggendorf Dornbirn Murawiec Pruszyn, Siedlce County Chańki Freudenberg am Main Kodeń Gnojno Serpelice Miami Beach Grabarka, Gmina Milejczyce Mielnik Schlungenhof Zuzela Kingcome Inlet Rogacze Granne Niemirów Orchówek Ontinyent Markhof Île aux Basques Dietfurt in Mittelfranken Arciechów Gezira Island Kriegenbrunn Nur Monkey Bay Geyern Czeremcha-Wieś Haaren Carolinensiel île Feydeau Sławatycze Borowiki Pobikry Puget Island Hulcze Tinian Barchów Pratulin Neumühlen-Dietrichsdorf Schwarzach Eßlingen Chochłów Biała Podlaska Pełch Jean de Baie, Newfoundland and Labrador Małkinia Górna Borzychy Nurczyk Wyżłów Kuzawka Lewosze Gersdorf La Paz Dewees Island Horodyszcze, Hrubieszów County Brańszczyk Perlejewo Dłużniów Daxlanden Laubenthal Waterloo Kaufbeuren Myców Dettenheim Chanie Klimkowicze Goose Island Leszczka Mała Unterasbach Mokobody Bronkhorst Ursheim Oderhaus Kościukowicze Zimmern Boćki Petrovka settlement Czeremcha, Podlaskie Voivodeship Fort Ruychaver Żuki, Gmina Terespol Bremen Fire Island Dubno, Podlaskie Voivodeship Kózki Rönneburg Eppenreuth Miedwieżyki Le Carnet Horodło Hügelmühle Kamieńczyk Radziszewo-Króle Engelreuth Osnabrück Venice Dorohusk Zosin Twarogi Lackie Würm Tarnobrzeg Terminal Island Salbke Mianowo, Ostrów Mazowiecka County Weiboldshausen Zawiszyn Kortgene Speicherstadt Gundelsheim Świerże, Chełm County Niederpappenheim Burggrub Medemblik Michalków Urle Mühlburg Dehrn Zaręby Kościelne Torresdale Dobrotvir Michałowice, Lesser Poland Voivodeship Weiherfeld-Dammerstock Ada Međica Beaujoire Wojtkowice Stare Neple Friedrichshain Starawieś Schambach St. Simons Enhofen Płock Harlingen Kobiernice Leszczka Duża
Wrocław, Osnabrück and Bremen are located nearby min number of still waterss or bodies of water
Wrocław Osnabrück Bremen
action argmin
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?l WHERE { ?k rdf:type ?u . VALUES ( ?u ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:human_settlement . ?y rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?b rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?p = ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q486972 Q12280 Q34442
USER
How many human settlements are the destination of approximately 2 bridges or roads ?
(c(Q12280)|c(Q34442),P609,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P609
type Q486972
type Q34442
value 2
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?v WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12280 ) ( ontology:Q34442 ) } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
action find_reverse_tuple_counts
relation terminus location
type human settlement
type road
value 2
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?v WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:bridge ) ( ontology:road ) } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]
human settlement bridge road
SYSTEM
2
Q10667344 Q465833
(c(Q12280)|c(Q34442),P609,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P609
type Q486972
type Q34442
value 2
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?v WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12280 ) ( ontology:Q34442 ) } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
Sickla udde Schagen
2
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
action find_reverse_tuple_counts
relation terminus location
type human settlement
type road
value 2
[[{'concept': 'bridge'}, {'concept': 'road'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?v WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:bridge ) ( ontology:road ) } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q541589
P1376
Q15617994 Q486972
USER
Which administrative territories have less number of human settlements as their capital than Ems-Supérieur ?
(c(Q486972),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find_reverse
entity Q541589
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P1376 ?f . ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q486972 } GROUP BY ?f } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1376 resource:Q541589 . ?w rdf:type ontology:Q486972 } } }
Ems-Supérieur
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Ems-Supérieur
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:human_settlement } GROUP BY ?f } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:capital_of resource:Ems-Supérieur . ?w rdf:type ontology:human_settlement } } }
[]
designation for an administrative territorial entity human settlement
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q3259 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q12789 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q486972),P1376,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find_reverse
entity Q541589
relation P1376
type Q486972
[ANSWERS] have less number of human settlements as their capital than Ems-Supérieur
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P1376 ?f . ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q486972 } GROUP BY ?f } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1376 resource:Q541589 . ?w rdf:type ontology:Q486972 } } }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Cantal Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Vendée Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Loire Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan Var South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Principality of Serbia Arno Charente-Maritime Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, Brazil and United States of America have less number of human settlements as their capital than Ems-Supérieur
Italy Brazil United States of America
action less
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Ems-Supérieur
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:human_settlement } GROUP BY ?f } . FILTER ( ?z < ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:capital_of resource:Ems-Supérieur . ?w rdf:type ontology:human_settlement } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q486972
USER
Which states have approximately 1 human settlement as their capital ?
(c(Q486972),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P1376 ?s . ?s rdf:type ontology:Q7275 . ?t rdf:type ontology:Q486972 } GROUP BY ?s } . FILTER ( ?f = 1 ) }
action approx
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:capital_of ?s . ?s rdf:type ontology:state . ?t rdf:type ontology:human_settlement } GROUP BY ?s } . FILTER ( ?f = 1 ) }
[]
state human settlement
Q16957 Q172107 Q953432
SYSTEM
East Germany, Polish–Lithuanian Commonwealth, Couto Misto
Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q487829
(c(Q486972),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[ANSWERS] have approximately 1 human settlement as their capital
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P1376 ?s . ?s rdf:type ontology:Q7275 . ?t rdf:type ontology:Q486972 } GROUP BY ?s } . FILTER ( ?f = 1 ) }
Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Chagatai Khanate
East Germany, Polish–Lithuanian Commonwealth and Couto Misto have approximately 1 human settlement as their capital
East Germany Polish–Lithuanian Commonwealth Couto Misto
action approx
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:capital_of ?s . ?s rdf:type ontology:state . ?t rdf:type ontology:human_settlement } GROUP BY ?s } . FILTER ( ?f = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16957 Q172107 Q953432
P1376
Q486972
USER
Which human settlements are the capital of East Germany, Polish–Lithuanian Commonwealth and Couto Misto ?
(c(Q486972),P1376,Q16957) (c(Q486972),P1376,Q172107) (c(Q486972),P1376,Q953432)
action union
action filter_type
action find_reverse
entity Q16957
relation P1376
type Q486972
action filter_type
action find_reverse
entity Q172107
relation P1376
type Q486972
action filter_type
action find_reverse
entity Q953432
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', 'Q16957'] [{'concept': 'Q486972'}, 'P1376', 'Q172107'] [{'concept': 'Q486972'}, 'P1376', 'Q953432']
SELECT DISTINCT ?v WHERE { { ?v property:P1376 resource:Q16957 . ?v rdf:type ontology:Q486972 } UNION { ?v property:P1376 resource:Q172107 . ?v rdf:type ontology:Q486972 } }
East Germany Polish–Lithuanian Commonwealth Couto Misto
action union
action filter_type
action find_reverse
entity East Germany
relation capital of
type human settlement
action filter_type
action find_reverse
entity Polish–Lithuanian Commonwealth
relation capital of
type human settlement
action filter_type
action find_reverse
entity Couto Misto
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'East Germany'] [{'concept': 'human settlement'}, 'capital of', 'Polish–Lithuanian Commonwealth'] [{'concept': 'human settlement'}, 'capital of', 'Couto Misto']
SELECT DISTINCT ?v WHERE { { ?v property:capital_of resource:East_Germany . ?v rdf:type ontology:human_settlement } UNION { ?v property:capital_of resource:Polish–Lithuanian_Commonwealth . ?v rdf:type ontology:human_settlement } }
[]
human settlement
Q56037 Q31487 Q7420386
SYSTEM
East Berlin, Kraków, Santiago de Rubiás
Q56037 Q31487 Q7420386
(c(Q486972),P1376,Q16957) (c(Q486972),P1376,Q172107) (c(Q486972),P1376,Q953432)
action union
action filter_type
action find_reverse
entity Q16957
relation P1376
type Q486972
action filter_type
action find_reverse
entity Q172107
relation P1376
type Q486972
action filter_type
action find_reverse
entity Q953432
relation P1376
type Q486972
[ANSWERS] are the capital of East Germany, Polish–Lithuanian Commonwealth and Couto Misto
[{'concept': 'Q486972'}, 'P1376', 'Q16957'] [{'concept': 'Q486972'}, 'P1376', 'Q172107'] [{'concept': 'Q486972'}, 'P1376', 'Q953432']
SELECT DISTINCT ?v WHERE { { ?v property:P1376 resource:Q16957 . ?v rdf:type ontology:Q486972 } UNION { ?v property:P1376 resource:Q172107 . ?v rdf:type ontology:Q486972 } }
East Berlin Kraków Santiago de Rubiás
East Berlin, Kraków and Santiago de Rubiás are the capital of East Germany, Polish–Lithuanian Commonwealth and Couto Misto
East Berlin Kraków Santiago de Rubiás
action union
action filter_type
action find_reverse
entity East Germany
relation capital of
type human settlement
action filter_type
action find_reverse
entity Polish–Lithuanian Commonwealth
relation capital of
type human settlement
action filter_type
action find_reverse
entity Couto Misto
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'East Germany'] [{'concept': 'human settlement'}, 'capital of', 'Polish–Lithuanian Commonwealth'] [{'concept': 'human settlement'}, 'capital of', 'Couto Misto']
SELECT DISTINCT ?v WHERE { { ?v property:capital_of resource:East_Germany . ?v rdf:type ontology:human_settlement } UNION { ?v property:capital_of resource:Polish–Lithuanian_Commonwealth . ?v rdf:type ontology:human_settlement } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q56037 Q31487 Q7420386
P36
Q7275
USER
Which states have East Berlin, Kraków and Santiago de Rubiás as their capital ?
(c(Q7275),P36,Q56037) (c(Q7275),P36,Q31487) (c(Q7275),P36,Q7420386)
action union
action filter_type
action find_reverse
entity Q56037
relation P36
type Q7275
action filter_type
action find_reverse
entity Q31487
relation P36
type Q7275
action filter_type
action find_reverse
entity Q7420386
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q56037'] [{'concept': 'Q7275'}, 'P36', 'Q31487'] [{'concept': 'Q7275'}, 'P36', 'Q7420386']
SELECT DISTINCT ?v WHERE { ?v property:P36 ?f . VALUES ( ?f ) { ( resource:Q56037 ) ( resource:Q31487 ) } }
East Berlin Kraków Santiago de Rubiás
action union
action filter_type
action find_reverse
entity East Berlin
relation capital
type state
action filter_type
action find_reverse
entity Kraków
relation capital
type state
action filter_type
action find_reverse
entity Santiago de Rubiás
relation capital
type state
[{'concept': 'state'}, 'capital', 'East Berlin'] [{'concept': 'state'}, 'capital', 'Kraków'] [{'concept': 'state'}, 'capital', 'Santiago de Rubiás']
SELECT DISTINCT ?v WHERE { ?v property:capital ?f . VALUES ( ?f ) { ( resource:East_Berlin ) ( resource:Kraków ) } }
[]
state
Q16957 Q172107 Q953432
SYSTEM
East Germany, Polish–Lithuanian Commonwealth, Couto Misto
Q16957 Q1649871 Q172107 Q953432
(c(Q7275),P36,Q56037) (c(Q7275),P36,Q31487) (c(Q7275),P36,Q7420386)
action union
action filter_type
action find_reverse
entity Q56037
relation P36
type Q7275
action filter_type
action find_reverse
entity Q31487
relation P36
type Q7275
action filter_type
action find_reverse
entity Q7420386
relation P36
type Q7275
[ANSWERS] have East Berlin, Kraków and Santiago de Rubiás as their capital
[{'concept': 'Q7275'}, 'P36', 'Q56037'] [{'concept': 'Q7275'}, 'P36', 'Q31487'] [{'concept': 'Q7275'}, 'P36', 'Q7420386']
SELECT DISTINCT ?v WHERE { ?v property:P36 ?f . VALUES ( ?f ) { ( resource:Q56037 ) ( resource:Q31487 ) } }
East Germany Kingdom of Poland Polish–Lithuanian Commonwealth Couto Misto
East Germany, Polish–Lithuanian Commonwealth and Couto Misto have East Berlin, Kraków and Santiago de Rubiás as their capital
East Germany Polish–Lithuanian Commonwealth Couto Misto
action union
action filter_type
action find_reverse
entity East Berlin
relation capital
type state
action filter_type
action find_reverse
entity Kraków
relation capital
type state
action filter_type
action find_reverse
entity Santiago de Rubiás
relation capital
type state
[{'concept': 'state'}, 'capital', 'East Berlin'] [{'concept': 'state'}, 'capital', 'Kraków'] [{'concept': 'state'}, 'capital', 'Santiago de Rubiás']
SELECT DISTINCT ?v WHERE { ?v property:capital ?f . VALUES ( ?f ) { ( resource:East_Berlin ) ( resource:Kraków ) } }
[]