Simple Question (Direct)
Simple Question
Q925052
P937
Q56061
USER
What is the work location of Tim Johnson ?
(Q925052,P937,c(Q56061))
action filter_type
action find
entity Q925052
relation P937
type Q56061
['Q925052', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q925052 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Tim Johnson
action filter_type
action find
entity Tim Johnson
relation work location
type administrative territorial entity
['Tim Johnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tim_Johnson property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q925052,P937,c(Q56061))
action filter_type
action find
entity Q925052
relation P937
type Q56061
The work location of Tim Johnson is in [ANSWER]
['Q925052', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q925052 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Washington, D.C.
The work location of Tim Johnson is in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Tim Johnson
relation work location
type administrative territorial entity
['Tim Johnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tim_Johnson property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61
P1408
Q4830453
USER
Which business enterprises have license to broadcast to that administrative territory ?
(c(Q4830453),P1408,Q61)
action filter_type
action find_reverse
entity Q61
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q61']
SELECT DISTINCT ?w WHERE { ?w property:P1408 resource:Q61 . ?w rdf:type ontology:Q4830453 }
Washington, D.C.
action filter_type
action find_reverse
entity Washington, D.C.
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Washington, D.C.']
SELECT DISTINCT ?w WHERE { ?w property:licensed_to_broadcast_to resource:Washington,_D.C. . ?w rdf:type ontology:business_enterprise }
[]
business enterprise
Q7956141 Q7957165 Q7947199
SYSTEM
WTEM, WWDC, WBIG-FM
Q7957165 Q7947199 Q7957441 Q7950672 Q7955261 Q7952631 Q7956141 Q7946745 Q2403250
(c(Q4830453),P1408,Q61)
action filter_type
action find_reverse
entity Q61
relation P1408
type Q4830453
[ANSWERS] have license to broadcast to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q61']
SELECT DISTINCT ?w WHERE { ?w property:P1408 resource:Q61 . ?w rdf:type ontology:Q4830453 }
WWDC WBIG-FM WWRC WIHT WRQX WMAL WTEM WASH WFED
WTEM, WWDC and WBIG-FM have license to broadcast to that administrative territory
WTEM WWDC WBIG-FM
action filter_type
action find_reverse
entity Washington, D.C.
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Washington, D.C.']
SELECT DISTINCT ?w WHERE { ?w property:licensed_to_broadcast_to resource:Washington,_D.C. . ?w rdf:type ontology:business_enterprise }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7956141
P159
Q56061
USER
Where is the headquarter of that business enterprise located ?
(Q7956141,P159,c(Q56061))
action filter_type
action find
entity Q7956141
relation P159
type Q56061
['Q7956141', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q7956141 property:P159 ?g }
WTEM
action filter_type
action find
entity WTEM
relation headquarters location
type administrative territorial entity
['WTEM', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:WTEM property:headquarters_location ?g }
[]
administrative territorial entity
Clarification for simple ques.
Q7957165
SYSTEM
Did you mean WWDC ?
Q7956141 Q7957165 Q7947199
(Q7956141,P159,c(Q56061)) (Q7957165,P159,c(Q56061)) (Q7947199,P159,c(Q56061))
[ANSWER]
['Q7956141', 'P159', {'concept': 'Q56061'}] ['Q7957165', 'P159', {'concept': 'Q56061'}] ['Q7947199', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q7956141 property:P159 ?g }
WTEM WWDC WBIG-FM
Did you mean WWDC ?
WWDC
['WTEM', 'headquarters location', {'concept': 'administrative territorial entity'}] ['WWDC', 'headquarters location', {'concept': 'administrative territorial entity'}] ['WBIG-FM', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:WTEM property:headquarters_location ?g }
[]
Simple Question (Coreferenced)
USER
No, I meant WTEM. Could you tell me the answer for that?
(Q7956141,P159,c(Q56061))
Q7956141
['Q7956141', 'P159', {'concept': 'Q56061'}]
['WTEM', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q327022
SYSTEM
Rockville
Q327022
(Q7956141,P159,c(Q56061))
action filter_type
action find
entity Q7956141
relation P159
type Q56061
The headquarter of that business enterprise is located in [ANSWER]
['Q7956141', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q7956141 property:P159 ?g }
Rockville
The headquarter of that business enterprise is located in Rockville
Rockville
action filter_type
action find
entity WTEM
relation headquarters location
type administrative territorial entity
['WTEM', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:WTEM property:headquarters_location ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1371464
P127
Q4830453 Q811979 Q1002697
USER
How many business enterprises are the owners of around the same number of architectural structures or periodical literatures as New York Central Railroad ?
(c(Q811979)|c(Q1002697),P127,c(Q4830453))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q811979
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1371464
relation P127
type Q811979
type Q1002697
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:P127 ?w . ?d rdf:type ontology:Q1002697 . ?w rdf:type ontology:Q4830453 } UNION { ?d property:P127 ?w . ?w rdf:type ontology:Q4830453 . ?d rdf:type ontology:Q811979 } } GROUP BY ?w } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P127 resource:Q1371464 . { VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q1002697 ) } . ?t rdf:type ?c } } } }
New York Central Railroad
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type business enterprise
type architectural structure
action find_reverse_tuple_counts
relation owned by
type business enterprise
type periodical literature
action count
action filter_multi_types
action find_reverse
entity New York Central Railroad
relation owned by
type architectural structure
type periodical literature
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:owned_by ?w . ?d rdf:type ontology:periodical_literature . ?w rdf:type ontology:business_enterprise } UNION { ?d property:owned_by ?w . ?w rdf:type ontology:business_enterprise . ?d rdf:type ontology:architectural_structure } } GROUP BY ?w } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:owned_by resource:New_York_Central_Railroad . { VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:periodical_literature ) } . ?t rdf:type ?c } } } }
[]
business enterprise architectural structure periodical literature
SYSTEM
276
Q3633714 Q66 Q16987731 Q4051426 Q2134015 Q15770 Q2755948 Q5520145 Q727145 Q483657 Q23925826 Q1779703 Q943681 Q864910 Q1136766 Q1124861 Q52825 Q105557 Q1134268 Q5522561 Q817107 Q1457152 Q5123051 Q4785248 Q945739 Q1475312 Q928831 Q871174 Q59187 Q1428793 Q703248 Q157062 Q1931458 Q155296 Q745700 Q283666 Q908916 Q1004068 Q3571463 Q29366 Q167840 Q2843047 Q303341 Q841220 Q1072021 Q20252503 Q1139995 Q7497366 Q27231583 Q499967 Q1856260 Q27625328 Q688893 Q1218180 Q3140623 Q93442 Q588786 Q155026 Q389251 Q1750203 Q827306 Q117059 Q43380 Q795324 Q680727 Q1631655 Q325780 Q318618 Q1881443 Q35886 Q1142327 Q26678 Q19548352 Q468385 Q1552770 Q3067653 Q4928676 Q131439 Q2638082 Q734663 Q5029804 Q7112063 Q80263 Q21065695 Q1360353 Q896454 Q666922 Q53268 Q156913 Q11086747 Q980831 Q2393003 Q329426 Q4681782 Q2121562 Q117202 Q1778402 Q367300 Q3109528 Q344341 Q6686 Q2944409 Q458041 Q649618 Q952062 Q169889 Q26720780 Q11582449 Q4921527 Q13416787 Q1384140 Q1853722 Q1616154 Q2031951 Q549189 Q1408079 Q23925824 Q399643 Q13974 Q16923622 Q19758662 Q656554 Q819819 Q26702890 Q12159636 Q1130022 Q739000 Q27834602 Q1663776 Q5628833 Q390285 Q762787 Q910401 Q695087 Q1129774 Q1572759 Q1542175 Q166419 Q16834431 Q1268837 Q27625294 Q687175 Q168082 Q613254 Q499707 Q1475070 Q37158 Q393557 Q6079763 Q40966 Q1420724 Q160746 Q498825 Q27231258 Q1510161 Q1375086 Q1932006 Q48989 Q494839 Q137023 Q699551 Q24451600 Q814712 Q318672 Q629269 Q23837644 Q488795 Q432564 Q663187 Q773164 Q18233866 Q3459037 Q668687 Q2631700 Q835329 Q5629125 Q2094989 Q15109862 Q1391936 Q94912 Q11628893 Q7834879 Q1781348 Q489565 Q965259 Q22969587 Q16988729 Q287617 Q190795 Q1742118 Q18643976 Q3295867 Q1071804 Q869084 Q49727 Q6074318 Q7949407 Q117215 Q834054 Q1067189 Q700133 Q3139309 Q2667719 Q19604369 Q698884 Q668849 Q796719 Q795546 Q654907 Q7895134 Q708290 Q306772 Q908436 Q1100675 Q16165708 Q482607 Q541879 Q13542679 Q5476713 Q850324 Q269792 Q181697 Q12594197 Q3873449 Q745099 Q11507487 Q1976966 Q2014154 Q19793482 Q503176 Q1034621 Q5350273 Q1063455 Q1576557 Q10955994 Q836325 Q26236599 Q1522776 Q1479375 Q18619470 Q1569219 Q696947 Q2856401 Q188508 Q795354 Q1681145 Q1371464 Q7201188 Q127005 Q20061301 Q3002428 Q1485061 Q15678788 Q3360013 Q155573 Q476608 Q2004060 Q644958 Q54718 Q18168675 Q7921754 Q2033167 Q822314 Q1589170 Q21196761 Q504423 Q856322 Q154037 Q7233 Q938225 Q771734 Q3259704 Q1640495 Q2377884 Q668737 Q638715
(c(Q811979)|c(Q1002697),P127,c(Q4830453))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q811979
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1371464
relation P127
type Q811979
type Q1002697
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:P127 ?w . ?d rdf:type ontology:Q1002697 . ?w rdf:type ontology:Q4830453 } UNION { ?d property:P127 ?w . ?w rdf:type ontology:Q4830453 . ?d rdf:type ontology:Q811979 } } GROUP BY ?w } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P127 resource:Q1371464 . { VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q1002697 ) } . ?t rdf:type ?c } } } }
Banca Nazionale Toscana Boeing ITV Digital Channels Ltd Thomas B. Jeffery Company Raycom Media Zastava Aeritalia Gamesys Asia Television Korea New Network Meyers Portefølje Lancashire and Yorkshire Railway Viasat Nippon Television Fairchild Aircraft France Télévisions ABB Group Embraer Sony Corporation of America Gardline Group Benelli Sega Sammy Holdings City Brewing Company Arcapita Leif Höegh & Co Vinci Seoul Broadcasting System Československé státní dráhy Vauxhall Sud Aviation Sanlih E-Television Unilever Micro Focus International Heinkel Princess Cruises de Havilland Grandi Stazioni Bulgarian National Television Yamato Holdings Changan Automobile Hydro-Québec AT&T Corporation Wyndham Worldwide Hankyu Hanshin Holdings Chicago and North Western Transportation Company Oulujoki MV Agusta Shine Group PFA HOLDING Türkiye Cumhuriyeti Devlet Demiryolları Tempo Beer Industries Politiken Holding Bombardier Transportation Nikon Entreprise nationale de télévision Newport, Abergavenny and Hereford Railway China National Petroleum Corporation United Parcel Service Kobo Inc. North British Railway Proton Associated British Foods CBS Boeing Defense, Space & Security Migros STIB/MIVB TUI Cruises Captrain MG Motor Lamborghini Global Television Network BMW CK Hutchison Holdings Blue Funnel Line GAC Group Fawcett Publications Blucora Comedy Central Hijos de Rivera TV Tokyo Canadian Car and Foundry Outfit7 RCN TV Pittsburgh Aviation Industries European and North American Railway Cologne-Minden Railway Company Matterhorn Gotthard Bahn Toyota Bertelsmann Nippon Television Holdings Oboronprom Autoroutes Paris-Rhin-Rhône Danone Adelaide Steamship Company Qianjiang The Co-operative Group NTV Plus Magyar Televízió Govia Activision Blizzard Renault Central Huijin Investment Union-Castle Line Rádio e Televisão de Portugal Hawker Siddeley American Broadcasting Company J-F. Lemvigh-Müller Holding Sotetsu Holdings Nichirei Engie Exor TV 2 TV 2 Sociedade Independente de Comunicação Sikorsky Kockums Noma Holding GMA Network NBC National Modern Energy Holdings Ltd. Kintetsu Group Holdings Carnival Cruise Lines Bergisch-Märkische Railway Company A.P. Møller Holding Teleradiocompany "Lux" London and South Western Railway Geely China Orient Asset Management Co., Ltd. ICA AB H2O Retailing Corbis Barilla Group SAIC Motor Mars, Incorporated Coop Hamburg Atlantic Line Mitsubishi UFJ Financial Group Fox Broadcasting Company Daimler Trucks North America DynCorp Jyllands-Posten Holding Deutsche Bundesbahn Hungarian State Railways Pilatus Aircraft BNP Paribas MBDA Starbucks Železničná spoločnosť Slovensko Isetan Mitsukoshi Holdings Opel Freightliner Trucks Nestlé Korean Broadcasting System FIH Holding Swedish Cooperative Union Eurolines Midland Railway ZDF STX Europe Primark Daimler Motors Corporation Suning Holdings Group BAIC Group Abellio Macy's Endemol Shine Group Korea Educational Broadcasting System Coop Switzerland Chemins de fer de l'Est Alken-Maes Anbang Insurance Group Fratelli Nardi United States Postal Service Beijing Television Commercial Radio Hong Kong HCT Group Sumitomo Mitsui Financial Group Craft Brew Alliance de Havilland Australia Rockstar Games Seibu Holdings Transport International Holdings Wien Holding London, Brighton and South Coast Railway PZL Visual Solutions, Inc. Kantipur Publications ABS-CBN Corporation Roscosmos State Corporation Kingdom Holding Company Oulu Energy The Coca-Cola Company Chicago, Milwaukee, St. Paul and Pacific Railroad Cord Automobile Das Erste Irvine Company WFMY-TV Transpole Enterprise Holdings Polskie Radio Südwestrundfunk Holmarcom Group Aviation Industry Corporation of China Columbus Nova Radio Taiwan International Wiener Linien Sky Italia S.r.l. BBC Local Radio Bristol University of Bristol Union Cartoon Network E. D. Abbott Ltd TV Asahi Cleveland, Cincinnati, Chicago and St. Louis Railway CJ Corporation Munhwa Broadcasting Corporation Chemins de fer du Nord Energy Company of Ukraine 21st Century Fox H. J. Heinz Company Ferrero SpA Raaberbahn Lotte Shopping Navigazione Generale Italiana Kyocera Japan Exchange Group Nelonen Joh. Enschedé Geotech Christie's Capgemini UKTV The Lego Group Koninklijke Paketvaart-Maatschappij Universe International Financial Holdings Messerschmitt-Bölkow-Blohm ColArt Vietnam Television MTR Corporation Restaurant Brands International Khabar Eastern Counties Railway DR P3 Mikoyan China National Offshore Oil Corporation Statkraft New York Central Railroad Planet X Georg von Holtzbrinck Publishing Group DirecTV Latin America Creemore Springs GE Aviation Fiat Chrysler Automobiles Pabst Brewing Company Airbus Helicopters TVN Televisão Independente Verkehrsbetriebe Karlsruhe Yle, the Finnish Broadcasting Company Brasil Kirin Vermont Public Radio Sky UK Limited Sony Pictures Entertainment Hauck & Aufhäuser MTV Italy Western Maryland Railway CITIC Group Total S.A. Lockheed Energoatom Waitrose Los Angeles Department of Water and Power Sampo Group Tata Sons Yum! Brands Boston and Maine Corporation
276
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type business enterprise
type architectural structure
action find_reverse_tuple_counts
relation owned by
type business enterprise
type periodical literature
action count
action filter_multi_types
action find_reverse
entity New York Central Railroad
relation owned by
type architectural structure
type periodical literature
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:owned_by ?w . ?d rdf:type ontology:periodical_literature . ?w rdf:type ontology:business_enterprise } UNION { ?d property:owned_by ?w . ?w rdf:type ontology:business_enterprise . ?d rdf:type ontology:architectural_structure } } GROUP BY ?w } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:owned_by resource:New_York_Central_Railroad . { VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:periodical_literature ) } . ?t rdf:type ?c } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1072021
P127
Q4830453 Q811979 Q1002697
USER
And what about Chicago and North Western Transportation Company?
(c(Q811979)|c(Q1002697),P127,c(Q4830453))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q811979
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1072021
relation P127
type Q811979
type Q1002697
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q1002697 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P127 resource:Q1072021 . { { ?n rdf:type ontology:Q811979 } UNION { ?n rdf:type ontology:Q1002697 } } } } . FILTER ( ?e = ?q ) }
Chicago and North Western Transportation Company
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type business enterprise
type architectural structure
action find_reverse_tuple_counts
relation owned by
type business enterprise
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Chicago and North Western Transportation Company
relation owned by
type architectural structure
type periodical literature
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:periodical_literature ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:owned_by resource:Chicago_and_North_Western_Transportation_Company . { { ?n rdf:type ontology:architectural_structure } UNION { ?n rdf:type ontology:periodical_literature } } } } . FILTER ( ?e = ?q ) }
[]
business enterprise architectural structure periodical literature
SYSTEM
276
Q3633714 Q66 Q16987731 Q4051426 Q2134015 Q15770 Q2755948 Q5520145 Q727145 Q483657 Q23925826 Q1779703 Q943681 Q864910 Q1136766 Q1124861 Q52825 Q105557 Q1134268 Q5522561 Q817107 Q1457152 Q5123051 Q4785248 Q945739 Q1475312 Q928831 Q871174 Q59187 Q1428793 Q703248 Q157062 Q1931458 Q155296 Q745700 Q283666 Q908916 Q1004068 Q3571463 Q29366 Q167840 Q2843047 Q303341 Q841220 Q1072021 Q20252503 Q1139995 Q7497366 Q27231583 Q499967 Q1856260 Q27625328 Q688893 Q1218180 Q3140623 Q93442 Q588786 Q155026 Q389251 Q1750203 Q827306 Q117059 Q43380 Q795324 Q680727 Q1631655 Q325780 Q318618 Q1881443 Q35886 Q1142327 Q26678 Q19548352 Q468385 Q1552770 Q3067653 Q4928676 Q131439 Q2638082 Q734663 Q5029804 Q7112063 Q80263 Q21065695 Q1360353 Q896454 Q666922 Q53268 Q156913 Q11086747 Q980831 Q2393003 Q329426 Q4681782 Q2121562 Q117202 Q1778402 Q367300 Q3109528 Q344341 Q6686 Q2944409 Q458041 Q649618 Q952062 Q169889 Q26720780 Q11582449 Q4921527 Q13416787 Q1384140 Q1853722 Q1616154 Q2031951 Q549189 Q1408079 Q23925824 Q399643 Q13974 Q16923622 Q19758662 Q656554 Q819819 Q26702890 Q12159636 Q1130022 Q739000 Q27834602 Q1663776 Q5628833 Q390285 Q762787 Q910401 Q695087 Q1129774 Q1572759 Q1542175 Q166419 Q16834431 Q1268837 Q27625294 Q687175 Q168082 Q613254 Q499707 Q1475070 Q37158 Q393557 Q6079763 Q40966 Q1420724 Q160746 Q498825 Q27231258 Q1510161 Q1375086 Q1932006 Q48989 Q494839 Q137023 Q699551 Q24451600 Q814712 Q318672 Q629269 Q23837644 Q488795 Q432564 Q663187 Q773164 Q18233866 Q3459037 Q668687 Q2631700 Q835329 Q5629125 Q2094989 Q15109862 Q1391936 Q94912 Q11628893 Q7834879 Q1781348 Q489565 Q965259 Q22969587 Q16988729 Q287617 Q190795 Q1742118 Q18643976 Q3295867 Q1071804 Q869084 Q49727 Q6074318 Q7949407 Q117215 Q834054 Q1067189 Q700133 Q3139309 Q2667719 Q19604369 Q698884 Q668849 Q796719 Q795546 Q654907 Q7895134 Q708290 Q306772 Q908436 Q1100675 Q16165708 Q482607 Q541879 Q13542679 Q5476713 Q850324 Q269792 Q181697 Q12594197 Q3873449 Q745099 Q11507487 Q1976966 Q2014154 Q19793482 Q503176 Q1034621 Q5350273 Q1063455 Q1576557 Q10955994 Q836325 Q26236599 Q1522776 Q1479375 Q18619470 Q1569219 Q696947 Q2856401 Q188508 Q795354 Q1681145 Q1371464 Q7201188 Q127005 Q20061301 Q3002428 Q1485061 Q15678788 Q3360013 Q155573 Q476608 Q2004060 Q644958 Q54718 Q18168675 Q7921754 Q2033167 Q822314 Q1589170 Q21196761 Q504423 Q856322 Q154037 Q7233 Q938225 Q771734 Q3259704 Q1640495 Q2377884 Q668737 Q638715
(c(Q811979)|c(Q1002697),P127,c(Q4830453))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q811979
action find_reverse_tuple_counts
relation P127
type Q4830453
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1072021
relation P127
type Q811979
type Q1002697
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q1002697 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P127 resource:Q1072021 . { { ?n rdf:type ontology:Q811979 } UNION { ?n rdf:type ontology:Q1002697 } } } } . FILTER ( ?e = ?q ) }
Banca Nazionale Toscana Boeing ITV Digital Channels Ltd Thomas B. Jeffery Company Raycom Media Zastava Aeritalia Gamesys Asia Television Korea New Network Meyers Portefølje Lancashire and Yorkshire Railway Viasat Nippon Television Fairchild Aircraft France Télévisions ABB Group Embraer Sony Corporation of America Gardline Group Benelli Sega Sammy Holdings City Brewing Company Arcapita Leif Höegh & Co Vinci Seoul Broadcasting System Československé státní dráhy Vauxhall Sud Aviation Sanlih E-Television Unilever Micro Focus International Heinkel Princess Cruises de Havilland Grandi Stazioni Bulgarian National Television Yamato Holdings Changan Automobile Hydro-Québec AT&T Corporation Wyndham Worldwide Hankyu Hanshin Holdings Chicago and North Western Transportation Company Oulujoki MV Agusta Shine Group PFA HOLDING Türkiye Cumhuriyeti Devlet Demiryolları Tempo Beer Industries Politiken Holding Bombardier Transportation Nikon Entreprise nationale de télévision Newport, Abergavenny and Hereford Railway China National Petroleum Corporation United Parcel Service Kobo Inc. North British Railway Proton Associated British Foods CBS Boeing Defense, Space & Security Migros STIB/MIVB TUI Cruises Captrain MG Motor Lamborghini Global Television Network BMW CK Hutchison Holdings Blue Funnel Line GAC Group Fawcett Publications Blucora Comedy Central Hijos de Rivera TV Tokyo Canadian Car and Foundry Outfit7 RCN TV Pittsburgh Aviation Industries European and North American Railway Cologne-Minden Railway Company Matterhorn Gotthard Bahn Toyota Bertelsmann Nippon Television Holdings Oboronprom Autoroutes Paris-Rhin-Rhône Danone Adelaide Steamship Company Qianjiang The Co-operative Group NTV Plus Magyar Televízió Govia Activision Blizzard Renault Central Huijin Investment Union-Castle Line Rádio e Televisão de Portugal Hawker Siddeley American Broadcasting Company J-F. Lemvigh-Müller Holding Sotetsu Holdings Nichirei Engie Exor TV 2 TV 2 Sociedade Independente de Comunicação Sikorsky Kockums Noma Holding GMA Network NBC National Modern Energy Holdings Ltd. Kintetsu Group Holdings Carnival Cruise Lines Bergisch-Märkische Railway Company A.P. Møller Holding Teleradiocompany "Lux" London and South Western Railway Geely China Orient Asset Management Co., Ltd. ICA AB H2O Retailing Corbis Barilla Group SAIC Motor Mars, Incorporated Coop Hamburg Atlantic Line Mitsubishi UFJ Financial Group Fox Broadcasting Company Daimler Trucks North America DynCorp Jyllands-Posten Holding Deutsche Bundesbahn Hungarian State Railways Pilatus Aircraft BNP Paribas MBDA Starbucks Železničná spoločnosť Slovensko Isetan Mitsukoshi Holdings Opel Freightliner Trucks Nestlé Korean Broadcasting System FIH Holding Swedish Cooperative Union Eurolines Midland Railway ZDF STX Europe Primark Daimler Motors Corporation Suning Holdings Group BAIC Group Abellio Macy's Endemol Shine Group Korea Educational Broadcasting System Coop Switzerland Chemins de fer de l'Est Alken-Maes Anbang Insurance Group Fratelli Nardi United States Postal Service Beijing Television Commercial Radio Hong Kong HCT Group Sumitomo Mitsui Financial Group Craft Brew Alliance de Havilland Australia Rockstar Games Seibu Holdings Transport International Holdings Wien Holding London, Brighton and South Coast Railway PZL Visual Solutions, Inc. Kantipur Publications ABS-CBN Corporation Roscosmos State Corporation Kingdom Holding Company Oulu Energy The Coca-Cola Company Chicago, Milwaukee, St. Paul and Pacific Railroad Cord Automobile Das Erste Irvine Company WFMY-TV Transpole Enterprise Holdings Polskie Radio Südwestrundfunk Holmarcom Group Aviation Industry Corporation of China Columbus Nova Radio Taiwan International Wiener Linien Sky Italia S.r.l. BBC Local Radio Bristol University of Bristol Union Cartoon Network E. D. Abbott Ltd TV Asahi Cleveland, Cincinnati, Chicago and St. Louis Railway CJ Corporation Munhwa Broadcasting Corporation Chemins de fer du Nord Energy Company of Ukraine 21st Century Fox H. J. Heinz Company Ferrero SpA Raaberbahn Lotte Shopping Navigazione Generale Italiana Kyocera Japan Exchange Group Nelonen Joh. Enschedé Geotech Christie's Capgemini UKTV The Lego Group Koninklijke Paketvaart-Maatschappij Universe International Financial Holdings Messerschmitt-Bölkow-Blohm ColArt Vietnam Television MTR Corporation Restaurant Brands International Khabar Eastern Counties Railway DR P3 Mikoyan China National Offshore Oil Corporation Statkraft New York Central Railroad Planet X Georg von Holtzbrinck Publishing Group DirecTV Latin America Creemore Springs GE Aviation Fiat Chrysler Automobiles Pabst Brewing Company Airbus Helicopters TVN Televisão Independente Verkehrsbetriebe Karlsruhe Yle, the Finnish Broadcasting Company Brasil Kirin Vermont Public Radio Sky UK Limited Sony Pictures Entertainment Hauck & Aufhäuser MTV Italy Western Maryland Railway CITIC Group Total S.A. Lockheed Energoatom Waitrose Los Angeles Department of Water and Power Sampo Group Tata Sons Yum! Brands Boston and Maine Corporation
276
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type business enterprise
type architectural structure
action find_reverse_tuple_counts
relation owned by
type business enterprise
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Chicago and North Western Transportation Company
relation owned by
type architectural structure
type periodical literature
[[{'concept': 'architectural structure'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?e ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:periodical_literature ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:owned_by resource:Chicago_and_North_Western_Transportation_Company . { { ?n rdf:type ontology:architectural_structure } UNION { ?n rdf:type ontology:periodical_literature } } } } . FILTER ( ?e = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P206
Q355304
USER
Which watercourses are located next to Washington, D.C. ?
(Q61,P206,c(Q355304))
action filter_type
action find
entity Q61
relation P206
type Q355304
['Q61', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q355304 . resource:Q61 property:P206 ?r }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation located next to body of water
type watercourse
['Washington, D.C.', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:watercourse . resource:Washington,_D.C. property:located_next_to_body_of_water ?r }
[]
watercourse
Q483607 Q179444
SYSTEM
Anacostia River, Potomac River
Q483607 Q179444
(Q61,P206,c(Q355304))
action filter_type
action find
entity Q61
relation P206
type Q355304
[ANSWERS] are located next to Washington, D.C.
['Q61', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q355304 . resource:Q61 property:P206 ?r }
Anacostia River Potomac River
Anacostia River and Potomac River are located next to Washington, D.C.
Anacostia River Potomac River
action filter_type
action find
entity Washington, D.C.
relation located next to body of water
type watercourse
['Washington, D.C.', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:watercourse . resource:Washington,_D.C. property:located_next_to_body_of_water ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483607
P177
Q811979
USER
Which architectural structures cross that watercourse ?
(c(Q811979),P177,Q483607)
action filter_type
action find_reverse
entity Q483607
relation P177
type Q811979
[{'concept': 'Q811979'}, 'P177', 'Q483607']
SELECT DISTINCT ?c WHERE { ?c property:P177 resource:Q483607 . ?c rdf:type ontology:Q811979 }
Anacostia River
action filter_type
action find_reverse
entity Anacostia River
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Anacostia River']
SELECT DISTINCT ?c WHERE { ?c property:crosses resource:Anacostia_River . ?c rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q483607
SYSTEM
Did you mean Anacostia River ?
Q483607 Q179444
(c(Q811979),P177,Q483607) (c(Q811979),P177,Q179444)
[ANSWER]
[{'concept': 'Q811979'}, 'P177', 'Q483607'] [{'concept': 'Q811979'}, 'P177', 'Q179444']
SELECT DISTINCT ?c WHERE { ?c property:P177 resource:Q483607 . ?c rdf:type ontology:Q811979 }
Anacostia River Potomac River
Did you mean Anacostia River ?
Anacostia River
[{'concept': 'architectural structure'}, 'crosses', 'Anacostia River'] [{'concept': 'architectural structure'}, 'crosses', 'Potomac River']
SELECT DISTINCT ?c WHERE { ?c property:crosses resource:Anacostia_River . ?c rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q811979),P177,Q483607)
[{'concept': 'Q811979'}, 'P177', 'Q483607']
[{'concept': 'architectural structure'}, 'crosses', 'Anacostia River']
[]
Q4748903 Q4750714 Q4889844
SYSTEM
Amtrak Railroad Anacostia Bridge, Anacostia Railroad Bridge, Benning Bridge
Q4748903 Q4750714 Q4889844 Q4547987 Q4923750 Q14628977 Q5497673 Q19321664
(c(Q811979),P177,Q483607)
action filter_type
action find_reverse
entity Q483607
relation P177
type Q811979
And [ANSWERS] cross that watercourse
[{'concept': 'Q811979'}, 'P177', 'Q483607']
SELECT DISTINCT ?c WHERE { ?c property:P177 resource:Q483607 . ?c rdf:type ontology:Q811979 }
Amtrak Railroad Anacostia Bridge Anacostia Railroad Bridge Benning Bridge 11th Street Bridges Bladensburg Road Bridge Whitney Young Memorial Bridge Frederick Douglass Memorial Bridge Pennsylvania Avenue Bridge
And Amtrak Railroad Anacostia Bridge, Anacostia Railroad Bridge and Benning Bridge cross that watercourse
Amtrak Railroad Anacostia Bridge Anacostia Railroad Bridge Benning Bridge
action filter_type
action find_reverse
entity Anacostia River
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Anacostia River']
SELECT DISTINCT ?c WHERE { ?c property:crosses resource:Anacostia_River . ?c rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q811979 Q3516658 Q11060274
USER
How many architectural structures are depicted in exactly 1 heraldic symbols or prints ?
(c(Q3516658)|c(Q11060274),P180,c(Q811979))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?t WHERE { { ?t rdf:type ontology:Q811979 . ?q rdf:type ontology:Q3516658 . ?q property:P180 ?t } UNION { ?q property:P180 ?t . ?t rdf:type ontology:Q811979 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?t } . FILTER ( ?x = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?t WHERE { { ?t rdf:type ontology:architectural_structure . ?q rdf:type ontology:heraldic_symbol . ?q property:depicts ?t } UNION { ?q property:depicts ?t . ?t rdf:type ontology:architectural_structure . ?q rdf:type ontology:print } } GROUP BY ?t } . FILTER ( ?x = 1 ) }
[]
architectural structure heraldic symbol print
SYSTEM
5
Q108325 Q18142 Q616334 Q189503 Q2307722
(c(Q3516658)|c(Q11060274),P180,c(Q811979))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
value 1
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?t WHERE { { ?t rdf:type ontology:Q811979 . ?q rdf:type ontology:Q3516658 . ?q property:P180 ?t } UNION { ?q property:P180 ?t . ?t rdf:type ontology:Q811979 . ?q rdf:type ontology:Q11060274 } } GROUP BY ?t } . FILTER ( ?x = 1 ) }
chapel tower block Vyšehrad place de la Concorde Pont d'Austerlitz
5
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?t WHERE { { ?t rdf:type ontology:architectural_structure . ?q rdf:type ontology:heraldic_symbol . ?q property:depicts ?t } UNION { ?q property:depicts ?t . ?t rdf:type ontology:architectural_structure . ?q rdf:type ontology:print } } GROUP BY ?t } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P449
Q4830453 Q15416 Q15961987
USER
Which business enterprises were the first to air max number of television programs or television genres ?
(c(Q15416)|c(Q15961987),P449,c(Q4830453))
action argmax
action union
action find_reverse_tuple_counts
relation P449
type Q4830453
type Q15416
action find_reverse_tuple_counts
relation P449
type Q4830453
type Q15961987
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:P449 ?n . ?n rdf:type ontology:Q4830453 . ?f rdf:type ontology:Q15416 } UNION { ?f property:P449 ?n . ?n rdf:type ontology:Q4830453 . ?f rdf:type ontology:Q15961987 } } GROUP BY ?n } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:P449 ?h . ?h rdf:type ontology:Q4830453 . ?m rdf:type ontology:Q15961987 } UNION { ?m property:P449 ?h . ?m rdf:type ontology:Q15416 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?h } . FILTER ( ?u = ?j ) }
action argmax
action union
action find_reverse_tuple_counts
relation original network
type business enterprise
type television program
action find_reverse_tuple_counts
relation original network
type business enterprise
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:original_network ?n . ?n rdf:type ontology:business_enterprise . ?f rdf:type ontology:television_program } UNION { ?f property:original_network ?n . ?n rdf:type ontology:business_enterprise . ?f rdf:type ontology:television_genre } } GROUP BY ?n } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:original_network ?h . ?h rdf:type ontology:business_enterprise . ?m rdf:type ontology:television_genre } UNION { ?m property:original_network ?h . ?m rdf:type ontology:television_program . ?h rdf:type ontology:business_enterprise } } GROUP BY ?h } . FILTER ( ?u = ?j ) }
[]
business enterprise television program television genre
Q169889
SYSTEM
American Broadcasting Company
Q169889
(c(Q15416)|c(Q15961987),P449,c(Q4830453))
action argmax
action union
action find_reverse_tuple_counts
relation P449
type Q4830453
type Q15416
action find_reverse_tuple_counts
relation P449
type Q4830453
type Q15961987
[ANSWER] was the first to air max number of television programs or television genres
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:P449 ?n . ?n rdf:type ontology:Q4830453 . ?f rdf:type ontology:Q15416 } UNION { ?f property:P449 ?n . ?n rdf:type ontology:Q4830453 . ?f rdf:type ontology:Q15961987 } } GROUP BY ?n } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:P449 ?h . ?h rdf:type ontology:Q4830453 . ?m rdf:type ontology:Q15961987 } UNION { ?m property:P449 ?h . ?m rdf:type ontology:Q15416 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?h } . FILTER ( ?u = ?j ) }
American Broadcasting Company
American Broadcasting Company was the first to air max number of television programs or television genres
American Broadcasting Company
action argmax
action union
action find_reverse_tuple_counts
relation original network
type business enterprise
type television program
action find_reverse_tuple_counts
relation original network
type business enterprise
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:original_network ?n . ?n rdf:type ontology:business_enterprise . ?f rdf:type ontology:television_program } UNION { ?f property:original_network ?n . ?n rdf:type ontology:business_enterprise . ?f rdf:type ontology:television_genre } } GROUP BY ?n } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?u ) WHERE { { ?m property:original_network ?h . ?h rdf:type ontology:business_enterprise . ?m rdf:type ontology:television_genre } UNION { ?m property:original_network ?h . ?m rdf:type ontology:television_program . ?h rdf:type ontology:business_enterprise } } GROUP BY ?h } . FILTER ( ?u = ?j ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169889
P137
Q1269299
USER
Which business organization can manage that business enterprise ?
(Q169889,P137,c(Q1269299))
action filter_type
action find
entity Q169889
relation P137
type Q1269299
['Q169889', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?m WHERE { resource:Q169889 property:P137 ?m . ?m rdf:type ontology:Q1269299 }
American Broadcasting Company
action filter_type
action find
entity American Broadcasting Company
relation operator
type type of business entity
['American Broadcasting Company', 'operator', {'concept': 'type of business entity'}]
SELECT DISTINCT ?m WHERE { resource:American_Broadcasting_Company property:operator ?m . ?m rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q7414
SYSTEM
The Walt Disney Company
Q7414
(Q169889,P137,c(Q1269299))
action filter_type
action find
entity Q169889
relation P137
type Q1269299
[ANSWER] can manage that business enterprise
['Q169889', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?m WHERE { resource:Q169889 property:P137 ?m . ?m rdf:type ontology:Q1269299 }
The Walt Disney Company
The Walt Disney Company can manage that business enterprise
The Walt Disney Company
action filter_type
action find
entity American Broadcasting Company
relation operator
type type of business entity
['American Broadcasting Company', 'operator', {'concept': 'type of business entity'}]
SELECT DISTINCT ?m WHERE { resource:American_Broadcasting_Company property:operator ?m . ?m rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179444
P403
Q15324
USER
Which body of water does Potomac River flow into ?
(Q179444,P403,c(Q15324))
action filter_type
action find
entity Q179444
relation P403
type Q15324
['Q179444', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q179444 property:P403 ?u . ?u rdf:type ontology:Q15324 }
Potomac River
action filter_type
action find
entity Potomac River
relation mouth of the watercourse
type body of water
['Potomac River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Potomac_River property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:body_of_water }
[]
body of water
Q216868
SYSTEM
Chesapeake Bay
Q216868
(Q179444,P403,c(Q15324))
action filter_type
action find
entity Q179444
relation P403
type Q15324
Which body of water Potomac River flows into
['Q179444', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q179444 property:P403 ?u . ?u rdf:type ontology:Q15324 }
Chesapeake Bay
Which body of water Potomac River flows into
Chesapeake Bay
action filter_type
action find
entity Potomac River
relation mouth of the watercourse
type body of water
['Potomac River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Potomac_River property:mouth_of_the_watercourse ?u . ?u rdf:type ontology:body_of_water }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1535828
Q15324
USER
And also tell me about Sassandra River?
(Q1535828,P403,c(Q15324))
action filter_type
action find
entity Q1535828
relation P403
type Q15324
['Q1535828', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q1535828 property:P403 ?k . ?k rdf:type ontology:Q15324 }
Sassandra River
action filter_type
action find
entity Sassandra River
relation mouth of the watercourse
type body of water
['Sassandra River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Sassandra_River property:mouth_of_the_watercourse ?k . ?k rdf:type ontology:body_of_water }
[]
body of water
Q41430
SYSTEM
Gulf of Guinea
Q41430
(Q1535828,P403,c(Q15324))
action filter_type
action find
entity Q1535828
relation P403
type Q15324
[ANSWER]
['Q1535828', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q1535828 property:P403 ?k . ?k rdf:type ontology:Q15324 }
Gulf of Guinea
Gulf of Guinea
action filter_type
action find
entity Sassandra River
relation mouth of the watercourse
type body of water
['Sassandra River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Sassandra_River property:mouth_of_the_watercourse ?k . ?k rdf:type ontology:body_of_water }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41430
P47
Q515
USER
Which city is adjacent to that body of water ?
(Q41430,P47,c(Q515))
action filter_type
action find
entity Q41430
relation P47
type Q515
['Q41430', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q41430 property:P47 ?i . ?i rdf:type ontology:Q515 }
Gulf of Guinea
action filter_type
action find
entity Gulf of Guinea
relation shares border with
type city
['Gulf of Guinea', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gulf_of_Guinea property:shares_border_with ?i . ?i rdf:type ontology:city }
[]
city
Q217432
SYSTEM
Port Harcourt
Q217432
(Q41430,P47,c(Q515))
action filter_type
action find
entity Q41430
relation P47
type Q515
[ANSWER] is adjacent to that body of water
['Q41430', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q41430 property:P47 ?i . ?i rdf:type ontology:Q515 }
Port Harcourt
Port Harcourt is adjacent to that body of water
Port Harcourt
action filter_type
action find
entity Gulf of Guinea
relation shares border with
type city
['Gulf of Guinea', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gulf_of_Guinea property:shares_border_with ?i . ?i rdf:type ontology:city }
[]