Simple Question (Direct)
Simple Question
Q11357283
P19
Q486972
USER
Which human settlement was Yasuhiro Mitani born in ?
(Q11357283,P19,c(Q486972))
action filter_type
action find
entity Q11357283
relation P19
type Q486972
['Q11357283', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q11357283 property:P19 ?r . ?r rdf:type ontology:Q486972 }
Yasuhiro Mitani
action filter_type
action find
entity Yasuhiro Mitani
relation place of birth
type human settlement
['Yasuhiro Mitani', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Yasuhiro_Mitani property:place_of_birth ?r . ?r rdf:type ontology:human_settlement }
[]
human settlement
Q212713
SYSTEM
Bunkyō-ku
Q212713
(Q11357283,P19,c(Q486972))
action filter_type
action find
entity Q11357283
relation P19
type Q486972
Which human settlement was Yasuhiro Mitani born in
['Q11357283', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q11357283 property:P19 ?r . ?r rdf:type ontology:Q486972 }
Bunkyō-ku
Which human settlement was Yasuhiro Mitani born in
Bunkyō-ku
action filter_type
action find
entity Yasuhiro Mitani
relation place of birth
type human settlement
['Yasuhiro Mitani', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Yasuhiro_Mitani property:place_of_birth ?r . ?r rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11357283
P463
Q2088357
USER
Which musical ensemble was that person a member of ?
(Q212713,P463,c(Q2088357))
action filter_type
action find
entity Q11357283
relation P463
type Q2088357
['Q212713', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q11357283 property:P463 ?y . ?y rdf:type ontology:Q2088357 }
Yasuhiro Mitani
action filter_type
action find
entity Yasuhiro Mitani
relation member of
type musical ensemble
['Bunkyō-ku', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:Yasuhiro_Mitani property:member_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7601603
SYSTEM
Stardust Revue
Q7601603
(Q212713,P463,c(Q2088357))
action filter_type
action find
entity Q11357283
relation P463
type Q2088357
[ANSWER] was that person a member of
['Q212713', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?y WHERE { resource:Q11357283 property:P463 ?y . ?y rdf:type ontology:Q2088357 }
Stardust Revue
Stardust Revue was that person a member of
Stardust Revue
action filter_type
action find
entity Yasuhiro Mitani
relation member of
type musical ensemble
['Bunkyō-ku', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?y WHERE { resource:Yasuhiro_Mitani property:member_of ?y . ?y rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7601603
P264
Q334453
USER
Which division is the record brand of that musical ensemble ?
(Q7601603,P264,c(Q334453))
action filter_type
action find
entity Q7601603
relation P264
type Q334453
['Q7601603', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q7601603 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Stardust Revue
action filter_type
action find
entity Stardust Revue
relation record label
type division
['Stardust Revue', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Stardust_Revue property:record_label ?y . ?y rdf:type ontology:division }
[]
division
Q21077
SYSTEM
Warner Music Group
Q21077
(Q7601603,P264,c(Q334453))
action filter_type
action find
entity Q7601603
relation P264
type Q334453
[ANSWER] is the record brand of that musical ensemble
['Q7601603', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q7601603 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Warner Music Group
Warner Music Group is the record brand of that musical ensemble
Warner Music Group
action filter_type
action find
entity Stardust Revue
relation record label
type division
['Stardust Revue', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Stardust_Revue property:record_label ?y . ?y rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21077 Q453841
P264
Q502895
USER
Does Tal have that division as its record company ?
(Q453841,P264,Q21077)
action is_in
entity Q21077
action find
entity Q453841
relation P264
['Q453841', 'P264', 'Q21077']
ASK WHERE { resource:Q453841 property:P264 resource:Q21077 }
Warner Music Group Tal
action is_in
entity Warner Music Group
action find
entity Tal
relation record label
['Tal', 'record label', 'Warner Music Group']
ASK WHERE { resource:Tal property:record_label resource:Warner_Music_Group }
[]
common name
SYSTEM
YES
(Q453841,P264,Q21077)
action is_in
entity Q21077
action find
entity Q453841
relation P264
[ANSWER]
['Q453841', 'P264', 'Q21077']
ASK WHERE { resource:Q453841 property:P264 resource:Q21077 }
Yes
action is_in
entity Warner Music Group
action find
entity Tal
relation record label
['Tal', 'record label', 'Warner Music Group']
ASK WHERE { resource:Tal property:record_label resource:Warner_Music_Group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q43229
USER
Which organizations contains approximately 1 division as their subordinate ?
(c(Q43229),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q43229
type Q334453
value 1
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?s ) WHERE { ?b property:P355 ?m . ?b rdf:type ontology:Q43229 . ?m rdf:type ontology:Q334453 } GROUP BY ?b } . FILTER ( ?s = 1 ) }
action approx
action find_tuple_counts
relation subsidiary
type organization
type division
value 1
[{'concept': 'organization'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?s ) WHERE { ?b property:subsidiary ?m . ?b rdf:type ontology:organization . ?m rdf:type ontology:division } GROUP BY ?b } . FILTER ( ?s = 1 ) }
[]
division organization
Q41187 Q10854462 Q621231
SYSTEM
Sony, CJ E&M, Apple Corps
Q338920 Q1813833 Q6056696 Q7305816 Q41187 Q7937458 Q15514231 Q621231 Q218038 Q10854462 Q806252
(c(Q43229),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q43229
type Q334453
value 1
[ANSWERS] contain approximately 1 division as their subordinate
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?s ) WHERE { ?b property:P355 ?m . ?b rdf:type ontology:Q43229 . ?m rdf:type ontology:Q334453 } GROUP BY ?b } . FILTER ( ?s = 1 ) }
Access Industries Eagle Rock Entertainment Interscope Communications Redeye Distribution Sony Viva Entertainment Esun Holdings Apple Corps RCA CJ E&M Bandai Visual
Sony, CJ E&M and Apple Corps contain approximately 1 division as their subordinate
Sony CJ E&M Apple Corps
action approx
action find_tuple_counts
relation subsidiary
type organization
type division
value 1
[{'concept': 'organization'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?s ) WHERE { ?b property:subsidiary ?m . ?b rdf:type ontology:organization . ?m rdf:type ontology:division } GROUP BY ?b } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q486972 Q13220204 Q1048835
USER
Which human settlements are twin towns of max number of administrative country subdivisions and political territories ?
(c(Q13220204)|c(Q1048835),P190,c(Q486972))
action argmax
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q486972
type Q1048835
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?l WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?x WHERE { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?s rdf:type ?m } GROUP BY ?x } . FILTER ( ?f = ?d ) }
action argmax
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type human settlement
type political territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?l WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?x WHERE { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?m } GROUP BY ?x } . FILTER ( ?f = ?d ) }
[]
human settlement second-level administrative country subdivision political territorial entity
Q693628 Q268
SYSTEM
Wilmersdorf, Poznań
Q693628 Q268
(c(Q13220204)|c(Q1048835),P190,c(Q486972))
action argmax
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P190
type Q486972
type Q1048835
[ANSWERS] are twin towns of max number of administrative country subdivisions and political territories
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?l WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?x WHERE { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?s rdf:type ?m } GROUP BY ?x } . FILTER ( ?f = ?d ) }
Wilmersdorf Poznań
Wilmersdorf and Poznań are twin towns of max number of administrative country subdivisions and political territories
Wilmersdorf Poznań
action argmax
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation sister city
type human settlement
type political territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?l WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?x WHERE { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?s rdf:type ?m } GROUP BY ?x } . FILTER ( ?f = ?d ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q13220204
USER
How many administrative country subdivisions are the sister cities of that human settlement ?
(Q693628,P190,c(Q13220204))
['Q693628', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207445 property:P190 ?z . ?z rdf:type ontology:Q13220204 }
['Wilmersdorf', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wilmersdorf property:sister_city ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Quantitative|Count|Single entity type|Clarification
Q693628
SYSTEM
Did you mean Wilmersdorf ?
(Q693628,P190,c(Q13220204)) (Q268,P190,c(Q13220204))
[ANSWER]
['Q693628', 'P190', {'concept': 'Q13220204'}] ['Q268', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207445 property:P190 ?z . ?z rdf:type ontology:Q13220204 }
Did you mean Wilmersdorf ?
Wilmersdorf
['Wilmersdorf', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Poznań', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wilmersdorf property:sister_city ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q693628,P190,c(Q13220204))
['Q693628', 'P190', {'concept': 'Q13220204'}]
['Wilmersdorf', 'sister city', {'concept': 'second-level administrative country subdivision'}]
[]
SYSTEM
2
Q1663 Q101918
(Q693628,P190,c(Q13220204))
[ANSWER]
['Q693628', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1207445 property:P190 ?z . ?z rdf:type ontology:Q13220204 }
Split Apeldoorn
2
['Wilmersdorf', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Wilmersdorf property:sister_city ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q43229 Q15324 Q44539
USER
Which organizations are min number of bodies of water or temples a component of ?
(c(Q15324)|c(Q44539),P361,c(Q43229))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q15324
action find_reverse_tuple_counts
relation P361
type Q43229
type Q44539
[[{'concept': 'Q15324'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?o WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15324 ) ( ontology:Q44539 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { { ?m property:P361 ?l . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q15324 } UNION { ?m property:P361 ?l . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q44539 } } GROUP BY ?l } . FILTER ( ?n = ?f ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type organization
type body of water
action find_reverse_tuple_counts
relation part of
type organization
type temple
[[{'concept': 'body of water'}, {'concept': 'temple'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?o WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:body_of_water ) ( ontology:temple ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { { ?m property:part_of ?l . ?l rdf:type ontology:organization . ?m rdf:type ontology:body_of_water } UNION { ?m property:part_of ?l . ?l rdf:type ontology:organization . ?m rdf:type ontology:temple } } GROUP BY ?l } . FILTER ( ?n = ?f ) }
[]
organization body of water temple
Q9531 Q1431486 Q95
SYSTEM
BBC, Orange, Google
Q852242 Q16331106 Q1408050 Q309195 Q1440421 Q3655897 Q253439 Q688755 Q23657139 Q2397872 Q35339 Q465909 Q209511 Q998470 Q217408 Q5547834 Q4752572 Q4835551 Q1418433 Q4043687 Q182016 Q844944 Q2211010 Q30917 Q1135557 Q136119 Q18110823 Q203453 Q1271094 Q7825 Q6046156 Q206811 Q2146961 Q48204 Q7138530 Q18656 Q5467906 Q26398 Q6667106 Q4641200 Q207936 Q3150930 Q2568894 Q7692127 Q16151068 Q212599 Q786194 Q4654544 Q6731888 Q494369 Q312 Q1760825 Q1553051 Q16821462 Q10854462 Q82151 Q1045778 Q8022 Q19356907 Q2972682 Q213988 Q750200 Q15221361 Q215380 Q3156954 Q170416 Q127992 Q46952 Q868587 Q4891492 Q819425 Q7188 Q1903962 Q240968 Q684758 Q1476687 Q17277426 Q2023635 Q180003 Q7669953 Q1059183 Q495372 Q1666600 Q5586475 Q10323528 Q4806614 Q7123089 Q936648 Q23872817 Q772547 Q842828 Q795231 Q1781671 Q2972578 Q2927468 Q189021 Q18550 Q195728 Q38928 Q1653630 Q4944037 Q275623 Q899356 Q1128453 Q596139 Q6098237 Q27546218 Q788158 Q896916 Q7278 Q848197 Q15028 Q83910 Q15627509 Q4148426 Q777725 Q1323296 Q18643352 Q7054562 Q1848616 Q7779 Q7243679 Q192144 Q2408073 Q579926 Q555925 Q109179 Q7178 Q552581 Q744089 Q315451 Q1377440 Q42970 Q2992927 Q180 Q215650 Q18770309 Q1393345 Q35476 Q5275861 Q174240 Q5465482 Q490035 Q76615 Q3552065 Q20800127 Q7240 Q695110 Q3326613 Q18773725 Q37093 Q1224697 Q81230 Q8473 Q5125063 Q208305 Q144617 Q3098795 Q1151600 Q83825 Q688785 Q163810 Q18643347 Q856783 Q16848605 Q11575035 Q8032700 Q6314587 Q3892249 Q695267 Q49260 Q1194832 Q1543093 Q694821 Q201787 Q1067998 Q565566 Q605169 Q2598900 Q1422 Q24064181 Q2462124 Q513679 Q1559556 Q1431486 Q42998 Q9079686 Q4639379 Q993679 Q3721 Q355226 Q7257343 Q444649 Q685171 Q522379 Q11822606 Q6928652 Q912413 Q2737008 Q18786 Q245065 Q3246557 Q4875024 Q590952 Q12580769 Q3917681 Q173496 Q21077029 Q583268 Q1585599 Q178790 Q2323022 Q846659 Q3503412 Q4885181 Q193858 Q660770 Q1125605 Q2140930 Q95 Q1141267 Q383589 Q830334 Q229478 Q918396 Q586581 Q4914768 Q856125 Q131566 Q11407 Q76486 Q261288 Q1467848 Q1386924 Q579376 Q2112673 Q9531 Q4357795 Q8027679 Q15139437 Q646842 Q1162568 Q123759 Q16948775 Q173395 Q485750 Q84129 Q23565 Q2983474 Q7058797 Q10729547
(c(Q15324)|c(Q44539),P361,c(Q43229))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q43229
type Q15324
action find_reverse_tuple_counts
relation P361
type Q43229
type Q44539
[ANSWERS] are min number of bodies of water or temples a component of
[[{'concept': 'Q15324'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?o WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15324 ) ( ontology:Q44539 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { { ?m property:P361 ?l . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q15324 } UNION { ?m property:P361 ?l . ?l rdf:type ontology:Q43229 . ?m rdf:type ontology:Q44539 } } GROUP BY ?l } . FILTER ( ?n = ?f ) }
College of Cardinals Greek antidictatorship struggle Ferrovie del Sud Est Bank for International Settlements Siemens Energy Sector Carlsberg Sweden Royal Netherlands Academy of Arts and Sciences Telekom Austria Laurie & Whittle M-Sport WWE airline alliance Dylan and Cole RELX Group Aum Shinrikyo Georgia Tech Research Institute Ancestry.com Inc BGL Group NAMES Project AIDS Memorial Quilt Manic Depressive Psychosis United Nations Environment Programme Presidency of Bosnia and Herzegovina Hervormde begraafplaats (Hoogezand) Federal Council quartet ZF Friedrichshafen Buttes New British Cemetery Westdeutscher Rundfunk Allegheny Cemetery World Trade Organization Intereconomía Corporation International PEN Revolutionärer Kampf voluntary association Parkinson's Disease Foundation Manchester United F.C. Ford Racing public broadcasting Workpoint Entertainment 5by5 Studios China Central Television Ingenico Group Cemeteries in Vienna TechMediaNetwork, Inc. Athabasca Tribal Council Limited Accor Open Society Foundations AT&T Labs Magnolia Cemetery Woori Bank Apple Schools of Sint-Martens-Latem Verkehrsverbund Rhein-Neckar Peace Development Fund CJ E&M Food and Agriculture Organization of the United Nations Esri Generalitat of Catalonia Teenebelle Cimetières de la Guillotière Skogskyrkogården SønderjyskE Islamic Front band Sumo Power Philips Association for Computing Machinery organized crime McGraw Hill Financial Bergen Bank Indian Railways government Osaka Monorail Bavarian Congregation Swiss Esperanto Society Merz Pharma Schildts & Söderströms Talpa Media American National Standards Institute TEDMED Being Inc. Korea Exchange International Game Technology Gorilla Tapes Manchester and Leeds Railway Botellita de Jerez Paco Park diarchy Hullmandel & Walton armed forces Asia Society Căile Ferate Române Koninklijke Hoogovens Waverley Cemetery Ohio State Buckeyes TED conferences Mafia Beckhoff Group PNC Financial Services IG Metall Jugend Boots Opticians PSA Peugeot Citroën Husqvarna Group actuarial science Mattel Ragga Twins Conseil de la Nation Atikamekw Tokyo Monorail Hamburger Verkehrsverbund political party parliamentary group International Organization for Standardization RENFE military organization Graceland Cemetery Arnold Pannartz and Konrad Sweynheim Xinjiang Production and Construction Corps Robert and Owen Ivan North Carolina National Bank Volkovo Cemetery Commonwealth of Independent States Primrose and West Venera NASA Astronaut Group 3 European Liberal Youth Broadcom Rotary International International Red Cross and Red Crescent Movementsac SAP SE Association of Tennis Professionals Verkehrsverbund Berlin-Brandenburg European Northern Observatory Amnesty International Canadian Conference of Catholic Bishops Wikimedia Foundation General Conference on Weights and Measures Algemene Begraafplaats Kleverlaan Fairmont Hotels and Resorts AT&T Digital First Media Transparency International Food for the Hungry Greek Resistance Fortune 500 Up-Front Group Adverbum Lockheed Martin Volksbank Canadian Cadet Organizations Begraafplaats Orthen Yahoo! DigitalGlobe Siemens military Claiborne Farm Commodore International Telecom Italia Esperanto-USA E. Mahoney and Son NSB Sea Launch Volvo Mike Schreiber and Ford Reeves CSX Transportation Irish Trade Union Congress Sankei Shimbun Co. Woodham Brothers Jupiter Broadcasting S Group European Molecular Biology Laboratory Norwegian Association for Women's Rights Toronto-Dominion Bank Stockmann IG Metall Swiss National Library Cirrus Logic Rundfunk der DDR British Rail Grand Council of the Crees Juventus F.C. Lesser Slave Lake Indian Regional Council The Trump Organization Central Japan Railway Company Pax Christi Orange orchestra Steely & Clevie 4th Naval Warfare Flotilla Okinawa Monorail fraternities and sororities in North America Beuronese Congregation Public Citizen Asahi Shimbun Company Prussian Cultural Heritage Foundation Society of Saint-Sulpice Polish Esperanto Association Mr. Flotsam and Mr. Jetsam France Telecom legation United World Colleges intergovernmental organization Claremont Colleges Bayview - New York Bay Cemetery Crédit Agricole S.M. Culture & Contents embassy Marvel Comics Schuyler, Hartley and Graham Vale Harman International Industries trade union Kita-Osaka Kyūkō Railway Jewish cemetery Sulasol Ben & Jason International Electrotechnical Commission OJSC Russian Railways French Democratic Confederation of Labour Walt Disney Imagineering Google Thomson Reuters American Locomotive Company Best Western International Bureau of Weights and Measures National Health Service Confederation of German Trade Unions Biodiversity Information Standards Royal Philharmonic Orchestra Institute of Electrical and Electronics Engineers VMware Saints Cosmas and Damian Dolby Laboratories Holmen FC Bayern München AG NASA Astronaut Group 5 Netherland-America Foundation BBC Kansas and Oklahoma Railroad Wison Group NEXON Korea American Public University System International Council for Science Organization of American States North Peace Tribal Council Cisco Systems ICANN Minor League Baseball Hessian Broadcasting Corporation Finnish National Gallery Northern Norway Regional Health Authority Hualong Royal Cemetery
BBC, Orange and Google are min number of bodies of water or temples a component of
BBC Orange Google
action argmin
action union
action find_reverse_tuple_counts
relation part of
type organization
type body of water
action find_reverse_tuple_counts
relation part of
type organization
type temple
[[{'concept': 'body of water'}, {'concept': 'temple'}], 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?o WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:body_of_water ) ( ontology:temple ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { { ?m property:part_of ?l . ?l rdf:type ontology:organization . ?m rdf:type ontology:body_of_water } UNION { ?m property:part_of ?l . ?l rdf:type ontology:organization . ?m rdf:type ontology:temple } } GROUP BY ?l } . FILTER ( ?n = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6648077 Q11357283
P27 P17
Q15617994
USER
Which administrative territories are Yasuhiro Mitani a civilian of or are Kalemoğlu located in ?
OR((Q11357283,P27,c(Q15617994)), (Q6648077,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11357283
relation P27
action find
entity Q6648077
relation P17
type Q15617994
{'OR': [['Q11357283', 'P27', {'concept': 'Q15617994'}], ['Q6648077', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q11357283 property:P27 ?p } UNION { resource:Q6648077 property:P17 ?p } } }
Kalemoğlu Yasuhiro Mitani
action filter_type
action union
action find
entity Yasuhiro Mitani
relation country of citizenship
action find
entity Kalemoğlu
relation country
type designation for an administrative territorial entity
{'OR': [['Yasuhiro Mitani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kalemoğlu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yasuhiro_Mitani property:country_of_citizenship ?p } UNION { resource:Kalemoğlu property:country ?p } } }
[]
designation for an administrative territorial entity
Q17 Q43
SYSTEM
Japan, Turkey
Q17 Q43
OR((Q11357283,P27,c(Q15617994)), (Q6648077,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11357283
relation P27
action find
entity Q6648077
relation P17
type Q15617994
[ANSWERS] are Yasuhiro Mitani a civilian of or are Kalemoğlu located in
{'OR': [['Q11357283', 'P27', {'concept': 'Q15617994'}], ['Q6648077', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q11357283 property:P27 ?p } UNION { resource:Q6648077 property:P17 ?p } } }
Japan Turkey
Japan and Turkey are Yasuhiro Mitani a civilian of or are Kalemoğlu located in
Japan Turkey
action filter_type
action union
action find
entity Yasuhiro Mitani
relation country of citizenship
action find
entity Kalemoğlu
relation country
type designation for an administrative territorial entity
{'OR': [['Yasuhiro Mitani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kalemoğlu', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yasuhiro_Mitani property:country_of_citizenship ?p } UNION { resource:Kalemoğlu property:country ?p } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q43
P35
Q502895
USER
Who are elected as the head of state of Japan and Turkey ?
(Q17,P35,c(Q502895)) (Q43,P35,c(Q502895))
action union
action filter_type
action find
entity Q17
relation P35
type Q502895
action filter_type
action find
entity Q43
relation P35
type Q502895
['Q17', 'P35', {'concept': 'Q502895'}] ['Q43', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q43 property:P35 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q17 property:P35 ?y . ?y rdf:type ontology:Q502895 } }
Japan Turkey
action union
action filter_type
action find
entity Japan
relation head of state
type common name
action filter_type
action find
entity Turkey
relation head of state
type common name
['Japan', 'head of state', {'concept': 'common name'}] ['Turkey', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:Turkey property:head_of_state ?y . ?y rdf:type ontology:common_name } UNION { resource:Japan property:head_of_state ?y . ?y rdf:type ontology:common_name } }
[]
common name
Q37979 Q39259 Q42852
SYSTEM
Akihito, Recep Tayyip Erdoğan, Abdullah Gül
Q37979 Q42852 Q165487 Q39259 Q151729
(Q17,P35,c(Q502895)) (Q43,P35,c(Q502895))
action union
action filter_type
action find
entity Q17
relation P35
type Q502895
action filter_type
action find
entity Q43
relation P35
type Q502895
[ANSWERS] are elected as the head of state of Japan and Turkey
['Q17', 'P35', {'concept': 'Q502895'}] ['Q43', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q43 property:P35 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q17 property:P35 ?y . ?y rdf:type ontology:Q502895 } }
Akihito Abdullah Gül Ahmet Necdet Sezer Recep Tayyip Erdoğan Süleyman Demirel
Akihito, Recep Tayyip Erdoğan and Abdullah Gül are elected as the head of state of Japan and Turkey
Akihito Recep Tayyip Erdoğan Abdullah Gül
action union
action filter_type
action find
entity Japan
relation head of state
type common name
action filter_type
action find
entity Turkey
relation head of state
type common name
['Japan', 'head of state', {'concept': 'common name'}] ['Turkey', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:Turkey property:head_of_state ?y . ?y rdf:type ontology:common_name } UNION { resource:Japan property:head_of_state ?y . ?y rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42852
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q42852)
action filter_type
action find
entity Q42852
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q42852']
SELECT DISTINCT ?p WHERE { resource:Q42852 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Abdullah Gül
action filter_type
action find
entity Abdullah Gül
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Abdullah Gül']
SELECT DISTINCT ?p WHERE { resource:Abdullah_Gül property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q37979
SYSTEM
Did you mean Akihito ?
Q37979 Q39259 Q42852
(c(Q502895),P26,Q37979) (c(Q502895),P26,Q39259) (c(Q502895),P26,Q42852)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q37979'] [{'concept': 'Q502895'}, 'P26', 'Q39259'] [{'concept': 'Q502895'}, 'P26', 'Q42852']
SELECT DISTINCT ?p WHERE { resource:Q42852 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Akihito Recep Tayyip Erdoğan Abdullah Gül
Did you mean Akihito ?
Akihito
[{'concept': 'common name'}, 'spouse', 'Akihito'] [{'concept': 'common name'}, 'spouse', 'Recep Tayyip Erdoğan'] [{'concept': 'common name'}, 'spouse', 'Abdullah Gül']
SELECT DISTINCT ?p WHERE { resource:Abdullah_Gül property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Abdullah Gül. Could you tell me the answer for that?
(c(Q502895),P26,Q42852)
Q42852
[{'concept': 'Q502895'}, 'P26', 'Q42852']
[{'concept': 'common name'}, 'spouse', 'Abdullah Gül']
[]
Q2657523
SYSTEM
Hayrünnisa Gül
Q2657523
(c(Q502895),P26,Q42852)
action filter_type
action find
entity Q42852
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q42852']
SELECT DISTINCT ?p WHERE { resource:Q42852 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Hayrünnisa Gül
Hayrünnisa Gül is the life partner of that one
Hayrünnisa Gül
action filter_type
action find
entity Abdullah Gül
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Abdullah Gül']
SELECT DISTINCT ?p WHERE { resource:Abdullah_Gül property:spouse ?p . ?p rdf:type ontology:common_name }
[]