Simple Question (Direct)
Simple Question
Q210468
P170
Q502895
USER
Who is the creator of Vegas ?
(Q210468,P170,c(Q502895))
action filter_type
action find
entity Q210468
relation P170
type Q502895
['Q210468', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q210468 property:P170 ?y . ?y rdf:type ontology:Q502895 }
Vegas
action filter_type
action find
entity Vegas
relation creator
type common name
['Vegas', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vegas property:creator ?y . ?y rdf:type ontology:common_name }
[]
common name
Q450279
SYSTEM
Nicholas Pileggi
Q450279
(Q210468,P170,c(Q502895))
action filter_type
action find
entity Q210468
relation P170
type Q502895
The creator of Vegas is the [ANSWER]
['Q210468', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q210468 property:P170 ?y . ?y rdf:type ontology:Q502895 }
Nicholas Pileggi
The creator of Vegas is the Nicholas Pileggi
Nicholas Pileggi
action filter_type
action find
entity Vegas
relation creator
type common name
['Vegas', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vegas property:creator ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q210468
P449
Q4830453
USER
Which network did Vegas originally air in ?
(Q210468,P449,c(Q4830453))
action filter_type
action find
entity Q210468
relation P449
type Q4830453
['Q210468', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { resource:Q210468 property:P449 ?e . ?e rdf:type ontology:Q4830453 }
Vegas
action filter_type
action find
entity Vegas
relation original network
type business enterprise
['Vegas', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { resource:Vegas property:original_network ?e . ?e rdf:type ontology:business_enterprise }
[]
business enterprise
Q43380
SYSTEM
CBS
Q43380
(Q210468,P449,c(Q4830453))
action filter_type
action find
entity Q210468
relation P449
type Q4830453
Vegas aired originally on [ANSWER]
['Q210468', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { resource:Q210468 property:P449 ?e . ?e rdf:type ontology:Q4830453 }
CBS
Vegas aired originally on CBS
CBS
action filter_type
action find
entity Vegas
relation original network
type business enterprise
['Vegas', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { resource:Vegas property:original_network ?e . ?e rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q1269299
USER
Which business organizations are the parent company of atmost 1 business enterprise ?
(c(Q1269299),P355,c(Q4830453))
action atmost
action find_tuple_counts
relation P355
type Q1269299
type Q4830453
value 1
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?i ) WHERE { ?u property:P355 ?b . ?u rdf:type ontology:Q1269299 . ?b rdf:type ontology:Q4830453 } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
action atmost
action find_tuple_counts
relation subsidiary
type type of business entity
type business enterprise
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?i ) WHERE { ?u property:subsidiary ?b . ?u rdf:type ontology:type_of_business_entity . ?b rdf:type ontology:business_enterprise } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
[]
business enterprise type of business entity
Q327751 Q8766 Q37156
SYSTEM
Kraft Foods, British Airways, IBM
Q1798370 Q1232514 Q1418 Q20800404 Q1372049 Q18341667 Q643290 Q912778 Q83716 Q8766 Q2945931 Q14903417 Q445007 Q6128861 Q975655 Q6108019 Q194360 Q4045977 Q11229276 Q11243007 Q1198156 Q333498 Q499207 Q494917 Q7050523 Q690966 Q1435702 Q3117359 Q753684 Q294508 Q1181484 Q243278 Q7433758 Q5431955 Q856411 Q7107013 Q20112954 Q7240301 Q58707 Q1045758 Q17193081 Q386414 Q322601 Q12581123 Q639447 Q7875835 Q1557223 Q53247 Q191715 Q37156 Q806259 Q5136910 Q11311474 Q1540297 Q25866375 Q329347 Q4652575 Q327751 Q304962 Q1937503 Q739416 Q206921 Q1576915 Q946713 Q2144525 Q113215 Q207784 Q967868 Q548278 Q544847 Q855313 Q680991 Q514265 Q5215769 Q19900 Q128577 Q882107 Q15944611 Q1424962 Q11318827 Q1295105 Q11368062 Q3514518 Q487907 Q7414 Q193412 Q219501
(c(Q1269299),P355,c(Q4830453))
action atmost
action find_tuple_counts
relation P355
type Q1269299
type Q4830453
value 1
[ANSWERS] are the parent company of atmost 1 business enterprise
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?i ) WHERE { ?u property:P355 ?b . ?u rdf:type ontology:Q1269299 . ?b rdf:type ontology:Q4830453 } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
CGI Group Resona Holdings Nokia Alphabet Inc. Japan Post Holdings Nissin Foods Holdings RATP OTP Bank Aer Lingus British Airways Centre national de prévention et de protection (France) Delhaize Group Altria Major Cineplex Skandinaviska Enskilda Banken JD Sports American Express Belmond LIXIL Group SG Holdings FirstGroup Bombardier Inc. Astrium Virgin Group Nord-Trøndelag Elektrisitetsverk Forbo Holding Whitbread Carrefour Group Atari, SA ALROSA Debenhams Rolls-Royce Scientific Games Corporation Falkland Islands Holdings British American Tobacco Oslo Børs Holding Sega Games Premier Foods Aeroflot United Technologies Corporation Izukyu Holdings PhosAgro Seiko GS Holdings Seven & I Holdings Co. US Airways Group Lawson Panasonic Time Warner IBM Bandai Namco Holdings Clyde Engineering Square Enix Holdings Sanoma Share plc Lukoil AMC Networks Kraft Foods Mitsubishi Estate Terex BAE Systems Pfizer Koei Tecmo Holdings SunEdison Scripps Networks Interactive Carlsberg Group Square Enix NextEra Energy Standard Chartered Qualcomm BOC Hong Kong Arriva Autonomy Corporation MS&AD Insurance Group Holdings Oracle Corporation JX Holdings 1&1 Internet SE Altice InterContinental Hotels Group Tsuruha Holdings Nomura Holdings Maruzen CHI Holdings TalkTalk Group Bank of America The Walt Disney Company Texas Instruments Saab Group
Kraft Foods, British Airways and IBM are the parent company of atmost 1 business enterprise
Kraft Foods British Airways IBM
action atmost
action find_tuple_counts
relation subsidiary
type type of business entity
type business enterprise
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?i ) WHERE { ?u property:subsidiary ?b . ?u rdf:type ontology:type_of_business_entity . ?b rdf:type ontology:business_enterprise } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q874405 Q1269299
USER
Which social groups are an auxiliary of max number of business organizations ?
(c(Q1269299),P355,Q549157)
action argmax
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
[{'concept': 'Q1269299'}, 'P355', 'Q549157']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P355 ?h . ?h rdf:type ontology:Q874405 . ?g rdf:type ontology:Q1269299 } GROUP BY ?h } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q874405 . ?n rdf:type ontology:Q1269299 } GROUP BY ?q } . FILTER ( ?o = ?p ) }
action argmax
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Airlines Tonga']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:subsidiary ?h . ?h rdf:type ontology:social_group . ?g rdf:type ontology:type_of_business_entity } GROUP BY ?h } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:social_group . ?n rdf:type ontology:type_of_business_entity } GROUP BY ?q } . FILTER ( ?o = ?p ) }
[]
social group type of business entity
Q751152 Q477386 Q1411739
SYSTEM
Astrium Services, EADS Astrium Space Transportation, Time Inc.
Q751152 Q477386 Q1411739
(c(Q1269299),P355,Q549157)
action argmax
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
[ANSWERS] are an auxiliary of max number of business organizations
[{'concept': 'Q1269299'}, 'P355', 'Q549157']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P355 ?h . ?h rdf:type ontology:Q874405 . ?g rdf:type ontology:Q1269299 } GROUP BY ?h } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q874405 . ?n rdf:type ontology:Q1269299 } GROUP BY ?q } . FILTER ( ?o = ?p ) }
Astrium Services EADS Astrium Space Transportation Time Inc.
Astrium Services, EADS Astrium Space Transportation and Time Inc. are an auxiliary of max number of business organizations
Astrium Services EADS Astrium Space Transportation Time Inc.
action argmax
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', 'Airlines Tonga']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?p ) { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:subsidiary ?h . ?h rdf:type ontology:social_group . ?g rdf:type ontology:type_of_business_entity } GROUP BY ?h } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:social_group . ?n rdf:type ontology:type_of_business_entity } GROUP BY ?q } . FILTER ( ?o = ?p ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q82799 Q874405
USER
Which names are min number of social groups named after ?
(c(Q874405),P138,Q3469018)
action argmin
action find_reverse_tuple_counts
relation P138
type Q82799
type Q874405
[{'concept': 'Q874405'}, 'P138', 'Q3469018']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P138 ?a . ?a rdf:type ontology:Q82799 . ?v rdf:type ontology:Q874405 } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P138 ?m . ?m rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } GROUP BY ?m } . FILTER ( ?y = ?f ) }
action argmin
action find_reverse_tuple_counts
relation named after
type name
type social group
[{'concept': 'social group'}, 'named after', 'snipe']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:named_after ?a . ?a rdf:type ontology:name . ?v rdf:type ontology:social_group } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:named_after ?m . ?m rdf:type ontology:name . ?n rdf:type ontology:social_group } GROUP BY ?m } . FILTER ( ?y = ?f ) }
[]
name social group
Q10355035 Q27547 Q152
SYSTEM
Half-blood Prince, Sandwich Tern, fish
Q3060012 Q5 Q3263447 Q726 Q16281046 Q25894 Q12346339 Q18228686 Q27547 Q7369 Q2092297 Q9458574 Q7368 Q17747314 Q10355035 Q3074737 Q201251 Q455758 Q208342 Q1065917 Q8331 Q2620506 Q3306164 Q3850382 Q829309 Q1865281 Q17379071 Q9394 Q2734060 Q2495957 Q3065939 Q835808 Q177053 Q16964089 Q1211606 Q11946202 Q21476715 Q18183304 Q846664 Q7378 Q123120 Q538906 Q308841 Q168903 Q152 Q11879590 Q849545 Q1025368 Q5070208 Q18809734 Q185215 Q1277323 Q125525 Q3469018
(c(Q874405),P138,Q3469018)
action argmin
action find_reverse_tuple_counts
relation P138
type Q82799
type Q874405
Min number of social groups are named as [ANSWERS]
[{'concept': 'Q874405'}, 'P138', 'Q3469018']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P138 ?a . ?a rdf:type ontology:Q82799 . ?v rdf:type ontology:Q874405 } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P138 ?m . ?m rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } GROUP BY ?m } . FILTER ( ?y = ?f ) }
egret human Brutus horse Rufus antelope Doktoro Esperanto Evellin Sandwich Tern dolphin eagle wasp Ovis aries Ružena Half-blood Prince halibut peacock Amati kite weta fox Vojinović noble family Anaconda Redstart Van Rechteren whale Lucy rabbit reed magpie Nicolay Brontë family Mr. Walkinshaw condor butterfly Famille Bánffy Hürlimann hawk elephant vulture thistle snail Bos primigenius fish female given name Malik Caecilius Metellus kangaroo Neville piranha Earl of Lauderdale jackal snipe
Min number of social groups are named as Half-blood Prince, Sandwich Tern and fish
Half-blood Prince Sandwich Tern fish
action argmin
action find_reverse_tuple_counts
relation named after
type name
type social group
[{'concept': 'social group'}, 'named after', 'snipe']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:named_after ?a . ?a rdf:type ontology:name . ?v rdf:type ontology:social_group } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:named_after ?m . ?m rdf:type ontology:name . ?n rdf:type ontology:social_group } GROUP BY ?m } . FILTER ( ?y = ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152
P180
Q11177771
USER
Which artistic techniques depict that name ?
(c(Q11177771),P180,Q152)
action filter_type
action find_reverse
entity Q152
relation P180
type Q11177771
[{'concept': 'Q11177771'}, 'P180', 'Q152']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q11177771 . ?b property:P180 resource:Q152 }
fish
action filter_type
action find_reverse
entity fish
relation depicts
type artistic technique
[{'concept': 'artistic technique'}, 'depicts', 'fish']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:artistic_technique . ?b property:depicts resource:fish }
[]
artistic technique
Clarification for simple ques.
Q152
SYSTEM
Did you mean fish ?
Q10355035 Q27547 Q152
(c(Q11177771),P180,Q10355035) (c(Q11177771),P180,Q27547) (c(Q11177771),P180,Q152)
[ANSWER]
[{'concept': 'Q11177771'}, 'P180', 'Q10355035'] [{'concept': 'Q11177771'}, 'P180', 'Q27547'] [{'concept': 'Q11177771'}, 'P180', 'Q152']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q11177771 . ?b property:P180 resource:Q152 }
Half-blood Prince Sandwich Tern fish
Did you mean fish ?
fish
[{'concept': 'artistic technique'}, 'depicts', 'Half-blood Prince'] [{'concept': 'artistic technique'}, 'depicts', 'Sandwich Tern'] [{'concept': 'artistic technique'}, 'depicts', 'fish']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:artistic_technique . ?b property:depicts resource:fish }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q11177771),P180,Q152)
[{'concept': 'Q11177771'}, 'P180', 'Q152']
[{'concept': 'artistic technique'}, 'depicts', 'fish']
[]
Q18917984 Q16958480 Q18711284
SYSTEM
Netpune Mosaic, Circle Limit III, Circle Limit I
Q18917984 Q16958480 Q18711269 Q18711284
(c(Q11177771),P180,Q152)
action filter_type
action find_reverse
entity Q152
relation P180
type Q11177771
[ANSWERS] depict that name
[{'concept': 'Q11177771'}, 'P180', 'Q152']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q11177771 . ?b property:P180 resource:Q152 }
Netpune Mosaic Circle Limit III Circle Limit II Circle Limit I
Netpune Mosaic, Circle Limit III and Circle Limit I depict that name
Netpune Mosaic Circle Limit III Circle Limit I
action filter_type
action find_reverse
entity fish
relation depicts
type artistic technique
[{'concept': 'artistic technique'}, 'depicts', 'fish']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:artistic_technique . ?b property:depicts resource:fish }
[]