Simple Question (Direct)
Simple Question
Q4820120
P69
Q3918
USER
Which university is Audrey Eu an alumni of ?
(Q4820120,P69,c(Q3918))
action filter_type
action find
entity Q4820120
relation P69
type Q3918
['Q4820120', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q4820120 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Audrey Eu
action filter_type
action find
entity Audrey Eu
relation educated at
type university
['Audrey Eu', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Audrey_Eu property:educated_at ?c . ?c rdf:type ontology:university }
[]
university
Q15568
SYSTEM
The University of Hong Kong
Q15568
(Q4820120,P69,c(Q3918))
action filter_type
action find
entity Q4820120
relation P69
type Q3918
[ANSWER] is Audrey Eu an alumni of
['Q4820120', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q4820120 property:P69 ?c . ?c rdf:type ontology:Q3918 }
The University of Hong Kong
The University of Hong Kong is Audrey Eu an alumni of
The University of Hong Kong
action filter_type
action find
entity Audrey Eu
relation educated at
type university
['Audrey Eu', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Audrey_Eu property:educated_at ?c . ?c rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15568
P17
Q15617994
USER
Which administrative territory is that university situated in ?
(Q15568,P17,c(Q15617994))
action filter_type
action find
entity Q15568
relation P17
type Q15617994
['Q15568', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q15568 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
The University of Hong Kong
action filter_type
action find
entity The University of Hong Kong
relation country
type designation for an administrative territorial entity
['The University of Hong Kong', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:The_University_of_Hong_Kong property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q15568,P17,c(Q15617994))
action filter_type
action find
entity Q15568
relation P17
type Q15617994
That university is situated in [ANSWER]
['Q15568', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q15568 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
People's Republic of China
That university is situated in People's Republic of China
People's Republic of China
action filter_type
action find
entity The University of Hong Kong
relation country
type designation for an administrative territorial entity
['The University of Hong Kong', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:The_University_of_Hong_Kong property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15568 Q294362
P17
Q1048835
USER
How many political territories are The University of Hong Kong or urban and regional transportation a part of ?
(Q15568,P17,c(Q1048835)) (Q294362,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q15568
relation P17
type Q1048835
action filter_type
action find
entity Q294362
relation P17
type Q1048835
['Q15568', 'P17', {'concept': 'Q1048835'}] ['Q294362', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?i property:P17 ?u . VALUES ( ?i ) { ( resource:Q15568 ) ( resource:Q294362 ) } }
The University of Hong Kong urban and regional transportation
action count
action union
action filter_type
action find
entity The University of Hong Kong
relation country
type political territorial entity
action filter_type
action find
entity urban and regional transportation
relation country
type political territorial entity
['The University of Hong Kong', 'country', {'concept': 'political territorial entity'}] ['urban and regional transportation', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?i property:country ?u . VALUES ( ?i ) { ( resource:The_University_of_Hong_Kong ) ( resource:urban_and_regional_transportation ) } }
[]
political territorial entity
SYSTEM
2
Q183 Q40
(Q15568,P17,c(Q1048835)) (Q294362,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q15568
relation P17
type Q1048835
action filter_type
action find
entity Q294362
relation P17
type Q1048835
[ANSWER]
['Q15568', 'P17', {'concept': 'Q1048835'}] ['Q294362', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?i property:P17 ?u . VALUES ( ?i ) { ( resource:Q15568 ) ( resource:Q294362 ) } }
Germany Austria
2
action count
action union
action filter_type
action find
entity The University of Hong Kong
relation country
type political territorial entity
action filter_type
action find
entity urban and regional transportation
relation country
type political territorial entity
['The University of Hong Kong', 'country', {'concept': 'political territorial entity'}] ['urban and regional transportation', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?i property:country ?u . VALUES ( ?i ) { ( resource:The_University_of_Hong_Kong ) ( resource:urban_and_regional_transportation ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15568
P112
Q502895
USER
What is the name of the founder of that university ?
action filter_type
action find
entity Q15568
relation P112
type Q502895
SELECT DISTINCT ?n WHERE { resource:Q15568 property:P112 ?n . ?n rdf:type ontology:Q502895 }
The University of Hong Kong
action filter_type
action find
entity The University of Hong Kong
relation founder
type common name
SELECT DISTINCT ?n WHERE { resource:The_University_of_Hong_Kong property:founder ?n . ?n rdf:type ontology:common_name }
[]
common name
Q336027
SYSTEM
Frederick Lugard, 1st Baron Lugard
Q336027
action filter_type
action find
entity Q15568
relation P112
type Q502895
The name of the founder of that university is John [ANSWER]
SELECT DISTINCT ?n WHERE { resource:Q15568 property:P112 ?n . ?n rdf:type ontology:Q502895 }
Frederick Lugard, 1st Baron Lugard
The name of the founder of that university is John Frederick Lugard, 1st Baron Lugard
Frederick Lugard, 1st Baron Lugard
action filter_type
action find
entity The University of Hong Kong
relation founder
type common name
SELECT DISTINCT ?n WHERE { resource:The_University_of_Hong_Kong property:founder ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P138
Q83620
USER
How many thoroughfares have that person as their toponym ?
(c(Q83620),P138,Q336027)
action count
action filter_type
action find_reverse
entity Q336027
relation P138
type Q83620
[{'concept': 'Q83620'}, 'P138', 'Q336027']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q83620 . ?j property:P138 resource:Q336027 }
action count
action filter_type
action find_reverse
entity Frederick Lugard, 1st Baron Lugard
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Frederick Lugard, 1st Baron Lugard']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:thoroughfare . ?j property:named_after resource:Frederick_Lugard,_1st_Baron_Lugard }
[]
thoroughfare
SYSTEM
1
Q855957
(c(Q83620),P138,Q336027)
action count
action filter_type
action find_reverse
entity Q336027
relation P138
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P138', 'Q336027']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q83620 . ?j property:P138 resource:Q336027 }
Lugard Road
1
action count
action filter_type
action find_reverse
entity Frederick Lugard, 1st Baron Lugard
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Frederick Lugard, 1st Baron Lugard']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:thoroughfare . ?j property:named_after resource:Frederick_Lugard,_1st_Baron_Lugard }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q145 Q15568
P69 P27
Q502895
USER
Which people were a student at The University of Hong Kong and do n't have nationality of United Kingdom ?
AND((c(Q502895),P69,Q15568), NOT((c(Q502895),P27,Q145)))
action filter_type
action difference
action find_reverse
entity Q15568
relation P69
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q15568'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q145']]}]}
SELECT DISTINCT ?z WHERE { ?z property:P69 resource:Q15568 . FILTER NOT EXISTS { ?z property:P27 resource:Q145 } . ?z rdf:type ontology:Q502895 }
United Kingdom The University of Hong Kong
action filter_type
action difference
action find_reverse
entity The University of Hong Kong
relation educated at
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'The University of Hong Kong'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}]}
SELECT DISTINCT ?z WHERE { ?z property:educated_at resource:The_University_of_Hong_Kong . FILTER NOT EXISTS { ?z property:country_of_citizenship resource:United_Kingdom } . ?z rdf:type ontology:common_name }
[]
common name
Q11075268 Q7226129 Q4717351 Q15913321 Q6297636 Q696659 Q7493791 Q13100152 Q6759417 Q5524840
SYSTEM
Some of them are Alice Tai, Ronald Li, Alex Law, Shandy Gan, Joyce Symons, Martin Lee, Shelley Lee, Michael Cheng, Margaret Fong, Gary Cheng
Q7189924 Q5891938 Q9368581 Q8071109 Q6450544 Q6365289 Q8060272 Q1705669 Q22004282 Q8265327 Q8984785 Q9357067 Q4772260 Q4757763 Q1026809 Q329158 Q698511 Q8265333 Q15925018 Q7198891 Q7299388 Q8946678 Q9043923 Q11075268 Q256958 Q9144457 Q2547334 Q9465615 Q7930014 Q16233707 Q835316 Q5509139 Q8937297 Q712634 Q9293151 Q11069087 Q163457 Q8004419 Q9096695 Q549233 Q8031992 Q22004131 Q19250 Q9299028 Q9000828 Q6759417 Q5434051 Q17164025 Q11068627 Q12117497 Q9112564 Q16923124 Q4722894 Q9474227 Q11097193 Q19851522 Q19854437 Q19854434 Q16905622 Q14472414 Q15956692 Q8984770 Q6704865 Q16923461 Q709317 Q7298861 Q7608884 Q6144316 Q7245609 Q6548576 Q9146445 Q9067366 Q6759772 Q696659 Q7259125 Q2535188 Q3847179 Q6480671 Q9366412 Q7129672 Q7211140 Q7299188 Q19217 Q9464332 Q11178721 Q7336555 Q6064839 Q9088918 Q6123981 Q11599237 Q7609550 Q7146226 Q8968009 Q7422535 Q23626 Q5568386 Q4701099 Q21094193 Q915234 Q5524840 Q9308228 Q2969725 Q5162557 Q17392292 Q1253180 Q11068757 Q9020403 Q6663213 Q50838 Q50835 Q19852781 Q5342283 Q15912332 Q15927140 Q9067736 Q6759637 Q10287763 Q13640784 Q10886458 Q9356027 Q15635911 Q9206990 Q5105591 Q6465949 Q7367356 Q11105657 Q8265847 Q7930020 Q18654019 Q9294321 Q19854225 Q15898254 Q9089022 Q5353179 Q10913242 Q17479416 Q4407232 Q9338823 Q9296353 Q4647143 Q8052417 Q9460946 Q5515719 Q15922367 Q9001023 Q8999076 Q5070308 Q7342928 Q15925218 Q7226129 Q6262681 Q15912992 Q9437294 Q9217352 Q5367604 Q6288059 Q10958969 Q9138778 Q5343464 Q8958988 Q17514679 Q5203530 Q8265398 Q6123628 Q6534595 Q5721095 Q1547030 Q10886421 Q4666133 Q19854395 Q5524836 Q11097596 Q1026921 Q9327083 Q3485539 Q7219032 Q9139073 Q6688180 Q9356105 Q4758975 Q1336505 Q7108106 Q16336388 Q7175408 Q9046194 Q10919938 Q19854304 Q6539091 Q6287258 Q9039973 Q9105898 Q16908007 Q8289033 Q4861940 Q9112363 Q163404 Q7807232 Q4818953 Q7495688 Q7299241 Q10900484 Q15305415 Q9144806 Q16906813 Q15024 Q13164868 Q435577 Q15907450 Q13165026 Q6242258 Q9105703 Q9134742 Q7129118 Q14954714 Q8991961 Q9344306 Q15920794 Q5369209 Q8060280 Q11095943 Q4699401 Q7245616 Q8980537 Q3240983 Q10886186 Q2109662 Q200518 Q9426109 Q9017462 Q361391 Q5415031 Q17498623 Q5363394 Q7712715 Q6588095 Q21072169 Q7175330 Q1644671 Q11107186 Q8943845 Q7416547 Q6288102 Q1548135 Q15913321 Q8942050 Q12140214 Q11091647 Q843963 Q8053068 Q7930033 Q5032692 Q15930043 Q8980191 Q11178707 Q217239 Q15297962 Q7258948 Q724246 Q7299050 Q7448454 Q15923380 Q8425704 Q177588 Q6216595 Q6502994 Q5498342 Q6141673 Q9339117 Q16922831 Q1738846 Q8969713 Q9052901 Q9125231 Q6738548 Q17476981 Q6514081 Q9340094 Q6873376 Q5110761 Q5068083 Q7495399 Q9198771 Q8967560 Q4710675 Q18669497 Q9071120 Q7493791 Q15303207 Q10886230 Q5874047 Q4717351 Q11085113 Q6125695 Q10442432 Q14433902 Q7236759 Q6790301 Q4820120 Q9309152 Q15941968 Q11068582 Q13423445 Q5257795 Q9342705 Q1538067 Q6779913 Q15433082 Q7930004 Q14945604 Q10920619 Q14942078 Q17238780 Q13100152 Q19234 Q8968278 Q9297935 Q12140526 Q275095 Q14370438 Q5344121 Q10900454 Q6297636 Q10900450 Q9438453 Q9460883 Q10918970 Q8939535 Q7930030 Q16973826 Q9336597 Q11075375 Q19854200 Q11095382 Q4709920 Q11114395 Q10921083 Q5363743 Q7240657 Q7147870 Q7486915 Q10919171 Q8032002 Q4889280 Q10348347 Q15895744 Q6554986 Q7228684 Q9320096 Q15968495 Q4756603 Q4756601 Q8993542 Q5571347 Q9459752 Q7330147 Q6115252 Q21062516 Q171726 Q5668783 Q9051650 Q18228462 Q10886574 Q7717548 Q9203616 Q2481902 Q12061037 Q7212474 Q8992846 Q5509149 Q5465032 Q5105504 Q4261871 Q9443081 Q15972509 Q5269882 Q21000368 Q8928926 Q18663341 Q1396803 Q11626829 Q10884754 Q15931904 Q15940901 Q197155 Q15945056 Q23641 Q15932484 Q18234718 Q8985505 Q735458 Q15911990 Q11658368 Q444591 Q7608893 Q9087055 Q11085197 Q5258620 Q5346019 Q10924416 Q8264663 Q2109329
AND((c(Q502895),P69,Q15568), NOT((c(Q502895),P27,Q145)))
action filter_type
action difference
action find_reverse
entity Q15568
relation P69
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] were a student at The University of Hong Kong and do n't have nationality of United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q15568'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q145']]}]}
SELECT DISTINCT ?z WHERE { ?z property:P69 resource:Q15568 . FILTER NOT EXISTS { ?z property:P27 resource:Q145 } . ?z rdf:type ontology:Q502895 }
Andrew Fung Hon-Yim Ko Paul Chan Zhu Guangqian Kwong Ki-chi Kant Pan Yuen-Ying Chan Lee Kar Wai Freddie Ng Ting Fat Carman Tsang Lee Boon Ying Ling Cheng Anthony Cheung Andrew Liao Yeung Sum Yum-Tong Siu Albert Leung Monie Tung Jolly Wong Josephine Chan Shu-ying Rayson Huang Joani Su Weizhen Alice Tai Ann Hui Chiu Hin-kwong Yuet Wai Kan Elmy Lung Stephen Char Chan Hei Man Hayley Victoria Antony Leung Fung Chi-wood Nicola Cheung Hsing Yun Eunice Lam Kathleen Eunice Cheung Rita Fan Yuen Ka Ling Chung Pui-lam Samuel Hui Wong Kam-sing Dung Kai-cheung Rimsky Yuen Wally Yeung Lawrence Lok Ying-kam Margaret Fong Fanny Law Chu Kwok Leung Ivan Cheung Wing-min Raymond Wu Josiah Lau Eric Cheung Alfred Hui Chung Shui-ming Nancy Li Kok Cheang Yeo Y.Y Keyvin Wong Chun Kit Harry Shum Paul Tang James Wu Man-hon Shun Chi Ming Lüqiu Luwei Icarus Wong Wong Jim Raymond Ho Stephen Chan James To Priscilla Leung Lily Yam Celia Sie WOO Wing Tung Margaret Ng Martin Lee Dr. HO Kwok-leung，Denny Fu Bingchang Chen Chi-chuan Lam Manyee Ayo Yi Ngok CHAN Pan Pey-chyou Candy Yuen Raymond To Carrie Lam LAI Chak Lun, Jacland Winifred Lai Rita Lau Ip Kin-yuen Chau Siu Cheung, Simon Jaimes McKee Samuel Sun Stephen Ip Patrick Chan Wong Ka Wai, Anthony Sarah Liao Albert Ho Ko Wing Man Akio Hong Billy Fung Jing-en Leonardo Legaspi Gary Cheng Kim Cham Raymond Tam Conrad Lam Tse Ka Kui Garlum Lau Chang Cheuk Cheung, Terence Dr. Jeff Au Yeung Lo Wing-lok Anson Chan Regina Ip Jack Lee Edward Chen Wong Ho Lam,Lillian Yau Ching Yuen Louisa Wong Margaret Leung Dorothy Liu Kan Yuet-keung John Ho Roy Tang Yun-kwong Lo Kin-hei Desmond Lee Yu-tai Choy So-yuk Sin Chung-kai Rosanna Wong Willy Wo-Lap LAM Kelena Poon Ronny Tong Yvonne Leung Lam Kui-chun Kristine Chan Rachel Lui Adrian Chow Elaine Chan Ko Tin Lung F. M. G. Ozorio Fung Wai-wah Kevin Zervos CHAI Man Hon Henry Tang King Shing Yeoh Eng-kiong Adeline Wong Gabriel Leung Lo Chung Mau Alan Lai Angel Leung Chan Hiu Ming Robert Chung Kennie Chan Ka Yan Ronald Li John Walden Lilian To Roger Chung Rev. Father Simon Lam, SDB Elsie Leung Joseph Wong Xiaosi Ambrose Cheung Edward Ho Barnabus Fung W. N. T. Tam D. C. Lau Winnie Yong Zeng William Chang Leung Yiu-chung Henry Fan Lam Woon-kwong Edmond Ho Abdullahi Shehu David Fang Jin Sheng Gary Chan Simon Li Lee Wing-tat Luo Xurui Lau Siu Kai WONG Chack Sang Jackson Cheung Pak Hong Louis Shih Charles Andrew Wong Emil Man Lun Ng Oswald Cheung Elaine Ho Peter Lee Ka-kit Wong Bik-Wan Lü Zhenzhong Katherine Ho Li Shu Fan Joseph Sung Lily Sun Carmen Yu Chan Man Ki, Maggie Mo Kwan-nin Stephen Lam Yau-bor LAU Tsang Yok-sing Timothy Ha Au Lok Man Sheung-Wai Tam Raymond Wong Candy Lau Andrew Christopher Lau Man Sai-cheong Godfrey Yeh K. N. Donald Tsang Chan Ka Lo Clara Law Steven Lo Joseph Lai John Joseph Swaine Ho Kam-fai Donald Liao Pamela Chan Ronald Chow Kaizer Lau Kayee Tam Crystal Leung John Shum Yuen Kwok-yung Li Tse-fong Aiyaz Sayed-Khaiyum Priscilla Ng Michael Kwan Lim Bo Seng Dr. HO Sik-ying, Petula Rafael Hui Alan Leong Terry KAN Wing-fai Patrick Nip Ching Cheong Eva Cheng Betty Fung Ching Suk-yee Elizabeth Quat Sabrina Ho Chiu Yeng Tanya Chan Li Hui Peter Lai Tsit Yuen Lam Dennis Lam Lee Ka To Cado Sandra Birch Lee Joseph Yam Anna Wu Shandy Gan John Chan Lo Wai-kwok Wendy Tsang Mathias Woo Yeung Kai Yin Joseph Cheng Canning Fok Gerald H. Choa Cherie Kong Lai Chak Fun Ambrose Lee Chan Ying-lun HO Chi-kwan Alex Fong Raymond Or Selina Chow Kevin Ko Sik Ka Michael Suen Fang Zhaoling Johannes Chan Law Chi-kwong Frederick Ma James R. Lilley Victor Sit Jessie Ting Yip Yin Mei Cheng Man kit, Kenneth Nanette Fung Tam Kwok Kiu Tin Hong Mak Chai-kwong Alex Chow Lee Iu-cheung So King Hang Miriam Lau Christina Chan Chairman Butt Sherry Chen Lee Sheung-ching Eric Peter Ho Albert Lai Wai-Kwok Benson Wong Stephen Shiu Shelley Lee Peter C Wong Richard Ho Ho Fuk Yan Alex Law Jeff Sze Mabel Cheung Raees Begum Baig Sydney Lowcock Felix Cheung Matthew Cheung Audrey Eu Steven Poon Max Wong Venus Cheung Eric Chung Denise Yue Hui Yin-fat Lam Chiu Ying Mary Jean Reimer Rey Chow Vincent Ng Leo d'Almada e Castro Paul M. Y. CHOW Peter T Poon Lok Yan Wa Michael Cheng Eddie Ng Franklin Wong LEUNG Ping Chung Roger Luk Valerie Chow Yeung Po-kwan Edward Leong Kevin Lau Joyce Symons Lau Nai-keung James Yuen Huang Chen-ya Stanley Ng Alison Chiu Hoi Chu Kwok Ka-ki Kam-Biu Luk Mung Wai Leong Benny Tai Rocky Yung Eddy Lee Wai Choi Albert Chen June Leung Ho Kei Chau Sik-nin Elizabeth Wong Carrie Yau Patrick Yu Irene Cheng Ng Chung Chun Wong Kwok-pun Benjamin Tang Lam Wing Sum Tseung Fat-im Linus Cheung Poon Chung-kwong Poon Siu To Ernest Hamilton Sharp Andrew Cheung Andrew Cheng Ava Yu Gloria Chang Burmie Wong Richard Yuen Jack So Gary Chang Chung Sze-yuen Harry Fang Winnie Tsui Wai Yi Paul Zimmerman Stephen Frederick Fisher Ophelia Cheung-Macpherson Oscar Lee Kay Tse Robert Kotewall Chong Yuet Ming Lui Che Woo Fung Ka Ki Fong Yee Pui Chow Kai Wing Gene Gao Joyce Fung Leung Wai-tung Dhun Jehangir Ruttonjee Tomato Chan Chan Koonchung Kwok Wing Kin, Steven Richard Tsoi Kate Cheng Vivian Wing-Wah Yam Rev. Gordon Siu Holden Chow Eileen Chang Lorraine Hahn Lee Cheuk-yan William Chu SIP Gordon Yeung Kong-Ha Purple Lee Stanley Ho May Chan Mee Fung David Chan Run Run Shaw Stephen Chow Chun-kay Jacky Cheng Thomas Brian Stevenson Dennis Kwok Edward Yau Rocco Yim Grace Young York Chow
Alice Tai, Ronald Li, Alex Law, Shandy Gan, Joyce Symons, Martin Lee, Shelley Lee, Michael Cheng, Margaret Fong and Gary Cheng were a student at The University of Hong Kong and do n't have nationality of United Kingdom
Alice Tai Ronald Li Alex Law Shandy Gan Joyce Symons Martin Lee Shelley Lee Michael Cheng Margaret Fong Gary Cheng
action filter_type
action difference
action find_reverse
entity The University of Hong Kong
relation educated at
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'The University of Hong Kong'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}]}
SELECT DISTINCT ?z WHERE { ?z property:educated_at resource:The_University_of_Hong_Kong . FILTER NOT EXISTS { ?z property:country_of_citizenship resource:United_Kingdom } . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q967
P530
Q15617994 Q15617994 Q1048835
USER
How many administrative territories have a diplomatic relationship with lesser number of administrative territories or political territories than Burundi ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q967
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?e } UNION { ?l property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P530 resource:Q967 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q1048835 } } } } . FILTER ( ?d < ?k ) }
Burundi
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?e } UNION { ?l property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:diplomatic_relation resource:Burundi . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?d < ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
29
Q702 Q784 Q265 Q712 Q710 Q837 Q790 Q242 Q929 Q29999 Q854 Q730 Q1013 Q232 Q1027 Q842 Q1032 Q697 Q695 Q754 Q912 Q970 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q967
relation P530
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?e } UNION { ?l property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P530 resource:Q967 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q1048835 } } } } . FILTER ( ?d < ?k ) }
Federated States of Micronesia Dominica Uzbekistan Fiji Kiribati Nepal Haiti Belize Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Lesotho Kazakhstan Mauritius Oman Niger Nauru Palau Trinidad and Tobago Mali Comoros Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
29
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?e } UNION { ?l property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:diplomatic_relation resource:Burundi . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?d < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q611739
P725
Q502895 Q11424
USER
How many films had approximately the same number of people as the dubbing artist as The Ballad of the Daltons ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q611739
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?n property:P725 ?v . ?n rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q611739 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?e = ?w ) }
The Ballad of the Daltons
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Ballad of the Daltons
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?n property:voice_actor ?v . ?n rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:The_Ballad_of_the_Daltons property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?e = ?w ) }
[]
common name film
SYSTEM
70
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q19703751 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q40895 Q3190021 Q1102410 Q543486 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q611739
relation P725
type Q11424
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?n property:P725 ?v . ?n rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q611739 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?e = ?w ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox FernGully: The Last Rainforest
70
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Ballad of the Daltons
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?n property:voice_actor ?v . ?n rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:The_Ballad_of_the_Daltons property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?e = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4717351
P734
Q82799
USER
Who has the surname Alex Law ?
(Q4717351,P734,c(Q82799))
action filter_type
action find
entity Q4717351
relation P734
type Q82799
['Q4717351', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q4717351 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Alex Law
action filter_type
action find
entity Alex Law
relation family name
type name
['Alex Law', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Alex_Law property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q717763
SYSTEM
Luo
Q717763
(Q4717351,P734,c(Q82799))
action filter_type
action find
entity Q4717351
relation P734
type Q82799
[ANSWER] has the surname Alex Law
['Q4717351', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q4717351 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Luo
Luo has the surname Alex Law
Luo
action filter_type
action find
entity Alex Law
relation family name
type name
['Alex Law', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Alex_Law property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q717763
P1533
Q82799
USER
Which name is identical to that one ?
(c(Q82799),P1533,Q717763)
action filter_type
action find_reverse
entity Q717763
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q717763']
SELECT DISTINCT ?n WHERE { ?n property:P1533 resource:Q717763 . ?n rdf:type ontology:Q82799 }
Luo
action filter_type
action find_reverse
entity Luo
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Luo']
SELECT DISTINCT ?n WHERE { ?n property:family_name_identical_to_this_first_name resource:Luo . ?n rdf:type ontology:name }
[]
name
Q19810526
SYSTEM
Luo
Q19810526
(c(Q82799),P1533,Q717763)
action filter_type
action find_reverse
entity Q717763
relation P1533
type Q82799
[ANSWER] is identical to that one
[{'concept': 'Q82799'}, 'P1533', 'Q717763']
SELECT DISTINCT ?n WHERE { ?n property:P1533 resource:Q717763 . ?n rdf:type ontology:Q82799 }
Luo
Luo is identical to that one
Luo
action filter_type
action find_reverse
entity Luo
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Luo']
SELECT DISTINCT ?n WHERE { ?n property:family_name_identical_to_this_first_name resource:Luo . ?n rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696659
P991
Q1076105
USER
Which is the general election from where Martin Lee was elected from ?
(c(Q1076105),P991,Q696659)
action filter_type
action find_reverse
entity Q696659
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q696659']
SELECT DISTINCT ?a WHERE { ?a property:P991 resource:Q696659 . ?a rdf:type ontology:Q1076105 }
Martin Lee
action filter_type
action find_reverse
entity Martin Lee
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Martin Lee']
SELECT DISTINCT ?a WHERE { ?a property:successful_candidate resource:Martin_Lee . ?a rdf:type ontology:general_election }
[]
general election
Q5895324
SYSTEM
Hong Kong Legislative Council election, 1998
Q5895324
(c(Q1076105),P991,Q696659)
action filter_type
action find_reverse
entity Q696659
relation P991
type Q1076105
[ANSWER] is the general election from where Martin Lee was elected from
[{'concept': 'Q1076105'}, 'P991', 'Q696659']
SELECT DISTINCT ?a WHERE { ?a property:P991 resource:Q696659 . ?a rdf:type ontology:Q1076105 }
Hong Kong Legislative Council election, 1998
Hong Kong Legislative Council election, 1998 is the general election from where Martin Lee was elected from
Hong Kong Legislative Council election, 1998
action filter_type
action find_reverse
entity Martin Lee
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Martin Lee']
SELECT DISTINCT ?a WHERE { ?a property:successful_candidate resource:Martin_Lee . ?a rdf:type ontology:general_election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696659
P140
Q874405
USER
What is the religion associated with Martin Lee ?
(Q696659,P140,c(Q874405))
action filter_type
action find
entity Q696659
relation P140
type Q874405
['Q696659', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q696659 property:P140 ?x . ?x rdf:type ontology:Q874405 }
Martin Lee
action filter_type
action find
entity Martin Lee
relation religion
type social group
['Martin Lee', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Martin_Lee property:religion ?x . ?x rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q696659,P140,c(Q874405))
action filter_type
action find
entity Q696659
relation P140
type Q874405
The religion associated with Martin Lee is Roman [ANSWER]
['Q696659', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q696659 property:P140 ?x . ?x rdf:type ontology:Q874405 }
Catholicism
The religion associated with Martin Lee is Roman Catholicism
Catholicism
action filter_type
action find
entity Martin Lee
relation religion
type social group
['Martin Lee', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Martin_Lee property:religion ?x . ?x rdf:type ontology:social_group }
[]