Simple Question (Direct)
Simple Question
Q18912665
P108
Q163740
USER
Which nonprofit organization is the workplace of Lucy Elizabeth Textor ?
(Q18912665,P108,c(Q163740))
action filter_type
action find
entity Q18912665
relation P108
type Q163740
['Q18912665', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q18912665 property:P108 ?z . ?z rdf:type ontology:Q163740 }
Lucy Elizabeth Textor
action filter_type
action find
entity Lucy Elizabeth Textor
relation employer
type nonprofit organization
['Lucy Elizabeth Textor', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Lucy_Elizabeth_Textor property:employer ?z . ?z rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q2093794
SYSTEM
Vassar College
Q2093794
(Q18912665,P108,c(Q163740))
action filter_type
action find
entity Q18912665
relation P108
type Q163740
[ANSWER] is the workplace of Lucy Elizabeth Textor
['Q18912665', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q18912665 property:P108 ?z . ?z rdf:type ontology:Q163740 }
Vassar College
Vassar College is the workplace of Lucy Elizabeth Textor
Vassar College
action filter_type
action find
entity Lucy Elizabeth Textor
relation employer
type nonprofit organization
['Lucy Elizabeth Textor', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Lucy_Elizabeth_Textor property:employer ?z . ?z rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18912665
P69
Q3918
USER
Which university is the alma mater of Lucy Elizabeth Textor ?
(Q18912665,P69,c(Q3918))
action filter_type
action find
entity Q18912665
relation P69
type Q3918
['Q18912665', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q18912665 property:P69 ?k . ?k rdf:type ontology:Q3918 }
Lucy Elizabeth Textor
action filter_type
action find
entity Lucy Elizabeth Textor
relation educated at
type university
['Lucy Elizabeth Textor', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Lucy_Elizabeth_Textor property:educated_at ?k . ?k rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q18912665,P69,c(Q3918))
action filter_type
action find
entity Q18912665
relation P69
type Q3918
Of [ANSWER] is the alma mater of Lucy Elizabeth Textor
['Q18912665', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q18912665 property:P69 ?k . ?k rdf:type ontology:Q3918 }
University of Michigan
Of University of Michigan is the alma mater of Lucy Elizabeth Textor
University of Michigan
action filter_type
action find
entity Lucy Elizabeth Textor
relation educated at
type university
['Lucy Elizabeth Textor', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Lucy_Elizabeth_Textor property:educated_at ?k . ?k rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18912665
P20
Q486972
USER
Which human settlement is the place of death of that person ?
(Q230492,P20,c(Q486972))
action filter_type
action find
entity Q18912665
relation P20
type Q486972
['Q230492', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q18912665 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Lucy Elizabeth Textor
action filter_type
action find
entity Lucy Elizabeth Textor
relation place of death
type human settlement
['University of Michigan', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Lucy_Elizabeth_Textor property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q5093930
SYSTEM
Chestnut Hill
Q5093930
(Q230492,P20,c(Q486972))
action filter_type
action find
entity Q18912665
relation P20
type Q486972
[ANSWER] is the place of death of that person
['Q230492', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q18912665 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Chestnut Hill
Chestnut Hill is the place of death of that person
Chestnut Hill
action filter_type
action find
entity Lucy Elizabeth Textor
relation place of death
type human settlement
['University of Michigan', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Lucy_Elizabeth_Textor property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18912665
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q5093930,P106,c(Q12737077))
action filter_type
action find
entity Q18912665
relation P106
type Q12737077
['Q5093930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q18912665 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Lucy Elizabeth Textor
action filter_type
action find
entity Lucy Elizabeth Textor
relation occupation
type occupation
['Chestnut Hill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lucy_Elizabeth_Textor property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q5093930,P106,c(Q12737077))
action filter_type
action find
entity Q18912665
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q5093930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q18912665 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
university teacher
A university teacher has that person as his/her 's career
university teacher
action filter_type
action find
entity Lucy Elizabeth Textor
relation occupation
type occupation
['Chestnut Hill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lucy_Elizabeth_Textor property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1622272 Q5212302 Q9438
P417
Q502895
USER
Does that occupation have Damian Munro and Thomas Aquinas as their patron saint ?
(Q1622272,P417,Q5212302) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q5212302
relation P417
action find_reverse
entity Q9438
relation P417
['Q1622272', 'P417', 'Q5212302'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q5212302 }
university teacher Damian Munro Thomas Aquinas
action is_in
entity university teacher
action intersection
action find_reverse
entity Damian Munro
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Damian Munro'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Damian_Munro }
[]
common name
SYSTEM
NO and YES respectively
(Q1622272,P417,Q5212302) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q5212302
relation P417
action find_reverse
entity Q9438
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q5212302'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q5212302 }
NO and YES respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity Damian Munro
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Damian Munro'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Damian_Munro }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230492
P710
Q736634
USER
Which particle detector was University of Michigan a participant of ?
(c(Q736634),P710,Q230492)
action filter_type
action find_reverse
entity Q230492
relation P710
type Q736634
[{'concept': 'Q736634'}, 'P710', 'Q230492']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q736634 . ?a property:P710 resource:Q230492 }
University of Michigan
action filter_type
action find_reverse
entity University of Michigan
relation participant
type particle detector
[{'concept': 'particle detector'}, 'participant', 'University of Michigan']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:particle_detector . ?a property:participant resource:University_of_Michigan }
[]
particle detector
Q18318674
SYSTEM
PandaX
Q18318674
(c(Q736634),P710,Q230492)
action filter_type
action find_reverse
entity Q230492
relation P710
type Q736634
[ANSWER] was University of Michigan a participant of
[{'concept': 'Q736634'}, 'P710', 'Q230492']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q736634 . ?a property:P710 resource:Q230492 }
PandaX
PandaX was University of Michigan a participant of
PandaX
action filter_type
action find_reverse
entity University of Michigan
relation participant
type particle detector
[{'concept': 'particle detector'}, 'participant', 'University of Michigan']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:particle_detector . ?a property:participant resource:University_of_Michigan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18318674
P17
Q15617994
USER
Which administrative territory is that particle detector located in ?
(Q18318674,P17,c(Q15617994))
action filter_type
action find
entity Q18318674
relation P17
type Q15617994
['Q18318674', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q18318674 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
PandaX
action filter_type
action find
entity PandaX
relation country
type designation for an administrative territorial entity
['PandaX', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:PandaX property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q18318674,P17,c(Q15617994))
action filter_type
action find
entity Q18318674
relation P17
type Q15617994
That particle detector is located in [ANSWER]
['Q18318674', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q18318674 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
People's Republic of China
That particle detector is located in People's Republic of China
People's Republic of China
action filter_type
action find
entity PandaX
relation country
type designation for an administrative territorial entity
['PandaX', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:PandaX property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q572559
P190
Q486972 Q13220204 Q56061
USER
How many human settlements are sister towns of less number of administrative country subdivisions or administrative territories than Spremberg ?
(c(Q13220204)|c(Q56061),P190,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q486972
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q572559
relation P190
type Q13220204
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?e rdf:type ?p } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { { ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q56061 } } . ?f property:P190 resource:Q572559 } } . FILTER ( ?i < ?r ) }
Spremberg
action count
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type human settlement
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spremberg
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?p } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { { ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:administrative_territorial_entity } } . ?f property:sister_city resource:Spremberg } } . FILTER ( ?i < ?r ) }
[]
human settlement second-level administrative country subdivision administrative territorial entity
SYSTEM
326
Q2394432 Q11977 Q104302 Q559374 Q517653 Q57916 Q594576 Q1997342 Q631346 Q889411 Q1685483 Q53206 Q55854 Q661283 Q14906336 Q278871 Q768691 Q259086 Q103085 Q1809708 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 Q254012 Q1885700 Q2066426 Q695375 Q1228438 Q580115 Q559841 Q244506 Q570684 Q1370233 Q100013 Q752107 Q3483898 Q1106961 Q738303 Q48321 Q882731 Q945391 Q51021 Q669901 Q2270558 Q264665 Q3171757 Q1141799 Q587155 Q95000 Q518275 Q818794 Q550434 Q1464902 Q354547 Q430449 Q566701 Q158006 Q661260 Q1552240 Q672511 Q1013119 Q506515 Q2523806 Q753891 Q649405 Q917605 Q61912 Q81760 Q106274 Q1774142 Q251065 Q1674838 Q131612 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 Q984257 Q1025108 Q701263 Q700397 Q158485 Q158488 Q2936966 Q183228 Q1297395 Q522651 Q494604 Q119603 Q336250 Q672717 Q1394400 Q363830 Q826545 Q280450 Q1620424 Q3981601 Q12552 Q502488 Q991571 Q199440 Q3141273 Q280588 Q1958327 Q179645 Q365081 Q660580 Q225909 Q1529244 Q2141722 Q206085 Q931780 Q624352 Q52892 Q46885 Q486341 Q1651865 Q1648853 Q2481404 Q631108 Q488346 Q292927 Q150039 Q661272 Q871601 Q1805232 Q3937847 Q163474 Q389363 Q273014 Q519134 Q73817 Q102350 Q509566 Q372402 Q682989 Q157480 Q255175 Q804268 Q1769929 Q16083 Q2114575 Q696909 Q769446 Q254107 Q105060 Q669995 Q1021277 Q660945 Q582942 Q1920378 Q851068 Q483522 Q255350 Q2447536 Q143140 Q1667843 Q608977 Q489806 Q253760 Q993904 Q26340 Q217234 Q1618464 Q127700 Q260089 Q632607 Q1326284 Q1921334 Q233903 Q700132 Q382791 Q895219 Q569248 Q507533 Q485294 Q665175 Q286004 Q492868 Q42595 Q505907 Q384817 Q232624 Q1237045 Q2734 Q489972 Q643600 Q2256995 Q308928 Q494504 Q259893 Q233495 Q2867610 Q168286 Q427385 Q518258 Q549731 Q487527 Q187572 Q261216 Q27998 Q971699 Q320858 Q303066 Q521851 Q572568 Q212713 Q571922 Q131429 Q2534964 Q461287 Q985092 Q671233 Q686386 Q491754 Q550175 Q1007302 Q252982 Q524894 Q436806 Q251325 Q951133 Q2391165 Q14835 Q564757 Q81220 Q695969 Q2039456 Q693724 Q275592 Q1021267 Q998438 Q660428 Q514179 Q2352357 Q259214 Q257130 Q698520 Q1552698 Q857943 Q472076 Q126321 Q231645 Q1418300 Q467191 Q871563 Q108679 Q324402 Q108672 Q189268 Q1528292 Q494283 Q661329 Q278189 Q681340 Q985734 Q1020031 Q542386 Q504513 Q5628 Q1114457 Q1021035 Q688620 Q250984 Q2013767 Q41974 Q698465
(c(Q13220204)|c(Q56061),P190,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q486972
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q572559
relation P190
type Q13220204
type Q56061
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?e rdf:type ?p } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { { ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q56061 } } . ?f property:P190 resource:Q572559 } } . FILTER ( ?i < ?r ) }
Tarnów Opolski Tychy Chorzów Uchte Illingen, Saarland Lengefeld Großauheim Pioppa Steinthaleben Bodega Bay Wilbich Zoppola Yapeyú, Corrientes Laa an der Thaya Bad Liebenstein Pozuzo Barañáin Bad Hall Crespina Trhová Kamenice 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 Peuerbach Mainz-Laubenheim Wierzchowo, Drawsko County Béjar Dischingen Leinefelde Ichtershausen Zwettl Pawłowiczki Wenigumstadt Brembilla Hainburg an der Donau Sillery, Quebec City Colognola Reynosa Gansheim Burglesum Wustweiler Suchy Las Mank Tapalpa Kitzbühel Aabybro Texcoco, State of Mexico Kolno, Warmian-Masurian Voivodeship Zola Predosa Wörlitz Berbisdorf Köflach Frille Adelebsen Gmunden Gieboldehausen Jaworzno Poysdorf Sueca Langenlois Mielno Röttingen Vietmannsdorf San Miguel de Allende Leubnitz Izabelin, Warsaw West County Wertheim am Main Wittichenau Legnica Klenčí pod Čerchovem Bad Aussee Istein Wiener Neustadt 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 Rychliki Cadenabbia Neudietendorf Wolkersdorf im Weinviertel Siemianowice Śląskie Piekary Śląskie Cap-Rouge, Quebec City Saalfelden Oehna Marktbreit Sankt Veit an der Glan Kilchberg Lienz Feldbach Porto Ercole Tempelhof Triebes Scheibbs Hirschfelde Tavernola San Felice Pineda de Mar Obercunnersdorf Niederschöna Mexicali Kobiór Seekirchen am Wallersee Mühlbach Shinjuku-ku Wińsko Gmünd Dingolfing Ludweiler Reinsdorf Zistersdorf Alzira Hollabrunn Leszno Mylau Kufstein Hörstein Finthen Ludwin Nerchau Bad Kissingen Óbuda Neuf-Brisach Fürstenfeld Friesach Langförden Riva Trigoso Mureck Grein Tampico Gerolzhofen Winschoten Bytom Plattling Castroville Luzino Ebersbach Eferding Bakałarzewo Enguera Deggendorf Przemęt, Greater Poland Voivodeship Arnoldsweiler Van Nuys Imst Sosnowiec Mautern an der Donau Ikast Straßburg Fladungen Mendocino Beuren Villach Pöchlarn Jala Freistadt Welschbach Friedberg Melk Neusiedl am See Orizaba Vils Ōta-ku Hildfeld Udanin Enns Dahlenburg Saint Ann Parish Teocaltiche Meguro-ku Radenthein Lewin Kłodzki Bourgfelden Všeruby Feldkirchen in Kärnten Leoben Kaliska, Gmina Kaliska Tordesillas Mürzzuschlag Magenta Dobrzeń Wielki San Vicente de la Barquera Arakawa-ku Grumbach Skierniewice Schwechat Gleisdorf Schwerborn Kreuzberg Bludenz Bruck an der Mur Shinagawa-ku Święta Katarzyna, Lower Silesian Voivodeship Zbrosławice Waidhofen an der Ybbs Gernrode 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 Oaxaca de Juárez Redford Ostrołęka Włoszakowice Gallneukirchen Stolberg Senftenberg Kirschau Damasławek Oberpullendorf San Cristóbal de las Casas Altenbrak Vöcklabruck Będzino Strawczyn Bautzen Sankt Goarshausen Goes Finsterbergen Izbica Długołęka Pińczów Dziemiany Stawiguda Mistelbach Sankt Andrä Stotternheim Rust Ansfelden Liezen Guamúchil 19th district of Budapest Popielów, Opole Voivodeship Eisenstadt Setagaya-ku Finowfurt Rewal Orth an der Donau Ruda Śląska Zehlendorf Dąbrowa Górnicza Zeltweg Steinach Stockerau Bruck an der Leitha Kleszczów, Łódź Voivodeship Ciudad Obregón Ostrówek, Wieluń County Hundested Hornburg Bad Brückenau Schmallenberg East Norriton Township Chmielno Kirchdorf an der Krems Bad Ischl Mitte Franeker Bad Radkersburg
326
action count
action less
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type human settlement
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spremberg
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?p } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { { ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:administrative_territorial_entity } } . ?f property:sister_city resource:Spremberg } } . FILTER ( ?i < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P530
Q1048835
USER
Who holds diplomatic relationship with People's Republic of China ?
(Q148,P530,c(Q1048835))
action filter_type
action find
entity Q148
relation P530
type Q1048835
['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q148 property:P530 ?h . ?h rdf:type ontology:Q1048835 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
(Q148,P530,c(Q1048835))
action filter_type
action find
entity Q148
relation P530
type Q1048835
[ANSWERS] hold diplomatic relationship with People's Republic of China
['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q148 property:P530 ?h . ?h rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany hold diplomatic relationship with People's Republic of China
Australia Germany
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of those political territories ?
(Q408,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?r property:P1313 ?c . ?c rdf:type ontology:Q12737077 . VALUES ( ?r ) { ( resource:Q408 ) ( resource:Q183 ) } }
Australia Germany
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?r property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation . VALUES ( ?r ) { ( resource:Australia ) ( resource:Germany ) } }
[]
occupation
Q319145 Q4970706
SYSTEM
Prime Minister of Australia, Federal Chancellor of Germany
Q319145 Q4970706
(Q408,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of those political territories
['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?r property:P1313 ?c . ?c rdf:type ontology:Q12737077 . VALUES ( ?r ) { ( resource:Q408 ) ( resource:Q183 ) } }
Prime Minister of Australia Federal Chancellor of Germany
Prime Minister of Australia and Federal Chancellor of Germany serve as the political office that are fulfilled by the head of the government of those political territories
Prime Minister of Australia Federal Chancellor of Germany
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?r property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation . VALUES ( ?r ) { ( resource:Australia ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q319145 Q4970706
P17
Q1048835
USER
Which political territories do Prime Minister of Australia and Federal Chancellor of Germany belong to ?
(Q319145,P17,c(Q1048835)) (Q4970706,P17,c(Q1048835))
action union
action filter_type
action find
entity Q319145
relation P17
type Q1048835
action filter_type
action find
entity Q4970706
relation P17
type Q1048835
['Q319145', 'P17', {'concept': 'Q1048835'}] ['Q4970706', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { resource:Q319145 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q4970706 property:P17 ?x . ?x rdf:type ontology:Q1048835 } }
Prime Minister of Australia Federal Chancellor of Germany
action union
action filter_type
action find
entity Prime Minister of Australia
relation country
type political territorial entity
action filter_type
action find
entity Federal Chancellor of Germany
relation country
type political territorial entity
['Prime Minister of Australia', 'country', {'concept': 'political territorial entity'}] ['Federal Chancellor of Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Prime_Minister_of_Australia property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Federal_Chancellor_of_Germany property:country ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
(Q319145,P17,c(Q1048835)) (Q4970706,P17,c(Q1048835))
action union
action filter_type
action find
entity Q319145
relation P17
type Q1048835
action filter_type
action find
entity Q4970706
relation P17
type Q1048835
To [ANSWERS] Prime Minister of Australia and Federal Chancellor of Germany belong to
['Q319145', 'P17', {'concept': 'Q1048835'}] ['Q4970706', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { resource:Q319145 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q4970706 property:P17 ?x . ?x rdf:type ontology:Q1048835 } }
Australia Germany
To Australia and Germany Prime Minister of Australia and Federal Chancellor of Germany belong to
Australia Germany
action union
action filter_type
action find
entity Prime Minister of Australia
relation country
type political territorial entity
action filter_type
action find
entity Federal Chancellor of Germany
relation country
type political territorial entity
['Prime Minister of Australia', 'country', {'concept': 'political territorial entity'}] ['Federal Chancellor of Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Prime_Minister_of_Australia property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Federal_Chancellor_of_Germany property:country ?x . ?x rdf:type ontology:political_territorial_entity } }
[]