Simple Question (Direct)
Simple Question
Q72274
P20
Q486972
USER
Where did Johannes Crellius die ?
(Q72274,P20,c(Q486972))
action filter_type
action find
entity Q72274
relation P20
type Q486972
['Q72274', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q72274 property:P20 ?f . ?f rdf:type ontology:Q486972 }
Johannes Crellius
action filter_type
action find
entity Johannes Crellius
relation place of death
type human settlement
['Johannes Crellius', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Johannes_Crellius property:place_of_death ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q1013344
SYSTEM
Raków, Kielce County
Q1013344
(Q72274,P20,c(Q486972))
action filter_type
action find
entity Q72274
relation P20
type Q486972
Johannes Crellius died in [ANSWER]
['Q72274', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q72274 property:P20 ?f . ?f rdf:type ontology:Q486972 }
Raków, Kielce County
Johannes Crellius died in Raków, Kielce County
Raków, Kielce County
action filter_type
action find
entity Johannes Crellius
relation place of death
type human settlement
['Johannes Crellius', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Johannes_Crellius property:place_of_death ?f . ?f rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72274
P1412
Q34770
USER
Which language is spoken by Johannes Crellius ?
(Q72274,P1412,c(Q34770))
action filter_type
action find
entity Q72274
relation P1412
type Q34770
['Q72274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q72274 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Johannes Crellius
action filter_type
action find
entity Johannes Crellius
relation languages spoken, written or signed
type language
['Johannes Crellius', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Johannes_Crellius property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q72274,P1412,c(Q34770))
action filter_type
action find
entity Q72274
relation P1412
type Q34770
The [ANSWER] is spoken by Johannes Crellius
['Q72274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q72274 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Latin
The Latin is spoken by Johannes Crellius
Latin
action filter_type
action find
entity Johannes Crellius
relation languages spoken, written or signed
type language
['Johannes Crellius', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Johannes_Crellius property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1013344
P19
Q502895
USER
Who was born at Raków, Kielce County ?
(c(Q502895),P19,Q1013344)
action filter_type
action find_reverse
entity Q1013344
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1013344']
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q1013344 . ?i rdf:type ontology:Q502895 }
Raków, Kielce County
action filter_type
action find_reverse
entity Raków, Kielce County
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Raków, Kielce County']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Raków,_Kielce_County . ?i rdf:type ontology:common_name }
[]
common name
Q11814045
SYSTEM
Paweł Fąfara
Q11814045
(c(Q502895),P19,Q1013344)
action filter_type
action find_reverse
entity Q1013344
relation P19
type Q502895
[ANSWER] was born at Raków, Kielce County
[{'concept': 'Q502895'}, 'P19', 'Q1013344']
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q1013344 . ?i rdf:type ontology:Q502895 }
Paweł Fąfara
Paweł Fąfara was born at Raków, Kielce County
Paweł Fąfara
action filter_type
action find_reverse
entity Raków, Kielce County
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Raków, Kielce County']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Raków,_Kielce_County . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11814045
P21
Q290
USER
What is the sex of that person ?
(Q11814045,P21,c(Q290))
action filter_type
action find
entity Q11814045
relation P21
type Q290
['Q11814045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q11814045 property:P21 ?u }
Paweł Fąfara
action filter_type
action find
entity Paweł Fąfara
relation gender
type sex
['Paweł Fąfara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Paweł_Fąfara property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11814045,P21,c(Q290))
action filter_type
action find
entity Q11814045
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q11814045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q11814045 property:P21 ?u }
male
The sex of that person is a male
male
action filter_type
action find
entity Paweł Fąfara
relation gender
type sex
['Paweł Fąfara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Paweł_Fąfara property:gender ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11814045
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11814045
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11814045 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Paweł Fąfara
action filter_type
action find
entity Paweł Fąfara
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Paweł_Fąfara property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11814045
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11814045 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
journalist
Journalist that person does for a living
journalist
action filter_type
action find
entity Paweł Fąfara
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Paweł_Fąfara property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q126321
P190
Q486972 Q15617994 Q13220204
USER
Which human settlements are twin cities of lesser number of administrative territories and administrative country subdivisions than Eisenstadt ?
(c(Q15617994)|c(Q13220204),P190,c(Q486972))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q126321
relation P190
type Q15617994
type Q13220204
[[{'concept': 'Q15617994'}, {'concept': 'Q13220204'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?c rdf:type ?r } GROUP BY ?z } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } . ?x property:P190 resource:Q126321 } } }
Eisenstadt
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Eisenstadt
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?c rdf:type ?r } GROUP BY ?z } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } . ?x property:sister_city resource:Eisenstadt } } }
[]
human settlement designation for an administrative territorial entity second-level administrative country subdivision
Q1055 Q1792 Q2916
SYSTEM
Hamburg, Gdańsk, Osnabrück
Q2394432 Q559374 Q517653 Q57916 Q594576 Q889411 Q53206 Q55854 Q105084 Q14906336 Q278871 Q768691 Q103085 Q267791 Q973641 Q935589 Q95122 Q290356 Q1193256 Q2094321 Q798800 Q210886 Q1018362 Q254221 Q192508 Q284596 Q61711 Q106281 Q1885700 Q559841 Q244506 Q570684 Q1370233 Q100013 Q752107 Q3483898 Q1055 Q738303 Q945391 Q51021 Q669901 Q14891 Q2270558 Q264665 Q576636 Q3171757 Q161595 Q675834 Q1141799 Q95000 Q139242 Q550434 Q105048 Q1464902 Q354547 Q566701 Q158006 Q2916 Q661260 Q1552240 Q672511 Q1792 Q917605 Q26590 Q106274 Q251065 Q1674838 Q853258 Q906116 Q875641 Q302785 Q881265 Q178582 Q61827 Q698591 Q110732 Q2567354 Q738353 Q463332 Q1805635 Q1993774 Q871536 Q162049 Q1709669 Q152937 Q627970 Q318637 Q1404131 Q1962265 Q54743 Q1574216 Q3058725 Q214215 Q47554 Q209932 Q700397 Q158485 Q158488 Q183228 Q221051 Q24879 Q149790 Q173270 Q363830 Q280450 Q1620424 Q12552 Q199440 Q3141273 Q280588 Q3777 Q660580 Q225909 Q1529244 Q2141722 Q931780 Q624352 Q52892 Q123511 Q1648853 Q2481404 Q150039 Q661272 Q1805232 Q3937847 Q163474 Q389363 Q171219 Q273014 Q519134 Q234184 Q102350 Q157480 Q255175 Q173121 Q804268 Q1769929 Q16083 Q696909 Q769446 Q254107 Q1021277 Q660945 Q582942 Q1920378 Q851068 Q255350 Q204245 Q2447536 Q143140 Q215633 Q572559 Q1667843 Q489806 Q253760 Q993904 Q217234 Q1618464 Q260089 Q632607 Q1997497 Q1326284 Q1921334 Q61306 Q233903 Q61302 Q700132 Q895219 Q485294 Q286004 Q42595 Q384817 Q2734 Q204271 Q643600 Q2256995 Q233495 Q2843 Q2867610 Q200252 Q168286 Q200805 Q549731 Q487527 Q187572 Q971699 Q320858 Q303066 Q571922 Q53077 Q131429 Q461287 Q201516 Q671233 Q686386 Q82500 Q48256 Q1007302 Q40194 Q524894 Q14805 Q251325 Q951133 Q14835 Q564757 Q275592 Q1021267 Q257130 Q698520 Q1552698 Q857943 Q472076 Q231645 Q324402 Q189268 Q494283 Q13383459 Q681340 Q985734 Q236083 Q1020031 Q504513 Q9022 Q5628 Q131266 Q107106 Q752460 Q2013767 Q41974
(c(Q15617994)|c(Q13220204),P190,c(Q486972))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q126321
relation P190
type Q15617994
type Q13220204
[ANSWERS] are twin cities of lesser number of administrative territories and administrative country subdivisions than Eisenstadt
[[{'concept': 'Q15617994'}, {'concept': 'Q13220204'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?c rdf:type ?r } GROUP BY ?z } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } . ?x property:P190 resource:Q126321 } } }
Tarnów Opolski Uchte Illingen, Saarland Lengefeld Großauheim Bodega Bay Zoppola Yapeyú, Corrientes Gliwice Bad Liebenstein Pozuzo Barañáin Crespina Ried im Innkreis Ontinyent Villajoyosa Migliarino San Pedro Bilina Pietna Bad Vöslau Villahermosa Pola de Siero Schladming Bergen op Zoom Eisenerz Külsheim Tarnów Mainz-Laubenheim Ichtershausen Zwettl Pawłowiczki Wenigumstadt Brembilla Hainburg an der Donau Sillery, Quebec City Hamburg Reynosa Wustweiler Suchy Las Mank Suhl Tapalpa Kitzbühel Huamantla Aabybro Mysłowice Trofaiach Texcoco, State of Mexico Zola Predosa Zacatecas Köflach Słupsk Frille Adelebsen Gieboldehausen Jaworzno Osnabrück Poysdorf Sueca Langenlois Gdańsk Izabelin, Warsaw West County Ciudad Juárez Legnica Bad Aussee Istein Puerto Vallarta Breitenbach Weiz Hammelburg Ruhlsdorf Wels Freudenberg am Main Hohenems Wałbrzych Wiblingen Matamoros Buda Castle Quarter Vändra Rønde Lilienfeld Charlottenburg San Juan de los Lagos Niederaußem Kailua Los Alamos Felsberg San Martín Texmelucan Alingsås Hanau-Steinheim Valle de Bravo La Paz Toruń Biała Podlaska Wolkersdorf im Weinviertel Siemianowice Śląskie Piekary Śląskie Saalfelden Xalapa Bremen Brody, Żary County Veracruz Tempelhof Scheibbs Hirschfelde Pineda de Mar Mexicali Kobiór Seekirchen am Wallersee Ouagadougou Gmünd Dingolfing Ludweiler Reinsdorf Alzira Hollabrunn Leszno Grudziądz Finthen Ludwin Neuf-Brisach Fürstenfeld Langförden Riva Trigoso Mureck Grein Dornbirn Tampico Gerolzhofen Chełm Bytom Ebersbach Eferding Querétaro Bakałarzewo Enguera Deggendorf Arnoldsweiler Van Nuys Imst Ikast Straßburg Fladungen Mendocino Beuren Pöchlarn Cuernavaca Jala Freistadt Łomża Spremberg Welschbach Melk Neusiedl am See Orizaba Ōta-ku Hildfeld Enns Dahlenburg Calpulalpan Saint Ann Parish Teocaltiche Guanajuato Meguro-ku Chihuahua Radenthein Bourgfelden Leoben Tordesillas Magenta San Vicente de la Barquera Skierniewice San Luis Potosí Gleisdorf Schwerborn Shinagawa-ku Lübeck Święta Katarzyna, Lower Silesian Voivodeship Morelia Zbrosławice Aguascalientes Hermannsburg Wolfsberg Zell am See Tepatitlán de Morelos Municipality Hirschau Aars Münnerstadt Saltillo Oaxaca de Juárez Ostrołęka Miami Beach Gallneukirchen Stolberg St. Pölten Dnipro Damasławek Mazatlán San Cristóbal de las Casas Kaufbeuren Vöcklabruck Będzino Bautzen Sankt Goarshausen Pińczów Dziemiany Ansfelden Liezen Guamúchil 19th district of Budapest Popielów, Opole Voivodeship Setagaya-ku Zehlendorf Zeltweg Stockerau Nacka Ciudad Obregón Ostrówek, Wieluń County Suwałki Hundested Bad Brückenau Guadalajara Schmallenberg Krems an der Donau Jastrzębie-Zdrój Los Mochis Mitte Franeker
Hamburg, Gdańsk and Osnabrück are twin cities of lesser number of administrative territories and administrative country subdivisions than Eisenstadt
Hamburg Gdańsk Osnabrück
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Eisenstadt
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?c rdf:type ?r } GROUP BY ?z } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } . ?x property:sister_city resource:Eisenstadt } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q260320
P190
Q486972 Q15617994 Q13220204
USER
And how about Steyr?
(c(Q15617994)|c(Q13220204),P190,c(Q486972))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q260320
relation P190
type Q15617994
type Q13220204
[[{'concept': 'Q15617994'}, {'concept': 'Q13220204'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P190 ?p . ?p rdf:type ontology:Q486972 . ?j rdf:type ontology:Q13220204 } UNION { ?j property:P190 ?p . ?p rdf:type ontology:Q486972 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P190 resource:Q260320 . { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?r < ?v ) }
Steyr
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Steyr
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:sister_city ?p . ?p rdf:type ontology:human_settlement . ?j rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?j property:sister_city ?p . ?p rdf:type ontology:human_settlement . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:sister_city resource:Steyr . { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?r < ?v ) }
[]
human settlement designation for an administrative territorial entity second-level administrative country subdivision
Q1055 Q1792 Q1799
SYSTEM
Hamburg, Gdańsk, Wrocław
Q2394432 Q104302 Q559374 Q517653 Q57916 Q594576 Q1997342 Q631346 Q889411 Q1685483 Q53206 Q55854 Q105084 Q661283 Q14906336 Q278871 Q768691 Q826068 Q259086 Q103085 Q1809708 Q45197 Q660453 Q267791 Q973641 Q935589 Q646725 Q95122 Q278447 Q290356 Q1193256 Q393171 Q2094321 Q798800 Q623049 Q1734032 Q4165786 Q210886 Q81732 Q1018362 Q254221 Q192508 Q140180 Q504639 Q284596 Q61711 Q984766 Q2655674 Q106281 Q254012 Q1885700 Q2066426 Q695375 Q1228438 Q580115 Q559841 Q244506 Q570684 Q1370233 Q100013 Q752107 Q3483898 Q1055 Q1106961 Q738303 Q48321 Q882731 Q945391 Q51021 Q669901 Q14891 Q2270558 Q264665 Q576636 Q3171757 Q161595 Q675834 Q1141799 Q587155 Q95000 Q139242 Q518275 Q818794 Q550434 Q105048 Q1464902 Q354547 Q566701 Q158006 Q2916 Q661260 Q1552240 Q104725 Q672511 Q1799 Q1013119 Q506515 Q1792 Q2523806 Q753891 Q649405 Q917605 Q61912 Q81760 Q26590 Q106274 Q251065 Q1674838 Q92689 Q251231 Q62026 Q853258 Q906116 Q875641 Q302785 Q881265 Q178582 Q571926 Q1331722 Q61827 Q698591 Q110732 Q2567354 Q738353 Q463332 Q1805635 Q1315645 Q1993774 Q257244 Q871536 Q572595 Q162049 Q1709669 Q590620 Q152937 Q627970 Q318637 Q1302326 Q1404131 Q1962265 Q254165 Q2556719 Q54743 Q1574216 Q316991 Q1261010 Q3058725 Q1790614 Q214215 Q47554 Q984257 Q209932 Q1025108 Q701263 Q700397 Q158485 Q158488 Q2936966 Q183228 Q1297395 Q522651 Q119603 Q106681 Q221051 Q30940 Q24879 Q336250 Q149790 Q173270 Q672717 Q1394400 Q363830 Q826545 Q280450 Q1620424 Q264201 Q3981601 Q12552 Q502488 Q991571 Q199440 Q3141273 Q280588 Q1958327 Q179645 Q365081 Q3777 Q660580 Q225909 Q1529244 Q2141722 Q206085 Q931780 Q624352 Q52892 Q46885 Q123511 Q8969 Q486341 Q1651865 Q1648853 Q2481404 Q631108 Q488346 Q150039 Q661272 Q871601 Q1805232 Q28516 Q3937847 Q163474 Q389363 Q171219 Q273014 Q519134 Q1026520 Q234184 Q73817 Q102350 Q509566 Q372402 Q682989 Q157480 Q255175 Q173121 Q804268 Q1769929 Q16083 Q2114575 Q696909 Q769446 Q386991 Q254107 Q105060 Q669995 Q1021277 Q660945 Q582942 Q145972 Q1920378 Q851068 Q483522 Q255350 Q204245 Q2447536 Q143140 Q215633 Q572559 Q1667843 Q608977 Q489806 Q253760 Q993904 Q26340 Q217234 Q1618464 Q127700 Q260089 Q632607 Q1997497 Q1326284 Q1921334 Q61306 Q233903 Q61302 Q104740 Q700132 Q382791 Q895219 Q569248 Q507533 Q485294 Q665175 Q286004 Q492868 Q42595 Q384817 Q232624 Q1237045 Q209034 Q2734 Q204271 Q489972 Q643600 Q2256995 Q308928 Q494504 Q233495 Q2843 Q2867610 Q200252 Q168286 Q200805 Q518258 Q268 Q549731 Q487527 Q187572 Q261216 Q27998 Q971699 Q320858 Q303066 Q521851 Q572568 Q212713 Q571922 Q53077 Q131429 Q82765 Q2534964 Q461287 Q201516 Q985092 Q671233 Q686386 Q82500 Q48256 Q550175 Q1007302 Q40194 Q252982 Q524894 Q14805 Q436806 Q251325 Q951133 Q2391165 Q14835 Q103217 Q564757 Q81220 Q695969 Q2039456 Q693724 Q275592 Q1021267 Q998438 Q504849 Q660428 Q81033 Q514179 Q2352357 Q259214 Q257130 Q698520 Q1552698 Q857943 Q472076 Q126321 Q505185 Q231645 Q1418300 Q467191 Q871563 Q108679 Q324402 Q108672 Q189268 Q1528292 Q494283 Q661329 Q13383459 Q278189 Q681340 Q985734 Q236083 Q1020031 Q542386 Q504513 Q9022 Q5628 Q131266 Q1114457 Q107106 Q1021035 Q688620 Q250984 Q752460 Q2013767 Q41974 Q698465
(c(Q15617994)|c(Q13220204),P190,c(Q486972))
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q260320
relation P190
type Q15617994
type Q13220204
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q13220204'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:P190 ?p . ?p rdf:type ontology:Q486972 . ?j rdf:type ontology:Q13220204 } UNION { ?j property:P190 ?p . ?p rdf:type ontology:Q486972 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P190 resource:Q260320 . { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?r < ?v ) }
Tarnów Opolski Chorzów Uchte Illingen, Saarland Lengefeld Großauheim Pioppa Steinthaleben Bodega Bay Wilbich Zoppola Yapeyú, Corrientes Gliwice Laa an der Thaya Bad Liebenstein Pozuzo Barañáin Krosno Bad Hall Crespina Trhová Kamenice Świętochłowice Voitsberg Ried im Innkreis Ontinyent Villajoyosa Dénia Migliarino Ybbs an der Donau San Pedro Bilina Żory Pietna Bad Vöslau Kapfenberg Karlštejn Dąbrowica, Lublin County Villahermosa Bernsdorf, Bautzen Pola de Siero Schladming Bergen op Zoom Retz Dettelbach Eisenerz Külsheim Kobyla Góra, Greater Poland Voivodeship Kiryat Haim Tarnów Peuerbach Mainz-Laubenheim Wierzchowo, Drawsko County Béjar Dischingen Leinefelde Ichtershausen Zwettl Pawłowiczki Wenigumstadt Brembilla Hainburg an der Donau Sillery, Quebec City Hamburg Colognola Reynosa Gansheim Burglesum Wustweiler Suchy Las Mank Suhl Tapalpa Kitzbühel Huamantla Aabybro Mysłowice Trofaiach Texcoco, State of Mexico Kolno, Warmian-Masurian Voivodeship Zola Predosa Zacatecas Wörlitz Berbisdorf Köflach Słupsk Frille Adelebsen Gieboldehausen Jaworzno Osnabrück Poysdorf Sueca Płock Langenlois Wrocław Mielno Röttingen Gdańsk Vietmannsdorf San Miguel de Allende Leubnitz Izabelin, Warsaw West County Wertheim am Main Wittichenau Ciudad Juárez Legnica Bad Aussee Istein Sopot Amstetten Gailingen Puerto Vallarta Breitenbach Weiz Hammelburg Ruhlsdorf Wels Bad Königshofen Ellar Freudenberg am Main Hohenems Wałbrzych Wiblingen Matamoros Buda Castle Quarter Vändra Lindau am Harz Rønde Mittersill Lilienfeld Neugersdorf Charlottenburg San Juan de los Lagos Purkersdorf Niederaußem Kailua Los Alamos Eicken-Bruche Felsberg San Martín Texmelucan Bischofshofen Weixdorf Alingsås Hanau-Steinheim Wellingholzhausen Stráž Valle de Bravo Krögis La Paz Toruń Rychliki Biała Podlaska Cadenabbia Neudietendorf Wolkersdorf im Weinviertel Siemianowice Śląskie Piekary Śląskie Cap-Rouge, Quebec City Saalfelden Oehna Marktbreit Kilchberg Włocławek Xalapa Albert Bremen Lienz Brody, Żary County Veracruz Feldbach Porto Ercole Tempelhof Triebes Scheibbs Hirschfelde Mariazell Tavernola San Felice Pineda de Mar Obercunnersdorf Niederschöna Mexicali Kobiór Seekirchen am Wallersee Mühlbach Shinjuku-ku Wińsko Ouagadougou Gmünd Dingolfing Ludweiler Reinsdorf Zistersdorf Alzira Hollabrunn Leszno Mylau Grudziądz Cancún Kufstein Hörstein Finthen Ludwin Nerchau Bad Kissingen Neuf-Brisach Fürstenfeld Friesach Langförden Tarnobrzeg Riva Trigoso Mureck Grein Dornbirn Tampico Gerolzhofen Juan-les-Pins Chełm Winschoten Bytom Plattling Castroville Luzino Ebersbach Eferding Querétaro Bakałarzewo Enguera Deggendorf Przemęt, Greater Poland Voivodeship Arnoldsweiler Van Nuys Torreón Imst Sosnowiec Mautern an der Donau Ikast Straßburg Fladungen Zamość Mendocino Beuren Villach Pöchlarn Cuernavaca Jala Freistadt Łomża Spremberg Welschbach Friedberg Melk Neusiedl am See Orizaba Vils Ōta-ku Hildfeld Udanin Enns Dahlenburg Calpulalpan Saint Ann Parish Teocaltiche Guanajuato Meguro-ku Chihuahua Radom Radenthein Lewin Kłodzki Bourgfelden Všeruby Feldkirchen in Kärnten Leoben Kaliska, Gmina Kaliska Tordesillas Mürzzuschlag Magenta San Vicente de la Barquera Arakawa-ku Grumbach Toluca Skierniewice San Luis Potosí Schwechat Gleisdorf Schwerborn Kreuzberg Bludenz Shinagawa-ku Lübeck Święta Katarzyna, Lower Silesian Voivodeship Morelia Zbrosławice Aguascalientes Gernrode Poznań Hermannsburg Wolfsberg Zell am See Attnang-Puchheim Westerland Tepatitlán de Morelos Municipality Hirschau Aars Miękinia, Lower Silesian Voivodeship Schirgiswalde Bunkyō-ku Münnerstadt Saltillo Oaxaca de Juárez Olsztyn Redford Ostrołęka Miami Beach Włoszakowice Gallneukirchen Stolberg St. Pölten Dnipro Kirschau Damasławek Mazatlán Oberpullendorf San Cristóbal de las Casas Kaufbeuren Altenbrak Vöcklabruck Będzino Strawczyn Bautzen Częstochowa Sankt Goarshausen Goes Finsterbergen Izbica Długołęka Pińczów Dziemiany Stawiguda Ochsenfurt Mistelbach Monterrey Sankt Andrä Stotternheim Rust Ansfelden Liezen Guamúchil 19th district of Budapest Popielów, Opole Voivodeship Eisenstadt Pößneck Setagaya-ku Finowfurt Rewal Orth an der Donau Ruda Śląska Zehlendorf Dąbrowa Górnicza Zeltweg Steinach Stockerau Bruck an der Leitha Nacka Kleszczów, Łódź Voivodeship Ciudad Obregón Ostrówek, Wieluń County Suwałki Hundested Hornburg Bad Brückenau Guadalajara Schmallenberg Krems an der Donau East Norriton Township Jastrzębie-Zdrój Chmielno Kirchdorf an der Krems Bad Ischl Los Mochis Mitte Franeker Bad Radkersburg
Hamburg Gdańsk Wrocław
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Steyr
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?p WHERE { { ?j property:sister_city ?p . ?p rdf:type ontology:human_settlement . ?j rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?j property:sister_city ?p . ?p rdf:type ontology:human_settlement . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:sister_city resource:Steyr . { ?z rdf:type ?s . VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?r < ?v ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are the heads of the government of that human settlement ?
(Q1055,P6,c(Q502895))
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1005682 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamburg property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1792
SYSTEM
Did you mean Gdańsk ?
(Q1055,P6,c(Q502895)) (Q1792,P6,c(Q502895)) (Q1799,P6,c(Q502895))
[ANSWER]
['Q1055', 'P6', {'concept': 'Q502895'}] ['Q1792', 'P6', {'concept': 'Q502895'}] ['Q1799', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1005682 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Gdańsk ?
Gdańsk
['Hamburg', 'head of government', {'concept': 'common name'}] ['Gdańsk', 'head of government', {'concept': 'common name'}] ['Wrocław', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamburg property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Hamburg. Could you tell me the answer for that?
(Q1055,P6,c(Q502895))
Q1055
['Q1055', 'P6', {'concept': 'Q502895'}]
['Hamburg', 'head of government', {'concept': 'common name'}]
[]
SYSTEM
14
Q63421 Q84380 Q60426 Q447940 Q71371 Q62673 Q77390 Q85910 Q61053 Q68114 Q87670 Q74266 Q70051 Q85791
(Q1055,P6,c(Q502895))
[ANSWER]
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1005682 property:Q2285706 ?z . ?z rdf:type ontology:Q502895 }
Max Brauer Kurt Sieveking Ole von Beust Hans-Ulrich Klose Henning Voscherau Klaus von Dohnanyi Christoph Ahlhaus Paul Nevermann Olaf Scholz Herbert Weichmann Rudolf Petersen Carl Vincent Krogmann Ortwin Runde Peter Schulz
14
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamburg property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]