Simple Question (Direct)
Simple Question
Q2597956
P81
Q728937
USER
What serves as the connecting lines for Mar de Cristal ?
(Q2597956,P81,c(Q728937))
action filter_type
action find
entity Q2597956
relation P81
type Q728937
['Q2597956', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q2597956 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Mar de Cristal
action filter_type
action find
entity Mar de Cristal
relation connecting line
type railroad line
['Mar de Cristal', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Mar_de_Cristal property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]
railroad line
Q1475527 Q1826677
SYSTEM
Madrid Metro Line 8, Line 4
Q1475527 Q1826677
(Q2597956,P81,c(Q728937))
action filter_type
action find
entity Q2597956
relation P81
type Q728937
[ANSWERS] serve as the connecting lines for Mar de Cristal
['Q2597956', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q2597956 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Madrid Metro Line 8 Line 4
Madrid Metro Line 8 and Line 4 serve as the connecting lines for Mar de Cristal
Madrid Metro Line 8 Line 4
action filter_type
action find
entity Mar de Cristal
relation connecting line
type railroad line
['Mar de Cristal', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Mar_de_Cristal property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1475527 Q1826677
P559
Q55488
USER
Which railway stations serve as the endpoint for Madrid Metro Line 8 and Line 4 ?
(Q1475527,P559,c(Q55488)) (Q1826677,P559,c(Q55488))
action union
action filter_type
action find
entity Q1475527
relation P559
type Q55488
action filter_type
action find
entity Q1826677
relation P559
type Q55488
['Q1475527', 'P559', {'concept': 'Q55488'}] ['Q1826677', 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?s WHERE { { resource:Q1475527 property:P559 ?s . ?s rdf:type ontology:Q55488 } UNION { resource:Q1826677 property:P559 ?s . ?s rdf:type ontology:Q55488 } }
Madrid Metro Line 8 Line 4
action union
action filter_type
action find
entity Madrid Metro Line 8
relation terminus
type railway station
action filter_type
action find
entity Line 4
relation terminus
type railway station
['Madrid Metro Line 8', 'terminus', {'concept': 'railway station'}] ['Line 4', 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?s WHERE { { resource:Madrid_Metro_Line_8 property:terminus ?s . ?s rdf:type ontology:railway_station } UNION { resource:Line_4 property:terminus ?s . ?s rdf:type ontology:railway_station } }
[]
railway station
Q2705508 Q1890537 Q921800
SYSTEM
Nuevos Ministerios Station, Argüelles, Pinar de Chamartín
Q2605805 Q2705508 Q921800 Q1890537
(Q1475527,P559,c(Q55488)) (Q1826677,P559,c(Q55488))
action union
action filter_type
action find
entity Q1475527
relation P559
type Q55488
action filter_type
action find
entity Q1826677
relation P559
type Q55488
Station [ANSWERS] serve as the endpoint for Madrid Metro Line 8 and Line 4
['Q1475527', 'P559', {'concept': 'Q55488'}] ['Q1826677', 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?s WHERE { { resource:Q1475527 property:P559 ?s . ?s rdf:type ontology:Q55488 } UNION { resource:Q1826677 property:P559 ?s . ?s rdf:type ontology:Q55488 } }
Aeropuerto T4 Nuevos Ministerios Station Pinar de Chamartín Argüelles
Station Nuevos Ministerios Station, Argüelles and Pinar de Chamartín serve as the endpoint for Madrid Metro Line 8 and Line 4
Nuevos Ministerios Station Argüelles Pinar de Chamartín
action union
action filter_type
action find
entity Madrid Metro Line 8
relation terminus
type railway station
action filter_type
action find
entity Line 4
relation terminus
type railway station
['Madrid Metro Line 8', 'terminus', {'concept': 'railway station'}] ['Line 4', 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?s WHERE { { resource:Madrid_Metro_Line_8 property:terminus ?s . ?s rdf:type ontology:railway_station } UNION { resource:Line_4 property:terminus ?s . ?s rdf:type ontology:railway_station } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2705508
P197
Q55488
USER
Which railway stations are in the neighbouhood of that one ?
(c(Q55488),P197,Q2705508)
action filter_type
action find
entity Q2705508
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q2705508']
SELECT DISTINCT ?d WHERE { resource:Q2705508 property:P197 ?d . ?d rdf:type ontology:Q55488 }
Nuevos Ministerios Station
action filter_type
action find
entity Nuevos Ministerios Station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Nuevos Ministerios Station']
SELECT DISTINCT ?d WHERE { resource:Nuevos_Ministerios_Station property:adjacent_station ?d . ?d rdf:type ontology:railway_station }
[]
railway station
Clarification for simple ques.
Q1890537
SYSTEM
Did you mean Argüelles ?
Q2705508 Q1890537 Q921800
(c(Q55488),P197,Q2705508) (c(Q55488),P197,Q1890537) (c(Q55488),P197,Q921800)
[ANSWER]
[{'concept': 'Q55488'}, 'P197', 'Q2705508'] [{'concept': 'Q55488'}, 'P197', 'Q1890537'] [{'concept': 'Q55488'}, 'P197', 'Q921800']
SELECT DISTINCT ?d WHERE { resource:Q2705508 property:P197 ?d . ?d rdf:type ontology:Q55488 }
Nuevos Ministerios Station Argüelles Pinar de Chamartín
Did you mean Argüelles ?
Argüelles
[{'concept': 'railway station'}, 'adjacent station', 'Nuevos Ministerios Station'] [{'concept': 'railway station'}, 'adjacent station', 'Argüelles'] [{'concept': 'railway station'}, 'adjacent station', 'Pinar de Chamartín']
SELECT DISTINCT ?d WHERE { resource:Nuevos_Ministerios_Station property:adjacent_station ?d . ?d rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
USER
No, I meant Nuevos Ministerios Station. Could you tell me the answer for that?
(c(Q55488),P197,Q2705508)
Q2705508
[{'concept': 'Q55488'}, 'P197', 'Q2705508']
[{'concept': 'railway station'}, 'adjacent station', 'Nuevos Ministerios Station']
[]
Q1766008 Q2420839 Q23081
SYSTEM
Sol, Cuatro Caminos, Madrid Chamartín station
Q2420839 Q2704346 Q2056442 Q2479342 Q2462831 Q1766008 Q23081
(c(Q55488),P197,Q2705508)
action filter_type
action find
entity Q2705508
relation P197
type Q55488
[ANSWERS] are in the neighbouhood of that one
[{'concept': 'Q55488'}, 'P197', 'Q2705508']
SELECT DISTINCT ?d WHERE { resource:Q2705508 property:P197 ?d . ?d rdf:type ontology:Q55488 }
Cuatro Caminos Santiago Bernabéu Gregorio Marañón República Argentina Colombia Sol Madrid Chamartín station
Sol, Cuatro Caminos and Madrid Chamartín station are in the neighbouhood of that one
Sol Cuatro Caminos Madrid Chamartín station
action filter_type
action find
entity Nuevos Ministerios Station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Nuevos Ministerios Station']
SELECT DISTINCT ?d WHERE { resource:Nuevos_Ministerios_Station property:adjacent_station ?d . ?d rdf:type ontology:railway_station }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1192
Q334166 Q55488
USER
How many railway stations have more number of modes of transport as connecting station than that railway station ?
(c(Q55488),P1192,c(Q334166))
[{'concept': 'Q55488'}, 'P1192', {'concept': 'Q334166'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1192 ?y . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 }
[{'concept': 'railway station'}, 'connecting service', {'concept': 'mode of transport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:connecting_service ?y . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport }
[]
mode of transport railway station
Comparative|Count over More/Less|Single entity type|Clarification
Q23081
SYSTEM
Did you mean Madrid Chamartín station ?
(c(Q55488),P1192,c(Q334166))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', {'concept': 'Q334166'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1192 ?y . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 }
Did you mean Madrid Chamartín station ?
Madrid Chamartín station
[{'concept': 'railway station'}, 'connecting service', {'concept': 'mode of transport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:connecting_service ?y . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Cuatro Caminos. Could you tell me the answer for that?
(c(Q55488),P1192,c(Q334166))
Q2420839
[{'concept': 'Q55488'}, 'P1192', {'concept': 'Q334166'}]
[{'concept': 'railway station'}, 'connecting service', {'concept': 'mode of transport'}]
[]
SYSTEM
1
Q23081
(c(Q55488),P1192,c(Q334166))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', {'concept': 'Q334166'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1192 ?y . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 }
Madrid Chamartín station
1
[{'concept': 'railway station'}, 'connecting service', {'concept': 'mode of transport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:connecting_service ?y . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P137
Q874405 Q4830453 Q55488
USER
How many railway stations were managed by exactly 1 social groups and business enterprises ?
(c(Q55488),P137,c(Q874405)|c(Q4830453))
action count
action equal
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q4830453
value 1
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } } GROUP BY ?t } . FILTER ( ?c = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type business enterprise
value 1
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:social_group ) ( ontology:business_enterprise ) } } GROUP BY ?t } . FILTER ( ?c = 1 ) }
[]
social group business enterprise railway station
SYSTEM
209
Q2114035 Q3232735 Q7504746 Q839682 Q3352537 Q841864 Q1013786 Q4121065 Q801447 Q636845 Q7005193 Q1669337 Q2077029 Q15168 Q15169 Q15166 Q15167 Q17469 Q2828748 Q838855 Q838850 Q839709 Q8421340 Q838458 Q322534 Q7820923 Q79979 Q3078950 Q79977 Q5942631 Q2106479 Q2106571 Q838377 Q996744 Q5088013 Q838399 Q7807829 Q7807823 Q7807825 Q996591 Q7567503 Q718069 Q7487830 Q15304770 Q4818984 Q7415345 Q15170 Q8423616 Q996696 Q2076934 Q5647825 Q855454 Q7852983 Q838864 Q5677322 Q7807751 Q7532204 Q5544906 Q7416357 Q3352542 Q15811 Q724112 Q7195690 Q4027195 Q7493209 Q839625 Q837601 Q5105592 Q5116720 Q6456 Q1669429 Q838422 Q838420 Q5116344 Q838820 Q838827 Q7076043 Q846573 Q846577 Q2781864 Q6480700 Q5420225 Q800953 Q996472 Q2106644 Q8423437 Q7414281 Q6519035 Q2106561 Q724102 Q839665 Q838431 Q4689020 Q6534579 Q800947 Q7807830 Q7807766 Q7807813 Q839614 Q839586 Q839589 Q7487828 Q846595 Q855333 Q7415396 Q837691 Q838876 Q839720 Q839727 Q841849 Q5116291 Q5100990 Q6720831 Q7811004 Q5877453 Q14454186 Q724107 Q590162 Q855708 Q7022174 Q2106205 Q996480 Q844004 Q7243366 Q8427262 Q985591 Q6666177 Q7675762 Q7675767 Q838774 Q5509154 Q839655 Q464355 Q8423208 Q846545 Q846541 Q2051422 Q840165 Q7408150 Q8031972 Q5447235 Q996466 Q8424646 Q631094 Q7807772 Q838443 Q7675847 Q6389697 Q839699 Q839697 Q839693 Q8425201 Q839690 Q2076558 Q15242 Q15244 Q838792 Q8421568 Q839606 Q839600 Q839594 Q847684 Q837626 Q996447 Q855273 Q6383532 Q838777 Q7307059 Q996781 Q838842 Q838845 Q4666989 Q7829927 Q1967063 Q6410316 Q2506054 Q996814 Q7959699 Q6420566 Q1669492 Q838389 Q12054427 Q841853 Q1193902 Q839644 Q14453731 Q7807797 Q2382084 Q4681193 Q7680759 Q838783 Q6347506 Q724559 Q855260 Q838763 Q842071 Q838803 Q6864656 Q846558 Q8423586 Q841883 Q5197832 Q996459 Q7990601 Q1669511 Q1669452 Q3082875 Q836322 Q2106731
(c(Q55488),P137,c(Q874405)|c(Q4830453))
action count
action equal
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q4830453
value 1
[ANSWER]
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q4830453 ) } } GROUP BY ?t } . FILTER ( ?c = 1 ) }
Disneyland Resort Station Plaza de Mayo Shui Pin Wai Stop Fortress Hill Station Perú Racecourse Station Mong Kok Station Ngan Wai Stop Shinjuku Station Nishi-Nippori Station New Addington tram stop Sheung Shui Station Tiu Keng Leng Station Sheung Wan Station Lo Wu Station Central Station Admiralty Station Gangnam Station Airport Station Hang Hau Station AsiaWorld-Expo Station Shau Kei Wan Station Pui To Stop Lok Fu Station Altenbeken station Tong Fong Tsuen Stop Jongno 5-ga Station Herzogenrath-Alt-Merkstein station Jongno 3-ga Station Hung Shui Kiu Station Kowloon Station Sai Ying Pun Station Wong Tai Sin Station Tsim Sha Tsui Station Chau Tau Station Tung Chung Station Tin Yiu Stop Tin Wu Stop Tin Yat Stop Hung Hom Station South Horizons Station LOHAS Park Station Shan King (South) Stop Tung Chung East Station Au Tau Station San Tin Station Lok Ma Chau Station Ho Tin Stop Kowloon Tong Station Kwun Tong Station Hang Mei Tsuen Stop Tin Sau Stop Tung Chung West Station North Point Station Kin On Stop Tin Fu Stop Siu Lun Stop George Street tram stop Sandilands tram stop Piedras Wan Chai Station Siu Hei Stop Ping Shan Stop Chestwood Stop Shek Pai Stop Che Kung Temple Station Kam Sheung Road Station Choy Yee Bridge Stop Church Street tram stop Hamburg Central Station Fo Tan Station Tsing Yi Station Yau Ma Tei Station Chung Uk Tsuen Stop Tseung Kwan O Station HKU Station Ocean Park Station Tsing Wun Stop Ginza Stop Alsdorf-Busch station Lam Tei Stop Exhibition Station Iidabashi Station East Tsim Sha Tsui Station Tuen Mun Station Science Park Station San Hui Stop Lei Tung Station Causeway Bay Station Tuen Mun Swimming Pool Stop Heng Fa Chuen Station Lam Tin Station Affluence Stop Leung King Stop Ichigaya Station Tin Yuet Stop Tin Heng Stop Tin Tsz Stop Yau Tong Station Wu Kai Sha Station Tai Shui Hang Station Shan King (North) Stop Lung Mun Stop Butterfly Stop San Wai Stop Choi Hung Station Austin Station Lai King Station Kwai Hing Station Heng On Station Chung Fu Stop Ching Chung Stop Ma Tau Wai Station To Kwa Wan Station Hoh Fuk Tong Stop Tuen Mun Stop Goodview Garden Stop Yoyogi Station Tin Shui Wai Stop Ngau Tam Mei Station Hong Kong Station University Station On Ting Stop Prime View Stop Hung Shui Kiu Stop Kwu Tung Station Locwood Stop Tai Hing (North) Stop Tai Hing (South) Stop Tai Koo Station Fung Nin Road Stop Lai Chi Kok Station Osnabrück Central Station Hong Lok Road Stop Tsing Shan Tsuen Stop Yau Oi Stop Alsdorf Poststraße station Long Ping Station Sam Shing Stop Wong Chuk Hang Station Fieldway tram stop Tai Wo Station Tin Wing Stop Bremen main station Tin King Stop Shek Kip Mei Station Tai Tong Road Stop Kennedy Town Station Shek Mun Station Tai Wo Hau Station Ma On Shan Station Hin Keng Station Ngau Tau Kok Station Olympic Station Sha Tin Station Tai Wai Station Cheung Sha Wan Station Nai Wai Stop Kowloon Bay Station Tin Hau Station City One Station Light Rail Depot Stop Sunny Bay Station Mei Foo Station Melody Garden Stop Kei Lun Stop Sai Wan Ho Station Reeves Corner tram stop Tai Po Market Station Sham Shui Po Station Quarry Bay Station Aberdeen Station Town Centre Stop Herzogenrath August-Schmidt-Platz station Kin Sang Stop Alsdorf-Mariadorf station Siu Hong Station Wah Fu Station Tuen Mun South Extension Prince Edward Station Jordan Station Causeway Bay North Station Tuen Mun Ferry Pier Stop Fung Tei Stop Sha Tin Wai Station Yuen Long Stop Tin Shui Stop Alsdorf-Kellersberg station Addington Village tram stop Tamar Station Tsuen Wan Station Kai Tak Station Siu Hong Stop Wetland Park Stop Po Lam Station Yuen Long Station Kwai Fong Station Ming Kum Stop Tuen Mun Hospital Stop Ho Man Tin Station Tsuen Wan West Station Cyberport Station Fanling Station Whampoa Station Diamond Hill Station Mong Kok East Station Nam Cheong Station Tin Shui Wai Station Chai Wan Station
209
action count
action equal
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type business enterprise
value 1
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?c ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:social_group ) ( ontology:business_enterprise ) } } GROUP BY ?t } . FILTER ( ?c = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q50749
P559
Q55488 Q728937
USER
How many railroad lines have lesser number of railway stations as terminus than Paris Métro Line 7bis ?
(c(Q728937),P559,c(Q55488))
action count
action less
action find_tuple_counts
relation P559
type Q728937
type Q55488
action count
action filter_type
action find
entity Q50749
relation P559
type Q55488
[{'concept': 'Q728937'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { ?e property:P559 ?i . ?e rdf:type ontology:Q728937 . ?i rdf:type ontology:Q55488 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q50749 property:P559 ?j . ?j rdf:type ontology:Q55488 } } . FILTER ( ?a < ?v ) }
Paris Métro Line 7bis
action count
action less
action find_tuple_counts
relation terminus
type railroad line
type railway station
action count
action filter_type
action find
entity Paris Métro Line 7bis
relation terminus
type railway station
[{'concept': 'railroad line'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { ?e property:terminus ?i . ?e rdf:type ontology:railroad_line . ?i rdf:type ontology:railway_station } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Paris_Métro_Line_7bis property:terminus ?j . ?j rdf:type ontology:railway_station } } . FILTER ( ?a < ?v ) }
[]
railway station railroad line
SYSTEM
36
Q92549 Q10921992 Q6956302 Q943476 Q1073354 Q2420695 Q841360 Q1826681 Q6720518 Q5324790 Q7395342 Q16948 Q4226438 Q2211906 Q3238913 Q1087561 Q16981005 Q92530 Q22910 Q6342899 Q1771110 Q843793 Q802691 Q6109356 Q489253 Q1137818 Q3136247 Q10946020 Q10946021 Q16266 Q876774 Q981826 Q538216 Q12054219 Q1755582 Q5963161
(c(Q728937),P559,c(Q55488))
action count
action less
action find_tuple_counts
relation P559
type Q728937
type Q55488
action count
action filter_type
action find
entity Q50749
relation P559
type Q55488
[ANSWER]
[{'concept': 'Q728937'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { ?e property:P559 ?i . ?e rdf:type ontology:Q728937 . ?i rdf:type ontology:Q55488 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q50749 property:P559 ?j . ?j rdf:type ontology:Q55488 } } . FILTER ( ?a < ?v ) }
Seoul Subway Line 6 Line 1, Harbin Metro N Judah Milan Metro Line 4 Sennichimae Line Île-de-France tramway Line 3a Blue Line (Yokohama) Île-de-France tramway Line 4 M Ocean View E Embarcadero S Castro Shuttle Suin Line Kozhukhovskaya Line Mulhouse tram line 1 Nantes Tramway Line 3 LGV Rhin-Rhône L Taraval Seoul Subway Line 5 Seoul Subway Line 7 K Ingleside Île-de-France tramway Line 2 Namboku Line Ludwigslust–Wismar railway J Church Seoul Subway Line 4 F Market & Wharves Île-de-France tramway Line 3b Line 1 Line 2, Ningbo Rail Transit Bundang Line Erfurt–Leipzig/Halle high-speed railway Tōzai Line Angermünde–Stralsund railway Capital Line T Third Street Line 1, Wuhan Metro
36
action count
action less
action find_tuple_counts
relation terminus
type railroad line
type railway station
action count
action filter_type
action find
entity Paris Métro Line 7bis
relation terminus
type railway station
[{'concept': 'railroad line'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { ?e property:terminus ?i . ?e rdf:type ontology:railroad_line . ?i rdf:type ontology:railway_station } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Paris_Métro_Line_7bis property:terminus ?j . ?j rdf:type ontology:railway_station } } . FILTER ( ?a < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q304264
P559
Q55488 Q728937
USER
And also tell me about Line 4?
(c(Q728937),P559,c(Q55488))
action count
action less
action find_tuple_counts
relation P559
type Q728937
type Q55488
action count
action filter_type
action find
entity Q304264
relation P559
type Q55488
[{'concept': 'Q728937'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?b property:P559 ?z . ?b rdf:type ontology:Q728937 . ?z rdf:type ontology:Q55488 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q304264 property:P559 ?y . ?y rdf:type ontology:Q55488 } } . FILTER ( ?i < ?n ) }
Line 4
action count
action less
action find_tuple_counts
relation terminus
type railroad line
type railway station
action count
action filter_type
action find
entity Line 4
relation terminus
type railway station
[{'concept': 'railroad line'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?b property:terminus ?z . ?b rdf:type ontology:railroad_line . ?z rdf:type ontology:railway_station } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Line_4 property:terminus ?y . ?y rdf:type ontology:railway_station } } . FILTER ( ?i < ?n ) }
[]
railway station railroad line
SYSTEM
69
Q4540803 Q17501 Q92549 Q3180068 Q99725 Q3238968 Q10921992 Q1771722 Q6956302 Q1460442 Q802719 Q943476 Q1073354 Q3176204 Q4593853 Q2420695 Q910329 Q841360 Q1826681 Q6720518 Q6711417 Q5324790 Q3112936 Q7395342 Q16948 Q4226438 Q6553140 Q2211906 Q3238913 Q1087561 Q4590787 Q1369034 Q16981005 Q92530 Q1419762 Q22910 Q3239029 Q6553073 Q6342899 Q587171 Q1771110 Q843793 Q801885 Q6553110 Q3112661 Q802691 Q3112074 Q99691 Q6109356 Q5610422 Q50749 Q489253 Q1137818 Q3136247 Q487733 Q10946020 Q10946021 Q4710841 Q16266 Q1143898 Q876774 Q981826 Q369969 Q538216 Q12054219 Q15731043 Q1755582 Q5963161 Q6515675
(c(Q728937),P559,c(Q55488))
action count
action less
action find_tuple_counts
relation P559
type Q728937
type Q55488
action count
action filter_type
action find
entity Q304264
relation P559
type Q55488
[ANSWER]
[{'concept': 'Q728937'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?b property:P559 ?z . ?b rdf:type ontology:Q728937 . ?z rdf:type ontology:Q55488 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q304264 property:P559 ?y . ?y rdf:type ontology:Q55488 } } . FILTER ( ?i < ?n ) }
Røa Line Seoul Subway Line 2 Seoul Subway Line 6 Orange Line U7 Île-de-France tramway Line 5 Line 1, Harbin Metro Holmenkollen Line N Judah Line B Lübeck–Bad Kleinen railway Milan Metro Line 4 Sennichimae Line Green Line Østensjø Line Île-de-France tramway Line 3a Green Line (Yokohama) Blue Line (Yokohama) Île-de-France tramway Line 4 M Ocean View Løren Line E Embarcadero Brown Line S Castro Shuttle Suin Line Kozhukhovskaya Line Line 6, Guangzhou Metro Mulhouse tram line 1 Nantes Tramway Line 3 LGV Rhin-Rhône Sognsvann Line Red Line L Taraval Seoul Subway Line 5 Barcelona Metro line 11 Seoul Subway Line 7 Île-de-France tramway Line 8 Line 14, Guangzhou Metro K Ingleside Lübeck–Lüneburg railway Île-de-France tramway Line 2 Namboku Line Bad Kleinen–Rostock railway Line 21, Guangzhou Metro Pink Line Ludwigslust–Wismar railway Purple Line U1 J Church Grorud Line Paris Métro Line 7bis Seoul Subway Line 4 F Market & Wharves Île-de-France tramway Line 3b Incheon Metro Line 1 Line 1 Line 2, Ningbo Rail Transit Yellow Line Bundang Line Tōzai Line Erfurt–Leipzig/Halle high-speed railway Tōzai Line Île-de-France tramway Line 1 Angermünde–Stralsund railway Capital Line Oslo Metro Line 2 T Third Street Line 1, Wuhan Metro Lambertseter Line
69
action count
action less
action find_tuple_counts
relation terminus
type railroad line
type railway station
action count
action filter_type
action find
entity Line 4
relation terminus
type railway station
[{'concept': 'railroad line'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?b property:terminus ?z . ?b rdf:type ontology:railroad_line . ?z rdf:type ontology:railway_station } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Line_4 property:terminus ?y . ?y rdf:type ontology:railway_station } } . FILTER ( ?i < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q840577
P669
Q811979 Q55488
USER
Which architectural structures are around the same number of railway stations located as Statue Square ?
(c(Q55488),P669,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_type
action find
entity Q840577
relation P669
type Q811979
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q840577 property:P669 ?n . ?n rdf:type ontology:Q811979 } } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P669 ?l . ?l rdf:type ontology:Q811979 . ?f rdf:type ontology:Q55488 } GROUP BY ?l } }
Statue Square
action approx
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_type
action find
entity Statue Square
relation located on street
type architectural structure
[{'concept': 'railway station'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Statue_Square property:located_on_street ?n . ?n rdf:type ontology:architectural_structure } } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:located_on_street ?l . ?l rdf:type ontology:architectural_structure . ?f rdf:type ontology:railway_station } GROUP BY ?l } }
[]
architectural structure railway station
Q189503 Q175055 Q1573359
SYSTEM
place de la Concorde, place de la République, place de la Nation
Q3389781 Q3389771 Q1019208 Q3389867 Q3390360 Q834403 Q7203716 Q1201111 Q3390406 Q3390656 Q2187982 Q2067174 Q27325650 Q3390652 Q19901143 Q5482884 Q3390561 Q3390566 Q3390086 Q17347170 Q7666566 Q7126262 Q1068262 Q16510200 Q217527 Q3390009 Q3390164 Q15971535 Q3389787 Q3390248 Q15971536 Q19260477 Q3390247 Q3389893 Q3389863 Q1368319 Q175055 Q1070882 Q3389716 Q11819038 Q6811395 Q806988 Q1573359 Q743548 Q870767 Q3365803 Q10669740 Q5160826 Q3390151 Q3390524 Q847613 Q15629976 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390091 Q3390090 Q3390094 Q2380167 Q3390099 Q27186278 Q3390157 Q3902429 Q16510203 Q3389708 Q14629250 Q390243 Q3390492 Q12012935 Q3390390 Q3389700 Q3390392 Q3390393 Q3390394 Q3390082 Q3390259 Q1759903 Q3390391 Q19407180 Q1959174 Q129143 Q2735858 Q3389961 Q3390686 Q3389963 Q3389962 Q11959872 Q2915521 Q3389966 Q3390418 Q3390370 Q27330020 Q12043370 Q3390149 Q1750652 Q3390729 Q314156 Q3390637 Q15632502 Q1531008 Q3390225 Q2365348 Q3649486 Q16510119 Q1325692 Q24037808 Q5765413 Q3390380 Q3390229 Q12803454 Q14493973 Q3390013 Q3389793 Q24757167 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3058440 Q3389695 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q1656091 Q5052221 Q3649219 Q1936696 Q3389805 Q20799689 Q3390339 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 Q2099124 Q22956385 Q421678 Q15992418 Q3389878 Q16510156 Q3390141 Q152783 Q500529 Q2032089 Q829294 Q3389828 Q16510186 Q3389904 Q3389903 Q3390330 Q2056775 Q3389821 Q10539292 Q1325713 Q3389826 Q16957223 Q27330007 Q3390599 Q3390613 Q3390421 Q3390444 Q3390617 Q1014325 Q2705335 Q2894411 Q24536371 Q998415 Q10436362 Q16510109 Q4775954 Q701662 Q3390041 Q885408 Q3390123 Q2756450 Q848912 Q7332366 Q3389990 Q3390049 Q17347173 Q1541068 Q20792932 Q16620193 Q3389858 Q643520 Q3390691 Q2748428 Q3362818 Q3389853 Q10548447 Q15715962 Q16670291 Q3390511 Q1810430 Q1506 Q16912462 Q3389831 Q12302841 Q3389837 Q6747523 Q3390544 Q3390667 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q3390053 Q1362670 Q2146085 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q3390694 Q1957616 Q1422975 Q805259 Q4685881 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q1589941 Q3390344 Q1535 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390115 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2402940 Q3390064 Q3389736 Q3389832 Q3389738 Q3048023 Q614 Q1411047 Q863759 Q3390648 Q24481510 Q7849515 Q3389814 Q3390375 Q3390470 Q2493255 Q3783111 Q840577 Q27325663 Q1006268 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q3390077 Q3390076 Q2660380 Q827673 Q801700 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q16152081 Q5649425 Q3389696 Q3389720 Q426064 Q3390738 Q15651225 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q898629 Q2635425
(c(Q55488),P669,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_type
action find
entity Q840577
relation P669
type Q811979
[ANSWERS] are around the same number of railway stations located as Statue Square
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q840577 property:P669 ?n . ?n rdf:type ontology:Q811979 } } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:P669 ?l . ?l rdf:type ontology:Q811979 . ?f rdf:type ontology:Q55488 } GROUP BY ?l } }
place Dalida place Constantin-Pecqueur Malostranské náměstí place Jacques-Bainville place de la Fontaine-aux-Lions Schinkelplatz Plaza del Potro place Saint-Michel place de la Reine-Astrid place du Palais-Bourbon Oudekerksplein plaça del Rei Münzplatz place du Maréchal-de-Lattre-de-Tassigny place des Cordeliers plaza de las Cortes place du 25-Août-1944 place du Bataillon-du-Pacifique place Saint-Ferdinand place de Jacksonville Søren Kierkegaards Plads plaza de San Clemente Carlton House Terrace place du Théâtre Piazza San Marco place Nationale place Victor-et-Hélène-Basch place Clemenceau place Delorme place de Mexico place François-Ier Plaça Major (Montblanc) place de Jaude Place Jean-Paul Riopelle place Hubert-Monmarché Esplanadi place de la République Place Flagey place Baudoyer plac Frankfurcki St. Augustine's Square Bantorget place de la Nation place du Vieux-Marché Place Saint-Lambert Sankt Annæ Plads Skanstorget Congress Square place Valhubert place des Martyrs-Juifs-du-Vélodrome-d'Hiver Wenceslas Square Berliner Platz plaza de Cuzco Old Palace Yard place Henri-Dunant Praça dos Trabalhadores place de Narvik place des États-Unis place Saint-Gervais place Saint-Georges place Saint-Germain-des-Prés place Paul-Verlaine place Saint-Louis plaza de los Carros place Vauban piazza Bocca della Verità place Monseigneur-Ruch place Armand-Carrel place Denys-Cochin place Charles-de-Gaulle place des Capucines Jonas Daniël Meijerplein place de la Petite-Hollande place André-Malraux place de la Porte-d'Auteuil place de la Porte-de-Bagnolet place de la Porte-de-Champerret Saint-Epvre square place de Rio-de-Janeiro place du Trocadéro-et-du-11-Novembre place de la Porte-Molitor place du Cardinal-Luçon Münsterplatz Trafalgar Square place Saint-Sulpice place Marc-Elder place du Pont-Neuf place Marcel-Aymé place Marcel-Achard Axeltorv Nathan Phillips Square place Marcelin-Berthelot place de la République place de la Libération Grossmünsterplatz Ovocný trh place Tristan-Bernard Norrmalmstorg place Édith-Piaf Ernst-Reuter-Platz place du Louvre Franz-Xaver-Trips-Platz plaza del Dos de Mayo place de Breteuil Place du 11-Novembre-1918 Cadogan Square place Amédée-Larrieu Place d'Armes Heimplatz Victoria Square Place de la Monnaie place de Colombie Old Square Gemeindehausplatz place Olympe-de-Gouges place Edmond-Rostand Marienplatz place de la République place Jules-Joffrin place Jules-Renard place Saint-Pierre place de la République Place des Palais/Paleizenplein place des Petits-Pères Leidseplein esplanade Charles-de-Gaulle place Alphonse-Deville Markt Town Square Frederiksplein Cavendish Square place du Guatemala Platz der Vereinten Nationen Cathedral Close, Exeter Cabot Square Tavistock Square place Ferdinand-Brunot place Saint-Martin place de la Bergère-d'Ivry place de Fontenoy place Léon-Blum place de la Liberté place Édouard-VII Place des Nations Piazza Santa Croce place Colette Plaza San Martín Alexandrinenplatz Old Town Square place de Bretagne place Jean-Baptiste-Clément place Notre-Dame place Theodor-Herzl Alexanderplatz St. James's Square Sloane Square Schloßplatz place Gambetta place Napoléon place Joffre place Johann-Strauss place de l'Église-d'Auteuil Paternoster Square place Gaillon Jakobs torg Place Jacques-Cartier place Félix-Éboué Senovážné náměstí Hechtplatz place du Docteur-Alfred-Fournier place du Général-Catroux place de la République place de la Réunion place du Général-Kœnig Canada Square Soho Square Belgrave Square Amtsgerichtsplatz place Franz-Liszt Brunkebergstorg place Aristide-Briand Anton Pieck Square Stephansplatz place Pey-Berland Bloomsbury Square place Salvador-Allende place de l'Opéra Leicester Square Riddarhustorget place Meissonier place Prosper-Goubaux place Guillaume-le-Conquérant largo di Torre Argentina place de la Résistance plaza de Cánovas del Castillo place Henri-Mondor place Vendôme place du Québec College Green Birger Jarls torg place Henri-Krasucki Krafts torg Rathausplatz Emir Abdelkader square place des Fêtes place Dauphine place des Terreaux place de la Mairie place Georges-Guillaumin Banegårdspladsen place Goldoni Manchester Square place des Pyramides place du Panthéon place Graslin place du Commerce place du Commerce place d'Iéna place Lucien-Herr place Rhin-et-Danube Theaterplatz place Charles-Dullin place René-Cassin place Raoul-Follereau place des Victoires Mechelseplein place du Venezuela place de la Bataille-de-Stalingrad place de la Concorde Muntplein place Michel-Debré Városház Square (Székesfehérvár) place du Sanitat Mårtenstorget place du Châtelet Ballhausplatz Mr. Visserplein Charlotte Square place des Deux-Écus place de la Bastille place Wilson Gough Square Kongens Nytorv place de la Bourse place Antonin-Poncet Haarlemmerplein place de Clichy place de Varsovie place de la Sorbonne place Rochambeau Kultorvet San Francisco Square place Saint-Thomas-d’Aquin place du Président-Mithouard Predigerplatz Zähringerplatz place Saint-Michel Lincoln's Inn Fields Ludwigkirchplatz place d'Armes Tessinerplatz Kaiserplatz place Maréchal-Foch place Saint-Pierre place Rodin place Camille-Jullian place Georges-Mulot Cardinal Mercier square Stortorget place Bellecour Náměstí Republiky Maidan Nezalezhnosti place du Maréchal-Juin Santa Bárbara Square Münsterhof place Fréhel place de la Madeleine place de la Cathédrale Public Square Hanover Square Statue Square St. Peterhofstatt Bundeskanzlerplatz Dam Square place Adolphe-Chérioux place du Canada Gammel Strand plaza de Colón place Pigalle place Saint-Blaise place Saint-Augustin Rijswijkseplein Bertha-von-Suttner-Platz Bahnhofplatz place Kléber place de l'Odéon place Édouard-Renard place du Capitole de Toulouse Rembrandtplein Bebelplatz Agincourt Square Vandkunsten Bolívar Square place de l'Hôtel-de-Ville - Esplanade de la Libération Agias Sofias Square Hanover Square, Manhattan place Alphonse-Laveran place Beauvau place Stanislas place Émile-Goudeau Platz der Deutschen Post Karlsplatz Platz der Luftbrücke place Hardy-de-Lévaré Berkeley Square Parliament Square place des Vosges Victory Square
Place de la Concorde, place de la République and place de la Nation are around the same number of railway stations located as Statue Square
place de la Concorde place de la République place de la Nation
action approx
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_type
action find
entity Statue Square
relation located on street
type architectural structure
[{'concept': 'railway station'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Statue_Square property:located_on_street ?n . ?n rdf:type ontology:architectural_structure } } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?c ) WHERE { ?f property:located_on_street ?l . ?l rdf:type ontology:architectural_structure . ?f rdf:type ontology:railway_station } GROUP BY ?l } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q55488 Q83620 Q34442
USER
How many railway stations are a terminus for around 2 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P559,c(Q55488))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q83620
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
value 2
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:P559 ?y . ?y rdf:type ontology:Q55488 . ?b rdf:type ontology:Q34442 } UNION { ?b property:P559 ?y . ?y rdf:type ontology:Q55488 . ?b rdf:type ontology:Q83620 } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type railway station
type road
value 2
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:terminus ?y . ?y rdf:type ontology:railway_station . ?b rdf:type ontology:road } UNION { ?b property:terminus ?y . ?y rdf:type ontology:railway_station . ?b rdf:type ontology:thoroughfare } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
[]
railway station thoroughfare road
SYSTEM
5
Q996591 Q800405 Q523887 Q173919 Q800600
(c(Q83620)|c(Q34442),P559,c(Q55488))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q83620
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
value 2
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:P559 ?y . ?y rdf:type ontology:Q55488 . ?b rdf:type ontology:Q34442 } UNION { ?b property:P559 ?y . ?y rdf:type ontology:Q55488 . ?b rdf:type ontology:Q83620 } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
Hung Hom Station Asakusa Station Beijing West Railway Station Ikebukuro Station Büchen station
5
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type railway station
type road
value 2
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:terminus ?y . ?y rdf:type ontology:railway_station . ?b rdf:type ontology:road } UNION { ?b property:terminus ?y . ?y rdf:type ontology:railway_station . ?b rdf:type ontology:thoroughfare } } GROUP BY ?y } . FILTER ( ?f = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1766008
P197
Q55488
USER
How many railway stations are next to Sol ?
(Q1766008,P197,c(Q55488))
action count
action filter_type
action find
entity Q1766008
relation P197
type Q55488
['Q1766008', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q1766008 property:P197 ?h . ?h rdf:type ontology:Q55488 }
Sol
action count
action filter_type
action find
entity Sol
relation adjacent station
type railway station
['Sol', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Sol property:adjacent_station ?h . ?h rdf:type ontology:railway_station }
[]
railway station
SYSTEM
7
Q2055072 Q2729745 Q2056503 Q2736048 Q2705508 Q388743 Q2474438
(Q1766008,P197,c(Q55488))
action count
action filter_type
action find
entity Q1766008
relation P197
type Q55488
[ANSWER]
['Q1766008', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q1766008 property:P197 ?h . ?h rdf:type ontology:Q55488 }
Callao Gran Vía Sevilla Ópera Nuevos Ministerios Station Lavapiés Tirso de Molina (Madrid Metro)
7
action count
action filter_type
action find
entity Sol
relation adjacent station
type railway station
['Sol', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Sol property:adjacent_station ?h . ?h rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1766008
P197
Q55488
USER
Which railway stations are in close proximity to that one ?
action filter_type
action find
entity Q1766008
relation P197
type Q55488
SELECT DISTINCT ?g WHERE { resource:Q1766008 property:P197 ?g . ?g rdf:type ontology:Q55488 }
Sol
action filter_type
action find
entity Sol
relation adjacent station
type railway station
SELECT DISTINCT ?g WHERE { resource:Sol property:adjacent_station ?g . ?g rdf:type ontology:railway_station }
[]
railway station
Q2705508 Q2736048 Q2055072
SYSTEM
Nuevos Ministerios Station, Ópera, Callao
Q2055072 Q2729745 Q2056503 Q2736048 Q2705508 Q388743 Q2474438
action filter_type
action find
entity Q1766008
relation P197
type Q55488
[ANSWERS] are in close proximity to that one
SELECT DISTINCT ?g WHERE { resource:Q1766008 property:P197 ?g . ?g rdf:type ontology:Q55488 }
Callao Gran Vía Sevilla Ópera Nuevos Ministerios Station Lavapiés Tirso de Molina (Madrid Metro)
Nuevos Ministerios Station, Ópera and Callao are in close proximity to that one
Nuevos Ministerios Station Ópera Callao
action filter_type
action find
entity Sol
relation adjacent station
type railway station
SELECT DISTINCT ?g WHERE { resource:Sol property:adjacent_station ?g . ?g rdf:type ontology:railway_station }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1766008 Q7820923
P1192
Q728937
USER
How many railroad lines are a connecting service stations for Sol or Tong Fong Tsuen Stop ?
(Q1766008,P1192,c(Q728937)) (Q7820923,P1192,c(Q728937))
action count
action union
action filter_type
action find
entity Q1766008
relation P1192
type Q728937
action filter_type
action find
entity Q7820923
relation P1192
type Q728937
['Q1766008', 'P1192', {'concept': 'Q728937'}] ['Q7820923', 'P1192', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Q1766008 property:P1192 ?u . ?u rdf:type ontology:Q728937 } UNION { resource:Q7820923 property:P1192 ?u . ?u rdf:type ontology:Q728937 } }
Sol Tong Fong Tsuen Stop
action count
action union
action filter_type
action find
entity Sol
relation connecting service
type railroad line
action filter_type
action find
entity Tong Fong Tsuen Stop
relation connecting service
type railroad line
['Sol', 'connecting service', {'concept': 'railroad line'}] ['Tong Fong Tsuen Stop', 'connecting service', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Sol property:connecting_service ?u . ?u rdf:type ontology:railroad_line } UNION { resource:Tong_Fong_Tsuen_Stop property:connecting_service ?u . ?u rdf:type ontology:railroad_line } }
[]
railroad line
SYSTEM
4
Q15909914 Q15903207 Q15908713 Q15903043
(Q1766008,P1192,c(Q728937)) (Q7820923,P1192,c(Q728937))
action count
action union
action filter_type
action find
entity Q1766008
relation P1192
type Q728937
action filter_type
action find
entity Q7820923
relation P1192
type Q728937
[ANSWER]
['Q1766008', 'P1192', {'concept': 'Q728937'}] ['Q7820923', 'P1192', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Q1766008 property:P1192 ?u . ?u rdf:type ontology:Q728937 } UNION { resource:Q7820923 property:P1192 ?u . ?u rdf:type ontology:Q728937 } }
Light Rail Route 761P Light Rail Routes 615 and 615P Light Rail Route 610 Light Rail Routes 614 and 614P
4
action count
action union
action filter_type
action find
entity Sol
relation connecting service
type railroad line
action filter_type
action find
entity Tong Fong Tsuen Stop
relation connecting service
type railroad line
['Sol', 'connecting service', {'concept': 'railroad line'}] ['Tong Fong Tsuen Stop', 'connecting service', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { resource:Sol property:connecting_service ?u . ?u rdf:type ontology:railroad_line } UNION { resource:Tong_Fong_Tsuen_Stop property:connecting_service ?u . ?u rdf:type ontology:railroad_line } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1766008
P17
Q15617994
USER
How many administrative territories are Sol present in ?
(Q1766008,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1766008
relation P17
type Q15617994
['Q1766008', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1766008 property:P17 ?w }
Sol
action count
action filter_type
action find
entity Sol
relation country
type designation for an administrative territorial entity
['Sol', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sol property:country ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q1766008,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1766008
relation P17
type Q15617994
[ANSWER]
['Q1766008', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1766008 property:P17 ?w }
Spain
1
action count
action filter_type
action find
entity Sol
relation country
type designation for an administrative territorial entity
['Sol', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sol property:country ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1766008
P17
Q15617994
USER
Which administrative territory does Sol belong to ?
(Q1766008,P17,c(Q15617994))
action filter_type
action find
entity Q1766008
relation P17
type Q15617994
['Q1766008', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1766008 property:P17 ?o }
Sol
action filter_type
action find
entity Sol
relation country
type designation for an administrative territorial entity
['Sol', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sol property:country ?o }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1766008,P17,c(Q15617994))
action filter_type
action find
entity Q1766008
relation P17
type Q15617994
Sol belongs to [ANSWER]
['Q1766008', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1766008 property:P17 ?o }
Spain
Sol belongs to Spain
Spain
action filter_type
action find
entity Sol
relation country
type designation for an administrative territorial entity
['Sol', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sol property:country ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q83620 Q728937 Q728937
USER
How many railroad lines are a component of atleast 2 thoroughfares and railroad lines ?
(c(Q728937),P361,c(Q83620)|c(Q728937))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q728937
type Q83620
action find_tuple_counts
relation P361
type Q728937
type Q728937
value 2
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q728937'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q728937 . ?z rdf:type ontology:Q83620 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q728937 . ?z rdf:type ontology:Q728937 } } GROUP BY ?f } . FILTER ( ?u >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation part of
type railroad line
type thoroughfare
action find_tuple_counts
relation part of
type railroad line
type railroad line
value 2
[{'concept': 'railroad line'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'railroad line'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:railroad_line . ?z rdf:type ontology:thoroughfare } UNION { ?f property:part_of ?z . ?f rdf:type ontology:railroad_line . ?z rdf:type ontology:railroad_line } } GROUP BY ?f } . FILTER ( ?u >= 2 ) }
[]
thoroughfare railroad line railroad line
SYSTEM
1
Q835376
(c(Q728937),P361,c(Q83620)|c(Q728937))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q728937
type Q83620
action find_tuple_counts
relation P361
type Q728937
type Q728937
value 2
[ANSWER]
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q728937'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q728937 . ?z rdf:type ontology:Q83620 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q728937 . ?z rdf:type ontology:Q728937 } } GROUP BY ?f } . FILTER ( ?u >= 2 ) }
Sha Tin to Central Link
1
action count
action atleast
action union
action find_tuple_counts
relation part of
type railroad line
type thoroughfare
action find_tuple_counts
relation part of
type railroad line
type railroad line
value 2
[{'concept': 'railroad line'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'railroad line'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:railroad_line . ?z rdf:type ontology:thoroughfare } UNION { ?f property:part_of ?z . ?f rdf:type ontology:railroad_line . ?z rdf:type ontology:railroad_line } } GROUP BY ?f } . FILTER ( ?u >= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atmost 64 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?g ) WHERE { ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?t property:P530 ?h } GROUP BY ?t } . FILTER ( ?g <= 64 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?g ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?h } GROUP BY ?t } . FILTER ( ?g <= 64 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
159
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?g ) WHERE { ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?t property:P530 ?h } GROUP BY ?t } . FILTER ( ?g <= 64 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
159
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?g ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?h } GROUP BY ?t } . FILTER ( ?g <= 64 ) }
[]