Simple Question (Direct)
Simple Question
Q326388
P119
Q1048835
USER
Which political territory is the tomb of Rafael del Pino ?
(Q326388,P119,c(Q1048835))
action filter_type
action find
entity Q326388
relation P119
type Q1048835
['Q326388', 'P119', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q326388 property:P119 ?w . ?w rdf:type ontology:Q1048835 }
Rafael del Pino
action filter_type
action find
entity Rafael del Pino
relation place of burial
type political territorial entity
['Rafael del Pino', 'place of burial', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rafael_del_Pino property:place_of_burial ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q639422
SYSTEM
Pozuelo de Alarcón
Q639422
(Q326388,P119,c(Q1048835))
action filter_type
action find
entity Q326388
relation P119
type Q1048835
[ANSWER] is the tomb of Rafael del Pino
['Q326388', 'P119', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q326388 property:P119 ?w . ?w rdf:type ontology:Q1048835 }
Pozuelo de Alarcón
Pozuelo de Alarcón is the tomb of Rafael del Pino
Pozuelo de Alarcón
action filter_type
action find
entity Rafael del Pino
relation place of burial
type political territorial entity
['Rafael del Pino', 'place of burial', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rafael_del_Pino property:place_of_burial ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q326388
P112
Q43229
USER
Which organization was started by that person ?
(c(Q43229),P112,Q639422)
action filter_type
action find_reverse
entity Q326388
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q639422']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q326388 . ?w rdf:type ontology:Q43229 }
Rafael del Pino
action filter_type
action find_reverse
entity Rafael del Pino
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Pozuelo de Alarcón']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:Rafael_del_Pino . ?w rdf:type ontology:organization }
[]
organization
Q1408037
SYSTEM
Ferrovial
Q1408037
(c(Q43229),P112,Q639422)
action filter_type
action find_reverse
entity Q326388
relation P112
type Q43229
[ANSWER] was started by that person
[{'concept': 'Q43229'}, 'P112', 'Q639422']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q326388 . ?w rdf:type ontology:Q43229 }
Ferrovial
Ferrovial was started by that person
Ferrovial
action filter_type
action find_reverse
entity Rafael del Pino
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Pozuelo de Alarcón']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:Rafael_del_Pino . ?w rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q55488
USER
Which railway stations are the administrator of exactly 2 organizations ?
(c(Q55488),P137,c(Q43229))
action equal
action find_tuple_counts
relation P137
type Q55488
type Q43229
value 2
[{'concept': 'Q55488'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?z property:P137 ?o . ?z rdf:type ontology:Q55488 . ?o rdf:type ontology:Q43229 } GROUP BY ?z } . FILTER ( ?w = 2 ) }
action equal
action find_tuple_counts
relation operator
type railway station
type organization
value 2
[{'concept': 'railway station'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?z property:operator ?o . ?z rdf:type ontology:railway_station . ?o rdf:type ontology:organization } GROUP BY ?z } . FILTER ( ?w = 2 ) }
[]
organization railway station
Q631094 Q5179839 Q321523
SYSTEM
Bremen main station, Cowton railway station, Sternschanze station
Q631094 Q5179839 Q321523
(c(Q55488),P137,c(Q43229))
action equal
action find_tuple_counts
relation P137
type Q55488
type Q43229
value 2
[ANSWERS] are the administrator of exactly 2 organizations
[{'concept': 'Q55488'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?z property:P137 ?o . ?z rdf:type ontology:Q55488 . ?o rdf:type ontology:Q43229 } GROUP BY ?z } . FILTER ( ?w = 2 ) }
Bremen main station Cowton railway station Sternschanze station
Bremen main station, Cowton railway station and Sternschanze station are the administrator of exactly 2 organizations
Bremen main station Cowton railway station Sternschanze station
action equal
action find_tuple_counts
relation operator
type railway station
type organization
value 2
[{'concept': 'railway station'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?z property:operator ?o . ?z rdf:type ontology:railway_station . ?o rdf:type ontology:organization } GROUP BY ?z } . FILTER ( ?w = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q631094 Q5179839 Q321523
P137
Q740752
USER
Who manages those railway stations ?
(Q631094,P137,c(Q740752)) (Q5179839,P137,c(Q740752)) (Q321523,P137,c(Q740752))
action filter_type
action find
entity prev_answer
relation P137
type Q740752
['Q631094', 'P137', {'concept': 'Q740752'}] ['Q5179839', 'P137', {'concept': 'Q740752'}] ['Q321523', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q740752 . ?d property:P137 ?c . VALUES ( ?d ) { ( resource:Q631094 ) ( resource:Q5179839 ) ( resource:Q321523 ) } }
Bremen main station Cowton railway station Sternschanze station
action filter_type
action find
entity prev_answer
relation operator
type transport company
['Bremen main station', 'operator', {'concept': 'transport company'}] ['Cowton railway station', 'operator', {'concept': 'transport company'}] ['Sternschanze station', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:transport_company . ?d property:operator ?c . VALUES ( ?d ) { ( resource:Bremen_main_station ) ( resource:Cowton_railway_station ) ( resource:Sternschanze_station ) } }
[]
transport company
Q18853 Q18853 Q452140
SYSTEM
DB Fernverkehr for 3rd, DB Regio for 1st, 2nd
Q18853 Q452140 Q787383 Q18853
(Q631094,P137,c(Q740752)) (Q5179839,P137,c(Q740752)) (Q321523,P137,c(Q740752))
action filter_type
action find
entity prev_answer
relation P137
type Q740752
[ANSWERS]
['Q631094', 'P137', {'concept': 'Q740752'}] ['Q5179839', 'P137', {'concept': 'Q740752'}] ['Q321523', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q740752 . ?d property:P137 ?c . VALUES ( ?d ) { ( resource:Q631094 ) ( resource:Q5179839 ) ( resource:Q321523 ) } }
DB Regio DB Fernverkehr North Eastern Railway DB Regio
DB Regio, DB Regio and DB Fernverkehr manage those railway stations
DB Regio DB Regio DB Fernverkehr
action filter_type
action find
entity prev_answer
relation operator
type transport company
['Bremen main station', 'operator', {'concept': 'transport company'}] ['Cowton railway station', 'operator', {'concept': 'transport company'}] ['Sternschanze station', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:transport_company . ?d property:operator ?c . VALUES ( ?d ) { ( resource:Bremen_main_station ) ( resource:Cowton_railway_station ) ( resource:Sternschanze_station ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18853
P355
Q740752
USER
Which transport company has that one as its subsidiary ?
(c(Q740752),P355,Q18853)
action filter_type
action find_reverse
entity Q18853
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', 'Q18853']
SELECT DISTINCT ?m WHERE { ?m property:P355 resource:Q18853 . ?m rdf:type ontology:Q740752 }
DB Regio
action filter_type
action find_reverse
entity DB Regio
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'DB Regio']
SELECT DISTINCT ?m WHERE { ?m property:subsidiary resource:DB_Regio . ?m rdf:type ontology:transport_company }
[]
transport company
Clarification for simple ques.
Q18853
SYSTEM
Did you mean DB Regio ?
Q18853 Q18853 Q452140
(c(Q740752),P355,Q18853) (c(Q740752),P355,Q18853) (c(Q740752),P355,Q452140)
[ANSWER]
[{'concept': 'Q740752'}, 'P355', 'Q18853'] [{'concept': 'Q740752'}, 'P355', 'Q18853'] [{'concept': 'Q740752'}, 'P355', 'Q452140']
SELECT DISTINCT ?m WHERE { ?m property:P355 resource:Q18853 . ?m rdf:type ontology:Q740752 }
DB Regio DB Regio DB Fernverkehr
Did you mean DB Regio ?
DB Regio
[{'concept': 'transport company'}, 'subsidiary', 'DB Regio'] [{'concept': 'transport company'}, 'subsidiary', 'DB Regio'] [{'concept': 'transport company'}, 'subsidiary', 'DB Fernverkehr']
SELECT DISTINCT ?m WHERE { ?m property:subsidiary resource:DB_Regio . ?m rdf:type ontology:transport_company }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q740752),P355,Q18853)
[{'concept': 'Q740752'}, 'P355', 'Q18853']
[{'concept': 'transport company'}, 'subsidiary', 'DB Regio']
[]
Q9322
SYSTEM
Deutsche Bahn
Q9322
(c(Q740752),P355,Q18853)
action filter_type
action find_reverse
entity Q18853
relation P355
type Q740752
[ANSWER] has that one as its subsidiary
[{'concept': 'Q740752'}, 'P355', 'Q18853']
SELECT DISTINCT ?m WHERE { ?m property:P355 resource:Q18853 . ?m rdf:type ontology:Q740752 }
Deutsche Bahn
Deutsche Bahn has that one as its subsidiary
Deutsche Bahn
action filter_type
action find_reverse
entity DB Regio
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'DB Regio']
SELECT DISTINCT ?m WHERE { ?m property:subsidiary resource:DB_Regio . ?m rdf:type ontology:transport_company }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1089389 Q321523
P197
Q55488
USER
What are adjacent to Sternschanze station or MacPherson MRT Station ?
OR((c(Q55488),P197,Q321523), (c(Q55488),P197,Q1089389))
action filter_type
action union
action find_reverse
entity Q321523
relation P197
action find_reverse
entity Q1089389
relation P197
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q321523'], [{'concept': 'Q55488'}, 'P197', 'Q1089389']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P197 resource:Q1089389 } UNION { ?s property:P197 resource:Q321523 } } . ?s rdf:type ontology:Q55488 }
MacPherson MRT Station Sternschanze station
action filter_type
action union
action find_reverse
entity Sternschanze station
relation adjacent station
action find_reverse
entity MacPherson MRT Station
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Sternschanze station'], [{'concept': 'railway station'}, 'adjacent station', 'MacPherson MRT Station']]}
SELECT DISTINCT ?s WHERE { { { ?s property:adjacent_station resource:MacPherson_MRT_Station } UNION { ?s property:adjacent_station resource:Sternschanze_station } } . ?s rdf:type ontology:railway_station }
[]
railway station
Q275746 Q1089339 Q11007759 Q3521374 Q2465884 Q3272113
SYSTEM
Schlump, Tai Seng MRT Station, Mattar MRT Station, Ubi MRT Station, Feldstraße, Paya Lebar MRT Station
Q275746 Q1089339 Q11007759 Q3521374 Q2465884 Q3272113
OR((c(Q55488),P197,Q321523), (c(Q55488),P197,Q1089389))
action filter_type
action union
action find_reverse
entity Q321523
relation P197
action find_reverse
entity Q1089389
relation P197
type Q55488
[ANSWERS] are adjacent to Sternschanze station or MacPherson MRT Station
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q321523'], [{'concept': 'Q55488'}, 'P197', 'Q1089389']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P197 resource:Q1089389 } UNION { ?s property:P197 resource:Q321523 } } . ?s rdf:type ontology:Q55488 }
Schlump Tai Seng MRT Station Mattar MRT Station Ubi MRT Station Feldstraße Paya Lebar MRT Station
Schlump, Tai Seng MRT Station, Mattar MRT Station, Ubi MRT Station, Feldstraße and Paya Lebar MRT Station are adjacent to Sternschanze station or MacPherson MRT Station
Schlump Tai Seng MRT Station Mattar MRT Station Ubi MRT Station Feldstraße Paya Lebar MRT Station
action filter_type
action union
action find_reverse
entity Sternschanze station
relation adjacent station
action find_reverse
entity MacPherson MRT Station
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Sternschanze station'], [{'concept': 'railway station'}, 'adjacent station', 'MacPherson MRT Station']]}
SELECT DISTINCT ?s WHERE { { { ?s property:adjacent_station resource:MacPherson_MRT_Station } UNION { ?s property:adjacent_station resource:Sternschanze_station } } . ?s rdf:type ontology:railway_station }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q517739
P669
Q83620 Q811979 Q55488
USER
Which railway stations are located on more number of thoroughfares and architectural structures than Mirabeau ?
(c(Q55488),P669,c(Q83620)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q55488
type Q83620
action find_tuple_counts
relation P669
type Q55488
type Q811979
action count
action filter_multi_types
action find
entity Q517739
relation P669
type Q83620
type Q811979
[{'concept': 'Q55488'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { { ?d property:P669 ?t . ?d rdf:type ontology:Q55488 . ?t rdf:type ontology:Q83620 } UNION { ?d property:P669 ?t . ?t rdf:type ontology:Q811979 . ?d rdf:type ontology:Q55488 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q517739 property:P669 ?v . { { ?v rdf:type ontology:Q811979 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?j ) }
Mirabeau
action greater
action union
action find_tuple_counts
relation located on street
type railway station
type thoroughfare
action find_tuple_counts
relation located on street
type railway station
type architectural structure
action count
action filter_multi_types
action find
entity Mirabeau
relation located on street
type thoroughfare
type architectural structure
[{'concept': 'railway station'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { { ?d property:located_on_street ?t . ?d rdf:type ontology:railway_station . ?t rdf:type ontology:thoroughfare } UNION { ?d property:located_on_street ?t . ?t rdf:type ontology:architectural_structure . ?d rdf:type ontology:railway_station } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Mirabeau property:located_on_street ?v . { { ?v rdf:type ontology:architectural_structure } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?j ) }
[]
thoroughfare architectural structure railway station
Q1097 Q1467113 Q1537246
SYSTEM
Berlin Hauptbahnhof, Palais Royal – Musée du Louvre, Place d'Italie
Q1087020 Q1537246 Q1087622 Q1097 Q1094294 Q38909 Q2538959 Q1459231 Q1366438 Q2519375 Q2079777 Q2355557 Q946826 Q1801032 Q1467113 Q635744 Q2258101 Q1431057 Q1187054 Q306256 Q1110656 Q649184
(c(Q55488),P669,c(Q83620)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q55488
type Q83620
action find_tuple_counts
relation P669
type Q55488
type Q811979
action count
action filter_multi_types
action find
entity Q517739
relation P669
type Q83620
type Q811979
[ANSWERS] are located on more number of thoroughfares and architectural structures than Mirabeau
[{'concept': 'Q55488'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { { ?d property:P669 ?t . ?d rdf:type ontology:Q55488 . ?t rdf:type ontology:Q83620 } UNION { ?d property:P669 ?t . ?t rdf:type ontology:Q811979 . ?d rdf:type ontology:Q55488 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q517739 property:P669 ?v . { { ?v rdf:type ontology:Q811979 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?j ) }
Cordusio Place d'Italie San Babila Berlin Hauptbahnhof Cité Southwark tube station Leicester Square tube station Victor Hugo Warren Street tube station Duomo Puotila metro station South Ferry loops Gambetta Siilitie metro station Palais Royal – Musée du Louvre Ternes Cadorna Lancaster Gate tube station Denfert-Rochereau Abbesses Colonel Fabien Queensway tube station
Berlin Hauptbahnhof, Palais Royal – Musée du Louvre and Place d'Italie are located on more number of thoroughfares and architectural structures than Mirabeau
Berlin Hauptbahnhof Palais Royal – Musée du Louvre Place d'Italie
action greater
action union
action find_tuple_counts
relation located on street
type railway station
type thoroughfare
action find_tuple_counts
relation located on street
type railway station
type architectural structure
action count
action filter_multi_types
action find
entity Mirabeau
relation located on street
type thoroughfare
type architectural structure
[{'concept': 'railway station'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?r ) WHERE { { ?d property:located_on_street ?t . ?d rdf:type ontology:railway_station . ?t rdf:type ontology:thoroughfare } UNION { ?d property:located_on_street ?t . ?t rdf:type ontology:architectural_structure . ?d rdf:type ontology:railway_station } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Mirabeau property:located_on_street ?v . { { ?v rdf:type ontology:architectural_structure } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?j ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1192
Q334166 Q3959904 Q55488
USER
How many railway stations have around the same number of modes of transport or multiple units as connecting service as that railway station ?
(c(Q55488),P1192,c(Q334166)|c(Q3959904))
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q334166'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P1192 ?r } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 . ?x rdf:type ontology:Q3959904 }
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'mode of transport'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:connecting_service ?r } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport . ?x rdf:type ontology:multiple_unit }
[]
mode of transport multiple unit railway station
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1467113
SYSTEM
Did you mean Palais Royal – Musée du Louvre ?
(c(Q55488),P1192,c(Q334166)|c(Q3959904))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q334166'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:P1192 ?r } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 . ?x rdf:type ontology:Q3959904 }
Did you mean Palais Royal – Musée du Louvre ?
Palais Royal – Musée du Louvre
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'mode of transport'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?y ) ( ?x ) } . ?z property:connecting_service ?r } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport . ?x rdf:type ontology:multiple_unit }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Berlin Hauptbahnhof. Could you tell me the answer for that?
(c(Q55488),P1192,c(Q334166)|c(Q3959904))
Q1097
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q334166'}, {'concept': 'Q3959904'}]]
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'mode of transport'}, {'concept': 'multiple unit'}]]
[]
SYSTEM
580
Q800961 Q2518479 Q7504746 Q2056616 Q26462698 Q1534005 Q2003013 Q2056503 Q630441 Q123726 Q822473 Q2018370 Q2331545 Q1599589 Q2465791 Q2465793 Q2465796 Q1433612 Q667797 Q439937 Q801686 Q823559 Q979398 Q4121065 Q800749 Q800748 Q801447 Q2657073 Q1810408 Q2549147 Q1028696 Q955699 Q2720055 Q1113224 Q439586 Q2056869 Q2524860 Q526358 Q2547644 Q2176793 Q2479837 Q480136 Q2465770 Q822786 Q1766021 Q3820879 Q479797 Q479795 Q2640991 Q3141073 Q921800 Q438871 Q8424646 Q2479478 Q590162 Q2981913 Q2348839 Q2465683 Q2465681 Q2547046 Q2465685 Q2465721 Q2465724 Q2481265 Q15227547 Q823537 Q10606802 Q2705508 Q1984610 Q800445 Q929500 Q1775918 Q325405 Q1709379 Q1866200 Q2692167 Q438759 Q438751 Q3544564 Q514447 Q2514293 Q2523443 Q2305840 Q801228 Q2635030 Q1850417 Q2271776 Q2313145 Q779210 Q54321 Q823622 Q1664168 Q1534781 Q2041028 Q2605805 Q2719965 Q7807829 Q2501185 Q7807823 Q2363363 Q7807825 Q1929866 Q479458 Q439906 Q801654 Q439900 Q1990058 Q1537876 Q2055837 Q1028985 Q800650 Q1490933 Q8423616 Q2643379 Q572749 Q952778 Q5647825 Q2548194 Q2465764 Q2547776 Q2465760 Q4889839 Q7487830 Q2056839 Q855454 Q823579 Q26462991 Q503383 Q439996 Q2420839 Q439160 Q2523452 Q2481187 Q2640900 Q480063 Q438801 Q7675847 Q438808 Q1841199 Q324703 Q439000 Q7807751 Q15223496 Q7532204 Q962642 Q2028238 Q893211 Q2465712 Q873541 Q2465718 Q1262201 Q2184180 Q558633 Q1265322 Q3546888 Q2055658 Q3780396 Q823113 Q26460634 Q2482135 Q823119 Q2686184 Q2106590 Q801289 Q2414439 Q724112 Q277810 Q3780401 Q4027195 Q3780405 Q2632500 Q822466 Q2481243 Q2463399 Q582040 Q6410316 Q2369006 Q2465780 Q2465787 Q2465786 Q439941 Q7493209 Q439948 Q801029 Q1912130 Q2647730 Q2802438 Q2547358 Q2324406 Q996654 Q1877541 Q674350 Q439592 Q2547371 Q2548401 Q5105592 Q2056874 Q8421340 Q2676250 Q2533009 Q663260 Q591874 Q2481371 Q6515974 Q12327724 Q1242856 Q479813 Q1813621 Q1869410 Q5116344 Q3306947 Q2072583 Q555921 Q846573 Q846577 Q326599 Q2479465 Q6480700 Q7195690 Q2465694 Q2465691 Q1739409 Q22340932 Q948997 Q2016757 Q2465756 Q2465757 Q2465750 Q2465698 Q2632101 Q283196 Q2016811 Q587485 Q2524878 Q948393 Q2479349 Q2367549 Q442739 Q471701 Q7414281 Q7807766 Q506934 Q2226449 Q577933 Q596655 Q664440 Q1997098 Q2710794 Q2481204 Q1429067 Q2786131 Q844004 Q439131 Q966533 Q1113361 Q935853 Q2354124 Q4689020 Q2462831 Q1029092 Q439256 Q2656757 Q1029098 Q3504674 Q1752839 Q801094 Q1029127 Q2284424 Q2383315 Q2465678 Q2465673 Q784989 Q616434 Q2465675 Q2646936 Q7807813 Q890391 Q855708 Q800765 Q800764 Q820359 Q555964 Q2536679 Q438887 Q7487828 Q479415 Q2481582 Q663988 Q2180113 Q1374399 Q969395 Q2206139 Q855333 Q2547669 Q7415396 Q2547661 Q480059 Q873079 Q2479851 Q3194854 Q479435 Q439606 Q2378663 Q7820923 Q2387571 Q2094288 Q26462605 Q2479001 Q2301380 Q3454149 Q5116291 Q5100990 Q2465701 Q2465705 Q2465704 Q2465709 Q1882713 Q2481248 Q800463 Q2244021 Q3544572 Q3827253 Q3613056 Q3827256 Q800989 Q1832307 Q176642 Q801103 Q14454186 Q724107 Q2014690 Q724102 Q6534579 Q2473865 Q438779 Q2893215 Q747162 Q2642035 Q4940996 Q846595 Q2523469 Q873256 Q2479784 Q801562 Q2412345 Q8076660 Q26463461 Q1427150 Q669990 Q2711177 Q2611718 Q2125964 Q7243366 Q2054359 Q2548808 Q480276 Q8427262 Q1404089 Q1975942 Q554647 Q1766008 Q15266133 Q6666177 Q2633819 Q1768148 Q7675762 Q732179 Q7675767 Q855273 Q747555 Q5509154 Q2413637 Q1764534 Q114128 Q2061439 Q479776 Q2127269 Q730768 Q1263745 Q2474414 Q1311686 Q2473940 Q8423208 Q1716538 Q2479455 Q846545 Q846541 Q2035804 Q2449141 Q2465749 Q2465746 Q591798 Q2632136 Q2547614 Q2547599 Q823634 Q439024 Q930433 Q2633721 Q800788 Q2056478 Q535545 Q7807772 Q335891 Q335894 Q2479031 Q1784764 Q2734598 Q2021847 Q2465778 Q2055072 Q2635058 Q5677322 Q640079 Q4889669 Q1936465 Q1287077 Q1890537 Q1669820 Q800447 Q2472213 Q800953 Q2525170 Q3092987 Q800947 Q801605 Q801498 Q1602480 Q2617870 Q801554 Q801603 Q801496 Q2019277 Q320614 Q202403 Q10591971 Q8421568 Q2480338 Q5877453 Q2908334 Q439925 Q847684 Q2375864 Q2657040 Q2729745 Q2479844 Q1573137 Q259315 Q823590 Q2055525 Q490519 Q2597956 Q1317156 Q479376 Q800382 Q3844841 Q2140013 Q6383532 Q823599 Q2719931 Q2481002 Q2477093 Q7408150 Q801608 Q479781 Q2536322 Q2057787 Q479426 Q479420 Q2382515 Q2404313 Q1606619 Q1734022 Q2982151 Q788560 Q26457988 Q2479567 Q616388 Q7829927 Q2016175 Q2301391 Q934059 Q2479039 Q2479769 Q2465734 Q823501 Q2465730 Q2876854 Q2465739 Q439114 Q479490 Q479493 Q479494 Q2503261 Q1376459 Q2607435 Q823139 Q2085424 Q438863 Q2465800 Q2736048 Q822522 Q801184 Q3495438 Q2055810 Q2251103 Q801215 Q2109006 Q973992 Q1623753 Q841853 Q285913 Q2481170 Q1193902 Q2328516 Q2481179 Q1535681 Q6514464 Q2042482 Q678668 Q26462415 Q1094407 Q2474438 Q14453731 Q7807797 Q3347181 Q823612 Q830779 Q830777 Q26458337 Q3820626 Q724559 Q2056525 Q7807830 Q721970 Q690814 Q855260 Q299980 Q543261 Q1597347 Q2657037 Q2205125 Q6864656 Q2696516 Q481072 Q438902 Q846558 Q572734 Q7879163 Q10726739 Q2465773 Q2605288 Q1436932 Q13218297 Q610740 Q2481355 Q2481198 Q2133945 Q698145 Q515413 Q2056542 Q823547 Q800380 Q439016 Q2430675 Q2536272 Q557269 Q518606 Q1808896 Q15241526 Q388743 Q3501475 Q1278671 Q3544569 Q2181335 Q955065 Q253156 Q2481227 Q26460430 Q601096
(c(Q55488),P1192,c(Q334166)|c(Q3959904))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q334166'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1192 ?y } UNION { ?z property:P1192 ?x } } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q334166 . ?x rdf:type ontology:Q3959904 }
Islands Brygge Station Vall d'Hebron Shui Pin Wai Stop Villaverde Bajo-Cruce Karlsplatz (Stachus) Neue Donau Torrassa Sevilla Villa de Vallecas Oberwiesenfeld Alte Heide Pinar del Rey Hospital Clínic Aderklaaer Straße Volkstheater Währinger Straße-Volksoper (Vienna U-Bahn) Zieglergasse Perfektastraße Valdecarros Basler Straße Øresund Station Goetheplatz Lesseps Ngan Wai Stop Fasanvej Station Femøren Station Shinjuku Station Keleti pályaudvar Fabra i Puig Drassanes Deák Ferenc tér Goya Maragall Via Júlia Fröttmaning Manuel Becerra Kálvin tér Avenida de la Paz Fondo Schuman metro station Miguel Hernández Richard-Strauss-Straße Schönbrunn Studentenstadt La Elipa La Gavia Scheidplatz Gern Almeda Merode station Pinar de Chamartín Bonner Platz Tin Wing Stop Sierra de Guadalupe Yoyogi Station Gyöngyösi utca Badal Dresdner Straße Donauspital Baró de Viver Enkplatz Kendlerstraße Krieau Canillas Hütteldorf (Vienna U-Bahn) Dietlindenstraße Odenplan railway station Nuevos Ministerios Station Theresienwiese Arc de Triomf station Hospital 12 de Octubre Hausfeldstraße Universität Thaliastraße Camp de l'Arpa Tetuan Moosfeld Messestadt-West Església Major Sant Antoni Verdaguer Corvin-negyed Acacias / Embajadores München Ost station Határ út Montbau Mexikói út Paral·lel Astoria Stockholms södra Nordfriedhof Johnstraße Donaumarina Jaume I Aeropuerto T4 Joanic Tin Yiu Stop Gràcia Tin Wu Stop Ernest Lluch Tin Yat Stop Artigues – Sant Adrià Lehel Machtlfinger Straße Yotsuya Station Implerstraße Handelskai (Vienna U-Bahn) Aspernstraße Valdeacederas Bajcsy-Zsilinszky út DR Byen Station Reumannplatz Station Ho Tin Stop Horta Olympia-Einkaufszentrum Penitents Hang Mei Tsuen Stop Florida Seestadt Mercat Nou Schweglerstraße Can Peixauet Shan King (South) Stop Legazpi Tin Sau Stop Haderner Stern Ostbahnhof Münchner Freiheit Forstenrieder Allee Cuatro Caminos Maillingerstraße Lehel tér Alfonso XIII Entença Böhmerwaldplatz Untersbergstraße Tai Tong Road Stop Messestadt-Ost Sant Gervasi Dülferstrasse Silberhornstraße Tin Fu Stop Heiligenstadt (Vienna U-Bahn) Siu Lun Stop Sant Ildefons Sant Martí Kunst-Wet/Arts-Loi metro station Kagran Leoben Central Station Kagraner Platz Rochusgasse Encants Georg-Brauchle-Ring Selva de Mar Bikás park Diego de León Bellvitge/Gornal Theresienstraße Hauptbahnhof Laguna Großhadern Cornellà Centre Congrés Ochanomizu Station Bajza utca Siu Hei Stop Fraunhoferstraße Magòria-La Campana Chestwood Stop Sant Josep Árpád híd Moosacher St.Martin Platz Esperanza Plaza de Castilla Príncipe de Vergara Kin Sang Stop Pep Ventura Taborstraße Unter St. Veit Taubstummengasse Aidenbachstraße Shek Pai Stop Thalkirchen Kongens Nytorv Station Max-Weber-Platz La Bonanova Herrmann-Debroux metro station Roquetes Trinitat Vella Aspern Nord Monumental Kőbánya-Kispest Garching-Forschungszentrum Casa de l'Aigua Tarragona Choy Yee Bridge Stop Retiro Pui To Stop Pétillon metro station Széll Kálmán tér Delta railway station Barceloneta Arturo Soria Stortinget Leopoldau (Vienna U-Bahn) Tscherttegasse Westfriedhof Vallcarca El Putxet Chung Uk Tsuen Stop Delicias Zona Universitària St.-Quirin-Platz Tsing Wun Stop Ginza Stop Obersendling Alto del Arenal Lam Tei Stop Ping Shan Stop Hardeggasse Erlaaer Straße Alser Straße Spittelau (Vienna U-Bahn) Demey metro station Park metro station Roßauer Lände Schlachthausgasse Nußdorfer Straße Gumpendorfer Straße Forgách utca Tokyo Station Emmerich station Christianshavn Station Kossuth Lajos tér El Maresme-Fòrum Ríos Rosas Can Serra München Moosach station Mangfallplatz San Hui Stop Tin Heng Stop Santa Coloma Mundet Hasenbergl Maria Cristina Alvarado Sants Estació Virrei Amat Palos de la Frontera Museumsquartier Eilendorf station On Ting Stop Hohenzollernplatz Valldaura Iglesia Rocafort Pubilla Cases Affluence Stop Colombia Vörösmarty tér Stiglmaierplatz Puskás Ferenc Stadion Oktogon Avinguda Tibidabo Station Gasometer Lergravsparken Station Opera Gorg station Liceu Burggasse-Stadthalle (Vienna U-Bahn) Alte Donau Alfons X Kieferngarten Braunschweiggasse Molí Nou – Ciutat Cooperativa Tin Tsz Stop Bogatell Tin Shui Wai Stop Flintholm Station Forum Station Harthof Innsbrucker Ring Sant Andreu Königsplatz Shan King (North) Stop Quiddestraße Plaza de España / Noviciado Großfeldsiedlung Les Corts Llacuna Bac de Roda Maelbeek/Maalbeek metro station Butterfly Stop Torras i Bages San Wai Stop Bellvitge Prinzregentenplatz Pilgramgasse Buenos Aires Kelenföld vasútállomás (Budapest Metro) Therese-Giehse-Allee Garching Ventura Rodríguez Tong Fong Tsuen Stop Pöttyös utca Urgell Marienplatz Menéndez Pelayo Hősök tere Rákóczi tér Chung Fu Stop Ching Chung Stop Friedensbrücke Hietzing Josefstädter Straße Kaisermühlen Sant Pau – Dos de Maig Colón Bella Center Station Bambú Singuerlín Las Rosas Alsacia Las Suertes Kanda Station Verneda Fürstenried West Lindevang Station Tuen Mun Stop Goodview Garden Stop Ventas Tuen Mun Swimming Pool Stop Leung King Stop Campo de las Naciones Karl-Preis-Platz Beaulieu metro station Quevedo Bayreuth Central Station Bon Pastor Lung Mun Stop Batthyány tér Meidling Hauptstraße Bilbao Vestamager Station Kodály körönd Állatkert Heimeranplatz La Pau Espanya Can Boixeres Hankar metro station Santo Domingo Prime View Stop Plaça de Sants Sagrada Família Olympiazentrum Hung Shui Kiu Stop Alterlaa Canyelles Candidplatz Sol Bahnhof Meidling (Vienna U-Bahn) Locwood Stop Dózsa György út Messe-Prater Tai Hing (North) Stop Can Vidalet Tai Hing (South) Stop Melody Garden Stop Trinitat Nova Fung Nin Road Stop Vörösmarty utca Erdberg Kastrup Station Újpest-Központ Rotkreuzplatz Plaça del Centre Avenida de América Schottentor Barajas Schwedenplatz Antón Martín Hong Lok Road Stop Poblenou Canal Tsing Shan Tsuen Stop Yau Oi Stop Santa Eulàlia Moncloa Nestroyplatz Neubaugasse Nyugati pályaudvar Újpest-Városkapu Navas Glòries Holzapfelkreuth Kreillerstraße Móricz Zsigmond körtér Klinikák Frederiksberg Station San Cristóbal Fontana Tin King Stop Stephansplatz Karlsplatz Portazgo Herrengasse Gavarra Hostafrancs Stadion Callao Ecseri út Kin On Stop Plaça Molina Santa Rosa El Carmel Stubentor Argüelles Schottenring Plaça de Catalunya station Provença-Diagonal station Iidabashi Station Arany János utca Fővám tér Ichigaya Station Wien Hütteldorf railway station Sundby Station Jägerstraße Muntaner Vanløse Station Wien Floridsdorf railway station Suidōbashi Station Sant Roc Odeonsplatz Sendlinger Tor Lufthavnen Station Nai Wai Stop Villaverde Alto Hoh Fuk Tong Stop Újbuda–központ Brudermühlstraße Light Rail Depot Stop Badalona Pompeu Fabra Déli pályaudvar Gran Vía Tribunal Keplerplatz Hütteldorfer Straße Westpark Estrecho Chang-dong Station Mar de Cristal Kardinal-Nagl-Platz Friedenheimer Straße Amagerbro Station Manoteras La Sagrera-Meridiana station Kei Lun Stop Poccistraße Guinardó – Hospital de Sant Pau Parque de Santa María Aeropuerto T1-T2-T3 Sam Shing Stop Stadlau Kolumbusplatz Rambla Just Oliveras San Fermín-Orcasur Schwanthalerhöhe Michaelibad Hospital de Bellvitge Clot Am Schöpfwerk Ober St. Veit Grand Central – 42nd Street Garching-Hochbrück Feldmoching Lista Ørestad Station Town Centre Stop Atocha Széchenyi fürdő Congosto Puente de Vallecas Pacífico Michelbeuern Frankfurter Ring Kettenbrückengasse Sarrià Margaretengürtel Josephsplatz Laimer Platz Westendstraße Neuperlach Zentrum Vilapicina Rathaus Avinguda Carrilet Milbertshofen Thieffry metro station Giselastraße Zippererstraße Ópera Freimann Milano Lambrate Reina Elisenda San Bernardo Marina München-Giesing station Urquinaona Niederhofstraße Längenfeldgasse Tuen Mun Ferry Pier Stop Blaha Lujza tér Velázquez Fung Tei Stop Passeig de Gràcia Serrano Stadtpark Jernbanetorget Ciudad de los Ángeles Universitat Moosach Ciutadella-Vila Olímpica Tirso de Molina (Madrid Metro) Yuen Long Stop Tin Shui Stop II. János Pál pápa tér Partnachplatz Besòs Besòs Mar Trudering La Almudena Siu Hong Stop Prosperidad Tin Yuet Stop Népliget El Coll – La Teixonera Wetland Park Stop Örs vezér tere Almendrales Donaustadtbrücke Pillangó utca Pàdua Ming Kum Stop Nueva Numancia Klinikum Großhadern Petuelring Tuen Mun Hospital Stop Wettersteinplatz Ullernåsen Årstaberg railway station Siebenhirten Ildefons Cerdà Rennbahnweg Nationaltheatret Poble Sec San Lorenzo Alonso Martínez Les Tres Torres Vienna West railway station Tetuán Hortaleza Am Hart Amager Strand Station Josephsburg Europa-Fira Palau Reial Arabellapark Donauinsel Llucmajor Landstraße (Vienna U-Bahn) Lavapiés Szent Gellért tér Vorgartenstraße Can Zam Collblanc Avenida de Guadalajara Nagyvárad tér Banco de España Neuperlach Süd Ferenciek tere
580
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'mode of transport'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:connecting_service ?y } UNION { ?z property:connecting_service ?x } } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:mode_of_transport . ?x rdf:type ontology:multiple_unit }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9322
P749
Q740752
USER
How many transport companies are owned by Deutsche Bahn ?
(c(Q740752),P749,Q9322)
action count
action filter_type
action find_reverse
entity Q9322
relation P749
type Q740752
[{'concept': 'Q740752'}, 'P749', 'Q9322']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q740752 . ?y property:P749 resource:Q9322 }
Deutsche Bahn
action count
action filter_type
action find_reverse
entity Deutsche Bahn
relation parent organization
type transport company
[{'concept': 'transport company'}, 'parent organization', 'Deutsche Bahn']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:transport_company . ?y property:parent_organization resource:Deutsche_Bahn }
[]
transport company
SYSTEM
4
Q452140 Q18853 Q31341 Q2350232
(c(Q740752),P749,Q9322)
action count
action filter_type
action find_reverse
entity Q9322
relation P749
type Q740752
[ANSWER]
[{'concept': 'Q740752'}, 'P749', 'Q9322']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q740752 . ?y property:P749 resource:Q9322 }
DB Fernverkehr DB Regio DB Schenker Logistics Stinnes AG
4
action count
action filter_type
action find_reverse
entity Deutsche Bahn
relation parent organization
type transport company
[{'concept': 'transport company'}, 'parent organization', 'Deutsche Bahn']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:transport_company . ?y property:parent_organization resource:Deutsche_Bahn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1097
P800
Q502895
USER
Whose notable work was Berlin Hauptbahnhof ?
(c(Q502895),P800,Q1097)
action filter_type
action find_reverse
entity Q1097
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P800 resource:Q1097 }
Berlin Hauptbahnhof
action filter_type
action find_reverse
entity Berlin Hauptbahnhof
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Berlin Hauptbahnhof']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:notable_work resource:Berlin_Hauptbahnhof }
[]
common name
Q76846
SYSTEM
Meinhard von Gerkan
Q76846
(c(Q502895),P800,Q1097)
action filter_type
action find_reverse
entity Q1097
relation P800
type Q502895
[ANSWER] was Berlin Hauptbahnhof
[{'concept': 'Q502895'}, 'P800', 'Q1097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P800 resource:Q1097 }
Meinhard von Gerkan
Meinhard von Gerkan was Berlin Hauptbahnhof
Meinhard von Gerkan
action filter_type
action find_reverse
entity Berlin Hauptbahnhof
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Berlin Hauptbahnhof']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:notable_work resource:Berlin_Hauptbahnhof }
[]