Simple Question (Direct)
Simple Question
Q1571871
P449
Q2001305
USER
Which network did Return to Halloweentown originally air in ?
(Q1571871,P449,c(Q2001305))
action filter_type
action find
entity Q1571871
relation P449
type Q2001305
['Q1571871', 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ?h WHERE { resource:Q1571871 property:P449 ?h . ?h rdf:type ontology:Q2001305 }
Return to Halloweentown
action filter_type
action find
entity Return to Halloweentown
relation original network
type television channel
['Return to Halloweentown', 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ?h WHERE { resource:Return_to_Halloweentown property:original_network ?h . ?h rdf:type ontology:television_channel }
[]
television channel
Q178837
SYSTEM
Disney Channel
Q178837
(Q1571871,P449,c(Q2001305))
action filter_type
action find
entity Q1571871
relation P449
type Q2001305
Originally Return to Halloweentown aired on [ANSWER]
['Q1571871', 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ?h WHERE { resource:Q1571871 property:P449 ?h . ?h rdf:type ontology:Q2001305 }
Disney Channel
Originally Return to Halloweentown aired on Disney Channel
Disney Channel
action filter_type
action find
entity Return to Halloweentown
relation original network
type television channel
['Return to Halloweentown', 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ?h WHERE { resource:Return_to_Halloweentown property:original_network ?h . ?h rdf:type ontology:television_channel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q178837
P127
Q1269299
USER
Who is the owner of that television channel ?
(Q178837,P127,c(Q1269299))
action filter_type
action find
entity Q178837
relation P127
type Q1269299
['Q178837', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?d WHERE { resource:Q178837 property:P127 ?d . ?d rdf:type ontology:Q1269299 }
Disney Channel
action filter_type
action find
entity Disney Channel
relation owned by
type type of business entity
['Disney Channel', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?d WHERE { resource:Disney_Channel property:owned_by ?d . ?d rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q7414
SYSTEM
The Walt Disney Company
Q7414
(Q178837,P127,c(Q1269299))
action filter_type
action find
entity Q178837
relation P127
type Q1269299
The owner of that television channel is also [ANSWER]
['Q178837', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?d WHERE { resource:Q178837 property:P127 ?d . ?d rdf:type ontology:Q1269299 }
The Walt Disney Company
The owner of that television channel is also The Walt Disney Company
The Walt Disney Company
action filter_type
action find
entity Disney Channel
relation owned by
type type of business entity
['Disney Channel', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?d WHERE { resource:Disney_Channel property:owned_by ?d . ?d rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q1269299
USER
How many professions are an auxiliary of approximately 1 business organization ?
(c(Q1269299),P355,c(Q28640))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
value 1
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P355 ?o . ?r rdf:type ontology:Q1269299 . ?o rdf:type ontology:Q28640 } GROUP BY ?o } }
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:subsidiary ?o . ?r rdf:type ontology:type_of_business_entity . ?o rdf:type ontology:profession } GROUP BY ?o } }
[]
profession type of business entity
SYSTEM
7
Q1403157 Q1129295 Q73801 Q2740414 Q15018011 Q1692707 Q3052263
(c(Q1269299),P355,c(Q28640))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
value 1
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P355 ?o . ?r rdf:type ontology:Q1269299 . ?o rdf:type ontology:Q28640 } GROUP BY ?o } }
WMS Industries Mojang Microsoft Studios Team Ninja Atari Interactive Square Enix Europe Omega Force
7
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:subsidiary ?o . ?r rdf:type ontology:type_of_business_entity . ?o rdf:type ontology:profession } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7901687
P355
Q1269299 Q4830453
USER
Which business enterprises are lesser number of business organizations the subsidiary of than Usaha Tegas ?
(c(Q4830453),P355,c(Q1269299))
action less
action find_tuple_counts
relation P355
type Q4830453
type Q1269299
action count
action filter_type
action find
entity Q7901687
relation P355
type Q1269299
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q1269299 . ?n rdf:type ontology:Q4830453 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q7901687 property:P355 ?k . ?k rdf:type ontology:Q1269299 } } . FILTER ( ?m < ?o ) }
Usaha Tegas
action less
action find_tuple_counts
relation subsidiary
type business enterprise
type type of business entity
action count
action filter_type
action find
entity Usaha Tegas
relation subsidiary
type type of business entity
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:type_of_business_entity . ?n rdf:type ontology:business_enterprise } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Usaha_Tegas property:subsidiary ?k . ?k rdf:type ontology:type_of_business_entity } } . FILTER ( ?m < ?o ) }
[]
type of business entity business enterprise
Q43380 Q53268 Q157062
SYSTEM
CBS, Toyota, Unilever
Q11319692 Q3139309 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 Q21857826 Q23638508 Q43380 Q2147715 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 Q266087 Q19604369 Q5413890 Q4393272 Q16165708 Q482607 Q7954024 Q11225149 Q12009441 Q11547303 Q12594197 Q11318773 Q22122898 Q11507487 Q160746 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(Q1269299))
action less
action find_tuple_counts
relation P355
type Q4830453
type Q1269299
action count
action filter_type
action find
entity Q7901687
relation P355
type Q1269299
[ANSWERS] are lesser number of business organizations the subsidiary of than Usaha Tegas
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { ?n property:P355 ?q . ?q rdf:type ontology:Q1269299 . ?n rdf:type ontology:Q4830453 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q7901687 property:P355 ?k . ?k rdf:type ontology:Q1269299 } } . FILTER ( ?m < ?o ) }
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 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 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 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 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é 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 lesser number of business organizations the subsidiary of than Usaha Tegas
CBS Toyota Unilever
action less
action find_tuple_counts
relation subsidiary
type business enterprise
type type of business entity
action count
action filter_type
action find
entity Usaha Tegas
relation subsidiary
type type of business entity
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { ?n property:subsidiary ?q . ?q rdf:type ontology:type_of_business_entity . ?n rdf:type ontology:business_enterprise } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Usaha_Tegas property:subsidiary ?k . ?k rdf:type ontology:type_of_business_entity } } . FILTER ( ?m < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1964916 Q7901687
P452 P355
Q268592
USER
Which economic branches are an auxiliary of Usaha Tegas or are the industry to which Napier & Son belongs ?
OR((Q7901687,P355,c(Q268592)), (Q1964916,P452,c(Q268592)))
action filter_type
action union
action find
entity Q7901687
relation P355
action find
entity Q1964916
relation P452
type Q268592
{'OR': [['Q7901687', 'P355', {'concept': 'Q268592'}], ['Q1964916', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7901687 property:P355 ?u } UNION { resource:Q1964916 property:P452 ?u } } . ?u rdf:type ontology:Q268592 }
Napier & Son Usaha Tegas
action filter_type
action union
action find
entity Usaha Tegas
relation subsidiary
action find
entity Napier & Son
relation industry
type economic branch
{'OR': [['Usaha Tegas', 'subsidiary', {'concept': 'economic branch'}], ['Napier & Son', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Usaha_Tegas property:subsidiary ?u } UNION { resource:Napier_&_Son property:industry ?u } } . ?u rdf:type ontology:economic_branch }
[]
economic branch
Q190117 Q2627330
SYSTEM
automotive industry, Maxis Communications
Q190117 Q2627330
OR((Q7901687,P355,c(Q268592)), (Q1964916,P452,c(Q268592)))
action filter_type
action union
action find
entity Q7901687
relation P355
action find
entity Q1964916
relation P452
type Q268592
[ANSWERS] are an auxiliary of Usaha Tegas or are the industry to which Napier & Son belongs
{'OR': [['Q7901687', 'P355', {'concept': 'Q268592'}], ['Q1964916', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7901687 property:P355 ?u } UNION { resource:Q1964916 property:P452 ?u } } . ?u rdf:type ontology:Q268592 }
automotive industry Maxis Communications
Automotive industry and Maxis Communications are an auxiliary of Usaha Tegas or are the industry to which Napier & Son belongs
automotive industry Maxis Communications
action filter_type
action union
action find
entity Usaha Tegas
relation subsidiary
action find
entity Napier & Son
relation industry
type economic branch
{'OR': [['Usaha Tegas', 'subsidiary', {'concept': 'economic branch'}], ['Napier & Son', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Usaha_Tegas property:subsidiary ?u } UNION { resource:Napier_&_Son property:industry ?u } } . ?u rdf:type ontology:economic_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43380
P740
Q56061
USER
How many administrative territories are the locations of formation of CBS ?
(Q43380,P740,c(Q56061))
action count
action filter_type
action find
entity Q43380
relation P740
type Q56061
['Q43380', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q43380 property:P740 ?n . ?n rdf:type ontology:Q56061 }
CBS
action count
action filter_type
action find
entity CBS
relation location of formation
type administrative territorial entity
['CBS', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:CBS property:location_of_formation ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q43380,P740,c(Q56061))
action count
action filter_type
action find
entity Q43380
relation P740
type Q56061
[ANSWER]
['Q43380', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q43380 property:P740 ?n . ?n rdf:type ontology:Q56061 }
New York City
1
action count
action filter_type
action find
entity CBS
relation location of formation
type administrative territorial entity
['CBS', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:CBS property:location_of_formation ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2627330
P159
Q515
USER
Which city is the head office of Maxis Communications ?
(Q2627330,P159,c(Q515))
action filter_type
action find
entity Q2627330
relation P159
type Q515
['Q2627330', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q2627330 property:P159 ?w . ?w rdf:type ontology:Q515 }
Maxis Communications
action filter_type
action find
entity Maxis Communications
relation headquarters location
type city
['Maxis Communications', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Maxis_Communications property:headquarters_location ?w . ?w rdf:type ontology:city }
[]
city
Q1865
SYSTEM
Kuala Lumpur
Q1865
(Q2627330,P159,c(Q515))
action filter_type
action find
entity Q2627330
relation P159
type Q515
[ANSWER] is the head office of Maxis Communications
['Q2627330', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q2627330 property:P159 ?w . ?w rdf:type ontology:Q515 }
Kuala Lumpur
Kuala Lumpur is the head office of Maxis Communications
Kuala Lumpur
action filter_type
action find
entity Maxis Communications
relation headquarters location
type city
['Maxis Communications', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Maxis_Communications property:headquarters_location ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1865
P1376
Q15617994
USER
Which administrative territory has that city as its capital ?
(Q1865,P1376,c(Q15617994))
action filter_type
action find
entity Q1865
relation P1376
type Q15617994
['Q1865', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1865 property:P1376 ?v . ?v rdf:type ontology:Q15617994 }
Kuala Lumpur
action filter_type
action find
entity Kuala Lumpur
relation capital of
type designation for an administrative territorial entity
['Kuala Lumpur', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kuala_Lumpur property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833
SYSTEM
Malaysia
Q833
(Q1865,P1376,c(Q15617994))
action filter_type
action find
entity Q1865
relation P1376
type Q15617994
[ANSWER] has that city as its capital
['Q1865', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1865 property:P1376 ?v . ?v rdf:type ontology:Q15617994 }
Malaysia
Malaysia has that city as its capital
Malaysia
action filter_type
action find
entity Kuala Lumpur
relation capital of
type designation for an administrative territorial entity
['Kuala Lumpur', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kuala_Lumpur property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1865
P190
Q56061
USER
Which administrative territories are partner town of that city ?
(c(Q56061),P190,Q833)
action filter_type
action find_reverse
entity Q1865
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q833']
SELECT DISTINCT ?o WHERE { ?o property:P190 resource:Q1865 . ?o rdf:type ontology:Q56061 }
Kuala Lumpur
action filter_type
action find_reverse
entity Kuala Lumpur
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Malaysia']
SELECT DISTINCT ?o WHERE { ?o property:sister_city resource:Kuala_Lumpur . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q612 Q3640
SYSTEM
London, Dubai, Ankara
Q987 Q3630 Q1353 Q1352 Q612 Q61089 Q6397066 Q121157 Q84 Q3640 Q42053 Q18808
(c(Q56061),P190,Q833)
action filter_type
action find_reverse
entity Q1865
relation P190
type Q56061
[ANSWERS] are partner town of that city
[{'concept': 'Q56061'}, 'P190', 'Q833']
SELECT DISTINCT ?o WHERE { ?o property:P190 resource:Q1865 . ?o rdf:type ontology:Q56061 }
New Delhi Jakarta Delhi Chennai Dubai Malacca City Shiraz Mashhad London Ankara Isfahan Pyongyang
London, Dubai and Ankara are partner town of that city
London Dubai Ankara
action filter_type
action find_reverse
entity Kuala Lumpur
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Malaysia']
SELECT DISTINCT ?o WHERE { ?o property:sister_city resource:Kuala_Lumpur . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q515
USER
Which cities are located next to atmost 2 waterways and bodies of water ?
(c(Q515),P206,c(Q1267889)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
value 2
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?x WHERE { VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?z rdf:type ?o } GROUP BY ?x } }
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
value 2
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?x WHERE { VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?z rdf:type ?o } GROUP BY ?x } }
[]
waterway body of water city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q4346 Q3838 Q2833 Q1209 Q23661 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q15324))
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q15324
value 2
[ANSWERS] are located next to atmost 2 waterways and bodies of water
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?x WHERE { VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?z rdf:type ?o } GROUP BY ?x } }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Waren (Müritz) Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
Buenos Aires, Riga and Kyiv are located next to atmost 2 waterways and bodies of water
Buenos Aires Riga Kyiv
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type body of water
value 2
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?x WHERE { VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?z rdf:type ?o } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q15416 Q95074 Q502895
USER
Which television programs are min number of fictional characters and people present in ?
(c(Q95074)|c(Q502895),P1441,c(Q15416))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?o . VALUES ( ?o ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?u } . FILTER ( ?s = ?j ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action find_reverse_tuple_counts
relation present in work
type television program
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?u } . FILTER ( ?s = ?j ) }
[]
television program fictional character common name
Q1145764 Q23628 Q708661
SYSTEM
Guiding Light, The Sopranos, Lindenstraße
Q1247575 Q640535 Q615944 Q18517153 Q33323 Q516453 Q1041885 Q2042834 Q1324189 Q568201 Q951078 Q179666 Q1414656 Q2128714 Q390076 Q425628 Q389769 Q254689 Q23831 Q212156 Q19867876 Q927245 Q1971066 Q804565 Q6844152 Q501663 Q1053983 Q23647041 Q16977365 Q4864886 Q445816 Q757148 Q326264 Q912467 Q18520155 Q2073894 Q18520152 Q1141741 Q82729 Q28537 Q10913555 Q15863577 Q841080 Q1138359 Q7192659 Q2389359 Q16802124 Q2077391 Q1071394 Q2523064 Q1036094 Q23619 Q945030 Q219650 Q19866569 Q4507 Q17104828 Q1247732 Q1044635 Q2091659 Q212807 Q182056 Q245996 Q928007 Q4525 Q1241768 Q4384067 Q2068331 Q253205 Q18553975 Q2188675 Q3230279 Q682825 Q958123 Q207803 Q1304408 Q278375 Q695478 Q1199736 Q1249300 Q32450 Q1969978 Q4830745 Q310966 Q18558839 Q726735 Q3736971 Q7857634 Q2293964 Q216792 Q697406 Q1138000 Q22272 Q1261578 Q48758 Q635352 Q304290 Q244803 Q1784319 Q1744289 Q38497 Q18559016 Q23577 Q266532 Q192015 Q32816 Q1591437 Q27664424 Q3273747 Q18819112 Q16290 Q250767 Q2704561 Q153561 Q8082055 Q1304415 Q6084 Q26186385 Q754197 Q614574 Q1030972 Q715723 Q3783940 Q276071 Q1192035 Q594402 Q4456 Q11120862 Q193462 Q757318 Q464123 Q665817 Q131758 Q387943 Q4887946 Q23628 Q18517163 Q18517162 Q18517161 Q223977 Q18517166 Q18517165 Q18517164 Q18517168 Q223320 Q1477859 Q14925221 Q4085932 Q1525645 Q15726959 Q472309 Q1156746 Q4846058 Q4354146 Q1248320 Q984207 Q5433034 Q557020 Q680722 Q216919 Q155629 Q596962 Q671513 Q202141 Q272015 Q237072 Q548531 Q189411 Q2410485 Q720473 Q24069296 Q1970043 Q708661 Q1145764 Q49019 Q3815 Q1045743 Q1241692 Q7752072 Q248972 Q1638282 Q1161822 Q2560903 Q212731 Q2016883 Q1048856 Q2117860 Q543203 Q2031748 Q11889740 Q7099650 Q18517186 Q309063 Q3139991 Q4307100 Q2275664 Q2152147 Q18517175 Q194427 Q940655 Q16334727 Q732063 Q1571652 Q234386 Q18517171 Q7160103 Q2545719 Q15863567 Q663759 Q950535 Q16889073 Q79784 Q162371 Q203385 Q6899886 Q701947 Q2313956 Q2517477 Q590572 Q1078566 Q34316 Q1635530 Q7847400 Q18517167 Q559321 Q326180 Q2358690 Q244514 Q1201321 Q113700 Q25128 Q3683756 Q550555 Q171254 Q1247858 Q17175515 Q147235 Q1248395 Q123760 Q1247551 Q1144624 Q624611 Q1381883 Q2202089 Q498438 Q168708 Q776488 Q964264 Q1166225 Q550238 Q1971387 Q209878 Q27087 Q192259 Q1545694 Q948696 Q13100145 Q250111 Q552314 Q482482 Q1026823 Q27732841 Q15090947 Q870490 Q137034 Q130585 Q201358 Q283393 Q732383 Q185059 Q230506 Q16860023 Q17278086 Q7733188 Q868835 Q689114 Q849627 Q464009 Q80873 Q244511 Q1249108 Q908708 Q513809 Q1077 Q711257 Q468257 Q460427 Q1767806 Q2790662 Q485668 Q1248045 Q9357747 Q390405 Q83978 Q3062917 Q130615 Q6012162 Q181321 Q461357 Q3340507 Q518589 Q18571935 Q18517176 Q18517177 Q18517170 Q369111 Q18517172 Q18517173 Q6296522 Q6296520 Q18517179 Q1534639 Q15270614 Q2648027 Q2817224 Q207627 Q205474 Q3824286 Q11490663 Q464865 Q4003668 Q640327 Q589187 Q609274 Q279189 Q971920 Q217246 Q207375 Q5935 Q1337212 Q617274 Q1218201 Q18643684 Q5844140 Q1366945 Q390120 Q912437 Q280325 Q319817 Q526035 Q380519 Q23594 Q169074 Q13148212 Q564345 Q5765972 Q18008936 Q2414772 Q16685323 Q6516343 Q3223044 Q738660 Q607514 Q17635847 Q6669712 Q210819 Q647659 Q494202 Q23670 Q2418937 Q370185 Q633432 Q210146 Q82226 Q4529 Q785025 Q113110 Q208647 Q504023 Q826477 Q1111300 Q19399952 Q1035150 Q3832194 Q202577 Q578623 Q1248820 Q1969559 Q19570 Q366375 Q2482527 Q430369 Q2367132 Q2293 Q199853 Q922616 Q1535208 Q386880 Q804314 Q776262 Q1890400 Q16943567 Q15576983 Q1233919 Q3330940 Q23829 Q652724 Q833322 Q23558 Q26233770 Q2352002 Q1071501 Q27732782 Q209282 Q1218971 Q2047663 Q537911 Q2668056 Q1968790 Q31915 Q18628934 Q218035 Q23733 Q15067038 Q2353327 Q1969608 Q2629495 Q276180 Q723 Q2681486 Q1304597 Q278040 Q214107 Q18577675 Q386042 Q921922 Q18049213 Q23609 Q4906928 Q6296516 Q18517062 Q19626781 Q208072 Q156329 Q14422869 Q19011 Q579554 Q715731 Q276528 Q120300 Q318649 Q604202 Q33162 Q308700 Q117590 Q1894972 Q2689565 Q699760 Q260654 Q1146803 Q1215903 Q1248019 Q2700347 Q584025 Q108774 Q1344341 Q289537 Q210257 Q15627692 Q2610941 Q1249404 Q16004491 Q391101 Q1946386 Q988037 Q221230 Q1215573 Q1066522 Q3222142 Q221237 Q126631 Q7752050 Q301345 Q210676 Q3357491 Q5306461 Q1438082 Q1136370 Q5902 Q696236 Q53110 Q163851 Q5001203 Q1035145 Q1271561 Q219610 Q7983000 Q1130799
(c(Q95074)|c(Q502895),P1441,c(Q15416))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
[ANSWERS] are min number of fictional characters and people present in
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?o . VALUES ( ?o ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?u } . FILTER ( ?s = ?j ) }
Emmerdale Knots Landing The Mary Tyler Moore Show The Anonymous Venetian Everybody Hates Chris Spider Riders Wallander The Proud Family Movie Home and Away The Thick of It Hellsing Wilsberg Radio Rebel Thuis Brothers & Sisters 'Allo 'Allo! The Almighty Johnsons Magnum, P.I. The Office Angel Damien Third Watch CentoVetrine Blue Heelers Mighty Man and Yukk Thomas and Friends Hope & Faith Class Daredevil Barry Welsh is Coming Transporter: The Series Rocko's Modern Life Wege zum Glück The Golden Girls The Golden Egg It's Like, You Know... Beastly Things Gilligan's Island The Bold and the Beautiful The Vampire Diaries The Melancholy of Haruhi Suzumiya K-On!! Hustle Royal Pains Pierwsza miłość Gerry Anderson's New Captain Scarlet fourth season of Falling Skies The New Adventures of Tom and Jerry Cheyenne Lewis Hi Hi Puffy AmiYumi Queer as Folk Coronation Street V Quantico Friday Night Lights Sesamstraße Quincy Bewitched Butler Parker Alias Inuyasha Three's Company Lois & Clark: The New Adventures of Superman NCIS A Noble Radiance Code Geass Biker Mice from Mars Entourage Soul Eater Tremors The 100 Lives of Black Jack Savage Burn Notice Fillmore! Bones The Dukes of Hazzard A.N.T. Farm Gute Zeiten, schlechte Zeiten The Trial of the Incredible Hulk Gomer Pyle Pretty Little Liars Passions Ay María qué puntería SeaQuest DSV Soul Eater Not! Dallas Mary Poppins, Goodbye Twelve O'Clock High RIS Delitti Imperfetti The L Word Medicopter 117 – Jedes Leben zählt The Middle Santa Barbara As the World Turns Psych Five Minutes of Heaven Rugrats Ally McBeal Wallander Klan Xena: Warrior Princess Berserk Dexter The Addams Family Yu-Gi-Oh! The Sarah Jane Adventures Wire in the Blood Autumn Dreams Ganbare!! Robocon Agent Carter (season 1) Star Trek: The Next Generation The Brady Bunch Full Metal Panic? Fumoffu Verbotene Liebe Świat według Kiepskich The Dukes of Hazzard: The Beginning NCIS: Los Angeles Talking Tom and Friends JAG Eureka Sunset Beach Urusei Yatsura Heart of the City 90210 16 Wishes Casino Royale Rizzoli & Isles Spiff and Hercules Gilmore Girls According to Jim The A-Team G-Saviour Desperate Housewives Tiny Toon Adventures Benidorm The Sopranos Friends in High Places Death at La Fenice Fatal Remedies Mad Men Doctored Evidence Acqua alta – aka Death in High Water The Death of Faith – aka Quietly in Their Sleep Death in a Strange Country Baywatch Millennium Better Call Saul Possessed Scandal Gotham Princess of Thieves Southland Aquí no hay quien viva Pop Rocks Coach The Inspector Lynley Mysteries Family Affairs The Latest Buzz Spooks Six Feet Under Sesame Street The Time Tunnel Catweazle Criminal Minds Ranma ½ Battlestar Galactica Sister, Sister CSI: Miami Sesamstraat Xiaolin Showdown Taken Port Charles Lindenstraße Guiding Light Blackadder Fringe Space: 1999 Donkey Kong Country The Monroes Tom and Jerry Kids Rugrats Pre-School Daze My So-Called Life The Kids in the Hall Fawlty Towers The Dukes of Hazzard: Reunion! All in the Family James Bond Jr. Chip 'n Dale Rescue Rangers Being Human Raid Orange Is the New Black Drawing Conclusions The Fresh Prince of Bel-Air Hondo The Originals Kim Possible: A Sitch in Time Red Widow Suffer the Little Children The O.C. UFO Zapped Cheers Dog with a Blog The 4400 Wilful Behaviour Pee-wee's Playhouse Love of Life K-On! Revenge Lemonade Mouth House of Shock Friends Charmed One Tree Hill Monica's Gang Dark Kingdom: The Dragon King Twelve Angry Men first season of Falling Skies Unforgettable Darker than Black: Ryūsei no Gemini Doctor Who Men in Trees True Detective Uniform Justice Miami Vice Skins You Wish! Twitches Too Kamen Rider Blade The Avengers Storm of Love Colt .45 Gravity Falls Sons of Anarchy Only Fools and Horses Camera Café How I Met Your Mother Sanford and Son Voyage to the Bottom of the Sea Peyton Place Family Ties One Life to Live Plus belle la vie Familie The Americans Dallas The Dukes of Hazzard: Hazzard in Hollywood! R.I.S. Roma – Delitti imperfetti Dark Shadows Melrose Place Un Posto al Sole Rome third season of Falling Skies CSI: NY Stromberg The Closer Betrayal Borgen Arrow K-On! Saved by the Bell Falling in Love Toy Story of Terror! 3rd Rock from the Sun The Fugitive Supernatural The Flintstones Private Practice Yes Minister Days of our Lives Quantum Leap Agent Carter Descendants The Fall Leverage Digimon Adventure The Young and the Restless Knight Rider Azumanga Daioh Twitches Naked City Neighbours Mighty Morphin Power Rangers Star Trek: The Original Series Fullmetal Alchemist The District That's So Raven Wu Cheng'en and Journey to the West Big Brother Scrubs Good Times The Absent-Minded Professor Nikita Danny Phantom Strutter H₂O: Just Add Water In the Flesh Brookside Dawson's Creek Nicolas Le Floch Happy Days The Big O The Girl of His Dreams About Face A Sea of Troubles Mission: Impossible Blood from a Stone Through a Glass, Darkly Journey to the West Journey to the West A Question of Belief The Alaskans If Tomorrow Comes Ranczo The Pickwick Papers Happy Tree Friends All My Children The Sword of Merlin Hissatsu series The Nanny Teen Angel Are You Being Served? Sliders NYPD Blue A Pup Named Scooby-Doo All Grown Up! The Suite Life of Zack & Cody ER Numb3rs Home Improvement Charlie's Angels The Lone Gunmen Bloodline Tangle Father Ted Torchwood Damages Dallas: The Early Years Joey The Andy Griffith Show Star Trek: Enterprise Homeland 10 Things I Hate About You The Blacklist Person of Interest Chica vampiro Dr. Slump ReBoot True Detective, season 1 Uti vår hage The New Breed The Colbys EastEnders K.C. Undercover Justice League Unlimited Sekai Ninja Sen Jiraiya Dennis the Menace and Gnasher Shortland Street It's Always Sunny in Philadelphia Sports Night Suits The Emperor's New School Babylon 5 Ellen Veronica Mars Fantastic Four All Saints Married... with Children 7th Heaven Without a Trace 8 Simple Rules Bhaabi Ji Ghar Par Hai! Captain Scarlet and the Mysterons Life on Mars Till Death Us Do Part Dark Angel Petticoat Junction General Hospital: Night Shift The Good Wife Good Luck Charlie The Saddle Club The Critic Battlestar Galactica Chuck Gossip Girl Keeping Up Appearances Justified Castle Blake's 7 Goede Tijden, Slechte Tijden Terry Pratchett's The Colour of Magic Younger The Sniffer Doctors House of Cards The Office Everwood Murder, She Wrote House Voices That Care In Case of Emergency Life on Mars By its Cover Frasier The Last Days of Pompeii Na dobre i na złe Agents of S.H.I.E.L.D. Blackadder II Sea Patrol White Collar Digimon Adventure tri. Parks and Recreation Seinfeld Duck Dynasty Journey to the West Grachi Life Is Ruff The Newsroom Rookie Blue Spoed Perfect Strangers A Wrinkle in Time DuckTales Darker than Black 12 Angry Men Cadet Kelly Toy Story That Time Forgot Weeds Biggles Journey to the West Vendetta Preacher That '70s Show Star Trek: Voyager Black Box Aaron Stone Caprica Digimon Adventure 02 Ugly Betty Crayon Shin-chan Ghost Whisperer Galactica 1980 Top Gear Shake It Up Beverly Hills, 90210 Mystery Science Theater 3000 F.C. De Kampioenen Saiyuki Joan of Arcadia Cuéntame cómo pasó The Incredible Hulk Returns Alice second season of Falling Skies Dynasty Star Trek: Deep Space Nine Samantha Who? Lassie MacGyver The Last Ship Holby City Mayberry R.F.D. American Horror Story: Freak Show Agatha Christie's Poirot The Dukes Mork & Mindy Nip/Tuck The Proud Family So Random! The Monkey King Jericho Hannah Montana The Monkey King: Quest for the Sutra Northern Exposure Nashville Solsidan Dream Team Monarch of the Glen General Hospital Red Dwarf Magic Knight Rayearth High School Musical 10-8: Officers on Duty Bus Stop Captain Video and His Video Rangers Water Rats Shaman King Wentworth The Colbert Report
Guiding Light, The Sopranos and Lindenstraße are min number of fictional characters and people present in
Guiding Light The Sopranos Lindenstraße
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action find_reverse_tuple_counts
relation present in work
type television program
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?g ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?u } . FILTER ( ?s = ?j ) }
[]