Simple Question (Direct)
Simple Question
Q5991701
P1412
Q34770
USER
Which language does Ray Monk speak in ?
(Q5991701,P1412,c(Q34770))
action filter_type
action find
entity Q5991701
relation P1412
type Q34770
['Q5991701', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5991701 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Ray Monk
action filter_type
action find
entity Ray Monk
relation languages spoken, written or signed
type language
['Ray Monk', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Ray_Monk property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5991701,P1412,c(Q34770))
action filter_type
action find
entity Q5991701
relation P1412
type Q34770
Ray Monk speaks the [ANSWER]
['Q5991701', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5991701 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Ray Monk speaks the English
English
action filter_type
action find
entity Ray Monk
relation languages spoken, written or signed
type language
['Ray Monk', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Ray_Monk property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5991701
P463
Q48204
USER
Which voluntary association was Ray Monk a member of ?
(Q5991701,P463,c(Q48204))
action filter_type
action find
entity Q5991701
relation P463
type Q48204
['Q5991701', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?v WHERE { resource:Q5991701 property:P463 ?v . ?v rdf:type ontology:Q48204 }
Ray Monk
action filter_type
action find
entity Ray Monk
relation member of
type voluntary association
['Ray Monk', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?v WHERE { resource:Ray_Monk property:member_of ?v . ?v rdf:type ontology:voluntary_association }
[]
voluntary association
Q1468277
SYSTEM
Royal Society of Literature
Q1468277
(Q5991701,P463,c(Q48204))
action filter_type
action find
entity Q5991701
relation P463
type Q48204
The [ANSWER] was Ray Monk a member of
['Q5991701', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?v WHERE { resource:Q5991701 property:P463 ?v . ?v rdf:type ontology:Q48204 }
Royal Society of Literature
The Royal Society of Literature was Ray Monk a member of
Royal Society of Literature
action filter_type
action find
entity Ray Monk
relation member of
type voluntary association
['Ray Monk', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?v WHERE { resource:Ray_Monk property:member_of ?v . ?v rdf:type ontology:voluntary_association }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1468277 Q2923541 Q130586
P112
Q502895
USER
Was Royal Society of Literature founded by Brahim Ben Miled and George IV of the United Kingdom ?
(Q1468277,P112,Q2923541) (Q1468277,P112,Q130586)
action is_in
entity Q1468277
action intersection
action find_reverse
entity Q2923541
relation P112
action find_reverse
entity Q130586
relation P112
['Q1468277', 'P112', 'Q2923541'] ['Q1468277', 'P112', 'Q130586']
ASK WHERE { resource:Q1468277 property:P112 resource:Q2923541 . resource:Q1468277 property:P112 resource:Q130586 }
Royal Society of Literature Brahim Ben Miled George IV of the United Kingdom
action is_in
entity Royal Society of Literature
action intersection
action find_reverse
entity Brahim Ben Miled
relation founder
action find_reverse
entity George IV of the United Kingdom
relation founder
['Royal Society of Literature', 'founder', 'Brahim Ben Miled'] ['Royal Society of Literature', 'founder', 'George IV of the United Kingdom']
ASK WHERE { resource:Royal_Society_of_Literature property:founder resource:Brahim_Ben_Miled . resource:Royal_Society_of_Literature property:founder resource:George_IV_of_the_United_Kingdom }
[]
common name
SYSTEM
NO and YES respectively
(Q1468277,P112,Q2923541) (Q1468277,P112,Q130586)
action is_in
entity Q1468277
action intersection
action find_reverse
entity Q2923541
relation P112
action find_reverse
entity Q130586
relation P112
[ANSWER]
['Q1468277', 'P112', 'Q2923541'] ['Q1468277', 'P112', 'Q130586']
ASK WHERE { resource:Q1468277 property:P112 resource:Q2923541 . resource:Q1468277 property:P112 resource:Q130586 }
NO and YES respectively
action is_in
entity Royal Society of Literature
action intersection
action find_reverse
entity Brahim Ben Miled
relation founder
action find_reverse
entity George IV of the United Kingdom
relation founder
['Royal Society of Literature', 'founder', 'Brahim Ben Miled'] ['Royal Society of Literature', 'founder', 'George IV of the United Kingdom']
ASK WHERE { resource:Royal_Society_of_Literature property:founder resource:Brahim_Ben_Miled . resource:Royal_Society_of_Literature property:founder resource:George_IV_of_the_United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q2040353
P361
Q5962346
USER
Is English a component of Tuparí languages ?
(Q1860,P361,Q2040353)
action is_in
entity Q2040353
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q2040353']
ASK WHERE { resource:Q1860 property:P361 resource:Q2040353 }
English Tuparí languages
action is_in
entity Tuparí languages
action find
entity English
relation part of
['English', 'part of', 'Tuparí languages']
ASK WHERE { resource:English property:part_of resource:Tuparí_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q2040353)
action is_in
entity Q2040353
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q2040353']
ASK WHERE { resource:Q1860 property:P361 resource:Q2040353 }
No
action is_in
entity Tuparí languages
action find
entity English
relation part of
['English', 'part of', 'Tuparí languages']
ASK WHERE { resource:English property:part_of resource:Tuparí_languages }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8527282
P17
Q15617994
USER
Which administrative territory is Piz Sarsura a part of ?
(Q8527282,P17,c(Q15617994))
action filter_type
action find
entity Q8527282
relation P17
type Q15617994
['Q8527282', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q8527282 property:P17 ?q }
Piz Sarsura
action filter_type
action find
entity Piz Sarsura
relation country
type designation for an administrative territorial entity
['Piz Sarsura', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piz_Sarsura property:country ?q }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q8527282,P17,c(Q15617994))
action filter_type
action find
entity Q8527282
relation P17
type Q15617994
[ANSWER] is Piz Sarsura a part of
['Q8527282', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q8527282 property:P17 ?q }
Switzerland
Switzerland is Piz Sarsura a part of
Switzerland
action filter_type
action find
entity Piz Sarsura
relation country
type designation for an administrative territorial entity
['Piz Sarsura', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piz_Sarsura property:country ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4991974
Q15617994
USER
And also tell me about Rica Talk Hotel?
(Q4991974,P17,c(Q15617994))
action filter_type
action find
entity Q4991974
relation P17
type Q15617994
['Q4991974', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q4991974 property:P17 ?i }
Rica Talk Hotel
action filter_type
action find
entity Rica Talk Hotel
relation country
type designation for an administrative territorial entity
['Rica Talk Hotel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rica_Talk_Hotel property:country ?i }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4991974,P17,c(Q15617994))
action filter_type
action find
entity Q4991974
relation P17
type Q15617994
[ANSWER]
['Q4991974', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q4991974 property:P17 ?i }
Sweden
Sweden
action filter_type
action find
entity Rica Talk Hotel
relation country
type designation for an administrative territorial entity
['Rica Talk Hotel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rica_Talk_Hotel property:country ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991974
P84
Q502895
USER
Who designed the architecture of Rica Talk Hotel ?
(Q4991974,P84,c(Q502895))
action filter_type
action find
entity Q4991974
relation P84
type Q502895
['Q4991974', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4991974 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Rica Talk Hotel
action filter_type
action find
entity Rica Talk Hotel
relation architect
type common name
['Rica Talk Hotel', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Rica_Talk_Hotel property:architect ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2791640
SYSTEM
Alessandro Ripellino
Q2791640
(Q4991974,P84,c(Q502895))
action filter_type
action find
entity Q4991974
relation P84
type Q502895
[ANSWER] designed the architecture of Rica Talk Hotel
['Q4991974', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4991974 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Alessandro Ripellino
Alessandro Ripellino designed the architecture of Rica Talk Hotel
Alessandro Ripellino
action filter_type
action find
entity Rica Talk Hotel
relation architect
type common name
['Rica Talk Hotel', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Rica_Talk_Hotel property:architect ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4991974
Q4830453
USER
And which business enterprise?
(Q4991974,P84,c(Q4830453))
action filter_type
action find
entity Q4991974
relation P84
type Q4830453
['Q4991974', 'P84', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q4991974 property:P84 ?s . ?s rdf:type ontology:Q4830453 }
Rica Talk Hotel
action filter_type
action find
entity Rica Talk Hotel
relation architect
type business enterprise
['Rica Talk Hotel', 'architect', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Rica_Talk_Hotel property:architect ?s . ?s rdf:type ontology:business_enterprise }
[]
business enterprise
Q3357783
SYSTEM
Rosenbergs Arkitekter
Q3357783
(Q4991974,P84,c(Q4830453))
action filter_type
action find
entity Q4991974
relation P84
type Q4830453
[ANSWER]
['Q4991974', 'P84', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q4991974 property:P84 ?s . ?s rdf:type ontology:Q4830453 }
Rosenbergs Arkitekter
Rosenbergs Arkitekter
action filter_type
action find
entity Rica Talk Hotel
relation architect
type business enterprise
['Rica Talk Hotel', 'architect', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Rica_Talk_Hotel property:architect ?s . ?s rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q488004
P1408
Q486972 Q4830453
USER
How many human settlements can greater number of business enterprises broadcast to as per their license than Palm Springs ?
(c(Q4830453),P1408,c(Q486972))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
action count
action filter_type
action find
entity Q488004
relation P1408
type Q486972
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1408 ?k . ?k rdf:type ontology:Q486972 . ?l rdf:type ontology:Q4830453 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q488004 property:P1408 ?u . ?u rdf:type ontology:Q486972 } } . FILTER ( ?c > ?i ) }
Palm Springs
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
action count
action filter_type
action find
entity Palm Springs
relation licensed to broadcast to
type human settlement
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:licensed_to_broadcast_to ?k . ?k rdf:type ontology:human_settlement . ?l rdf:type ontology:business_enterprise } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Palm_Springs property:licensed_to_broadcast_to ?u . ?u rdf:type ontology:human_settlement } } . FILTER ( ?c > ?i ) }
[]
human settlement business enterprise
SYSTEM
6
Q201516 Q1089271 Q318637 Q1012975 Q2087831 Q1544683
(c(Q4830453),P1408,c(Q486972))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
action count
action filter_type
action find
entity Q488004
relation P1408
type Q486972
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1408 ?k . ?k rdf:type ontology:Q486972 . ?l rdf:type ontology:Q4830453 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q488004 property:P1408 ?u . ?u rdf:type ontology:Q486972 } } . FILTER ( ?c > ?i ) }
Miami Beach Cape May Court House Los Alamos Kahului Wailuku Green Valley
6
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
action count
action filter_type
action find
entity Palm Springs
relation licensed to broadcast to
type human settlement
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:licensed_to_broadcast_to ?k . ?k rdf:type ontology:human_settlement . ?l rdf:type ontology:business_enterprise } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Palm_Springs property:licensed_to_broadcast_to ?u . ?u rdf:type ontology:human_settlement } } . FILTER ( ?c > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2588367
P1408
Q486972 Q4830453
USER
And how about Eleele?
(c(Q4830453),P1408,c(Q486972))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
action count
action filter_type
action find
entity Q2588367
relation P1408
type Q486972
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1408 ?b . ?b rdf:type ontology:Q486972 . ?n rdf:type ontology:Q4830453 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q2588367 property:P1408 ?a . ?a rdf:type ontology:Q486972 } } . FILTER ( ?g > ?e ) }
Eleele
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
action count
action filter_type
action find
entity Eleele
relation licensed to broadcast to
type human settlement
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:licensed_to_broadcast_to ?b . ?b rdf:type ontology:human_settlement . ?n rdf:type ontology:business_enterprise } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Eleele property:licensed_to_broadcast_to ?a . ?a rdf:type ontology:human_settlement } } . FILTER ( ?g > ?e ) }
[]
human settlement business enterprise
SYSTEM
22
Q2294996 Q1001134 Q1505383 Q572052 Q637246 Q2495360 Q201516 Q1089271 Q318637 Q7201608 Q3498404 Q1898776 Q1012975 Q960225 Q2087831 Q1544683 Q756603 Q1004000 Q488004 Q1660142 Q2016874 Q2130062
(c(Q4830453),P1408,c(Q486972))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q486972
type Q4830453
action count
action filter_type
action find
entity Q2588367
relation P1408
type Q486972
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1408 ?b . ?b rdf:type ontology:Q486972 . ?n rdf:type ontology:Q4830453 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q2588367 property:P1408 ?a . ?a rdf:type ontology:Q486972 } } . FILTER ( ?g > ?e ) }
Solana Hilton Head Island Burbank Pearl City Waipahu Lake Isabella Miami Beach Cape May Court House Los Alamos Plantation Key Greenacres Naples Park Kahului Lehigh Acres Wailuku Green Valley Halfway Englewood Palm Springs Immokalee Oildale Martinez
22
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type human settlement
type business enterprise
action count
action filter_type
action find
entity Eleele
relation licensed to broadcast to
type human settlement
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:licensed_to_broadcast_to ?b . ?b rdf:type ontology:human_settlement . ?n rdf:type ontology:business_enterprise } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Eleele property:licensed_to_broadcast_to ?a . ?a rdf:type ontology:human_settlement } } . FILTER ( ?g > ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q4830453
USER
Which business enterprises are the parent company of atmost 2 business enterprises ?
(c(Q4830453),P355,c(Q4830453))
action atmost
action find_tuple_counts
relation P355
type Q4830453
type Q4830453
value 2
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:P355 ?h . ?h rdf:type ontology:Q4830453 . ?r rdf:type ontology:Q4830453 } GROUP BY ?r } . FILTER ( ?i <= 2 ) }
action atmost
action find_tuple_counts
relation subsidiary
type business enterprise
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:subsidiary ?h . ?h rdf:type ontology:business_enterprise . ?r rdf:type ontology:business_enterprise } GROUP BY ?r } . FILTER ( ?i <= 2 ) }
[]
business enterprise business enterprise
Q43380 Q53268 Q157062
SYSTEM
CBS, Toyota, Unilever
Q7901687 Q11319692 Q3139309 Q727145 Q127005 Q18162669 Q695087 Q1134268 Q3107966 Q1457152 Q547465 Q4785248 Q5215535 Q1714952 Q22122879 Q11350495 Q10954015 Q11228051 Q11375826 Q157062 Q1931458 Q4834524 Q908916 Q17394626 Q3571463 Q29366 Q303341 Q841220 Q11322733 Q7497366 Q27231583 Q1348664 Q11551995 Q23929933 Q588786 Q11101101 Q21857826 Q23638508 Q43380 Q2147715 Q11645551 Q811213 Q35886 Q26678 Q910401 Q1552770 Q13403399 Q26868721 Q1781348 Q17219597 Q708667 Q53268 Q329426 Q11993484 Q117202 Q24231734 Q23638518 Q11243694 Q11455891 Q11582449 Q11195603 Q26720780 Q308889 Q207983 Q13416787 Q20061301 Q2667719 Q17025895 Q656554 Q26702890 Q5371838 Q1663776 Q5628833 Q1602991 Q59187 Q1542175 Q4302263 Q168082 Q499707 Q750644 Q1754870 Q37158 Q6079763 Q40966 Q498825 Q27231258 Q928831 Q151378 Q16172513 Q318672 Q23837644 Q432564 Q5209438 Q166621 Q4354860 Q11304809 Q2094989 Q11345746 Q11628893 Q7834879 Q1681145 Q5215858 Q11189379 Q1074666 Q22115651 Q3061479 Q1017682 Q834054 Q309084 Q5476713 Q266087 Q19604369 Q5413890 Q4393272 Q16165708 Q482607 Q7954024 Q11225149 Q12009441 Q11547303 Q12594197 Q11318773 Q22122898 Q11507487 Q160746 Q24876211 Q5531670 Q822314 Q10955994 Q11283168 Q1190247 Q12792241 Q1479375 Q1113213 Q259011 Q16172809 Q11463109 Q23925824 Q1485061 Q19758662 Q66 Q944414 Q11350142 Q212268 Q727176 Q23010103 Q21757878 Q1032540 Q668737 Q2373435
(c(Q4830453),P355,c(Q4830453))
action atmost
action find_tuple_counts
relation P355
type Q4830453
type Q4830453
value 2
[ANSWERS] are the parent company of atmost 2 business enterprises
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:P355 ?h . ?h rdf:type ontology:Q4830453 . ?r rdf:type ontology:Q4830453 } GROUP BY ?r } . FILTER ( ?i <= 2 ) }
Usaha Tegas TV Tokyo Holdings Holmarcom Group Asia Television Georg von Holtzbrinck Publishing Group SAIC Motor UK Mars, Incorporated Sony Corporation of America Mitsubishi Chemical Holdings Sega Sammy Holdings Zeppelin Arcapita Sumitomo Mitsui Trust Holdings Kol Yisrael RKB Mainichi Holdings Lotte Holdings Fuji Media Holdings KNT-CT Holdings Keihan Holdings Unilever Micro Focus International BAE Systems Inc. Grandi Stazioni Mouzenidis Group Yamato Holdings Changan Automobile Wyndham Worldwide Hankyu Hanshin Holdings Doutor Nichires Holdings Shine Group PFA HOLDING Rockwell International Senshu Ikeda Holdings Logstor Holding China National Petroleum Corporation The Yomiuri Shimbun Holdings Susanne Lindner Holding ApS ArtPeople Holding CBS Rheinisch-Westfälische Straßen- und Kleinbahnen Nomura Real Estate Holdings Bauer Group Lamborghini BMW SAIC Motor GAC Group Kirin Holdings Gerda og Victor B. Strand Holding Wien Holding Tokyu Fudosan Holdings MAN Truck & Bus Toyota Danone Olav Thon Group The Co-operative Group Europa Travel J. Duckert Holding SMFG Card & Credit Fujifilm Holdings Sotetsu Holdings DCM Holdings J-F. Lemvigh-Müller Holding Cessna Monsanto Engie DirecTV Latin America Aviation Industry Corporation of China HSBC USA Carnival Cruise Lines A.P. Møller Holding Vudu ICA AB H2O Retailing Hellmuth, Obata and Kassabaum Vauxhall Mitsubishi UFJ Financial Group CANTV Hungarian State Railways BNP Paribas Scottish Aviation Stadtwerke Verkehrsgesellschaft Frankfurt am Main Starbucks Isetan Mitsukoshi Holdings Opel Korean Broadcasting System FIH Holding Seoul Broadcasting System BVR Busverkehr Rheinland SBS Media Holdings Abellio Endemol Shine Group Coop Switzerland Daimler India Commercial Vehicles Pvt. Ltd. Mizuho Financial Group AVIC I Sapporo Holdings Sumitomo Mitsui Financial Group Uny Group Holdings Seibu Holdings Transport International Holdings Statkraft Sompo Japan Nipponkoa Holdings ANA Holdings Chiquita Brands International Erdogan Group Evergreen International Aviation Busscar Ônibus Enterprise Holdings Alstom 21st Century Fox Infor Global Solutions Columbus Nova HSBC Bank Renova Group CJ Corporation Munhwa Broadcasting Corporation WOW! J. Front Retailing Vest Buss Mainichi Newspapers Group Holdings Lotte Shopping Tsuneishi Holdings Concordia Financial Group Japan Exchange Group Nestlé FamilyMart UNY Holdings General Aircraft Corporation Sony Pictures Entertainment Universe International Financial Holdings Asahi Group Holdings Mitsubishi Fuso Truck and Bus Corporation Javni holding Ljubljana MTR Corporation SBI Holdings Motorola SK Innovation Odakyu Hakone Holdings Noma Holding GE Aviation Kintetsu Group Holdings Boeing McCain Foods Royal Holdings Antonov Radio and Television Slovakia Kadeau København Zaferan Holding ApS Canal+ Yum! Brands Volvo Buses
CBS, Toyota and Unilever are the parent company of atmost 2 business enterprises
CBS Toyota Unilever
action atmost
action find_tuple_counts
relation subsidiary
type business enterprise
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:subsidiary ?h . ?h rdf:type ontology:business_enterprise . ?r rdf:type ontology:business_enterprise } GROUP BY ?r } . FILTER ( ?i <= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q299687 Q3357783
P84
Q41176
USER
Which buildings were designed by Rosenbergs Arkitekter or Francesco Bartolomeo Rastrelli ?
OR((c(Q41176),P84,Q3357783), (c(Q41176),P84,Q299687))
action filter_type
action union
action find_reverse
entity Q3357783
relation P84
action find_reverse
entity Q299687
relation P84
type Q41176
{'OR': [[{'concept': 'Q41176'}, 'P84', 'Q3357783'], [{'concept': 'Q41176'}, 'P84', 'Q299687']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P84 resource:Q3357783 } UNION { ?e property:P84 resource:Q299687 } } . ?e rdf:type ontology:Q41176 }
Francesco Bartolomeo Rastrelli Rosenbergs Arkitekter
action filter_type
action union
action find_reverse
entity Rosenbergs Arkitekter
relation architect
action find_reverse
entity Francesco Bartolomeo Rastrelli
relation architect
type building
{'OR': [[{'concept': 'building'}, 'architect', 'Rosenbergs Arkitekter'], [{'concept': 'building'}, 'architect', 'Francesco Bartolomeo Rastrelli']]}
SELECT DISTINCT ?e WHERE { { { ?e property:architect resource:Rosenbergs_Arkitekter } UNION { ?e property:architect resource:Francesco_Bartolomeo_Rastrelli } } . ?e rdf:type ontology:building }
[]
building
Q732489 Q2854543 Q187333 Q182147 Q4991974 Q2670942
SYSTEM
Mariyinsky Palace, Catherine Palace, Anichkov Palace, Winter Palace, Rica Talk Hotel, Summer Palace
Q732489 Q2854543 Q187333 Q182147 Q4991974 Q2670942
OR((c(Q41176),P84,Q3357783), (c(Q41176),P84,Q299687))
action filter_type
action union
action find_reverse
entity Q3357783
relation P84
action find_reverse
entity Q299687
relation P84
type Q41176
[ANSWERS] were designed by Rosenbergs Arkitekter or Francesco Bartolomeo Rastrelli
{'OR': [[{'concept': 'Q41176'}, 'P84', 'Q3357783'], [{'concept': 'Q41176'}, 'P84', 'Q299687']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P84 resource:Q3357783 } UNION { ?e property:P84 resource:Q299687 } } . ?e rdf:type ontology:Q41176 }
Mariyinsky Palace Catherine Palace Anichkov Palace Winter Palace Rica Talk Hotel Summer Palace
Mariyinsky Palace, Catherine Palace, Anichkov Palace, Winter Palace, Rica Talk Hotel and Summer Palace were designed by Rosenbergs Arkitekter or Francesco Bartolomeo Rastrelli
Mariyinsky Palace Catherine Palace Anichkov Palace Winter Palace Rica Talk Hotel Summer Palace
action filter_type
action union
action find_reverse
entity Rosenbergs Arkitekter
relation architect
action find_reverse
entity Francesco Bartolomeo Rastrelli
relation architect
type building
{'OR': [[{'concept': 'building'}, 'architect', 'Rosenbergs Arkitekter'], [{'concept': 'building'}, 'architect', 'Francesco Bartolomeo Rastrelli']]}
SELECT DISTINCT ?e WHERE { { { ?e property:architect resource:Rosenbergs_Arkitekter } UNION { ?e property:architect resource:Francesco_Bartolomeo_Rastrelli } } . ?e rdf:type ontology:building }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that building present in ?
(Q182147,P17,c(Q15617994))
['Q182147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1210112 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Winter Palace', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Winter_Palace property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q4991974
SYSTEM
Did you mean Rica Talk Hotel ?
(Q732489,P17,c(Q15617994)) (Q2854543,P17,c(Q15617994)) (Q187333,P17,c(Q15617994)) (Q182147,P17,c(Q15617994)) (Q4991974,P17,c(Q15617994)) (Q2670942,P17,c(Q15617994))
[ANSWER]
['Q732489', 'P17', {'concept': 'Q15617994'}] ['Q2854543', 'P17', {'concept': 'Q15617994'}] ['Q187333', 'P17', {'concept': 'Q15617994'}] ['Q182147', 'P17', {'concept': 'Q15617994'}] ['Q4991974', 'P17', {'concept': 'Q15617994'}] ['Q2670942', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1210112 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Rica Talk Hotel ?
Rica Talk Hotel
['Mariyinsky Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Catherine Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Anichkov Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Winter Palace', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rica Talk Hotel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Summer Palace', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Winter_Palace property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Winter Palace. Could you tell me the answer for that?
(Q182147,P17,c(Q15617994))
Q182147
['Q182147', 'P17', {'concept': 'Q15617994'}]
['Winter Palace', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q159
(Q182147,P17,c(Q15617994))
[ANSWER]
['Q182147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1210112 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Russia
1
['Winter Palace', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Winter_Palace property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P85
Q484692
USER
Which hymn is the anthem for Switzerland ?
(Q39,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
['Q39', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?d WHERE { resource:Q39 property:P85 ?d . ?d rdf:type ontology:Q484692 }
Switzerland
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Switzerland', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?d WHERE { resource:Switzerland property:anthem ?d . ?d rdf:type ontology:hymn }
[]
hymn
Q182536
SYSTEM
Swiss Psalm
Q182536
(Q39,P85,c(Q484692))
action filter_type
action find
entity Q39
relation P85
type Q484692
[ANSWER] is the anthem for Switzerland
['Q39', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?d WHERE { resource:Q39 property:P85 ?d . ?d rdf:type ontology:Q484692 }
Swiss Psalm
Swiss Psalm is the anthem for Switzerland
Swiss Psalm
action filter_type
action find
entity Switzerland
relation anthem
type hymn
['Switzerland', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?d WHERE { resource:Switzerland property:anthem ?d . ?d rdf:type ontology:hymn }
[]