Simple Question (Direct)
Simple Question
Q3768968
P27
Q7275
USER
Which state does Girolamo Pagliano belong to ?
(Q3768968,P27,c(Q7275))
action filter_type
action find
entity Q3768968
relation P27
type Q7275
['Q3768968', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q3768968 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Girolamo Pagliano
action filter_type
action find
entity Girolamo Pagliano
relation country of citizenship
type state
['Girolamo Pagliano', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Girolamo_Pagliano property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q3768968,P27,c(Q7275))
action filter_type
action find
entity Q3768968
relation P27
type Q7275
Girolamo Pagliano belongs to [ANSWER]
['Q3768968', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q3768968 property:P27 ?u . ?u rdf:type ontology:Q7275 }
Kingdom of Italy
Girolamo Pagliano belongs to Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity Girolamo Pagliano
relation country of citizenship
type state
['Girolamo Pagliano', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Girolamo_Pagliano property:country_of_citizenship ?u . ?u rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3768968
P21
Q290
USER
What is the sex of Girolamo Pagliano ?
(Q3768968,P21,c(Q290))
action filter_type
action find
entity Q3768968
relation P21
type Q290
['Q3768968', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3768968 property:P21 ?q . ?q rdf:type ontology:Q290 }
Girolamo Pagliano
action filter_type
action find
entity Girolamo Pagliano
relation gender
type sex
['Girolamo Pagliano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Girolamo_Pagliano property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3768968,P21,c(Q290))
action filter_type
action find
entity Q3768968
relation P21
type Q290
The sex of Girolamo Pagliano is the [ANSWER]
['Q3768968', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3768968 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Girolamo Pagliano is the male
male
action filter_type
action find
entity Girolamo Pagliano
relation gender
type sex
['Girolamo Pagliano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Girolamo_Pagliano property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3768968
P20
Q56061
USER
Where did the demise of Girolamo Pagliano occur ?
(Q3768968,P20,c(Q56061))
action filter_type
action find
entity Q3768968
relation P20
type Q56061
['Q3768968', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3768968 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Girolamo Pagliano
action filter_type
action find
entity Girolamo Pagliano
relation place of death
type administrative territorial entity
['Girolamo Pagliano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Girolamo_Pagliano property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q3768968,P20,c(Q56061))
action filter_type
action find
entity Q3768968
relation P20
type Q56061
The demise of Girolamo Pagliano occurred in [ANSWER]
['Q3768968', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3768968 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Florence
The demise of Girolamo Pagliano occurred in Florence
Florence
action filter_type
action find
entity Girolamo Pagliano
relation place of death
type administrative territorial entity
['Girolamo Pagliano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Girolamo_Pagliano property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2044
P138
Q34442
USER
Which roads come from that administrative territory ?
(c(Q34442),P138,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q2044']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q2044 . ?l rdf:type ontology:Q34442 }
Florence
action filter_type
action find_reverse
entity Florence
relation named after
type road
[{'concept': 'road'}, 'named after', 'Florence']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Florence . ?l rdf:type ontology:road }
[]
road
Q24414 Q3450727
SYSTEM
Florence Street, rue de Florence
Q24414 Q3450727
(c(Q34442),P138,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P138
type Q34442
[ANSWERS] come from that administrative territory
[{'concept': 'Q34442'}, 'P138', 'Q2044']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q2044 . ?l rdf:type ontology:Q34442 }
Florence Street rue de Florence
Florence Street and rue de Florence come from that administrative territory
Florence Street rue de Florence
action filter_type
action find_reverse
entity Florence
relation named after
type road
[{'concept': 'road'}, 'named after', 'Florence']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Florence . ?l rdf:type ontology:road }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q552872
P559
Q55488 Q34442
USER
Which railway stations are the endpoints for less number of roads than Berlin Frankfurter Allee station ?
(c(Q34442),P559,c(Q55488))
action less
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
action count
action filter_type
action find_reverse
entity Q552872
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P559 ?s . ?s rdf:type ontology:Q55488 . ?a rdf:type ontology:Q34442 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P559 resource:Q552872 . ?d rdf:type ontology:Q34442 } } . FILTER ( ?v < ?z ) }
Berlin Frankfurter Allee station
action less
action find_reverse_tuple_counts
relation terminus
type railway station
type road
action count
action filter_type
action find_reverse
entity Berlin Frankfurter Allee station
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:terminus ?s . ?s rdf:type ontology:railway_station . ?a rdf:type ontology:road } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:terminus resource:Berlin_Frankfurter_Allee_station . ?d rdf:type ontology:road } } . FILTER ( ?v < ?z ) }
[]
railway station road
Q801447 Q6456 Q2705508
SYSTEM
Shinjuku Station, Hamburg Central Station, Nuevos Ministerios Station
Q2114035 Q1320288 Q568297 Q1537246 Q2030147 Q54275 Q3241406 Q260986 Q3648856 Q5963828 Q16335322 Q390392 Q1969480 Q2518479 Q3289890 Q3947983 Q667797 Q934869 Q477185 Q682583 Q5945246 Q2427833 Q801447 Q2657073 Q2519375 Q2542458 Q2077029 Q1064150 Q1974935 Q2547644 Q15168 Q15169 Q1392037 Q2688592 Q15166 Q2370028 Q4865066 Q17469 Q2828748 Q838850 Q660024 Q262168 Q1992961 Q20416 Q2209314 Q1942383 Q2984111 Q2119789 Q2705508 Q960098 Q5619660 Q2565684 Q3799011 Q6123709 Q2338829 Q512341 Q733618 Q129342 Q1105305 Q2381248 Q15407739 Q3544569 Q5964096 Q15526614 Q1885858 Q1847502 Q1087575 Q2271776 Q4698956 Q1969873 Q43298 Q2313145 Q800624 Q1971134 Q1583223 Q2921538 Q2446456 Q2605805 Q3211840 Q2820829 Q996591 Q15529967 Q5063913 Q843947 Q718069 Q1039422 Q1085126 Q5625939 Q571039 Q2548980 Q2910749 Q654980 Q717274 Q2420839 Q800405 Q2049305 Q5603694 Q639716 Q838864 Q3034416 Q5925879 Q898095 Q2211128 Q16273 Q4698908 Q2152105 Q140277 Q4956341 Q15199514 Q5758111 Q1097 Q2270685 Q3360807 Q1811395 Q2904609 Q932858 Q7402753 Q2686184 Q1366330 Q415553 Q2258149 Q3464342 Q6124130 Q2566876 Q736018 Q1346764 Q259341 Q1810822 Q3032072 Q2164511 Q1586363 Q800907 Q2001751 Q1384273 Q1090894 Q1494179 Q800909 Q1857770 Q674350 Q656401 Q2549402 Q1208360 Q717017 Q5443432 Q1568756 Q15170 Q2000224 Q606164 Q838399 Q482935 Q2072583 Q135207 Q1344536 Q53000 Q1642454 Q2037690 Q11062024 Q2258101 Q1913884 Q667121 Q915581 Q2444858 Q2721373 Q1187596 Q2106644 Q2424515 Q523887 Q1087081 Q1728328 Q4055814 Q625028 Q6126826 Q5318333 Q801094 Q2284424 Q601484 Q2454808 Q2818719 Q625055 Q1418711 Q568224 Q682569 Q3094926 Q1087032 Q2329927 Q1089056 Q839586 Q180463 Q2403543 Q1088228 Q2172950 Q2106731 Q3077167 Q1039076 Q705415 Q173919 Q555492 Q3194854 Q3031699 Q54453 Q2369692 Q4235947 Q7365567 Q804647 Q497898 Q2995069 Q3827253 Q949884 Q5365402 Q847741 Q1586293 Q833533 Q5581810 Q2655164 Q2561831 Q510765 Q801562 Q6456 Q656090 Q2316625 Q1427150 Q2272692 Q1421962 Q800600 Q2106205 Q3356829 Q564926 Q1088305 Q2631124 Q613893 Q2027823 Q3441250 Q747555 Q895108 Q1039443 Q2061439 Q2085825 Q2536740 Q653775 Q2721969 Q8045264 Q1305849 Q5244852 Q801282 Q2947064 Q1863087 Q2449141 Q921800 Q1344555 Q4764353 Q1029092 Q705026 Q624503 Q7807772 Q679473 Q1783803 Q1967220 Q55423 Q1459245 Q448986 Q698497 Q1890537 Q3064844 Q838420 Q6427903 Q54261 Q1537255 Q8044432 Q887532 Q15244 Q2721114 Q801554 Q430991 Q10591971 Q5936795 Q8060066 Q2480338 Q1087026 Q2711640 Q2375864 Q2657040 Q676961 Q624047 Q833482 Q2697462 Q1088234 Q837626 Q4584392 Q2084603 Q668351 Q3212412 Q2140013 Q1652933 Q7408150 Q2374167 Q2372137 Q1813853 Q1757126 Q376589 Q2382515 Q3234043 Q2469715 Q585752 Q1088096 Q2053224 Q705127 Q1185683 Q3418560 Q1143934 Q270954 Q660045 Q15088440 Q6126288 Q1576928 Q937693 Q16335316 Q1783997 Q801185 Q1139323 Q801189 Q7294949 Q801210 Q2355557 Q3150918 Q1969462 Q841853 Q1087562 Q1588368 Q2902416 Q2720409 Q623583 Q1969904 Q3786852 Q5613728 Q3031716 Q14453731 Q1085066 Q3209200 Q2258190 Q935233 Q663945 Q1267664 Q706225 Q838783 Q568579 Q593257 Q550317 Q683544 Q1519529 Q724559 Q638928 Q299980 Q838763 Q55633 Q126023 Q946826 Q2626859 Q492223 Q3183147 Q3462466 Q1135973 Q743932 Q704872 Q2012339 Q3211386 Q2099187 Q662217 Q2258125 Q2291079 Q1673779 Q2569761 Q175212 Q2205581 Q5113294 Q2633546 Q1962305 Q2881451 Q2817469
(c(Q34442),P559,c(Q55488))
action less
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
action count
action filter_type
action find_reverse
entity Q552872
relation P559
type Q34442
[ANSWERS] are the endpoints for less number of roads than Berlin Frankfurter Allee station
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P559 ?s . ?s rdf:type ontology:Q55488 . ?a rdf:type ontology:Q34442 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P559 resource:Q552872 . ?d rdf:type ontology:Q34442 } } . FILTER ( ?v < ?z ) }
Disneyland Resort Station La Courneuve – 8 Mai 1945 Dempster–Skokie Place d'Italie J.F. Kennedy Gaehwa Station Linden Flinders Street railway station Varketili Jiaokou Station Salah Al Din Hiyoshi Station Porte de Clignancourt Vall d'Hebron Marché de Saint-Denis San Siro Stadio Valdecarros Gare de Vénissieux Berlin Brandenburger Tor station Nuremberg Central Station Huntington Station Maryina Roshcha Shinjuku Station Keleti pályaudvar Duomo Primorskaya Tiu Keng Leng Station Glenmont Station Stockel metro station Fondo Sheung Wan Station Lo Wu Station Opéra Basso Cambo Central Station Pyatnitskoye Shosse Yangsan Station Gangnam Station Airport Station AsiaWorld-Expo Station Rudow Alt-Mariendorf Malinauka Yongsan Station Ploshchad Marksa Brussels-West station Cologno Nord Park Kultury Nuevos Ministerios Station Kungsträdgården metro station Guogongzhuang Station Morris Park Berlin Innsbrucker Platz station Panyu Square Station Depo Hostivař Arènes Asnières – Gennevilliers – Les Courtilles Dresden Flughafen railway station Cockfosters tube station Novokosino Sickla Udde tram station Can Zam Wenchong Station Sergels Torg tram station Mairie d'Issy Stade de Gerland QT8 Mexikói út Airport South Station Saint-Denis – Porte de Paris Sindorim Station Paral·lel Charles de Gaulle – Étoile Mezhdunarodnaya metro station Pyeongdong Station Bougainville Mogilevskaya Aeropuerto T4 La Poterie Abbiategrasso Hung Hom Station Waldemarsudde tram station Nemocnice Motol Luohu Station LOHAS Park Station Sihui East Station Lotto Gåshaga Brygga tram station Nollendorfplatz Novoyasenevskaya Borderouge Berlin-Spandau station Puhŭng Station Cuatro Caminos Asakusa Station Perrache Greenbelt Station Kabaty metro station North Point Station Harlem/Lake (CTA station) Huangcun Station Songjiazhuang Station Station Square II Giheung Station Airport East Station Gessate La Défense Branch Avenue Station Bittsevsky Park (Moscow Metro) Higher Education Mega Center South Station Berlin Hauptbahnhof Mairie de Montrouge Palais-de-Justice Skarpnäck metro station Bisceglie Altufyevo Sakaemachi Station Cornellà Centre Rechnoy Vokzal Akalla metro station Sesto 1º Maggio Sainte-Marguerite Dromel Wanshengwei Station Komendantsky Prospekt Gotanda Station Vazha-Pshavela Hjulsta metro station Park Pobedy O'Hare Zayeltsovskaya Banseok Station Heathrow Terminal 5 station World Trade Center Kuntsevskaya Châtillon - Montrouge Gare d'Austerlitz Hennigsdorf station Moskovskaya Kőbánya-Kispest Ruhleben Planernaya Slussen metro station Red Star Station Fenghuang Xincun Station Hagsätra metro station Lok Ma Chau Station Norsborg metro station Porte des Lilas Tung Chung Station Sinpyeong Station Zona Universitària Kadoma-minami Station Porte Maillot Sinnonhyeon Station Hässelby strand metro station Ropsten metro station Guangzhou South Railway Station Cadorna Ploshchad Garina-Mikhaylovskogo Wiesbaden Central Station Gallieni Kamennaya Gorka Medvedkovo Bulvar Dmitriya Donskogo Tuen Mun Station Spasskaya Beijing West Railway Station San Leonardo Aleksandrovsky Sad Aviastroitelnaya Daegok Station Jinzhou Station Dworzec Wileński metro station Lergravsparken Station Gorg station Châtelet Parnas 95th/Dan Ryan Jangsan Station Nation Uhlandstraße Rostock Central Station Gambara Rho Fiera Kashirskaya Caiazzo Wu Kai Sha Station Itakano Station Alameda de Osuna Maciachini De Terp Chai Wan Station Forest Park Fujin Road Station Minam Station Ikebukuro Station Berlin Rathaus Steglitz station Kelenföld vasútállomás (Budapest Metro) Kimball South Station Buninskaya Alleya Kotelniki Rondo Daszyńskiego metro station Balard Incheon Station Constitución Las Rosas Imazato Station Ellingsrudåsen Tiantongyuan North Station Panam Station Flughafen Gongyixiqiao Station Háje Charpennes - Charles Hernu Porta Genova FS Vestamager Station Hamburg Central Station Alt-Tegel Devyatkino La Pau Jiahewanggang Station Berlin Hermannstraße station Büchen station Hong Kong Station Majorstuen Lübeck Central Station Zara Van Cortlandt Park – 242nd Street Hôtel de Ville - Louis Pradel Troparyovo Romolo Trinitat Nova Boulogne – Pont de Saint-Cloud Pingguoyuan Station Újpest-Központ Gare de Vaise Rybatskoye Berlin-Pankow station Prospekt Pobedy Xunfenggang Station Fukuzumi Station Retiro Nørreport Station Cesson-Viasilva Nakamozu Station Moncloa Pinar de Chamartín Pont de Neuilly Anheqiao North Station Vörösmarty tér Nopo Station Munyang Station Tin King Stop Xinzhuang Station Saint-Denis – Université Prospekt Veteranov Bonn Hauptbahnhof Porte Dauphine Alvik metro station Berlin Alexanderplatz station Argüelles Famagosta Yau Ma Tei Station Kolsås Gyeyang Station Louis Blanc Xilang Station Tøyen Tai Wai Station Shchyolkovskaya Vanløse Station Comasina Lufthavnen Station Suzhuang Station Yuancun Station Villaverde Alto Porta Garibaldi Ulitsa Dybenko Badalona Pompeu Fabra Déli pályaudvar Gorkovskaya Ansim Station Röthenbach Pitis San Donato Sunny Bay Station Sinsen Tengachaya Station Mairie de Montreuil La Rose - Technopôle de Château-Gombert La Sagrera-Meridiana station Alma-Atinskaya Sam Shing Stop Uzumasa Tenjingawa Station Zyablikovo Farsta strand metro station Uxbridge tube station Berlin Südkreuz Hospital de Bellvitge Shady Grove Station Akhmeteli Theatre Château de Vincennes Porta Romana Kupchino Anpyeong Station Front Populaire Ramonville Tenjimbashisuji Rokuchōme Station Åkeshov metro station Ostkreuz Mörby centrum metro station Tianhe Coach Terminal Station Porte de Vincennes Sondrio Creek Mairie d'Ivry Milano Cadorna railway station Bulvar Rokossovskogo Milano Rogoredo railway station Rashidiya Moorgate station South Ferry loops Inganni Pont de Levallois – Bécon Tuen Mun Ferry Pier Stop Molino Dorino Midway Bignami Kakhovskaya Nokdong Station Pont de Sèvres Hospital del Henares Guangzhou East Railway Station Howard Yuen Long Stop Sesto Marelli La Fourragère Cascina Gobba Pointe du Lac Krumme Lanke Villejuif - Louis Aragon Suyeong Station Tsuen Wan Station Casa de Campo Bobigny – Pablo Picasso Hönow Mairie des Lilas Saint-Lazare Siu Hong Stop Młociny metro station Örs vezér tere Po Lam Station Soyosan Station Nishi-Umeda Station Gambetta Zolotaya Niva Yeungnam University Station Jolimont Saint-Jacques-Gaîté Assago Milanofiori Forum Uruchcha Daejeo Station Eastchester – Dyre Avenue De Akkers Cuire Osloer Straße Centrale FS Burevestnik Olympiades Fruängen metro station Berlin-Wittenau station Letňany Christopher Street Vaulx-en-Velin - La Soie Zličín Balma – Gramont 54th/Cermak
Shinjuku Station, Hamburg Central Station and Nuevos Ministerios Station are the endpoints for less number of roads than Berlin Frankfurter Allee station
Shinjuku Station Hamburg Central Station Nuevos Ministerios Station
action less
action find_reverse_tuple_counts
relation terminus
type railway station
type road
action count
action filter_type
action find_reverse
entity Berlin Frankfurter Allee station
relation terminus
type road
[{'concept': 'road'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:terminus ?s . ?s rdf:type ontology:railway_station . ?a rdf:type ontology:road } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:terminus resource:Berlin_Frankfurter_Allee_station . ?d rdf:type ontology:road } } . FILTER ( ?v < ?z ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6456
P1435
Q2065736
USER
Which cultural property is the heritage status of that railway station ?
(Q6456,P1435,c(Q2065736))
action filter_type
action find
entity Q6456
relation P1435
type Q2065736
['Q6456', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?h WHERE { resource:Q6456 property:P1435 ?h . ?h rdf:type ontology:Q2065736 }
Hamburg Central Station
action filter_type
action find
entity Hamburg Central Station
relation heritage status
type cultural property
['Hamburg Central Station', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?h WHERE { resource:Hamburg_Central_Station property:heritage_status ?h . ?h rdf:type ontology:cultural_property }
[]
cultural property
Clarification for simple ques.
Q2705508
SYSTEM
Did you mean Nuevos Ministerios Station ?
Q801447 Q6456 Q2705508
(Q801447,P1435,c(Q2065736)) (Q6456,P1435,c(Q2065736)) (Q2705508,P1435,c(Q2065736))
[ANSWER]
['Q801447', 'P1435', {'concept': 'Q2065736'}] ['Q6456', 'P1435', {'concept': 'Q2065736'}] ['Q2705508', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?h WHERE { resource:Q6456 property:P1435 ?h . ?h rdf:type ontology:Q2065736 }
Shinjuku Station Hamburg Central Station Nuevos Ministerios Station
Did you mean Nuevos Ministerios Station ?
Nuevos Ministerios Station
['Shinjuku Station', 'heritage status', {'concept': 'cultural property'}] ['Hamburg Central Station', 'heritage status', {'concept': 'cultural property'}] ['Nuevos Ministerios Station', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?h WHERE { resource:Hamburg_Central_Station property:heritage_status ?h . ?h rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
USER
No, I meant Hamburg Central Station. Could you tell me the answer for that?
(Q6456,P1435,c(Q2065736))
Q6456
['Q6456', 'P1435', {'concept': 'Q2065736'}]
['Hamburg Central Station', 'heritage status', {'concept': 'cultural property'}]
[]
Q11691318
SYSTEM
Kulturdenkmal
Q11691318
(Q6456,P1435,c(Q2065736))
action filter_type
action find
entity Q6456
relation P1435
type Q2065736
[ANSWER] is the heritage status of that railway station
['Q6456', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?h WHERE { resource:Q6456 property:P1435 ?h . ?h rdf:type ontology:Q2065736 }
Kulturdenkmal
Kulturdenkmal is the heritage status of that railway station
Kulturdenkmal
action filter_type
action find
entity Hamburg Central Station
relation heritage status
type cultural property
['Hamburg Central Station', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?h WHERE { resource:Hamburg_Central_Station property:heritage_status ?h . ?h rdf:type ontology:cultural_property }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16335322
P559
Q55488 Q44377 Q728937
USER
Which railway stations are a terminus for more number of tunnels and railroad lines than Salah Al Din ?
(c(Q44377)|c(Q728937),P559,c(Q55488))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q16335322
relation P559
type Q44377
type Q728937
[[{'concept': 'Q44377'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?g ) WHERE { { ?f rdf:type ontology:Q55488 . ?o rdf:type ontology:Q44377 . ?o property:P559 ?f } UNION { ?o property:P559 ?f . ?f rdf:type ontology:Q55488 . ?o rdf:type ontology:Q728937 } } GROUP BY ?f } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P559 resource:Q16335322 . { { ?e rdf:type ontology:Q728937 } UNION { ?e rdf:type ontology:Q44377 } } } } }
Salah Al Din
action greater
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action count
action filter_multi_types
action find_reverse
entity Salah Al Din
relation terminus
type tunnel
type railroad line
[[{'concept': 'tunnel'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?g ) WHERE { { ?f rdf:type ontology:railway_station . ?o rdf:type ontology:tunnel . ?o property:terminus ?f } UNION { ?o property:terminus ?f . ?f rdf:type ontology:railway_station . ?o rdf:type ontology:railroad_line } } GROUP BY ?f } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:terminus resource:Salah_Al_Din . { { ?e rdf:type ontology:railroad_line } UNION { ?e rdf:type ontology:tunnel } } } } }
[]
railway station tunnel railroad line
Q1418711 Q2140013 Q571039
SYSTEM
Nation, La Sagrera-Meridiana station, Nollendorfplatz
Q960098 Q733618 Q571039 Q1811395 Q415553 Q259341 Q1568756 Q2000224 Q1642454 Q2037690 Q11062024 Q1418711 Q5365402 Q2272692 Q3356829 Q564926 Q747555 Q921800 Q448986 Q887532 Q1087026 Q2140013 Q1813853 Q15088440 Q841853 Q3031716 Q2258125 Q2569761
(c(Q44377)|c(Q728937),P559,c(Q55488))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q16335322
relation P559
type Q44377
type Q728937
[ANSWERS] are a terminus for more number of tunnels and railroad lines than Salah Al Din
[[{'concept': 'Q44377'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?g ) WHERE { { ?f rdf:type ontology:Q55488 . ?o rdf:type ontology:Q44377 . ?o property:P559 ?f } UNION { ?o property:P559 ?f . ?f rdf:type ontology:Q55488 . ?o rdf:type ontology:Q728937 } } GROUP BY ?f } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P559 resource:Q16335322 . { { ?e rdf:type ontology:Q728937 } UNION { ?e rdf:type ontology:Q44377 } } } } }
Kungsträdgården metro station Asnières – Gennevilliers – Les Courtilles Nollendorfplatz Skarpnäck metro station Akalla metro station Hjulsta metro station Hagsätra metro station Norsborg metro station Hässelby strand metro station Ropsten metro station Guangzhou South Railway Station Nation Ellingsrudåsen Jiahewanggang Station Majorstuen Lübeck Central Station Trinitat Nova Pinar de Chamartín Alvik metro station Tøyen Porta Garibaldi La Sagrera-Meridiana station Farsta strand metro station Mörby centrum metro station Tuen Mun Ferry Pier Stop Howard Centrale FS Fruängen metro station
Nation, La Sagrera-Meridiana station and Nollendorfplatz are a terminus for more number of tunnels and railroad lines than Salah Al Din
Nation La Sagrera-Meridiana station Nollendorfplatz
action greater
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action count
action filter_multi_types
action find_reverse
entity Salah Al Din
relation terminus
type tunnel
type railroad line
[[{'concept': 'tunnel'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?g ) WHERE { { ?f rdf:type ontology:railway_station . ?o rdf:type ontology:tunnel . ?o property:terminus ?f } UNION { ?o property:terminus ?f . ?f rdf:type ontology:railway_station . ?o rdf:type ontology:railroad_line } } GROUP BY ?f } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:terminus resource:Salah_Al_Din . { { ?e rdf:type ontology:railroad_line } UNION { ?e rdf:type ontology:tunnel } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P559
Q55488 Q83620 Q34442
USER
How many railway stations are the endpoints for lesser number of thoroughfares or roads than that railway station ?
(c(Q83620)|c(Q34442),P559,c(Q55488))
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:Q20202072 ?y } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q55488 . ?x rdf:type ontology:Q34442 }
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:terminus ?y } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:railway_station . ?x rdf:type ontology:road }
[]
railway station thoroughfare road
Comparative|Count over More/Less|Mult. entity type|Clarification
Q571039
SYSTEM
Did you mean Nollendorfplatz ?
(c(Q83620)|c(Q34442),P559,c(Q55488))
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:Q20202072 ?y } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q55488 . ?x rdf:type ontology:Q34442 }
Did you mean Nollendorfplatz ?
Nollendorfplatz
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:terminus ?y } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:railway_station . ?x rdf:type ontology:road }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q83620)|c(Q34442),P559,c(Q55488))
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
[]
SYSTEM
0
(c(Q83620)|c(Q34442),P559,c(Q55488))
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q20202072 ?y } UNION { ?x property:Q20202072 ?y } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q55488 . ?x rdf:type ontology:Q34442 }
0
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:terminus ?y } UNION { ?x property:terminus ?y } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:railway_station . ?x rdf:type ontology:road }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1643555 Q172579
P36
Q56061
USER
Which administrative territories are called the capital of Kingdom of Italy or British Honduras ?
OR((Q172579,P36,c(Q56061)), (Q1643555,P36,c(Q56061)))
action filter_type
action union
action find
entity Q172579
relation P36
action find
entity Q1643555
relation P36
type Q56061
{'OR': [['Q172579', 'P36', {'concept': 'Q56061'}], ['Q1643555', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?z ) { ( resource:Q172579 ) ( resource:Q1643555 ) } . ?z property:P36 ?v } . ?v rdf:type ontology:Q56061 }
British Honduras Kingdom of Italy
action filter_type
action union
action find
entity Kingdom of Italy
relation capital
action find
entity British Honduras
relation capital
type administrative territorial entity
{'OR': [['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}], ['British Honduras', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?z ) { ( resource:Kingdom_of_Italy ) ( resource:British_Honduras ) } . ?z property:capital ?v } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3043 Q2044 Q495 Q108223 Q220
SYSTEM
Belmopan, Florence, Turin, Belize City, Rome
Q3043 Q2044 Q495 Q108223 Q220
OR((Q172579,P36,c(Q56061)), (Q1643555,P36,c(Q56061)))
action filter_type
action union
action find
entity Q172579
relation P36
action find
entity Q1643555
relation P36
type Q56061
[ANSWERS] are called the capital of Kingdom of Italy or British Honduras
{'OR': [['Q172579', 'P36', {'concept': 'Q56061'}], ['Q1643555', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?z ) { ( resource:Q172579 ) ( resource:Q1643555 ) } . ?z property:P36 ?v } . ?v rdf:type ontology:Q56061 }
Belmopan Florence Turin Belize City Rome
Belmopan, Florence, Turin, Belize City and Rome are called the capital of Kingdom of Italy or British Honduras
Belmopan Florence Turin Belize City Rome
action filter_type
action union
action find
entity Kingdom of Italy
relation capital
action find
entity British Honduras
relation capital
type administrative territorial entity
{'OR': [['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}], ['British Honduras', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?z ) { ( resource:Kingdom_of_Italy ) ( resource:British_Honduras ) } . ?z property:capital ?v } . ?v rdf:type ontology:administrative_territorial_entity }
[]