Simple Question (Direct)
Simple Question
Q3665498
P19
Q486972
USER
Which human settlement is the place of birth of Cesare Pellegatta ?
(Q3665498,P19,c(Q486972))
action filter_type
action find
entity Q3665498
relation P19
type Q486972
['Q3665498', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q3665498 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Cesare Pellegatta
action filter_type
action find
entity Cesare Pellegatta
relation place of birth
type human settlement
['Cesare Pellegatta', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Cesare_Pellegatta property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q105677
SYSTEM
Sacconago
Q105677
(Q3665498,P19,c(Q486972))
action filter_type
action find
entity Q3665498
relation P19
type Q486972
[ANSWER] is the place of birth of Cesare Pellegatta
['Q3665498', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q3665498 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Sacconago
Sacconago is the place of birth of Cesare Pellegatta
Sacconago
action filter_type
action find
entity Cesare Pellegatta
relation place of birth
type human settlement
['Cesare Pellegatta', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Cesare_Pellegatta property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q105677 Q391326
P17
Q15617994
USER
Does that human settlement belong to Pozzomaggiore ?
(Q105677,P17,Q391326)
action is_in
entity Q391326
action find
entity Q105677
relation P17
['Q105677', 'P17', 'Q391326']
ASK WHERE { resource:Q105677 property:P17 resource:Q391326 }
Sacconago Pozzomaggiore
action is_in
entity Pozzomaggiore
action find
entity Sacconago
relation country
['Sacconago', 'country', 'Pozzomaggiore']
ASK WHERE { resource:Sacconago property:country resource:Pozzomaggiore }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q105677,P17,Q391326)
action is_in
entity Q391326
action find
entity Q105677
relation P17
[ANSWER]
['Q105677', 'P17', 'Q391326']
ASK WHERE { resource:Q105677 property:P17 resource:Q391326 }
No
action is_in
entity Pozzomaggiore
action find
entity Sacconago
relation country
['Sacconago', 'country', 'Pozzomaggiore']
ASK WHERE { resource:Sacconago property:country resource:Pozzomaggiore }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3665498 Q1155
P20
Q56061
USER
Did the expiration of Cesare Pellegatta occur Busto Arsizio ?
(Q3665498,P20,Q1155)
action is_in
entity Q1155
action find
entity Q3665498
relation P20
['Q3665498', 'P20', 'Q1155']
ASK WHERE { resource:Q3665498 property:P20 resource:Q1155 }
Cesare Pellegatta Busto Arsizio
action is_in
entity Busto Arsizio
action find
entity Cesare Pellegatta
relation place of death
['Cesare Pellegatta', 'place of death', 'Busto Arsizio']
ASK WHERE { resource:Cesare_Pellegatta property:place_of_death resource:Busto_Arsizio }
[]
administrative territorial entity
SYSTEM
YES
(Q3665498,P20,Q1155)
action is_in
entity Q1155
action find
entity Q3665498
relation P20
[ANSWER]
['Q3665498', 'P20', 'Q1155']
ASK WHERE { resource:Q3665498 property:P20 resource:Q1155 }
Yes
action is_in
entity Busto Arsizio
action find
entity Cesare Pellegatta
relation place of death
['Cesare Pellegatta', 'place of death', 'Busto Arsizio']
ASK WHERE { resource:Cesare_Pellegatta property:place_of_death resource:Busto_Arsizio }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q1048835
USER
How many political territories are sister town of atleast 1 human settlement ?
(c(Q1048835),P190,c(Q486972))
action count
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 1
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?a ) WHERE { ?c property:P190 ?u . ?c rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 1
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?a ) WHERE { ?c property:sister_city ?u . ?c rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
[]
human settlement political territorial entity
SYSTEM
31
Q5963 Q1312654 Q496588 Q12339 Q11746 Q13521 Q4970 Q1769167 Q485129 Q15174 Q12587 Q10436 Q748078 Q8184 Q188905 Q42956 Q281272 Q436491 Q221749 Q639422 Q615722 Q465085 Q943431 Q695456 Q11720 Q353618 Q10445 Q984821 Q74881 Q5826 Q203040
(c(Q1048835),P190,c(Q486972))
action count
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?a ) WHERE { ?c property:P190 ?u . ?c rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
Hanover region Carlet Oñati Sant Joan de les Abadesses Wuhan Sant Feliu de Guíxols Hangzhou Cigales Burgo de Osma-Ciudad de Osma Shenzhen Santa Susanna Kulmbach Neath Port Talbot County Borough Enz Ouro Preto Harbin Linares Altea Torrevieja Pozuelo de Alarcón Santa Fe Almadén Granadilla de Abona Bailén Shenyang Adeje Forchheim Onda Dalian Xi'an El Puerto de Santa María
31
action count
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 1
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?a ) WHERE { ?c property:sister_city ?u . ?c rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q515
USER
How many cities are a sister city of around 3 human settlements ?
(c(Q515),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q486972
value 3
[{'concept': 'Q515'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?p ) WHERE { ?q property:P190 ?a . ?q rdf:type ontology:Q515 . ?a rdf:type ontology:Q486972 } GROUP BY ?q } . FILTER ( ?p = 3 ) }
action count
action approx
action find_tuple_counts
relation sister city
type city
type human settlement
value 3
[{'concept': 'city'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?p ) WHERE { ?q property:sister_city ?a . ?q rdf:type ontology:city . ?a rdf:type ontology:human_settlement } GROUP BY ?q } . FILTER ( ?p = 3 ) }
[]
human settlement city
SYSTEM
1
Q207406
(c(Q515),P190,c(Q486972))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q486972
value 3
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?p ) WHERE { ?q property:P190 ?a . ?q rdf:type ontology:Q515 . ?a rdf:type ontology:Q486972 } GROUP BY ?q } . FILTER ( ?p = 3 ) }
Mosonmagyaróvár
1
action count
action approx
action find_tuple_counts
relation sister city
type city
type human settlement
value 3
[{'concept': 'city'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?p ) WHERE { ?q property:sister_city ?a . ?q rdf:type ontology:city . ?a rdf:type ontology:human_settlement } GROUP BY ?q } . FILTER ( ?p = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q103892
P190
Q486972 Q515 Q20667921
USER
How many human settlements are twin towns of around the same number of cities or french administrative divisions as Zabrze ?
(c(Q515)|c(Q20667921),P190,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q103892
relation P190
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P190 resource:Q103892 . { { ?l rdf:type ontology:Q515 } UNION { ?l rdf:type ontology:Q20667921 } } } } . FILTER ( ?e = ?s ) }
Zabrze
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Zabrze
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:sister_city resource:Zabrze . { { ?l rdf:type ontology:city } UNION { ?l rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?e = ?s ) }
[]
human settlement city type of french administrative division
SYSTEM
121
Q559374 Q517653 Q594576 Q53206 Q14906336 Q45197 Q660453 Q267791 Q935589 Q646725 Q107094 Q95122 Q81732 Q254221 Q192508 Q140180 Q61711 Q106281 Q1885700 Q580115 Q1370233 Q100013 Q583485 Q3483898 Q945391 Q51021 Q566701 Q158006 Q1552240 Q917605 Q81760 Q251065 Q1674838 Q61827 Q110732 Q2567354 Q463332 Q871536 Q590620 Q152937 Q1302326 Q54743 Q1574216 Q3058725 Q47554 Q209932 Q158488 Q522651 Q106681 Q221051 Q672717 Q693628 Q264201 Q12552 Q225909 Q1529244 Q102317 Q206085 Q931780 Q52892 Q2481404 Q150039 Q1805232 Q389363 Q171219 Q519134 Q234184 Q157480 Q16083 Q696909 Q1021277 Q145972 Q143140 Q319813 Q632607 Q104740 Q895219 Q507533 Q485294 Q125293 Q286004 Q492868 Q42595 Q384817 Q2734 Q643600 Q106583 Q259893 Q2843 Q2867610 Q103892 Q168286 Q518258 Q268 Q549731 Q487527 Q320858 Q131429 Q82765 Q461287 Q686386 Q40194 Q14805 Q951133 Q564757 Q275592 Q81033 Q1552698 Q505185 Q231645 Q108672 Q494283 Q681340 Q504513 Q9022 Q5628 Q104731 Q250984 Q752460 Q41974 Q698465
(c(Q515)|c(Q20667921),P190,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q103892
relation P190
type Q515
type Q20667921
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P190 resource:Q103892 . { { ?l rdf:type ontology:Q515 } UNION { ?l rdf:type ontology:Q20667921 } } } } . FILTER ( ?e = ?s ) }
Uchte Illingen, Saarland Großauheim Zoppola Bad Liebenstein Świętochłowice Voitsberg Ried im Innkreis Villajoyosa Dénia Rybnik Migliarino Bernsdorf, Bautzen Schladming Bergen op Zoom Retz Külsheim Tarnów Mainz-Laubenheim Leinefelde Wenigumstadt Brembilla Schwaz Sillery, Quebec City Wustweiler Suchy Las Gieboldehausen Jaworzno Sueca Izabelin, Warsaw West County Wittichenau Bad Aussee Istein Freudenberg am Main Wałbrzych Wiblingen Buda Castle Quarter Lilienfeld Purkersdorf Niederaußem Eicken-Bruche Alingsås Hanau-Steinheim Valle de Bravo Toruń Biała Podlaska Piekary Śląskie Marktbreit Włocławek Xalapa Feldbach Wilmersdorf Mariazell Pineda de Mar Dingolfing Ludweiler Kielce Zistersdorf Alzira Leszno Ludwin Neuf-Brisach Langförden Grein Dornbirn Gerolzhofen Chełm Ebersbach Deggendorf Arnoldsweiler Ikast Zamość Freistadt Siedlce Dahlenburg Radom Bourgfelden Feldkirchen in Kärnten Leoben Puebla City Tordesillas Mürzzuschlag Magenta San Vicente de la Barquera Skierniewice Gleisdorf Bielsko-Biała Bruck an der Mur Lübeck Święta Katarzyna, Lower Silesian Voivodeship Zabrze Zbrosławice Gernrode Poznań Hermannsburg Wolfsberg Hirschau Oaxaca de Juárez Olsztyn Ostrołęka Stolberg Mazatlán Kaufbeuren Będzino Sankt Goarshausen Pińczów Monterrey Guamúchil Pößneck Setagaya-ku Dąbrowa Górnicza Stockerau Ciudad Obregón Bad Brückenau Guadalajara Schmallenberg Gorzów Wielkopolski Bad Ischl Los Mochis Franeker Bad Radkersburg
121
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Zabrze
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:sister_city resource:Zabrze . { { ?l rdf:type ontology:city } UNION { ?l rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?e = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q336250
P190
Q486972 Q515 Q20667921
USER
And how about Lienz?
(c(Q515)|c(Q20667921),P190,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q336250
relation P190
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P190 resource:Q336250 . { { ?z rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q20667921 } } } } . FILTER ( ?b = ?j ) }
Lienz
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Lienz
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?p ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:sister_city resource:Lienz . { { ?z rdf:type ontology:city } UNION { ?z rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?b = ?j ) }
[]
human settlement city type of french administrative division
SYSTEM
254
Q2394432 Q11977 Q104302 Q57916 Q1997342 Q631346 Q889411 Q1685483 Q55854 Q661283 Q278871 Q768691 Q259086 Q103085 Q1809708 Q973641 Q278447 Q290356 Q1193256 Q2094321 Q798800 Q623049 Q1734032 Q4165786 Q210886 Q1018362 Q504639 Q284596 Q984766 Q2655674 Q254012 Q2066426 Q695375 Q1228438 Q559841 Q244506 Q570684 Q752107 Q1106961 Q738303 Q48321 Q882731 Q669901 Q302745 Q2270558 Q576636 Q3171757 Q161595 Q675834 Q1141799 Q587155 Q95000 Q139242 Q518275 Q818794 Q550434 Q105048 Q1464902 Q354547 Q430449 Q661260 Q672511 Q1013119 Q506515 Q2523806 Q753891 Q649405 Q26590 Q1774142 Q131612 Q92689 Q62026 Q853258 Q906116 Q875641 Q302785 Q881265 Q191106 Q571926 Q1331722 Q698591 Q738353 Q1805635 Q1315645 Q147934 Q1993774 Q257244 Q572595 Q162049 Q1709669 Q627970 Q487500 Q318637 Q1404131 Q1962265 Q254165 Q2556719 Q316991 Q1261010 Q1790614 Q214215 Q984257 Q1025108 Q701263 Q700397 Q2936966 Q183228 Q1297395 Q494604 Q119603 Q30940 Q336250 Q149790 Q173270 Q1394400 Q363830 Q826545 Q280450 Q1620424 Q3981601 Q502488 Q991571 Q199440 Q280588 Q1958327 Q179645 Q365081 Q3777 Q660580 Q2141722 Q46885 Q123511 Q486341 Q1651865 Q1648853 Q631108 Q208473 Q292927 Q661272 Q871601 Q28516 Q3937847 Q163474 Q273014 Q1026520 Q260320 Q73817 Q102350 Q509566 Q372402 Q682989 Q255175 Q804268 Q1769929 Q2114575 Q769446 Q386991 Q254107 Q669995 Q660945 Q582942 Q1920378 Q851068 Q255350 Q204245 Q2447536 Q215633 Q572559 Q1667843 Q608977 Q489806 Q253760 Q993904 Q26340 Q217234 Q1618464 Q127700 Q260089 Q1997497 Q1326284 Q1921334 Q61306 Q233903 Q61302 Q700132 Q382791 Q569248 Q502401 Q665175 Q505907 Q232624 Q1237045 Q209034 Q204271 Q489972 Q2256995 Q308928 Q494504 Q233495 Q200252 Q427385 Q200805 Q187572 Q261216 Q27998 Q971699 Q303066 Q521851 Q572568 Q212713 Q53077 Q2534964 Q985092 Q671233 Q48256 Q491754 Q550175 Q1007302 Q252982 Q524894 Q436806 Q251325 Q2391165 Q81220 Q695969 Q2039456 Q693724 Q1021267 Q998438 Q660428 Q514179 Q2352357 Q259214 Q257130 Q698520 Q857943 Q472076 Q1418300 Q467191 Q871563 Q108679 Q324402 Q189268 Q1528292 Q661329 Q13383459 Q278189 Q985734 Q1020031 Q542386 Q1114457 Q1021035 Q688620 Q2013767
(c(Q515)|c(Q20667921),P190,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q515
action find_reverse_tuple_counts
relation P190
type Q486972
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q336250
relation P190
type Q515
type Q20667921
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P190 resource:Q336250 . { { ?z rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q20667921 } } } } . FILTER ( ?b = ?j ) }
Tarnów Opolski Tychy Chorzów Lengefeld Pioppa Steinthaleben Bodega Bay Wilbich Yapeyú, Corrientes Laa an der Thaya Pozuzo Barañáin Bad Hall Crespina Trhová Kamenice Ontinyent Ybbs an der Donau San Pedro Bilina Pietna Bad Vöslau Kapfenberg Karlštejn Dąbrowica, Lublin County Villahermosa Pola de Siero Dettelbach Eisenerz Kobyla Góra, Greater Poland Voivodeship Kiryat Haim Peuerbach Wierzchowo, Drawsko County Béjar Dischingen Ichtershausen Zwettl Pawłowiczki Hainburg an der Donau Colognola Reynosa Gansheim Burglesum Mank Hall in Tirol Tapalpa 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 Gmunden Poysdorf Langenlois Mielno Röttingen Vietmannsdorf San Miguel de Allende Leubnitz Ciudad Juárez Klenčí pod Čerchovem Wiener Neustadt Sopot Gailingen Puerto Vallarta Breitenbach Weiz Hammelburg Ruhlsdorf Haapsalu Bad Königshofen Ellar Hohenems Matamoros Vändra Lindau am Harz Jelenia Góra Rønde Mittersill Neugersdorf Charlottenburg San Juan de los Lagos Kailua Spittal an der Drau Los Alamos Felsberg San Martín Texmelucan Bischofshofen Weixdorf Wellingholzhausen Stráž Krögis La Paz Rychliki Cadenabbia Neudietendorf Wolkersdorf im Weinviertel Cap-Rouge, Quebec City Saalfelden Oehna Sankt Veit an der Glan Kilchberg Albert Lienz Brody, Żary County Veracruz Porto Ercole Tempelhof Triebes Scheibbs Hirschfelde Tavernola San Felice Obercunnersdorf Niederschöna Mexicali Seekirchen am Wallersee Mühlbach Shinjuku-ku Wińsko Ouagadougou Gmünd Reinsdorf Mylau Grudziądz Kufstein Hörstein Finthen Nerchau Przemyśl Óbuda Fürstenfeld Friesach Tarnobrzeg Riva Trigoso Mureck Tampico Juan-les-Pins Steyr Winschoten Bytom Plattling Castroville Luzino Eferding Bakałarzewo Enguera Przemęt, Greater Poland Voivodeship Van Nuys Torreón Imst Mautern an der Donau Straßburg Fladungen Mendocino Beuren Pöchlarn Cuernavaca Jala Łomża Spremberg Welschbach Friedberg Melk Neusiedl am See Orizaba Vils Ōta-ku Hildfeld Udanin Enns Calpulalpan Saint Ann Parish Teocaltiche Guanajuato Meguro-ku Chihuahua Radenthein Lewin Kłodzki Všeruby Erlenbach am Main Kaliska, Gmina Kaliska Dobrzeń Wielki Arakawa-ku Grumbach Toluca San Luis Potosí Schwechat Schwerborn Kreuzberg Bludenz Shinagawa-ku Morelia Waidhofen an der Ybbs Aguascalientes Zell am See Attnang-Puchheim Westerland Tepatitlán de Morelos Municipality Aars Miękinia, Lower Silesian Voivodeship Schirgiswalde Bunkyō-ku Saltillo Redford Włoszakowice Gallneukirchen Dnipro Senftenberg Kirschau Damasławek Oberpullendorf San Cristóbal de las Casas Altenbrak Vöcklabruck Strawczyn Goes Finsterbergen Izbica Długołęka Dziemiany Stawiguda Mistelbach Sankt Andrä Stotternheim Rust Ansfelden Liezen 19th district of Budapest Popielów, Opole Voivodeship Finowfurt Rewal Orth an der Donau Ruda Śląska Zehlendorf Zeltweg Steinach Bruck an der Leitha Nacka Kleszczów, Łódź Voivodeship Ostrówek, Wieluń County Hundested Hornburg East Norriton Township Chmielno Kirchdorf an der Krems Mitte
254
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type city
action find_reverse_tuple_counts
relation sister city
type human settlement
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Lienz
relation sister city
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?p ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?p } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:sister_city resource:Lienz . { { ?z rdf:type ontology:city } UNION { ?z rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?b = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665498
P641
Q349
USER
Which sport was Cesare Pellegatta a part of ?
(Q3665498,P641,c(Q349))
action filter_type
action find
entity Q3665498
relation P641
type Q349
['Q3665498', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3665498 property:P641 ?e . ?e rdf:type ontology:Q349 }
Cesare Pellegatta
action filter_type
action find
entity Cesare Pellegatta
relation sport
type sport
['Cesare Pellegatta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Cesare_Pellegatta property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3665498,P641,c(Q349))
action filter_type
action find
entity Q3665498
relation P641
type Q349
Cesare Pellegatta was the [ANSWER]
['Q3665498', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3665498 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Cesare Pellegatta was the association football
association football
action filter_type
action find
entity Cesare Pellegatta
relation sport
type sport
['Cesare Pellegatta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Cesare_Pellegatta property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3665498
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3665498
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3665498 property:P21 ?c . ?c rdf:type ontology:Q290 }
Cesare Pellegatta
action filter_type
action find
entity Cesare Pellegatta
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Cesare_Pellegatta property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3665498
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3665498 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Cesare Pellegatta
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Cesare_Pellegatta property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665498
P27
Q15617994
USER
Which administrative territory does Cesare Pellegatta belong to ?
(Q3665498,P27,c(Q15617994))
action filter_type
action find
entity Q3665498
relation P27
type Q15617994
['Q3665498', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3665498 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Cesare Pellegatta
action filter_type
action find
entity Cesare Pellegatta
relation country of citizenship
type designation for an administrative territorial entity
['Cesare Pellegatta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cesare_Pellegatta property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3665498,P27,c(Q15617994))
action filter_type
action find
entity Q3665498
relation P27
type Q15617994
Cesare Pellegatta belongs to [ANSWER]
['Q3665498', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3665498 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Italy
Cesare Pellegatta belongs to Italy
Italy
action filter_type
action find
entity Cesare Pellegatta
relation country of citizenship
type designation for an administrative territorial entity
['Cesare Pellegatta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cesare_Pellegatta property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665498
P106
Q12737077
USER
Which occupations are the professions of Cesare Pellegatta ?
(Q3665498,P106,c(Q12737077))
action filter_type
action find
entity Q3665498
relation P106
type Q12737077
['Q3665498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3665498 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Cesare Pellegatta
action filter_type
action find
entity Cesare Pellegatta
relation occupation
type occupation
['Cesare Pellegatta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Cesare_Pellegatta property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3665498,P106,c(Q12737077))
action filter_type
action find
entity Q3665498
relation P106
type Q12737077
The professions of Cesare Pellegatta are the [ANSWERS]
['Q3665498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3665498 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football manager association football player
The professions of Cesare Pellegatta are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Cesare Pellegatta
relation occupation
type occupation
['Cesare Pellegatta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Cesare_Pellegatta property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Which sport has association football player as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q937857 property:P425 ?f . ?f rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:association_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q937857 property:P425 ?f . ?f rdf:type ontology:Q349 }
association football
Player association football has association football player as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:association_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport }
[]