Simple Question (Direct)
Simple Question
Q3098634
P106
Q12737077
USER
What are the professions of Gary Vinson ?
(Q3098634,P106,c(Q12737077))
action filter_type
action find
entity Q3098634
relation P106
type Q12737077
['Q3098634', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3098634 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Gary Vinson
action filter_type
action find
entity Gary Vinson
relation occupation
type occupation
['Gary Vinson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gary_Vinson property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q3098634,P106,c(Q12737077))
action filter_type
action find
entity Q3098634
relation P106
type Q12737077
The professions of Gary Vinson are a [ANSWERS]
['Q3098634', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3098634 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
television actor actor
The professions of Gary Vinson are a television actor and actor
television actor actor
action filter_type
action find
entity Gary Vinson
relation occupation
type occupation
['Gary Vinson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gary_Vinson property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3098634
P161
Q15416
USER
Which television programs do that person star in ?
(c(Q15416),P161,Q10798782) (c(Q15416),P161,Q33999)
action filter_type
action find_reverse
entity Q3098634
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q10798782'] [{'concept': 'Q15416'}, 'P161', 'Q33999']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q3098634 . ?s rdf:type ontology:Q15416 }
Gary Vinson
action filter_type
action find_reverse
entity Gary Vinson
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'television actor'] [{'concept': 'television program'}, 'cast member', 'actor']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Gary_Vinson . ?s rdf:type ontology:television_program }
[]
television program
Q574907 Q7761177
SYSTEM
McHale's Navy, The Roaring 20s
Q574907 Q7761177
(c(Q15416),P161,Q10798782) (c(Q15416),P161,Q33999)
action filter_type
action find_reverse
entity Q3098634
relation P161
type Q15416
That person star in [ANSWERS]
[{'concept': 'Q15416'}, 'P161', 'Q10798782'] [{'concept': 'Q15416'}, 'P161', 'Q33999']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q3098634 . ?s rdf:type ontology:Q15416 }
McHale's Navy The Roaring 20s
That person star in McHale's Navy and The Roaring 20s
McHale's Navy The Roaring 20s
action filter_type
action find_reverse
entity Gary Vinson
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'television actor'] [{'concept': 'television program'}, 'cast member', 'actor']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Gary_Vinson . ?s rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q574907 Q7761177
P449
Q4830453
USER
Which network were the first to air McHale's Navy and The Roaring 20s ?
(Q574907,P449,c(Q4830453)) (Q7761177,P449,c(Q4830453))
action union
action filter_type
action find
entity Q574907
relation P449
type Q4830453
action filter_type
action find
entity Q7761177
relation P449
type Q4830453
['Q574907', 'P449', {'concept': 'Q4830453'}] ['Q7761177', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { { resource:Q7761177 property:P449 ?j . ?j rdf:type ontology:Q4830453 } UNION { resource:Q574907 property:P449 ?j . ?j rdf:type ontology:Q4830453 } }
McHale's Navy The Roaring 20s
action union
action filter_type
action find
entity McHale's Navy
relation original network
type business enterprise
action filter_type
action find
entity The Roaring 20s
relation original network
type business enterprise
["McHale's Navy", 'original network', {'concept': 'business enterprise'}] ['The Roaring 20s', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { { resource:The_Roaring_20s property:original_network ?j . ?j rdf:type ontology:business_enterprise } UNION { resource:McHale's_Navy property:original_network ?j . ?j rdf:type ontology:business_enterprise } }
[]
business enterprise
Q169889 Q169889
SYSTEM
American Broadcasting Company
Q169889 Q169889
(Q574907,P449,c(Q4830453)) (Q7761177,P449,c(Q4830453))
action union
action filter_type
action find
entity Q574907
relation P449
type Q4830453
action filter_type
action find
entity Q7761177
relation P449
type Q4830453
[ANSWER] and [ANSWER] were the first to air McHale's Navy and The Roaring 20s
['Q574907', 'P449', {'concept': 'Q4830453'}] ['Q7761177', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?j WHERE { { resource:Q7761177 property:P449 ?j . ?j rdf:type ontology:Q4830453 } UNION { resource:Q574907 property:P449 ?j . ?j rdf:type ontology:Q4830453 } }
American Broadcasting Company American Broadcasting Company
American Broadcasting Company and American Broadcasting Company were the first to air McHale's Navy and The Roaring 20s
American Broadcasting Company American Broadcasting Company
action union
action filter_type
action find
entity McHale's Navy
relation original network
type business enterprise
action filter_type
action find
entity The Roaring 20s
relation original network
type business enterprise
["McHale's Navy", 'original network', {'concept': 'business enterprise'}] ['The Roaring 20s', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?j WHERE { { resource:The_Roaring_20s property:original_network ?j . ?j rdf:type ontology:business_enterprise } UNION { resource:McHale's_Navy property:original_network ?j . ?j rdf:type ontology:business_enterprise } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q169889
P137
Q1269299
USER
Which business organization operates American Broadcasting Company ?
(Q169889,P137,c(Q1269299))
action filter_type
action find
entity Q169889
relation P137
type Q1269299
['Q169889', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { resource:Q169889 property:P137 ?t . ?t 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 ?t WHERE { resource:American_Broadcasting_Company property:operator ?t . ?t 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
As [ANSWER] operates American Broadcasting Company
['Q169889', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { resource:Q169889 property:P137 ?t . ?t rdf:type ontology:Q1269299 }
The Walt Disney Company
As The Walt Disney Company operates American Broadcasting Company
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 ?t WHERE { resource:American_Broadcasting_Company property:operator ?t . ?t rdf:type ontology:type_of_business_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q50743
Q1269299
USER
And also tell me about Paris Métro Line 4?
(Q50743,P137,c(Q1269299))
action filter_type
action find
entity Q50743
relation P137
type Q1269299
['Q50743', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?b WHERE { resource:Q50743 property:P137 ?b . ?b rdf:type ontology:Q1269299 }
Paris Métro Line 4
action filter_type
action find
entity Paris Métro Line 4
relation operator
type type of business entity
['Paris Métro Line 4', 'operator', {'concept': 'type of business entity'}]
SELECT DISTINCT ?b WHERE { resource:Paris_Métro_Line_4 property:operator ?b . ?b rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q643290
SYSTEM
RATP
Q643290
(Q50743,P137,c(Q1269299))
action filter_type
action find
entity Q50743
relation P137
type Q1269299
[ANSWER]
['Q50743', 'P137', {'concept': 'Q1269299'}]
SELECT DISTINCT ?b WHERE { resource:Q50743 property:P137 ?b . ?b rdf:type ontology:Q1269299 }
RATP
RATP
action filter_type
action find
entity Paris Métro Line 4
relation operator
type type of business entity
['Paris Métro Line 4', 'operator', {'concept': 'type of business entity'}]
SELECT DISTINCT ?b WHERE { resource:Paris_Métro_Line_4 property:operator ?b . ?b rdf:type ontology:type_of_business_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q643290 Q90 Q5721493
P159
Q56061
USER
Does that business organization have the principal seat at Paris and Salehdar Kola ?
(Q643290,P159,Q90) (Q643290,P159,Q5721493)
action is_in
entity Q643290
action intersection
action find_reverse
entity Q90
relation P159
action find_reverse
entity Q5721493
relation P159
['Q643290', 'P159', 'Q90'] ['Q643290', 'P159', 'Q5721493']
ASK WHERE { resource:Q643290 property:P159 resource:Q90 . resource:Q643290 property:P159 resource:Q5721493 }
RATP Paris Salehdar Kola
action is_in
entity RATP
action intersection
action find_reverse
entity Paris
relation headquarters location
action find_reverse
entity Salehdar Kola
relation headquarters location
['RATP', 'headquarters location', 'Paris'] ['RATP', 'headquarters location', 'Salehdar Kola']
ASK WHERE { resource:RATP property:headquarters_location resource:Paris . resource:RATP property:headquarters_location resource:Salehdar_Kola }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q643290,P159,Q90) (Q643290,P159,Q5721493)
action is_in
entity Q643290
action intersection
action find_reverse
entity Q90
relation P159
action find_reverse
entity Q5721493
relation P159
[ANSWER]
['Q643290', 'P159', 'Q90'] ['Q643290', 'P159', 'Q5721493']
ASK WHERE { resource:Q643290 property:P159 resource:Q90 . resource:Q643290 property:P159 resource:Q5721493 }
YES and NO respectively
action is_in
entity RATP
action intersection
action find_reverse
entity Paris
relation headquarters location
action find_reverse
entity Salehdar Kola
relation headquarters location
['RATP', 'headquarters location', 'Paris'] ['RATP', 'headquarters location', 'Salehdar Kola']
ASK WHERE { resource:RATP property:headquarters_location resource:Paris . resource:RATP property:headquarters_location resource:Salehdar_Kola }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q643290
P108
Q502895
USER
Who works for that business organization ?
action filter_type
action find_reverse
entity Q643290
relation P108
type Q502895
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P108 resource:Q643290 }
RATP
action filter_type
action find_reverse
entity RATP
relation employer
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:employer resource:RATP }
[]
common name
Q3168348 Q18120949 Q18077389
SYSTEM
Jean-Paul Bailly, Paul-André Bolgert, Roger Bickart
Q3168348 Q18120949 Q18077389
action filter_type
action find_reverse
entity Q643290
relation P108
type Q502895
[ANSWERS] work for that business organization
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P108 resource:Q643290 }
Jean-Paul Bailly Paul-André Bolgert Roger Bickart
Jean-Paul Bailly, Paul-André Bolgert and Roger Bickart work for that business organization
Jean-Paul Bailly Paul-André Bolgert Roger Bickart
action filter_type
action find_reverse
entity RATP
relation employer
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:employer resource:RATP }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q180516 Q178706
USER
Which people commissioned exactly 1 rooms or institutions ?
(c(Q180516)|c(Q178706),P88,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q178706
value 1
[[{'concept': 'Q180516'}, {'concept': 'Q178706'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?f WHERE { { ?p property:P88 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q180516 } UNION { ?p property:P88 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q178706 } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type institution
value 1
[[{'concept': 'room'}, {'concept': 'institution'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?f WHERE { { ?p property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:room } UNION { ?p property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:institution } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
[]
common name room institution
Q48547 Q299675 Q167782
SYSTEM
Cosimo I de' Medici, Grand Duke of Tuscany, Francesco I de' Medici, Grand Duke of Tuscany, Charles V of France
Q48547 Q167782 Q434730 Q715054 Q1379797 Q969797 Q299675 Q187447
(c(Q180516)|c(Q178706),P88,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q178706
value 1
[ANSWERS] commissioned exactly 1 rooms or institutions
[[{'concept': 'Q180516'}, {'concept': 'Q178706'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?f WHERE { { ?p property:P88 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q180516 } UNION { ?p property:P88 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q178706 } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
Cosimo I de' Medici, Grand Duke of Tuscany Charles V of France Gabriel García Moreno Borso d'Este, Duke of Ferrara Leonello d'Este, Marquis of Ferrara Guidobaldo da Montefeltro Francesco I de' Medici, Grand Duke of Tuscany Pablo Escobar
Cosimo I de' Medici, Grand Duke of Tuscany, Francesco I de' Medici, Grand Duke of Tuscany and Charles V of France commissioned exactly 1 rooms or institutions
Cosimo I de' Medici, Grand Duke of Tuscany Francesco I de' Medici, Grand Duke of Tuscany Charles V of France
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type institution
value 1
[[{'concept': 'room'}, {'concept': 'institution'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?f WHERE { { ?p property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:room } UNION { ?p property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:institution } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1136226
P749
Q1269299 Q268592 Q1269299
USER
How many business organizations own less number of economic branches or business organizations than United Aircraft Corporation ?
(c(Q268592)|c(Q1269299),P749,c(Q1269299))
action count
action less
action union
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q268592
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1136226
relation P749
type Q268592
type Q1269299
[[{'concept': 'Q268592'}, {'concept': 'Q1269299'}], 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P749 resource:Q1136226 . { { ?e rdf:type ontology:Q268592 } UNION { ?e rdf:type ontology:Q1269299 } } } } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { { ?z rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q268592 . ?c property:P749 ?z } UNION { ?c property:P749 ?z . ?c rdf:type ontology:Q1269299 . ?z rdf:type ontology:Q1269299 } } GROUP BY ?z } }
United Aircraft Corporation
action count
action less
action union
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type economic branch
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type type of business entity
action count
action filter_multi_types
action find_reverse
entity United Aircraft Corporation
relation parent organization
type economic branch
type type of business entity
[[{'concept': 'economic branch'}, {'concept': 'type of business entity'}], 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:parent_organization resource:United_Aircraft_Corporation . { { ?e rdf:type ontology:economic_branch } UNION { ?e rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { { ?z rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:economic_branch . ?c property:parent_organization ?z } UNION { ?c property:parent_organization ?z . ?c rdf:type ontology:type_of_business_entity . ?z rdf:type ontology:type_of_business_entity } } GROUP BY ?z } }
[]
type of business entity economic branch type of business entity
SYSTEM
94
Q1418 Q1372049 Q18341667 Q643290 Q8766 Q7671152 Q24525746 Q680991 Q4045977 Q487292 Q11229276 Q205012 Q2283 Q11243007 Q1198156 Q333498 Q499207 Q304962 Q7050523 Q690966 Q62621 Q1435702 Q3117359 Q753684 Q294508 Q1181484 Q243278 Q7433758 Q856411 Q20112954 Q83716 Q206921 Q7240301 Q58707 Q1045758 Q17193081 Q780696 Q386414 Q1814247 Q322601 Q194360 Q12581123 Q639447 Q190464 Q7875835 Q507269 Q1557223 Q53247 Q191715 Q37156 Q151107 Q18754892 Q249190 Q217338 Q422062 Q219960 Q1540297 Q1439011 Q627381 Q329347 Q4652575 Q514140 Q296372 Q327751 Q494917 Q1937503 Q739416 Q128577 Q1576915 Q185278 Q188514 Q2144525 Q445007 Q113215 Q1490400 Q207784 Q967868 Q548278 Q544847 Q855313 Q686178 Q514265 Q5215769 Q918390 Q1066018 Q242446 Q568532 Q1424962 Q11318827 Q1295105 Q11368062 Q4101910 Q193412 Q219501
(c(Q268592)|c(Q1269299),P749,c(Q1269299))
action count
action less
action union
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q268592
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1136226
relation P749
type Q268592
type Q1269299
[ANSWER]
[[{'concept': 'Q268592'}, {'concept': 'Q1269299'}], 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P749 resource:Q1136226 . { { ?e rdf:type ontology:Q268592 } UNION { ?e rdf:type ontology:Q1269299 } } } } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { { ?z rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q268592 . ?c property:P749 ?z } UNION { ?c property:P749 ?z . ?c rdf:type ontology:Q1269299 . ?z rdf:type ontology:Q1269299 } } GROUP BY ?z } }
Nokia Japan Post Holdings Nissin Foods Holdings RATP British Airways TPG Telecom BCE Inc. Arriva Belmond Allianz SE LIXIL Group Sberbank of Russia Microsoft SG Holdings FirstGroup Bombardier Inc. Astrium Mitsubishi Estate Nord-Trøndelag Elektrisitetsverk Forbo Holding Canon Inc. Whitbread Carrefour Group Atari, SA ALROSA Debenhams Rolls-Royce Scientific Games Corporation British American Tobacco Sega Games Aer Lingus Pfizer Premier Foods Aeroflot United Technologies Corporation Izukyu Holdings Austal PhosAgro Sumitomo Electric Industries Seiko American Express GS Holdings Seven & I Holdings Co. HSBC Holdings US Airways Group Bandai Co., Ltd. Lawson Panasonic Time Warner IBM Michelin SeaLink Travel Group Avro Casio Aktiengesellschaft Scania Sanoma Fortress Investment Group Bank of Scotland Lukoil AMC Networks Rosatom Nuclear Energy State Corporation AQuantive Kraft Foods Virgin Group Terex BAE Systems JX Holdings Koei Tecmo Holdings News Corporation Tata Motors Scripps Networks Interactive Altria Carlsberg Group Lagardère Group Square Enix NextEra Energy Standard Chartered Qualcomm BOC Hong Kong Birmingham Small Arms Company Autonomy Corporation MS&AD Insurance Group Holdings Sky plc Toei Company Lucasfilm MGM Resorts International InterContinental Hotels Group Tsuruha Holdings Nomura Holdings Maruzen CHI Holdings VID Texas Instruments Saab Group
94
action count
action less
action union
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type economic branch
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type type of business entity
action count
action filter_multi_types
action find_reverse
entity United Aircraft Corporation
relation parent organization
type economic branch
type type of business entity
[[{'concept': 'economic branch'}, {'concept': 'type of business entity'}], 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:parent_organization resource:United_Aircraft_Corporation . { { ?e rdf:type ontology:economic_branch } UNION { ?e rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?u < ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) ?z WHERE { { ?z rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:economic_branch . ?c property:parent_organization ?z } UNION { ?c property:parent_organization ?z . ?c rdf:type ontology:type_of_business_entity . ?z rdf:type ontology:type_of_business_entity } } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1671804
P749
Q1269299 Q268592 Q1269299
USER
And also tell me about Investor AB?
(c(Q268592)|c(Q1269299),P749,c(Q1269299))
action count
action less
action union
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q268592
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1671804
relation P749
type Q268592
type Q1269299
[[{'concept': 'Q268592'}, {'concept': 'Q1269299'}], 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?g ) WHERE { { ?c rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q1269299 . ?t property:P749 ?c } UNION { ?t property:P749 ?c . ?c rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q268592 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P749 resource:Q1671804 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q268592 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?g < ?s ) }
Investor AB
action count
action less
action union
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type economic branch
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Investor AB
relation parent organization
type economic branch
type type of business entity
[[{'concept': 'economic branch'}, {'concept': 'type of business entity'}], 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?g ) WHERE { { ?c rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:type_of_business_entity . ?t property:parent_organization ?c } UNION { ?t property:parent_organization ?c . ?c rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:economic_branch } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:parent_organization resource:Investor_AB . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:economic_branch ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?g < ?s ) }
[]
type of business entity economic branch type of business entity
SYSTEM
105
Q1798370 Q1232514 Q1418 Q1372049 Q18341667 Q643290 Q922344 Q8766 Q7671152 Q24525746 Q680991 Q975655 Q7414 Q4045977 Q487292 Q11229276 Q205012 Q2283 Q11243007 Q1198156 Q333498 Q499207 Q304962 Q1136226 Q7050523 Q690966 Q62621 Q1435702 Q3117359 Q753684 Q294508 Q1181484 Q243278 Q7433758 Q856411 Q7107013 Q20112954 Q83716 Q206921 Q7240301 Q58707 Q1045758 Q17193081 Q780696 Q386414 Q1814247 Q322601 Q194360 Q12581123 Q639447 Q190464 Q7875835 Q507269 Q1557223 Q53247 Q4579562 Q191715 Q37156 Q151107 Q18754892 Q249190 Q217338 Q422062 Q11311474 Q219960 Q1540297 Q1439011 Q627381 Q329347 Q4652575 Q514140 Q296372 Q327751 Q494917 Q1937503 Q739416 Q128577 Q1576915 Q185278 Q188514 Q2144525 Q445007 Q113215 Q1490400 Q207784 Q967868 Q548278 Q544847 Q855313 Q686178 Q15944611 Q514265 Q5215769 Q918390 Q1066018 Q19900 Q242446 Q568532 Q1424962 Q11318827 Q1295105 Q11368062 Q4101910 Q193412 Q219501
(c(Q268592)|c(Q1269299),P749,c(Q1269299))
action count
action less
action union
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q268592
action find_reverse_tuple_counts
relation P749
type Q1269299
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1671804
relation P749
type Q268592
type Q1269299
[ANSWER]
[[{'concept': 'Q268592'}, {'concept': 'Q1269299'}], 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?g ) WHERE { { ?c rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q1269299 . ?t property:P749 ?c } UNION { ?t property:P749 ?c . ?c rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q268592 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P749 resource:Q1671804 . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:Q268592 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?g < ?s ) }
CGI Group Resona Holdings Nokia Japan Post Holdings Nissin Foods Holdings RATP Morrisons British Airways TPG Telecom BCE Inc. Arriva Skandinaviska Enskilda Banken The Walt Disney Company Belmond Allianz SE LIXIL Group Sberbank of Russia Microsoft SG Holdings FirstGroup Bombardier Inc. Astrium Mitsubishi Estate United Aircraft Corporation Nord-Trøndelag Elektrisitetsverk Forbo Holding Canon Inc. Whitbread Carrefour Group Atari, SA ALROSA Debenhams Rolls-Royce Scientific Games Corporation British American Tobacco Oslo Børs Holding Sega Games Aer Lingus Pfizer Premier Foods Aeroflot United Technologies Corporation Izukyu Holdings Austal PhosAgro Sumitomo Electric Industries Seiko American Express GS Holdings Seven & I Holdings Co. HSBC Holdings US Airways Group Bandai Co., Ltd. Lawson Panasonic Sporveien Oslo Time Warner IBM Michelin SeaLink Travel Group Avro Casio Aktiengesellschaft Square Enix Holdings Scania Sanoma Fortress Investment Group Bank of Scotland Lukoil AMC Networks Rosatom Nuclear Energy State Corporation AQuantive Kraft Foods Virgin Group Terex BAE Systems JX Holdings Koei Tecmo Holdings News Corporation Tata Motors Scripps Networks Interactive Altria Carlsberg Group Lagardère Group Square Enix NextEra Energy Standard Chartered Qualcomm BOC Hong Kong Birmingham Small Arms Company Altice Autonomy Corporation MS&AD Insurance Group Holdings Sky plc Toei Company Oracle Corporation Lucasfilm MGM Resorts International InterContinental Hotels Group Tsuruha Holdings Nomura Holdings Maruzen CHI Holdings VID Texas Instruments Saab Group
105
action count
action less
action union
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type economic branch
action find_reverse_tuple_counts
relation parent organization
type type of business entity
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Investor AB
relation parent organization
type economic branch
type type of business entity
[[{'concept': 'economic branch'}, {'concept': 'type of business entity'}], 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?g ) WHERE { { ?c rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:type_of_business_entity . ?t property:parent_organization ?c } UNION { ?t property:parent_organization ?c . ?c rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:economic_branch } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:parent_organization resource:Investor_AB . { ?d rdf:type ?h . VALUES ( ?h ) { ( ontology:economic_branch ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?g < ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q508374 Q167782
P27
Q15617994
USER
Which administrative territories are the native countriesof Charles V of France or Marie Forså ?
OR((Q167782,P27,c(Q15617994)), (Q508374,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q167782
relation P27
action find
entity Q508374
relation P27
type Q15617994
{'OR': [['Q167782', 'P27', {'concept': 'Q15617994'}], ['Q508374', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?s ) { ( resource:Q167782 ) ( resource:Q508374 ) } . ?s property:P27 ?b } }
Marie Forså Charles V of France
action filter_type
action union
action find
entity Charles V of France
relation country of citizenship
action find
entity Marie Forså
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles V of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marie Forså', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?s ) { ( resource:Charles_V_of_France ) ( resource:Marie_Forså ) } . ?s property:country_of_citizenship ?b } }
[]
designation for an administrative territorial entity
Q142 Q34
SYSTEM
France, Sweden
Q142 Q34
OR((Q167782,P27,c(Q15617994)), (Q508374,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q167782
relation P27
action find
entity Q508374
relation P27
type Q15617994
[ANSWERS] are the native countriesof Charles V of France or Marie Forså
{'OR': [['Q167782', 'P27', {'concept': 'Q15617994'}], ['Q508374', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?s ) { ( resource:Q167782 ) ( resource:Q508374 ) } . ?s property:P27 ?b } }
France Sweden
France and Sweden are the native countriesof Charles V of France or Marie Forså
France Sweden
action filter_type
action union
action find
entity Charles V of France
relation country of citizenship
action find
entity Marie Forså
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles V of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marie Forså', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?s ) { ( resource:Charles_V_of_France ) ( resource:Marie_Forså ) } . ?s property:country_of_citizenship ?b } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18085680
P27
Q502895
USER
Are Hannington Sengendo a citizen of those administrative territories ?
(Q18085680,P27,Q142) (Q18085680,P27,Q34)
action is_in
entity prev_answer
action find
entity Q18085680
relation P27
['Q18085680', 'P27', 'Q142'] ['Q18085680', 'P27', 'Q34']
ASK WHERE { VALUES ( ?a ) { ( resource:Q142 ) ( resource:Q34 ) } . resource:Q18085680 property:P27 ?a }
Hannington Sengendo
action is_in
entity prev_answer
action find
entity Hannington Sengendo
relation country of citizenship
['Hannington Sengendo', 'country of citizenship', 'France'] ['Hannington Sengendo', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?a ) { ( resource:France ) ( resource:Sweden ) } . resource:Hannington_Sengendo property:country_of_citizenship ?a }
[]
common name
SYSTEM
NO
(Q18085680,P27,Q142) (Q18085680,P27,Q34)
action is_in
entity prev_answer
action find
entity Q18085680
relation P27
[ANSWER]
['Q18085680', 'P27', 'Q142'] ['Q18085680', 'P27', 'Q34']
ASK WHERE { VALUES ( ?a ) { ( resource:Q142 ) ( resource:Q34 ) } . resource:Q18085680 property:P27 ?a }
No
action is_in
entity prev_answer
action find
entity Hannington Sengendo
relation country of citizenship
['Hannington Sengendo', 'country of citizenship', 'France'] ['Hannington Sengendo', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?a ) { ( resource:France ) ( resource:Sweden ) } . resource:Hannington_Sengendo property:country_of_citizenship ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3098634 Q65
P19
Q56061
USER
Is Los Angeles the birthplace of that person ?
(Q3098634,P19,Q65)
action is_in
entity Q65
action find
entity Q3098634
relation P19
['Q3098634', 'P19', 'Q65']
ASK WHERE { resource:Q3098634 property:P19 resource:Q65 }
Gary Vinson Los Angeles
action is_in
entity Los Angeles
action find
entity Gary Vinson
relation place of birth
['Gary Vinson', 'place of birth', 'Los Angeles']
ASK WHERE { resource:Gary_Vinson property:place_of_birth resource:Los_Angeles }
[]
administrative territorial entity
SYSTEM
YES
(Q3098634,P19,Q65)
action is_in
entity Q65
action find
entity Q3098634
relation P19
[ANSWER]
['Q3098634', 'P19', 'Q65']
ASK WHERE { resource:Q3098634 property:P19 resource:Q65 }
Yes
action is_in
entity Los Angeles
action find
entity Gary Vinson
relation place of birth
['Gary Vinson', 'place of birth', 'Los Angeles']
ASK WHERE { resource:Gary_Vinson property:place_of_birth resource:Los_Angeles }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q299675 Q2633633
P7
Q502895
USER
Does Giovanni de' Medici have Francesco I de' Medici, Grand Duke of Tuscany as their brother ?
(Q299675,P7,Q2633633)
action is_in
entity Q2633633
action find
entity Q299675
relation P7
['Q299675', 'P7', 'Q2633633']
ASK WHERE { resource:Q299675 property:P7 resource:Q2633633 }
Francesco I de' Medici, Grand Duke of Tuscany Giovanni de' Medici
action is_in
entity Giovanni de' Medici
action find
entity Francesco I de' Medici, Grand Duke of Tuscany
relation brother
["Francesco I de' Medici, Grand Duke of Tuscany", 'brother', "Giovanni de' Medici"]
ASK WHERE { resource:Francesco_I_de'_Medici,_Grand_Duke_of_Tuscany property:brother resource:Giovanni_de'_Medici }
[]
common name
SYSTEM
YES
(Q299675,P7,Q2633633)
action is_in
entity Q2633633
action find
entity Q299675
relation P7
[ANSWER]
['Q299675', 'P7', 'Q2633633']
ASK WHERE { resource:Q299675 property:P7 resource:Q2633633 }
Yes
action is_in
entity Giovanni de' Medici
action find
entity Francesco I de' Medici, Grand Duke of Tuscany
relation brother
["Francesco I de' Medici, Grand Duke of Tuscany", 'brother', "Giovanni de' Medici"]
ASK WHERE { resource:Francesco_I_de'_Medici,_Grand_Duke_of_Tuscany property:brother resource:Giovanni_de'_Medici }
[]