Simple Question (Direct)
Simple Question
Q66322
P937
Q486972
USER
What are the locations where Franz Anton Menge worked ?
(Q66322,P937,c(Q486972))
action filter_type
action find
entity Q66322
relation P937
type Q486972
['Q66322', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q66322 property:P937 ?p . ?p rdf:type ontology:Q486972 }
Franz Anton Menge
action filter_type
action find
entity Franz Anton Menge
relation work location
type human settlement
['Franz Anton Menge', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Anton_Menge property:work_location ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q1792 Q123511
SYSTEM
Gdańsk, Grudziądz
Q1792 Q123511
(Q66322,P937,c(Q486972))
action filter_type
action find
entity Q66322
relation P937
type Q486972
The locations Franz Anton Menge worked are in [ANSWERS]
['Q66322', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q66322 property:P937 ?p . ?p rdf:type ontology:Q486972 }
Gdańsk Grudziądz
The locations Franz Anton Menge worked are in Gdańsk and Grudziądz
Gdańsk Grudziądz
action filter_type
action find
entity Franz Anton Menge
relation work location
type human settlement
['Franz Anton Menge', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Anton_Menge property:work_location ?p . ?p rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q66322
P20
Q486972
USER
Where did the expiration of Franz Anton Menge occur ?
(Q66322,P20,c(Q486972))
action filter_type
action find
entity Q66322
relation P20
type Q486972
['Q66322', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q66322 property:P20 ?s . ?s rdf:type ontology:Q486972 }
Franz Anton Menge
action filter_type
action find
entity Franz Anton Menge
relation place of death
type human settlement
['Franz Anton Menge', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Anton_Menge property:place_of_death ?s . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q1792
SYSTEM
Gdańsk
Q1792
(Q66322,P20,c(Q486972))
action filter_type
action find
entity Q66322
relation P20
type Q486972
The expiration of Franz Anton Menge occurred in [ANSWER]
['Q66322', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q66322 property:P20 ?s . ?s rdf:type ontology:Q486972 }
Gdańsk
The expiration of Franz Anton Menge occurred in Gdańsk
Gdańsk
action filter_type
action find
entity Franz Anton Menge
relation place of death
type human settlement
['Franz Anton Menge', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Anton_Menge property:place_of_death ?s . ?s rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q216423
Q486972
USER
And also tell me about John von Berenberg-Gossler?
(Q216423,P20,c(Q486972))
action filter_type
action find
entity Q216423
relation P20
type Q486972
['Q216423', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q216423 property:P20 ?y . ?y rdf:type ontology:Q486972 }
John von Berenberg-Gossler
action filter_type
action find
entity John von Berenberg-Gossler
relation place of death
type human settlement
['John von Berenberg-Gossler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:John_von_Berenberg-Gossler property:place_of_death ?y . ?y rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q216423,P20,c(Q486972))
action filter_type
action find
entity Q216423
relation P20
type Q486972
[ANSWER]
['Q216423', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q216423 property:P20 ?y . ?y rdf:type ontology:Q486972 }
Hamburg
Hamburg
action filter_type
action find
entity John von Berenberg-Gossler
relation place of death
type human settlement
['John von Berenberg-Gossler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:John_von_Berenberg-Gossler property:place_of_death ?y . ?y rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1055 Q1297 Q5225598
P190
Q56061
USER
Is that human settlement sister town of Chicago and Dartang ?
(Q1055,P190,Q1297) (Q1055,P190,Q5225598)
action is_in
entity Q1055
action intersection
action find_reverse
entity Q1297
relation P190
action find_reverse
entity Q5225598
relation P190
['Q1055', 'P190', 'Q1297'] ['Q1055', 'P190', 'Q5225598']
ASK WHERE { resource:Q1055 property:P190 resource:Q1297 . resource:Q1055 property:P190 resource:Q5225598 }
Hamburg Chicago Dartang
action is_in
entity Hamburg
action intersection
action find_reverse
entity Chicago
relation sister city
action find_reverse
entity Dartang
relation sister city
['Hamburg', 'sister city', 'Chicago'] ['Hamburg', 'sister city', 'Dartang']
ASK WHERE { resource:Hamburg property:sister_city resource:Chicago . resource:Hamburg property:sister_city resource:Dartang }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1055,P190,Q1297) (Q1055,P190,Q5225598)
action is_in
entity Q1055
action intersection
action find_reverse
entity Q1297
relation P190
action find_reverse
entity Q5225598
relation P190
[ANSWER]
['Q1055', 'P190', 'Q1297'] ['Q1055', 'P190', 'Q5225598']
ASK WHERE { resource:Q1055 property:P190 resource:Q1297 . resource:Q1055 property:P190 resource:Q5225598 }
YES and NO respectively
action is_in
entity Hamburg
action intersection
action find_reverse
entity Chicago
relation sister city
action find_reverse
entity Dartang
relation sister city
['Hamburg', 'sister city', 'Chicago'] ['Hamburg', 'sister city', 'Dartang']
ASK WHERE { resource:Hamburg property:sister_city resource:Chicago . resource:Hamburg property:sister_city resource:Dartang }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1055
P17
Q3024240 Q183366
USER
How many former countries and territories are Hamburg a part of ?
(Q1055,P17,c(Q3024240)) (Q1055,P17,c(Q183366))
action count
action union
action filter_type
action find
entity Q1055
relation P17
type Q3024240
action filter_type
action find
entity Q1055
relation P17
type Q183366
['Q1055', 'P17', {'concept': 'Q3024240'}] ['Q1055', 'P17', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3024240 ) ( ontology:Q183366 ) } }
Hamburg
action count
action union
action filter_type
action find
entity Hamburg
relation country
type former country
action filter_type
action find
entity Hamburg
relation country
type territory
['Hamburg', 'country', {'concept': 'former country'}] ['Hamburg', 'country', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:former_country ) ( ontology:territory ) } }
[]
former country territory
SYSTEM
1 former countries and 1 territories
Q43287 Q2415901
(Q1055,P17,c(Q3024240)) (Q1055,P17,c(Q183366))
action count
action union
action filter_type
action find
entity Q1055
relation P17
type Q3024240
action filter_type
action find
entity Q1055
relation P17
type Q183366
[ANSWER]
['Q1055', 'P17', {'concept': 'Q3024240'}] ['Q1055', 'P17', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3024240 ) ( ontology:Q183366 ) } }
German Empire Allied-occupied Germany
1 former countries and 1 territories
action count
action union
action filter_type
action find
entity Hamburg
relation country
type former country
action filter_type
action find
entity Hamburg
relation country
type territory
['Hamburg', 'country', {'concept': 'former country'}] ['Hamburg', 'country', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:former_country ) ( ontology:territory ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P1001
Q1752346
USER
Which assembly has jurisdiction over Hamburg ?
(c(Q1752346),P1001,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P1001
type Q1752346
[{'concept': 'Q1752346'}, 'P1001', 'Q1055']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q1055 . ?v rdf:type ontology:Q1752346 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Hamburg']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Hamburg . ?v rdf:type ontology:assembly }
[]
assembly
Q636377
SYSTEM
Hamburg Parliament
Q636377
(c(Q1752346),P1001,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P1001
type Q1752346
The [ANSWER] has jurisdiction over Hamburg
[{'concept': 'Q1752346'}, 'P1001', 'Q1055']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q1055 . ?v rdf:type ontology:Q1752346 }
Hamburg Parliament
The Hamburg Parliament has jurisdiction over Hamburg
Hamburg Parliament
action filter_type
action find_reverse
entity Hamburg
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Hamburg']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Hamburg . ?v rdf:type ontology:assembly }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q473972 Q56061 Q486972
USER
Which human settlements are a component of min number of protected areas and administrative territories ?
(c(Q486972),P361,c(Q473972)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q56061
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q473972 ) ( ontology:Q56061 ) } . ?e rdf:type ?h } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?w WHERE { { ?w rdf:type ontology:Q486972 . ?d rdf:type ontology:Q56061 . ?w property:P361 ?d } UNION { ?w property:P361 ?d . ?w rdf:type ontology:Q486972 . ?d rdf:type ontology:Q473972 } } GROUP BY ?w } . FILTER ( ?f = ?p ) }
action argmin
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:protected_area ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?h } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?w WHERE { { ?w rdf:type ontology:human_settlement . ?d rdf:type ontology:administrative_territorial_entity . ?w property:part_of ?d } UNION { ?w property:part_of ?d . ?w rdf:type ontology:human_settlement . ?d rdf:type ontology:protected_area } } GROUP BY ?w } . FILTER ( ?f = ?p ) }
[]
protected area administrative territorial entity human settlement
Q1055 Q1792 Q2916
SYSTEM
Hamburg, Gdańsk, Osnabrück
Q17015330 Q20829076 Q1792 Q3930055 Q835970 Q3078331 Q1880458 Q779435 Q12039539 Q12411908 Q1382123 Q17135880 Q223665 Q1728622 Q1766678 Q2534613 Q1388834 Q1494698 Q12400416 Q1172 Q15830667 Q313965 Q213464 Q28516 Q15843967 Q5124078 Q3238097 Q3070285 Q14906336 Q4829294 Q4356881 Q19825961 Q753891 Q2169091 Q5521973 Q2641320 Q3078075 Q1783238 Q1165679 Q1619526 Q1852859 Q21839544 Q1167 Q16329577 Q1041704 Q75013 Q4972008 Q19928975 Q2081422 Q1309539 Q16913767 Q644490 Q3925059 Q10602449 Q21489170 Q504787 Q2982040 Q5750556 Q502741 Q1563898 Q13188442 Q21206559 Q47554 Q582942 Q10534217 Q4875945 Q2109613 Q21282281 Q829042 Q649957 Q311849 Q3021127 Q522651 Q1671815 Q2900311 Q1573 Q478707 Q2381518 Q552523 Q5122339 Q1124159 Q1981743 Q324333 Q21282211 Q1484905 Q894219 Q1900690 Q16984072 Q129421 Q3705854 Q21282291 Q12039044 Q1560 Q1175 Q502939 Q2359453 Q1055 Q1031398 Q5388220 Q106681 Q768542 Q1306755 Q1928594 Q1519771 Q2904338 Q628163 Q20743728 Q1582 Q1310344 Q1580 Q10611682 Q314066 Q21282229 Q2067247 Q8078647 Q1181 Q19358914 Q1627459 Q564771 Q5309834 Q18202246 Q4980887 Q741012 Q15310264 Q1479493 Q389859 Q5056561 Q21402029 Q969850 Q604435 Q21282200 Q2084302 Q1809602 Q1020465 Q2370380 Q2632124 Q1441767 Q7007038 Q1781931 Q2916464 Q576339 Q1468524 Q3149657 Q661881 Q10667344 Q16583062 Q2360524 Q1138 Q20018082 Q960480 Q591133 Q681873 Q4890135 Q1115511 Q10275877 Q151535 Q571034 Q502965 Q1015257 Q15122405 Q20759083 Q1498523 Q590710 Q689727 Q5008786 Q251873 Q17278559 Q17496291 Q1881273 Q2916 Q104725 Q2392816 Q1788552 Q21199137
(c(Q486972),P361,c(Q473972)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q56061
[ANSWERS] are a component of min number of protected areas and administrative territories
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q473972 ) ( ontology:Q56061 ) } . ?e rdf:type ?h } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?w WHERE { { ?w rdf:type ontology:Q486972 . ?d rdf:type ontology:Q56061 . ?w property:P361 ?d } UNION { ?w property:P361 ?d . ?w rdf:type ontology:Q486972 . ?d rdf:type ontology:Q473972 } } GROUP BY ?w } . FILTER ( ?f = ?p ) }
Neighborhoods of Minneapolis Savan Gdańsk Bistrik Rückschlag Fort Trois-Rivières Lütten Klein Wrony, Lower Silesian Voivodeship rural township of Taiwan Sha'arei Yerushalayim Evershagen frazione of Genoa Angkor Thom University of California, Merced Tormaleo Poggio di San Remo Freiendiez Garden city Crengeldanz Sete de Arriba Groß Borstel Quarter of  Hamburg Unterliederbach Adachi Tarnobrzeg Sangenstedt Cityplace Lichtenbusch Europawijk Bad Liebenstein Avondale Solberga Leoni San Miguel de Allende Rottorf Garbacz Col du Pourtalet Fort Senneville Kontorhaus District Sunset Key Hinrichshagen populated place in the Netherlands Lichtenbusch Alsterdorf Lower Toumba Capitol Hill Österskär Broadacres Caumerveld German campaign in Angola Toitenwinkel Heißum Hufeisensiedlung Boerhaavewijk Norra Hammarbyhamnen Spangen Volkach Cahuenga Pass Hiawatha Iphofen Wiethagen Holte Kraburg Toruń Fladungen Igelboda Beacon Hill Monte Masoni Roydorf Strümp Alicudi Warnemünde Deep Ellum Marktbreit Winterberg Ma'alot Dafna Kleiner Grasbrook Grachtengordel Südstadt Mellrichstadt Cisów, Lower Silesian Voivodeship Stadtmitte Neustädtel Ruitzhof Bahlburg Hohe Düne Borstel Markgrafenheide Belmont Park University of California, Davis Dergano Scharmbeck urban township of Taiwan St. Georg (Hamburg) Langenhorn Stadtprozelten Stuthof Hamburg Campo Carlo Magno Ericsson Włocławek Andrews Field administrative centre Historic Centre Tönnhausen Mekor Chaim Rothenfels Boldenshagen Steinwerder Talpiot Rothenburgsort Ormsta Bergen-Enkheim Luhdorf Peez Îlot-Trafalgar-Gleneagles Hoheluft Campus Bizzozero Hoopte Glauberg Drzetowo Kiel Bryn Mawr Rostock-Lichtenhagen Altstadt Pattensen Somport Cedar-Isles-Dean Quarrendorf Stony Brook University microdistrict Gehrden Spoorwijk Laßrönne Büderich Igeldo Meerwijk Grabowo, Szczecin New Durham, North Bergen Muslim Quarter Baka Albayzín city centre Molenwijk Speicherstadt Sickla udde Nowy Most Stöckte Barmbek-Nord Musschemig Ellsworth Air Force Base Old Town Schmarl Benoordenhout Sallern Irajá Sachsenhausen Podgórna, Lower Silesian Voivodeship Marktsteft Oltrarno Mützenich Einhusen Gehlsdorf New Town Fort Garry CARAG Weiße Stadt Quarter of Bremen Upper Toumba Seymerich Osnabrück Płock Bois-du-Luc Krieau Ramstein
Hamburg, Gdańsk and Osnabrück are a component of min number of protected areas and administrative territories
Hamburg Gdańsk Osnabrück
action argmin
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) ?l WHERE { VALUES ( ?h ) { ( ontology:protected_area ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?h } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?w WHERE { { ?w rdf:type ontology:human_settlement . ?d rdf:type ontology:administrative_territorial_entity . ?w property:part_of ?d } UNION { ?w property:part_of ?d . ?w rdf:type ontology:human_settlement . ?d rdf:type ontology:protected_area } } GROUP BY ?w } . FILTER ( ?f = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q593157
P1376
Q515 Q486972
USER
How many cities have around the same number of human settlements as their county seat as Murfatlar ?
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q593157
relation P1376
type Q515
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P1376 ?g . ?g rdf:type ontology:Q515 . ?j rdf:type ontology:Q486972 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q593157 property:P1376 ?n . ?n rdf:type ontology:Q515 } } . FILTER ( ?r = ?y ) }
Murfatlar
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Murfatlar
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:capital_of ?g . ?g rdf:type ontology:city . ?j rdf:type ontology:human_settlement } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Murfatlar property:capital_of ?n . ?n rdf:type ontology:city } } . FILTER ( ?r = ?y ) }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q593157
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P1376 ?g . ?g rdf:type ontology:Q515 . ?j rdf:type ontology:Q486972 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q593157 property:P1376 ?n . ?n rdf:type ontology:Q515 } } . FILTER ( ?r = ?y ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Murfatlar
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:capital_of ?g . ?g rdf:type ontology:city . ?j rdf:type ontology:human_settlement } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Murfatlar property:capital_of ?n . ?n rdf:type ontology:city } } . FILTER ( ?r = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q276336
P1376
Q515 Q486972
USER
And also tell me about Livada?
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q276336
relation P1376
type Q515
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q276336 property:P1376 ?k . ?k rdf:type ontology:Q515 } } . FILTER ( ?f = ?b ) . { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1376 ?t . ?t rdf:type ontology:Q515 . ?n rdf:type ontology:Q486972 } GROUP BY ?t } }
Livada
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Livada
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Livada property:capital_of ?k . ?k rdf:type ontology:city } } . FILTER ( ?f = ?b ) . { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:capital_of ?t . ?t rdf:type ontology:city . ?n rdf:type ontology:human_settlement } GROUP BY ?t } }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q276336
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q276336 property:P1376 ?k . ?k rdf:type ontology:Q515 } } . FILTER ( ?f = ?b ) . { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1376 ?t . ?t rdf:type ontology:Q515 . ?n rdf:type ontology:Q486972 } GROUP BY ?t } }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Livada
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Livada property:capital_of ?k . ?k rdf:type ontology:city } } . FILTER ( ?f = ?b ) . { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:capital_of ?t . ?t rdf:type ontology:city . ?n rdf:type ontology:human_settlement } GROUP BY ?t } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q2088357 Q13220204
USER
Which human settlements are namesakes of around 1 musical ensembles and administrative country subdivisions ?
(c(Q2088357)|c(Q13220204),P138,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q486972
type Q13220204
value 1
[[{'concept': 'Q2088357'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P138 ?s . ?s rdf:type ontology:Q486972 . ?g rdf:type ontology:Q2088357 } UNION { ?s rdf:type ontology:Q486972 . ?g rdf:type ontology:Q13220204 . ?g property:P138 ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type musical ensemble
action find_reverse_tuple_counts
relation named after
type human settlement
type second-level administrative country subdivision
value 1
[[{'concept': 'musical ensemble'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:named_after ?s . ?s rdf:type ontology:human_settlement . ?g rdf:type ontology:musical_ensemble } UNION { ?s rdf:type ontology:human_settlement . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?g property:named_after ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
human settlement musical ensemble second-level administrative country subdivision
Q31487 Q60475 Q41974
SYSTEM
Kraków, Harlingen, Franeker
Q1615032 Q60475 Q31487 Q2235532 Q41974
(c(Q2088357)|c(Q13220204),P138,c(Q486972))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q2088357
action find_reverse_tuple_counts
relation P138
type Q486972
type Q13220204
value 1
[ANSWERS] are namesakes of around 1 musical ensembles and administrative country subdivisions
[[{'concept': 'Q2088357'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P138 ?s . ?s rdf:type ontology:Q486972 . ?g rdf:type ontology:Q2088357 } UNION { ?s rdf:type ontology:Q486972 . ?g rdf:type ontology:Q13220204 . ?g property:P138 ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
Oostburg Harlingen Kraków Earlimart Franeker
Kraków, Harlingen and Franeker are namesakes of around 1 musical ensembles and administrative country subdivisions
Kraków Harlingen Franeker
action approx
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type musical ensemble
action find_reverse_tuple_counts
relation named after
type human settlement
type second-level administrative country subdivision
value 1
[[{'concept': 'musical ensemble'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:named_after ?s . ?s rdf:type ontology:human_settlement . ?g rdf:type ontology:musical_ensemble } UNION { ?s rdf:type ontology:human_settlement . ?g rdf:type ontology:second-level_administrative_country_subdivision . ?g property:named_after ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P276
Q486972 Q811979 Q1190554
USER
How many human settlements can around the same number of architectural structures or events be found as that human settlement ?
(c(Q811979)|c(Q1190554),P276,c(Q486972))
[[{'concept': 'Q811979'}, {'concept': 'Q1190554'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q5416694 }
[[{'concept': 'architectural structure'}, {'concept': 'event'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:event }
[]
human settlement architectural structure event
Comparative|Count over More/Less|Mult. entity type|Clarification
Q60475
SYSTEM
Did you mean Harlingen ?
(c(Q811979)|c(Q1190554),P276,c(Q486972))
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1190554'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q5416694 }
Did you mean Harlingen ?
Harlingen
[[{'concept': 'architectural structure'}, {'concept': 'event'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:event }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Franeker. Could you tell me the answer for that?
(c(Q811979)|c(Q1190554),P276,c(Q486972))
Q41974
[[{'concept': 'Q811979'}, {'concept': 'Q1190554'}], 'P276', {'concept': 'Q486972'}]
[[{'concept': 'architectural structure'}, {'concept': 'event'}], 'location', {'concept': 'human settlement'}]
[]
SYSTEM
149
Q749717 Q1146299 Q972244 Q15055810 Q260055 Q826068 Q660921 Q3412257 Q1713454 Q521187 Q2984834 Q1018841 Q1948732 Q192508 Q14688501 Q575676 Q576636 Q7580395 Q106281 Q1114128 Q5213494 Q1055 Q822970 Q1427377 Q3077810 Q5049958 Q31487 Q42595 Q3070648 Q1658489 Q991009 Q158004 Q2916 Q2128677 Q2616257 Q251231 Q1914864 Q738353 Q1962211 Q7169892 Q927947 Q9282967 Q8030282 Q7573657 Q1057444 Q47554 Q873362 Q141690 Q2026687 Q996014 Q2648217 Q2058213 Q627392 Q303423 Q990057 Q355767 Q2300840 Q92212 Q1113619 Q314066 Q355403 Q8040693 Q7685699 Q173270 Q3501103 Q769361 Q264201 Q1006446 Q2791007 Q2843 Q102317 Q5609962 Q2132687 Q671481 Q123511 Q5762101 Q21334433 Q5830582 Q1043326 Q620734 Q3817208 Q5328829 Q2065987 Q1878926 Q234184 Q3571551 Q2705199 Q2561260 Q835966 Q603261 Q145972 Q18662234 Q946344 Q3126518 Q2395193 Q319813 Q993904 Q729552 Q2638835 Q3573110 Q7568464 Q2047201 Q701408 Q125293 Q40708 Q668600 Q2336187 Q3303930 Q5664192 Q37333 Q81100 Q163319 Q27646009 Q7883566 Q27998 Q8029410 Q2855829 Q82765 Q1573469 Q910729 Q2488569 Q432917 Q7568496 Q630974 Q2018838 Q1190597 Q1640615 Q3321607 Q552523 Q984222 Q882086 Q6695663 Q81033 Q1001800 Q2309210 Q590710 Q2147624 Q15624 Q5201642 Q7624071 Q6406124 Q989813 Q1026027 Q1025864 Q705271 Q896695 Q41974 Q1011982 Q2497905
(c(Q811979)|c(Q1190554),P276,c(Q486972))
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1190554'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q5416694 }
Kunowice Custoza La Sal Diersheim Trzciano, Pomeranian Voivodeship Krosno Deutsch-Wagram Płowce Ulm-Jungingen Vesterbro Psyri Węgierska Górka Leopold Quarter Bergen op Zoom Irvington Historic District Lutter am Barenberge Huamantla Spring Branch Tarnów Minot Air Force Base Pęcice Hamburg Krojanty Flatiron District Kuryłówka Castle, Bedford Kraków Magenta Eastern Docklands Todos los Santos Brouwershaven Piotrków Trybunalski Osnabrück Cyców Maciejowice Amstetten Małujowice Matamoros Racławice Perry South Fuentes de Oñoro Guzów, Szydłowiec County Wolica Śniatycka Sparkhill Skid Row Toruń Breitenfeld Back Bay Verkiai Setauket-East Setauket Komarów-Osada Woodville Bolimów Sarbinowo, Gmina Dębno Dobromierz, Lower Silesian Voivodeship Ademuz Turaida Opole Lipany Bergen-Enkheim Legnickie Pole Wytyczno Tarczek Veracruz Studzianki Pancerne Mokra, Silesian Voivodeship Mariazell Henryków Lubański Ciółkowo Lübeck Kielce Grochowiska, Świętokrzyskie Voivodeship Ratheim Tindari Grudziądz Hill District Kerbourg Łowczówek East Village Downtown Dubai Krzykawka East Liberty Sluis Ceber, Świętokrzyskie Voivodeship Chełm Olalla Grotniki Duże Lubiszewo Tczewskie Alesia Drakenburg Zamość Tammerkoski Alba de Tormes Hammarby Sjöstad Filipów, Podlaskie Voivodeship Siedlce Orizaba Kamppi Shatsk Cutanda South Side Zolitūde Welfesholz Puebla City Villaviciosa de Tajuña Dürnstein Acropolis Medemblik Alcolea Lublin Hulst De Pijp Kuřívody Gołymin-Ośrodek Westerland Wola Cyrusowa De Greiden Olsztyn Hamilton City Burkatów Gołąb, Puławy County Alt-Godesberg South Side Slopes Kerameikos Roombeek Long Island City Tamames Mont-Mesly Mellrichstadt Janowo, Nidzica County Nordstadt Lubrze Monterrey Ullanlinna Komarowo New Town Rheindahlen Molins de Rei Czarnowo, Nowy Dwór Mazowiecki County Strip District Kije, Lubusz Voivodeship Raszyn Fort Defiance Grunwald, Warmian-Masurian Voivodeship Sankelmark Pützchen-Bechlinghoven Franeker Lutynia, Środa Śląska County Ordal
149
[[{'concept': 'architectural structure'}, {'concept': 'event'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P6
Q502895
USER
Which people have Hamburg as their heads of government ?
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1055 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Hamburg
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Hamburg property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q61053 Q62673 Q447940
SYSTEM
Olaf Scholz, Klaus von Dohnanyi, Hans-Ulrich Klose
Q63421 Q84380 Q77390 Q447940 Q71371 Q62673 Q60426 Q85910 Q61053 Q68114 Q87670 Q74266 Q70051 Q85791
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
[ANSWERS] have Hamburg as their heads of government
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1055 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Max Brauer Kurt Sieveking Christoph Ahlhaus Hans-Ulrich Klose Henning Voscherau Klaus von Dohnanyi Ole von Beust Paul Nevermann Olaf Scholz Herbert Weichmann Rudolf Petersen Carl Vincent Krogmann Ortwin Runde Peter Schulz
Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose have Hamburg as their heads of government
Olaf Scholz Klaus von Dohnanyi Hans-Ulrich Klose
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Hamburg property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]