Simple Question (Direct)
Simple Question
Q11566204
P19
Q515
USER
Which city was Noriko Hamada born at ?
(Q11566204,P19,c(Q515))
action filter_type
action find
entity Q11566204
relation P19
type Q515
['Q11566204', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q11566204 property:P19 ?t . ?t rdf:type ontology:Q515 }
Noriko Hamada
action filter_type
action find
entity Noriko Hamada
relation place of birth
type city
['Noriko Hamada', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Noriko_Hamada property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
city
Q200267
SYSTEM
Kamakura
Q200267
(Q11566204,P19,c(Q515))
action filter_type
action find
entity Q11566204
relation P19
type Q515
Noriko Hamada was born in [ANSWER]
['Q11566204', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q11566204 property:P19 ?t . ?t rdf:type ontology:Q515 }
Kamakura
Noriko Hamada was born in Kamakura
Kamakura
action filter_type
action find
entity Noriko Hamada
relation place of birth
type city
['Noriko Hamada', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Noriko_Hamada property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11566204
P26
Q502895
USER
Which person is married to that one ?
(Q200267,P26,c(Q502895))
action filter_type
action find
entity Q11566204
relation P26
type Q502895
['Q200267', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11566204 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Noriko Hamada
action filter_type
action find
entity Noriko Hamada
relation spouse
type common name
['Kamakura', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Noriko_Hamada property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q11591877
SYSTEM
Naohide Fukuhara
Q11591877
(Q200267,P26,c(Q502895))
action filter_type
action find
entity Q11566204
relation P26
type Q502895
[ANSWER] is married to that one
['Q200267', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11566204 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Naohide Fukuhara
Naohide Fukuhara is married to that one
Naohide Fukuhara
action filter_type
action find
entity Noriko Hamada
relation spouse
type common name
['Kamakura', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Noriko_Hamada property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 2596 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2596
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?u = 2596 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2596
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?u = 2596 ) }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2596
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?u = 2596 ) }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2596
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?u = 2596 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200267
P20
Q502895
USER
Which people expired at Kamakura ?
(c(Q502895),P20,Q200267)
action filter_type
action find_reverse
entity Q200267
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q200267']
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q200267 . ?t rdf:type ontology:Q502895 }
Kamakura
action filter_type
action find_reverse
entity Kamakura
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kamakura']
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Kamakura . ?t rdf:type ontology:common_name }
[]
common name
Q1241113 Q12903 Q710876
SYSTEM
Kiyokata Kaburagi, Hisashi Inoue, Jun Etō
Q12339180 Q3136261 Q462145 Q7877480 Q651258 Q11474295 Q81763 Q533193 Q6143791 Q17425764 Q957799 Q960796 Q1477910 Q663884 Q6381583 Q462157 Q1689627 Q1573496 Q2389134 Q386180 Q461845 Q710876 Q4306921 Q5353732 Q2278889 Q2355334 Q743767 Q1664306 Q1963988 Q1792941 Q454888 Q460613 Q3482767 Q174249 Q3079504 Q462319 Q11384962 Q2016169 Q460288 Q11545994 Q5752353 Q317661 Q6145148 Q1963458 Q3200221 Q2278628 Q1041039 Q3481283 Q522950 Q165466 Q6455164 Q6444653 Q975606 Q11462918 Q12903 Q266948 Q429479 Q161381 Q2599261 Q3477943 Q11529486 Q6531421 Q11648752 Q766235 Q1298277 Q8046829 Q142444 Q5752360 Q1241113 Q1748117 Q1195873 Q5640677 Q1722870 Q1963945 Q11541235 Q1591705 Q514524 Q276293 Q11429932 Q44847 Q519707 Q1515363 Q1628114 Q11577034 Q996720 Q1791984 Q970120 Q6883194 Q589811
(c(Q502895),P20,Q200267)
action filter_type
action find_reverse
entity Q200267
relation P20
type Q502895
As [ANSWERS] expired at Kamakura
[{'concept': 'Q502895'}, 'P20', 'Q200267']
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q200267 . ?t rdf:type ontology:Q502895 }
Yosuke Imai Mutsu Hirokichi Sasaki Nobutsuna Uesugi Zenshū Nobuko Yoshiya Sukio Iwatare Setsuo Akinoumi Kinoshita Rigen Toshikazu Kase John Ballagh Hideo Kobayashi Ozaki Kihachi Kojima Masajirō Ikuma Arishima Kazumi Takahashi Jirō Osaragi Jinzai Kiyoshi Jinichi Kusaka Jun Takami Mizuho Ōta Michio Takeyama Jun Etō Motouji Ashikaga Kiyoshi Hasegawa Shimaki Kensaku Hōjō Takatoki Kyoshi Takahama Inoue Kenkabō Nakayama Gishu Hyakuzō Kurata Hidemi Kon Juran Hisao Muramatsu Shōfu Minamoto no Sanetomo Ogura Yuki Tachihara Masaaki Riki Sano Ogiwara Seisensui Ishizuka Tomoji Princess Kaya Sakiko Hideji Hōjō Mikio Oda Kuriyagawa Hakuson Nagai Tatsuo Kuga Katsunan Tatsuhiko Shibusawa Hiromichi Yahara Soyen Shaku Kikuko Kawakami Ōmi Komaki Kōji Nakano Kunihiko Hashimoto Kaoru Osanai Miki Odagiri Hisashi Inoue Taizō Yokoyama Iso Mutsu Chiune Sugihara Yamazaki Hōdai Seison Maeda Naomi Matsuzono Toshio Sakai Fujiya Suzuki Ton Satomi Hideo Yoshino Yaho Kitabatake Fubō Hayashi Hidekazu Yoshida Kiyokata Kaburagi Ryūichi Yokoyama Yamanashi Hanzō Hakuun Yasutani Kambara Ariake Mitsuo Nakamura Masatoshi Kusunoki Roh Ogura Tsuda Umeko Tatsuko Hoshino Isao Natsuyagi D. T. Suzuki Mitsuko Shiga Ryōkichi Yatabe Horiguchi Daigaku Ryūichi Tamura Kazuo Okamatsu Masao Kume Hayashi Fusao Mitsugu Saotome Hōjō Tokimasa
As Kiyokata Kaburagi, Hisashi Inoue and Jun Etō expired at Kamakura
Kiyokata Kaburagi Hisashi Inoue Jun Etō
action filter_type
action find_reverse
entity Kamakura
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kamakura']
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Kamakura . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q710876
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q710876)
action filter_type
action find_reverse
entity Q710876
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q710876']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q710876 }
Jun Etō
action filter_type
action find_reverse
entity Jun Etō
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jun Etō']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Jun_Etō }
[]
work of art
Clarification for simple ques.
Q1241113
SYSTEM
Did you mean Kiyokata Kaburagi ?
Q1241113 Q12903 Q710876
(c(Q838948),P161,Q1241113) (c(Q838948),P161,Q12903) (c(Q838948),P161,Q710876)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1241113'] [{'concept': 'Q838948'}, 'P161', 'Q12903'] [{'concept': 'Q838948'}, 'P161', 'Q710876']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q710876 }
Kiyokata Kaburagi Hisashi Inoue Jun Etō
Did you mean Kiyokata Kaburagi ?
Kiyokata Kaburagi
[{'concept': 'work of art'}, 'cast member', 'Kiyokata Kaburagi'] [{'concept': 'work of art'}, 'cast member', 'Hisashi Inoue'] [{'concept': 'work of art'}, 'cast member', 'Jun Etō']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Jun_Etō }
[]
Simple Question (Coreferenced)
USER
No, I meant Jun Etō. Could you tell me the answer for that?
(c(Q838948),P161,Q710876)
Q710876
[{'concept': 'Q838948'}, 'P161', 'Q710876']
[{'concept': 'work of art'}, 'cast member', 'Jun Etō']
[]
Q1032603
SYSTEM
G.I. Samurai
Q1032603
(c(Q838948),P161,Q710876)
action filter_type
action find_reverse
entity Q710876
relation P161
type Q838948
That person stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q710876']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q710876 }
G.I. Samurai
That person stars in G.I. Samurai
G.I. Samurai
action filter_type
action find_reverse
entity Jun Etō
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jun Etō']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Jun_Etō }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5042759 Q710876
P19
Q56061
USER
Which administrative territories were Jun Etō or Carlos Verna born in ?
OR((Q710876,P19,c(Q56061)), (Q5042759,P19,c(Q56061)))
action filter_type
action union
action find
entity Q710876
relation P19
action find
entity Q5042759
relation P19
type Q56061
{'OR': [['Q710876', 'P19', {'concept': 'Q56061'}], ['Q5042759', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q710876 property:P19 ?x } UNION { resource:Q5042759 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Carlos Verna Jun Etō
action filter_type
action union
action find
entity Jun Etō
relation place of birth
action find
entity Carlos Verna
relation place of birth
type administrative territorial entity
{'OR': [['Jun Etō', 'place of birth', {'concept': 'administrative territorial entity'}], ['Carlos Verna', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jun_Etō property:place_of_birth ?x } UNION { resource:Carlos_Verna property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490 Q2400442
SYSTEM
Tokyo, América
Q1490 Q2400442
OR((Q710876,P19,c(Q56061)), (Q5042759,P19,c(Q56061)))
action filter_type
action union
action find
entity Q710876
relation P19
action find
entity Q5042759
relation P19
type Q56061
Jun Etō or Carlos Verna were born in [ANSWERS]
{'OR': [['Q710876', 'P19', {'concept': 'Q56061'}], ['Q5042759', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q710876 property:P19 ?x } UNION { resource:Q5042759 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Tokyo América
Jun Etō or Carlos Verna were born in Tokyo and América
Tokyo América
action filter_type
action union
action find
entity Jun Etō
relation place of birth
action find
entity Carlos Verna
relation place of birth
type administrative territorial entity
{'OR': [['Jun Etō', 'place of birth', {'concept': 'administrative territorial entity'}], ['Carlos Verna', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jun_Etō property:place_of_birth ?x } UNION { resource:Carlos_Verna property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5779
P36
Q515 Q1048835 Q486972
USER
How many cities are called the capital of less number of political territories and human settlements than Banda Aceh ?
(c(Q1048835)|c(Q486972),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q5779
relation P36
type Q1048835
type Q486972
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P36 resource:Q5779 . { { ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q486972 } } } } . FILTER ( ?l < ?j ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { { ?p rdf:type ontology:Q515 . ?c rdf:type ontology:Q1048835 . ?c property:P36 ?p } UNION { ?c rdf:type ontology:Q486972 . ?p rdf:type ontology:Q515 . ?c property:P36 ?p } } GROUP BY ?p } }
Banda Aceh
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Banda Aceh
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:capital resource:Banda_Aceh . { { ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:human_settlement } } } } . FILTER ( ?l < ?j ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { { ?p rdf:type ontology:city . ?c rdf:type ontology:political_territorial_entity . ?c property:capital ?p } UNION { ?c rdf:type ontology:human_settlement . ?p rdf:type ontology:city . ?c property:capital ?p } } GROUP BY ?p } }
[]
city political territorial entity human settlement
SYSTEM
470
Q384403 Q373542 Q780731 Q3572 Q843001 Q843006 Q843009 Q392692 Q861296 Q637647 Q240026 Q19689 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q379030 Q496667 Q240504 Q281371 Q258884 Q3624 Q320950 Q8254 Q43199 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q932806 Q377834 Q295367 Q653389 Q851097 Q861292 Q917888 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q80989 Q14424 Q304803 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q834567 Q851675 Q3744 Q842908 Q23482 Q505208 Q911530 Q5838 Q181276 Q3692 Q847546 Q330409 Q847543 Q854956 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q602976 Q793405 Q665 Q375097 Q911558 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1461 Q843018 Q1000091 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q117676 Q16959 Q650015 Q30340 Q23430 Q225257 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q183584 Q235 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q288413 Q167668 Q4469 Q1519 Q8684 Q270704 Q3838 Q167109 Q478038 Q734378 Q585630 Q855529 Q7248 Q207408 Q1107569 Q316841 Q6602 Q602042 Q237699 Q207406 Q7856199 Q11443 Q3947359 Q325164 Q305640 Q3307925 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q846652 Q3859 Q155975 Q19660 Q674311 Q3915 Q719051 Q863747 Q841125 Q954596 Q487439 Q174461 Q385591 Q1953 Q124375 Q954611 Q854940 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q9005 Q208471 Q2337 Q633789 Q1330294 Q8158 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q911628 Q632146 Q4905 Q207876 Q188082 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q680743 Q3852 Q564234 Q488990 Q668318 Q2773 Q6829 Q260522 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q1854 Q890122 Q855016 Q3787 Q855011 Q513417 Q480421 Q823907 Q7070 Q3826 Q642031 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1822 Q1533 Q200077 Q47916 Q3183016 Q328601 Q2410422 Q191097 Q2526233 Q946769 Q846351 Q739304 Q789233 Q819103 Q368929 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q193719 Q308657 Q170454 Q545923 Q211243 Q841603 Q656603 Q7929221 Q911576 Q42751 Q185684 Q187861 Q207311 Q11194 Q386682 Q485581 Q755698 Q390796 Q271917 Q1008737 Q79535 Q1720 Q1721 Q83247 Q390798 Q3904 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q470369 Q1863 Q1865 Q2203 Q18342086 Q430207 Q756273 Q188247 Q23768 Q206872 Q72778 Q737634 Q1355 Q146363 Q3167 Q208818 Q187136 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q107401 Q1686 Q3355306 Q189761 Q189769 Q1761 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q727383 Q2061 Q2069869 Q184998 Q854965 Q456 Q755701 Q267894 Q679224 Q168648 Q843043 Q850676 Q36063 Q7003 Q3931 Q726993 Q3919 Q3751 Q3616 Q42666 Q3612 Q933638 Q18575 Q613813 Q375862 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q911642 Q187284 Q158245 Q284480 Q632080 Q207309 Q187812 Q16666
(c(Q1048835)|c(Q486972),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q5779
relation P36
type Q1048835
type Q486972
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P36 resource:Q5779 . { { ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q486972 } } } } . FILTER ( ?l < ?j ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { { ?p rdf:type ontology:Q515 . ?c rdf:type ontology:Q1048835 . ?c property:P36 ?p } UNION { ?c rdf:type ontology:Q486972 . ?p rdf:type ontology:Q515 . ?c property:P36 ?p } } GROUP BY ?p } }
Litoměřice Szigetvár Szeghalom Tunis Csorna Nagykálló Marcali Šumperk Nōgata Pásztó Jászapáti Tirana Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Zalaszentgrót Muroran Makó Jászberény Bélapátfalva Addis Ababa Trutnov Dharan Omaha Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Polgárdi Szentes Nagyatád Nobeoka Iiyama Hitoyoshi Vinaròs Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Bhopal Nagykanizsa Mezőcsát Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Bonyhád Takahashi Castro Gyál Marseille Ouarzazate Hajdúhadház Kabul Szolnok Riyadh Saiki Ústí nad Orlicí Katsuyama Ibrány Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Klatovy Berettyóújfalu Lugdunum Tiszaújváros Putnok Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Manila Kunszentmiklós Rychnov nad Kněžnou Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Viseu Ürümqi Pannonhalma Zhengzhou Ulaanbaatar Rupea Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Lanzhou Monaco Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Tapolca Liepāja Talca Abu Dhabi Seoul Třebíč Kinshasa Eger Kiskunfélegyháza Yonezawa Yanagawa Kistelek Bukittinggi Vác Kerma Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Turquoise Mountain Kediri San Ignacio Kayes Abashiri Mianwali City Békés Tábor Nakatsu Elek Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Cigánd Kigali Kutná Hora Bucharest Kisvárda Antananarivo Artsyz Uda Tsuyama Havlíčkův Brod Oral Ranchi Ōmura Yerevan Hódmezővásárhely Jeseník Dabas Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Brussels Kaifeng Smolensk Dombóvár Jiankang Metro, Indonesia Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Kemecse Enying Druzhnaya Gorka Yamaguchi Český Krumlov Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Balatonfüred Worms Annaka Kostanay Sárospatak Braunschweig Speyer Bácsalmás Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Ho Chi Minh City Bolhrad Csurgó Abuja Heves Vsetín Abony HigashiMatsuyama Eisenach Muscat Gárdony Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Baguio Caracas Morioka Lucknow Ungaran Hirado San Marcos, Costa Rica Tachov Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Berezivka Jindřichův Hradec Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Cheb Minas Tirith Agartala Tatarbunary Yinchuan Tiszakécske Jičín Vijaya Rétság Palikir Hefei Wollongong Suzuka Sarajevo Khost Aveiro Svitavy Orosháza Kushiro Semily Fort Smith Mainz Wiesbaden Braga Szentendre Mbabane Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Kuala Lumpur Arica Oyo-Ile Komló Karcag Sarkad Las Vegas Ajka Taiyuan Rozdilna Bangalore Most Siegen Fuchū Luoyang Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Sivas Butuan Fukuchiyama Szekszárd Salgótarján Dublin Strakonice Hagi Vyškov Santiago Karatsu Xining Sokolov Yellowknife Edoras Kaposvár Lenti Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Sárvár Blansko Vecsés Dijon Brandenburg an der Havel Cotabato City Gaborone Praia Tehran Shaoxing Antofagasta Mezőkövesd Tucson Kőszeg Nyíradony Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Füzesabony Hurghada Písek Bóly Tét Tokushima Dunaújváros Nanjing
470
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Banda Aceh
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:capital resource:Banda_Aceh . { { ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:human_settlement } } } } . FILTER ( ?l < ?j ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { { ?p rdf:type ontology:city . ?c rdf:type ontology:political_territorial_entity . ?c property:capital ?p } UNION { ?c rdf:type ontology:human_settlement . ?p rdf:type ontology:city . ?c property:capital ?p } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1710
P36
Q515 Q1048835 Q486972
USER
And what about Isabela City?
(c(Q1048835)|c(Q486972),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1710
relation P36
type Q1048835
type Q486972
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P36 resource:Q1710 . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } } } } . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P36 ?z . ?z rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P36 ?z . ?z rdf:type ontology:Q515 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?z } }
Isabela City
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Isabela City
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:capital resource:Isabela_City . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } } } } . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:capital ?z . ?z rdf:type ontology:city . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital ?z . ?z rdf:type ontology:city . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?z } }
[]
city political territorial entity human settlement
SYSTEM
470
Q384403 Q373542 Q780731 Q3572 Q843001 Q843006 Q843009 Q392692 Q861296 Q637647 Q240026 Q19689 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q379030 Q496667 Q240504 Q281371 Q258884 Q3624 Q320950 Q8254 Q43199 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q932806 Q377834 Q295367 Q653389 Q851097 Q861292 Q917888 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q80989 Q14424 Q304803 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q834567 Q851675 Q3744 Q842908 Q23482 Q505208 Q911530 Q5838 Q181276 Q3692 Q847546 Q330409 Q847543 Q854956 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q602976 Q793405 Q665 Q375097 Q911558 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1461 Q843018 Q1000091 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q117676 Q16959 Q650015 Q30340 Q23430 Q225257 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q183584 Q235 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q288413 Q167668 Q4469 Q1519 Q8684 Q270704 Q3838 Q167109 Q478038 Q734378 Q585630 Q855529 Q7248 Q207408 Q1107569 Q316841 Q6602 Q602042 Q237699 Q207406 Q7856199 Q11443 Q3947359 Q325164 Q305640 Q3307925 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q846652 Q3859 Q155975 Q19660 Q674311 Q3915 Q719051 Q863747 Q841125 Q954596 Q487439 Q174461 Q385591 Q1953 Q124375 Q954611 Q854940 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q9005 Q208471 Q2337 Q633789 Q1330294 Q8158 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q911628 Q632146 Q4905 Q207876 Q188082 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q680743 Q3852 Q564234 Q488990 Q668318 Q2773 Q6829 Q260522 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q1854 Q890122 Q855016 Q3787 Q855011 Q513417 Q480421 Q823907 Q7070 Q3826 Q642031 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1822 Q1533 Q200077 Q47916 Q3183016 Q328601 Q2410422 Q191097 Q2526233 Q946769 Q846351 Q739304 Q789233 Q819103 Q368929 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q193719 Q308657 Q170454 Q545923 Q211243 Q841603 Q656603 Q7929221 Q911576 Q42751 Q185684 Q187861 Q207311 Q11194 Q386682 Q485581 Q755698 Q390796 Q271917 Q1008737 Q79535 Q1720 Q1721 Q83247 Q390798 Q3904 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q470369 Q1863 Q1865 Q2203 Q18342086 Q430207 Q756273 Q188247 Q23768 Q206872 Q72778 Q737634 Q1355 Q146363 Q3167 Q208818 Q187136 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q107401 Q1686 Q3355306 Q189761 Q189769 Q1761 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q727383 Q2061 Q2069869 Q184998 Q854965 Q456 Q755701 Q267894 Q679224 Q168648 Q843043 Q850676 Q36063 Q7003 Q3931 Q726993 Q3919 Q3751 Q3616 Q42666 Q3612 Q933638 Q18575 Q613813 Q375862 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q911642 Q187284 Q158245 Q284480 Q632080 Q207309 Q187812 Q16666
(c(Q1048835)|c(Q486972),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1710
relation P36
type Q1048835
type Q486972
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P36 resource:Q1710 . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } } } } . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P36 ?z . ?z rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P36 ?z . ?z rdf:type ontology:Q515 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?z } }
Litoměřice Szigetvár Szeghalom Tunis Csorna Nagykálló Marcali Šumperk Nōgata Pásztó Jászapáti Tirana Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Zalaszentgrót Muroran Makó Jászberény Bélapátfalva Addis Ababa Trutnov Dharan Omaha Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Polgárdi Szentes Nagyatád Nobeoka Iiyama Hitoyoshi Vinaròs Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Bhopal Nagykanizsa Mezőcsát Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Bonyhád Takahashi Castro Gyál Marseille Ouarzazate Hajdúhadház Kabul Szolnok Riyadh Saiki Ústí nad Orlicí Katsuyama Ibrány Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Klatovy Berettyóújfalu Lugdunum Tiszaújváros Putnok Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Manila Kunszentmiklós Rychnov nad Kněžnou Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Viseu Ürümqi Pannonhalma Zhengzhou Ulaanbaatar Rupea Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Lanzhou Monaco Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Tapolca Liepāja Talca Abu Dhabi Seoul Třebíč Kinshasa Eger Kiskunfélegyháza Yonezawa Yanagawa Kistelek Bukittinggi Vác Kerma Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Turquoise Mountain Kediri San Ignacio Kayes Abashiri Mianwali City Békés Tábor Nakatsu Elek Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Cigánd Kigali Kutná Hora Bucharest Kisvárda Antananarivo Artsyz Uda Tsuyama Havlíčkův Brod Oral Ranchi Ōmura Yerevan Hódmezővásárhely Jeseník Dabas Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Brussels Kaifeng Smolensk Dombóvár Jiankang Metro, Indonesia Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Kemecse Enying Druzhnaya Gorka Yamaguchi Český Krumlov Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Balatonfüred Worms Annaka Kostanay Sárospatak Braunschweig Speyer Bácsalmás Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Ho Chi Minh City Bolhrad Csurgó Abuja Heves Vsetín Abony HigashiMatsuyama Eisenach Muscat Gárdony Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Baguio Caracas Morioka Lucknow Ungaran Hirado San Marcos, Costa Rica Tachov Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Berezivka Jindřichův Hradec Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Cheb Minas Tirith Agartala Tatarbunary Yinchuan Tiszakécske Jičín Vijaya Rétság Palikir Hefei Wollongong Suzuka Sarajevo Khost Aveiro Svitavy Orosháza Kushiro Semily Fort Smith Mainz Wiesbaden Braga Szentendre Mbabane Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Kuala Lumpur Arica Oyo-Ile Komló Karcag Sarkad Las Vegas Ajka Taiyuan Rozdilna Bangalore Most Siegen Fuchū Luoyang Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Sivas Butuan Fukuchiyama Szekszárd Salgótarján Dublin Strakonice Hagi Vyškov Santiago Karatsu Xining Sokolov Yellowknife Edoras Kaposvár Lenti Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Sárvár Blansko Vecsés Dijon Brandenburg an der Havel Cotabato City Gaborone Praia Tehran Shaoxing Antofagasta Mezőkövesd Tucson Kőszeg Nyíradony Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Füzesabony Hurghada Písek Bóly Tét Tokushima Dunaújváros Nanjing
470
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Isabela City
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:capital resource:Isabela_City . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } } } } . { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:capital ?z . ?z rdf:type ontology:city . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital ?z . ?z rdf:type ontology:city . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q19817576 Q1710
P17
Q15617994
USER
Which administrative territories are Isabela City and The Skysuites Tower situated in ?
AND((Q1710,P17,c(Q15617994)), (Q19817576,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1710
relation P17
action find
entity Q19817576
relation P17
type Q15617994
{'AND': [['Q1710', 'P17', {'concept': 'Q15617994'}], ['Q19817576', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1710 property:P17 ?x . resource:Q19817576 property:P17 ?x }
The Skysuites Tower Isabela City
action filter_type
action intersection
action find
entity Isabela City
relation country
action find
entity The Skysuites Tower
relation country
type designation for an administrative territorial entity
{'AND': [['Isabela City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Skysuites Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Isabela_City property:country ?x . resource:The_Skysuites_Tower property:country ?x }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
AND((Q1710,P17,c(Q15617994)), (Q19817576,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1710
relation P17
action find
entity Q19817576
relation P17
type Q15617994
Isabela City and The Skysuites Tower are situated in [ANSWER]
{'AND': [['Q1710', 'P17', {'concept': 'Q15617994'}], ['Q19817576', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1710 property:P17 ?x . resource:Q19817576 property:P17 ?x }
Philippines
Isabela City and The Skysuites Tower are situated in Philippines
Philippines
action filter_type
action intersection
action find
entity Isabela City
relation country
action find
entity The Skysuites Tower
relation country
type designation for an administrative territorial entity
{'AND': [['Isabela City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Skysuites Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Isabela_City property:country ?x . resource:The_Skysuites_Tower property:country ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q928 Q1373939
P530
Q1048835
USER
Does Curtis have a diplomatic relationship with Philippines ?
(Q928,P530,Q1373939)
action is_in
entity Q1373939
action find
entity Q928
relation P530
['Q928', 'P530', 'Q1373939']
ASK WHERE { resource:Q928 property:P530 resource:Q1373939 }
Philippines Curtis
action is_in
entity Curtis
action find
entity Philippines
relation diplomatic relation
['Philippines', 'diplomatic relation', 'Curtis']
ASK WHERE { resource:Philippines property:diplomatic_relation resource:Curtis }
[]
political territorial entity
SYSTEM
NO
(Q928,P530,Q1373939)
action is_in
entity Q1373939
action find
entity Q928
relation P530
[ANSWER]
['Q928', 'P530', 'Q1373939']
ASK WHERE { resource:Q928 property:P530 resource:Q1373939 }
No
action is_in
entity Curtis
action find
entity Philippines
relation diplomatic relation
['Philippines', 'diplomatic relation', 'Curtis']
ASK WHERE { resource:Philippines property:diplomatic_relation resource:Curtis }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atmost 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f <= 11 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?u } GROUP BY ?d } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f <= 11 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?u } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWERS] have diplomatic relations with atmost 11 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f <= 11 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?u } GROUP BY ?d } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with atmost 11 administrative territories
Netherlands Poland People's Republic of China
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?f <= 11 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?u } GROUP BY ?d } }
[]