Simple Question (Direct)
Simple Question
Q4940447
P161
Q502895
USER
Which people are in Bombaat ?
(Q4940447,P161,c(Q502895))
action filter_type
action find
entity Q4940447
relation P161
type Q502895
['Q4940447', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4940447 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Bombaat
action filter_type
action find
entity Bombaat
relation cast member
type common name
['Bombaat', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bombaat property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q7290393 Q7283589 Q5520823
SYSTEM
Ramya, Rahul Dev, Ganesh
Q7290393 Q6933443 Q7283589 Q5520823
(Q4940447,P161,c(Q502895))
action filter_type
action find
entity Q4940447
relation P161
type Q502895
[ANSWERS] are in Bombaat
['Q4940447', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4940447 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Ramya Mukesh Rishi Rahul Dev Ganesh
Ramya, Rahul Dev and Ganesh are in Bombaat
Ramya Rahul Dev Ganesh
action filter_type
action find
entity Bombaat
relation cast member
type common name
['Bombaat', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bombaat property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7283589
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q7283589,P19,c(Q56061))
action filter_type
action find
entity Q7283589
relation P19
type Q56061
['Q7283589', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q7283589 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Rahul Dev
action filter_type
action find
entity Rahul Dev
relation place of birth
type administrative territorial entity
['Rahul Dev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rahul_Dev property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q5520823
SYSTEM
Did you mean Ganesh ?
Q7290393 Q7283589 Q5520823
(Q7290393,P19,c(Q56061)) (Q7283589,P19,c(Q56061)) (Q5520823,P19,c(Q56061))
[ANSWER]
['Q7290393', 'P19', {'concept': 'Q56061'}] ['Q7283589', 'P19', {'concept': 'Q56061'}] ['Q5520823', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q7283589 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Ramya Rahul Dev Ganesh
Did you mean Ganesh ?
Ganesh
['Ramya', 'place of birth', {'concept': 'administrative territorial entity'}] ['Rahul Dev', 'place of birth', {'concept': 'administrative territorial entity'}] ['Ganesh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rahul_Dev property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Rahul Dev. Could you tell me the answer for that?
(Q7283589,P19,c(Q56061))
Q7283589
['Q7283589', 'P19', {'concept': 'Q56061'}]
['Rahul Dev', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q1353
SYSTEM
Delhi
Q1353
(Q7283589,P19,c(Q56061))
action filter_type
action find
entity Q7283589
relation P19
type Q56061
That person was born in [ANSWER]
['Q7283589', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q7283589 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Delhi
That person was born in Delhi
Delhi
action filter_type
action find
entity Rahul Dev
relation place of birth
type administrative territorial entity
['Rahul Dev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rahul_Dev property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1353 Q1297
P190
Q56061
USER
Is Chicago twin city of that one ?
(Q1353,P190,Q1297)
action is_in
entity Q1297
action find
entity Q1353
relation P190
['Q1353', 'P190', 'Q1297']
ASK WHERE { resource:Q1353 property:P190 resource:Q1297 }
Delhi Chicago
action is_in
entity Chicago
action find
entity Delhi
relation sister city
['Delhi', 'sister city', 'Chicago']
ASK WHERE { resource:Delhi property:sister_city resource:Chicago }
[]
administrative territorial entity
SYSTEM
YES
(Q1353,P190,Q1297)
action is_in
entity Q1297
action find
entity Q1353
relation P190
[ANSWER]
['Q1353', 'P190', 'Q1297']
ASK WHERE { resource:Q1353 property:P190 resource:Q1297 }
Yes
action is_in
entity Chicago
action find
entity Delhi
relation sister city
['Delhi', 'sister city', 'Chicago']
ASK WHERE { resource:Delhi property:sister_city resource:Chicago }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353
P276
Q1190554
USER
Which event is located at Delhi ?
(c(Q1190554),P276,Q1353)
action filter_type
action find_reverse
entity Q1353
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1353']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q1353 . ?q rdf:type ontology:Q1190554 }
Delhi
action filter_type
action find_reverse
entity Delhi
relation location
type event
[{'concept': 'event'}, 'location', 'Delhi']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Delhi . ?q rdf:type ontology:event }
[]
event
Q4870862
SYSTEM
Battle of Delhi
Q4870862
(c(Q1190554),P276,Q1353)
action filter_type
action find_reverse
entity Q1353
relation P276
type Q1190554
Delhi [ANSWER] is located at Delhi
[{'concept': 'Q1190554'}, 'P276', 'Q1353']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q1353 . ?q rdf:type ontology:Q1190554 }
Battle of Delhi
Delhi Battle of Delhi is located at Delhi
Battle of Delhi
action filter_type
action find_reverse
entity Delhi
relation location
type event
[{'concept': 'event'}, 'location', 'Delhi']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Delhi . ?q rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353
P1408
Q4830453
USER
Which business enterprise has license to broadcast to that administrative territory ?
(c(Q4830453),P1408,Q4870862)
action filter_type
action find_reverse
entity Q1353
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q4870862']
SELECT DISTINCT ?h WHERE { ?h property:P1408 resource:Q1353 . ?h rdf:type ontology:Q4830453 }
Delhi
action filter_type
action find_reverse
entity Delhi
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Battle of Delhi']
SELECT DISTINCT ?h WHERE { ?h property:licensed_to_broadcast_to resource:Delhi . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Q5623983
SYSTEM
Gyan Vani
Q5623983
(c(Q4830453),P1408,Q4870862)
action filter_type
action find_reverse
entity Q1353
relation P1408
type Q4830453
[ANSWER] has license to broadcast to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q4870862']
SELECT DISTINCT ?h WHERE { ?h property:P1408 resource:Q1353 . ?h rdf:type ontology:Q4830453 }
Gyan Vani
Gyan Vani has license to broadcast to that administrative territory
Gyan Vani
action filter_type
action find_reverse
entity Delhi
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Battle of Delhi']
SELECT DISTINCT ?h WHERE { ?h property:licensed_to_broadcast_to resource:Delhi . ?h rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P355
Q874405 Q334453 Q4830453
USER
Which business enterprises are min number of social groups and divisions the subsidiary of ?
(c(Q4830453),P355,c(Q874405)|c(Q334453))
action argmin
action union
action find_tuple_counts
relation P355
type Q4830453
type Q874405
action find_tuple_counts
relation P355
type Q4830453
type Q334453
[{'concept': 'Q4830453'}, 'P355', [{'concept': 'Q874405'}, {'concept': 'Q334453'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?o WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q874405 ) ( ontology:Q334453 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) ?v WHERE { { ?v property:P355 ?u . ?v rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q874405 } UNION { ?v property:P355 ?u . ?v rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q334453 } } GROUP BY ?v } . FILTER ( ?z = ?m ) }
action argmin
action union
action find_tuple_counts
relation subsidiary
type business enterprise
type social group
action find_tuple_counts
relation subsidiary
type business enterprise
type division
[{'concept': 'business enterprise'}, 'subsidiary', [{'concept': 'social group'}, {'concept': 'division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?o WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:social_group ) ( ontology:division ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) ?v WHERE { { ?v property:subsidiary ?u . ?v rdf:type ontology:business_enterprise . ?u rdf:type ontology:social_group } UNION { ?v property:subsidiary ?u . ?v rdf:type ontology:business_enterprise . ?u rdf:type ontology:division } } GROUP BY ?v } . FILTER ( ?z = ?m ) }
[]
social group division business enterprise
Q53268 Q157062 Q329426
SYSTEM
Toyota, Unilever, Danone
Q7901687 Q11319692 Q727145 Q127005 Q18162669 Q695087 Q1134268 Q3107966 Q1457152 Q547465 Q4785248 Q5215535 Q1714952 Q22122879 Q11350495 Q11228051 Q11375826 Q157062 Q1931458 Q4834524 Q908916 Q17394626 Q3571463 Q17199570 Q29366 Q303341 Q841220 Q11322733 Q7497366 Q27231583 Q1348664 Q11551995 Q23929933 Q5427196 Q588786 Q11101101 Q21857826 Q11645551 Q811213 Q35886 Q26678 Q910401 Q1552770 Q13403399 Q26868721 Q1781348 Q17219597 Q708667 Q53268 Q11086747 Q329426 Q11993484 Q117202 Q24231734 Q23638518 Q11243694 Q11455891 Q11582449 Q11195603 Q26720780 Q308889 Q207983 Q13416787 Q20061301 Q2667719 Q17025895 Q656554 Q26702890 Q5371838 Q1663776 Q5628833 Q1602991 Q59187 Q1542175 Q16834431 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 Q944414 Q11350142 Q212268 Q727176 Q23010103 Q21757878 Q1032540 Q668737 Q2373435
(c(Q4830453),P355,c(Q874405)|c(Q334453))
action argmin
action union
action find_tuple_counts
relation P355
type Q4830453
type Q874405
action find_tuple_counts
relation P355
type Q4830453
type Q334453
[ANSWERS] are min number of social groups and divisions the subsidiary of
[{'concept': 'Q4830453'}, 'P355', [{'concept': 'Q874405'}, {'concept': 'Q334453'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?o WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q874405 ) ( ontology:Q334453 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) ?v WHERE { { ?v property:P355 ?u . ?v rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q874405 } UNION { ?v property:P355 ?u . ?v rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q334453 } } GROUP BY ?v } . FILTER ( ?z = ?m ) }
Usaha Tegas TV Tokyo Holdings 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 KNT-CT Holdings Keihan Holdings Unilever Micro Focus International BAE Systems Inc. Grandi Stazioni Mouzenidis Group Yamato Holdings TV Asahi Holdings Changan Automobile Wyndham Worldwide Hankyu Hanshin Holdings Doutor Nichires Holdings Shine Group PFA HOLDING Rockwell International Senshu Ikeda Holdings Logstor Holding FTI Consulting China National Petroleum Corporation The Yomiuri Shimbun Holdings Susanne Lindner Holding ApS 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 Nippon Television Holdings 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 Daimler Trucks North America 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 McCain Foods Royal Holdings Antonov Radio and Television Slovakia Kadeau København Zaferan Holding ApS Canal+ Yum! Brands Volvo Buses
Toyota, Unilever and Danone are min number of social groups and divisions the subsidiary of
Toyota Unilever Danone
action argmin
action union
action find_tuple_counts
relation subsidiary
type business enterprise
type social group
action find_tuple_counts
relation subsidiary
type business enterprise
type division
[{'concept': 'business enterprise'}, 'subsidiary', [{'concept': 'social group'}, {'concept': 'division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?o WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:social_group ) ( ontology:division ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) ?v WHERE { { ?v property:subsidiary ?u . ?v rdf:type ontology:business_enterprise . ?u rdf:type ontology:social_group } UNION { ?v property:subsidiary ?u . ?v rdf:type ontology:business_enterprise . ?u rdf:type ontology:division } } GROUP BY ?v } . FILTER ( ?z = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53268
P169
Q502895
USER
Who is the CEO of Toyota ?
(Q53268,P169,c(Q502895))
action filter_type
action find
entity Q53268
relation P169
type Q502895
['Q53268', 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q53268 property:P169 ?a . ?a rdf:type ontology:Q502895 }
Toyota
action filter_type
action find
entity Toyota
relation chief executive officer
type common name
['Toyota', 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Toyota property:chief_executive_officer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q418622
SYSTEM
Akio Toyoda
Q418622
(Q53268,P169,c(Q502895))
action filter_type
action find
entity Q53268
relation P169
type Q502895
The CEO of Toyota is the [ANSWER]
['Q53268', 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q53268 property:P169 ?a . ?a rdf:type ontology:Q502895 }
Akio Toyoda
The CEO of Toyota is the Akio Toyoda
Akio Toyoda
action filter_type
action find
entity Toyota
relation chief executive officer
type common name
['Toyota', 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Toyota property:chief_executive_officer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q418622
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q418622)
action filter_type
action find_reverse
entity Q418622
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q418622']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q418622 . ?l rdf:type ontology:Q502895 }
Akio Toyoda
action filter_type
action find_reverse
entity Akio Toyoda
relation child
type common name
[{'concept': 'common name'}, 'child', 'Akio Toyoda']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Akio_Toyoda . ?l rdf:type ontology:common_name }
[]
common name
Q478765
SYSTEM
Shoichiro Toyoda
Q478765
(c(Q502895),P40,Q418622)
action filter_type
action find_reverse
entity Q418622
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q418622']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q418622 . ?l rdf:type ontology:Q502895 }
Shoichiro Toyoda
Shoichiro Toyoda has that one as a child
Shoichiro Toyoda
action filter_type
action find_reverse
entity Akio Toyoda
relation child
type common name
[{'concept': 'common name'}, 'child', 'Akio Toyoda']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Akio_Toyoda . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P166
Q193622 Q2003221
USER
How many orders or chivalric orders were received by that person ?
(Q478765,P166,c(Q193622)) (Q478765,P166,c(Q2003221)) (Q478765,P166,c(Q193622)) (Q478765,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q478765
relation P166
type Q193622
action filter_type
action find
entity Q478765
relation P166
type Q2003221
['Q478765', 'P166', {'concept': 'Q193622'}] ['Q478765', 'P166', {'concept': 'Q2003221'}] ['Q478765', 'P166', {'concept': 'Q193622'}] ['Q478765', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { resource:Q478765 property:P166 ?y . ?y rdf:type ontology:Q193622 } UNION { resource:Q478765 property:P166 ?y . ?y rdf:type ontology:Q2003221 } }
action count
action union
action filter_type
action find
entity Shoichiro Toyoda
relation award received
type order
action filter_type
action find
entity Shoichiro Toyoda
relation award received
type chivalric order
['Shoichiro Toyoda', 'award received', {'concept': 'order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'chivalric order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { resource:Shoichiro_Toyoda property:award_received ?y . ?y rdf:type ontology:order } UNION { resource:Shoichiro_Toyoda property:award_received ?y . ?y rdf:type ontology:chivalric_order } }
[]
order chivalric order
SYSTEM
2
Q11087099 Q12201445
(Q478765,P166,c(Q193622)) (Q478765,P166,c(Q2003221)) (Q478765,P166,c(Q193622)) (Q478765,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q478765
relation P166
type Q193622
action filter_type
action find
entity Q478765
relation P166
type Q2003221
[ANSWER]
['Q478765', 'P166', {'concept': 'Q193622'}] ['Q478765', 'P166', {'concept': 'Q2003221'}] ['Q478765', 'P166', {'concept': 'Q193622'}] ['Q478765', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { resource:Q478765 property:P166 ?y . ?y rdf:type ontology:Q193622 } UNION { resource:Q478765 property:P166 ?y . ?y rdf:type ontology:Q2003221 } }
Order of the Rising Sun, 1st class Knight Commander of the Order of the British Empire
2
action count
action union
action filter_type
action find
entity Shoichiro Toyoda
relation award received
type order
action filter_type
action find
entity Shoichiro Toyoda
relation award received
type chivalric order
['Shoichiro Toyoda', 'award received', {'concept': 'order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'chivalric order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'order'}] ['Shoichiro Toyoda', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { resource:Shoichiro_Toyoda property:award_received ?y . ?y rdf:type ontology:order } UNION { resource:Shoichiro_Toyoda property:award_received ?y . ?y rdf:type ontology:chivalric_order } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q418622
P27
Q15617994
USER
How many administrative territories are Akio Toyoda an inhabitant of ?
(Q418622,P27,c(Q15617994))
action count
action filter_type
action find
entity Q418622
relation P27
type Q15617994
['Q418622', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q418622 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Akio Toyoda
action count
action filter_type
action find
entity Akio Toyoda
relation country of citizenship
type designation for an administrative territorial entity
['Akio Toyoda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Akio_Toyoda property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q418622,P27,c(Q15617994))
action count
action filter_type
action find
entity Q418622
relation P27
type Q15617994
[ANSWER]
['Q418622', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q418622 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Akio Toyoda
relation country of citizenship
type designation for an administrative territorial entity
['Akio Toyoda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Akio_Toyoda property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18640478
Q15617994
USER
And also tell me about Viktor Knutsson?
(Q18640478,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18640478
relation P27
type Q15617994
['Q18640478', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q18640478 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Viktor Knutsson
action count
action filter_type
action find
entity Viktor Knutsson
relation country of citizenship
type designation for an administrative territorial entity
['Viktor Knutsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Viktor_Knutsson property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q18640478,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18640478
relation P27
type Q15617994
[ANSWER]
['Q18640478', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q18640478 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Viktor Knutsson
relation country of citizenship
type designation for an administrative territorial entity
['Viktor Knutsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Viktor_Knutsson property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7489708 Q1353
P19 P190
Q515
USER
Which cities are the sister cities of Delhi and are the birthplace of Sharifah Aryana ?
AND((Q1353,P190,c(Q515)), (Q7489708,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q1353
relation P190
action find
entity Q7489708
relation P19
type Q515
{'AND': [['Q1353', 'P190', {'concept': 'Q515'}], ['Q7489708', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1353 property:P190 ?g . resource:Q7489708 property:P19 ?g . ?g rdf:type ontology:Q515 }
Sharifah Aryana Delhi
action filter_type
action intersection
action find
entity Delhi
relation sister city
action find
entity Sharifah Aryana
relation place of birth
type city
{'AND': [['Delhi', 'sister city', {'concept': 'city'}], ['Sharifah Aryana', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?g WHERE { resource:Delhi property:sister_city ?g . resource:Sharifah_Aryana property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
city
Q1865
SYSTEM
Kuala Lumpur
Q1865
AND((Q1353,P190,c(Q515)), (Q7489708,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q1353
relation P190
action find
entity Q7489708
relation P19
type Q515
[ANSWER] is the sister cities of Delhi and is the birthplace of Sharifah Aryana
{'AND': [['Q1353', 'P190', {'concept': 'Q515'}], ['Q7489708', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1353 property:P190 ?g . resource:Q7489708 property:P19 ?g . ?g rdf:type ontology:Q515 }
Kuala Lumpur
Kuala Lumpur is the sister cities of Delhi and is the birthplace of Sharifah Aryana
Kuala Lumpur
action filter_type
action intersection
action find
entity Delhi
relation sister city
action find
entity Sharifah Aryana
relation place of birth
type city
{'AND': [['Delhi', 'sister city', {'concept': 'city'}], ['Sharifah Aryana', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?g WHERE { resource:Delhi property:sister_city ?g . resource:Sharifah_Aryana property:place_of_birth ?g . ?g rdf:type ontology:city }
[]