Simple Question (Direct)
Simple Question
Q2329803
P106
Q12737077
USER
What does Soumaila Samake do for a living ?
(Q2329803,P106,c(Q12737077))
action filter_type
action find
entity Q2329803
relation P106
type Q12737077
['Q2329803', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2329803 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Soumaila Samake
action filter_type
action find
entity Soumaila Samake
relation occupation
type occupation
['Soumaila Samake', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Soumaila_Samake property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q2329803,P106,c(Q12737077))
action filter_type
action find
entity Q2329803
relation P106
type Q12737077
Soumaila Samake does a [ANSWER] for a living
['Q2329803', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2329803 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
basketball player
Soumaila Samake does a basketball player for a living
basketball player
action filter_type
action find
entity Soumaila Samake
relation occupation
type occupation
['Soumaila Samake', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Soumaila_Samake property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2329803
P641
Q349
USER
What did that person participate in ?
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q2329803
relation P641
type Q349
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q2329803 property:P641 ?i }
Soumaila Samake
action filter_type
action find
entity Soumaila Samake
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Soumaila_Samake property:sport ?i }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q2329803
relation P641
type Q349
That person participated in [ANSWER]
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q2329803 property:P641 ?i }
basketball
That person participated in basketball
basketball
action filter_type
action find
entity Soumaila Samake
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Soumaila_Samake property:sport ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports are the field of work of around the same number of collectables as that sport ?
(c(Q2342494),P101,c(Q349))
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q5372
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q5372 property:P101 ?j . ?j rdf:type ontology:Q349 } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?n ) WHERE { ?l rdf:type ontology:Q349 . ?r rdf:type ontology:Q2342494 . ?r property:P101 ?l } GROUP BY ?l } }
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity basketball
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:basketball property:field_of_work ?j . ?j rdf:type ontology:sport } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?n ) WHERE { ?l rdf:type ontology:sport . ?r rdf:type ontology:collectable . ?r property:field_of_work ?l } GROUP BY ?l } }
[]
sport collectable
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494),P101,c(Q349))
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q5372
relation P101
type Q349
[ANSWERS] are the field of work of around the same number of collectables as that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q5372 property:P101 ?j . ?j rdf:type ontology:Q349 } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?n ) WHERE { ?l rdf:type ontology:Q349 . ?r rdf:type ontology:Q2342494 . ?r property:P101 ?l } GROUP BY ?l } }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league are the field of work of around the same number of collectables as that sport
BASE jumping curling rugby league
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity basketball
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:basketball property:field_of_work ?j . ?j rdf:type ontology:sport } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?n ) WHERE { ?l rdf:type ontology:sport . ?r rdf:type ontology:collectable . ?r property:field_of_work ?l } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q338125 Q2329803
P27
Q15617994
USER
Which administrative territories are Soumaila Samake or Semei Kakungulu a civilian of ?
OR((Q2329803,P27,c(Q15617994)), (Q338125,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2329803
relation P27
action find
entity Q338125
relation P27
type Q15617994
{'OR': [['Q2329803', 'P27', {'concept': 'Q15617994'}], ['Q338125', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q2329803 property:P27 ?c } UNION { resource:Q338125 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Semei Kakungulu Soumaila Samake
action filter_type
action union
action find
entity Soumaila Samake
relation country of citizenship
action find
entity Semei Kakungulu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soumaila Samake', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Semei Kakungulu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Soumaila_Samake property:country_of_citizenship ?c } UNION { resource:Semei_Kakungulu property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q912
SYSTEM
Uganda, Mali
Q1036 Q912
OR((Q2329803,P27,c(Q15617994)), (Q338125,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2329803
relation P27
action find
entity Q338125
relation P27
type Q15617994
[ANSWERS] are Soumaila Samake or Semei Kakungulu a civilian of
{'OR': [['Q2329803', 'P27', {'concept': 'Q15617994'}], ['Q338125', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q2329803 property:P27 ?c } UNION { resource:Q338125 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Uganda Mali
Uganda and Mali are Soumaila Samake or Semei Kakungulu a civilian of
Uganda Mali
action filter_type
action union
action find
entity Soumaila Samake
relation country of citizenship
action find
entity Semei Kakungulu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soumaila Samake', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Semei Kakungulu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Soumaila_Samake property:country_of_citizenship ?c } UNION { resource:Semei_Kakungulu property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1036 Q33946
P495
Q15416
USER
How many television programs originate at Uganda or Czechoslovakia ?
(c(Q15416),P495,Q1036) (c(Q15416),P495,Q33946)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P495
type Q15416
action filter_type
action find_reverse
entity Q33946
relation P495
type Q15416
[{'concept': 'Q15416'}, 'P495', 'Q1036'] [{'concept': 'Q15416'}, 'P495', 'Q33946']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P495 ?u . VALUES ( ?u ) { ( resource:Q1036 ) ( resource:Q33946 ) } }
Uganda Czechoslovakia
action count
action union
action filter_type
action find_reverse
entity Uganda
relation country of origin
type television program
action filter_type
action find_reverse
entity Czechoslovakia
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Uganda'] [{'concept': 'television program'}, 'country of origin', 'Czechoslovakia']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:country_of_origin ?u . VALUES ( ?u ) { ( resource:Uganda ) ( resource:Czechoslovakia ) } }
[]
television program
SYSTEM
25
Q823282 Q7678490 Q683575 Q564877 Q7204359 Q590132 Q22138744 Q1215871 Q12040593 Q3490095 Q12021284 Q20088665 Q6061692 Q873296 Q748354 Q7662632 Q931721 Q3507884 Q7082570 Q18639612 Q10861139 Q6944568 Q3562452 Q1214992 Q1196597
(c(Q15416),P495,Q1036) (c(Q15416),P495,Q33946)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P495
type Q15416
action filter_type
action find_reverse
entity Q33946
relation P495
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P495', 'Q1036'] [{'concept': 'Q15416'}, 'P495', 'Q33946']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P495 ?u . VALUES ( ?u ) { ( resource:Q1036 ) ( resource:Q33946 ) } }
Thirty Cases of Major Zeman Taková normální rodinka Hospital at the End of the City Návštěvníci Plechová kavalérie Pat & Mat Lucie, postrach ulice Arabela Returns Youngest of the Hamr's Family Chalupáři The Sinful People of Prague Safari Inženýrská odysea Spadla z oblakov Žena za pultem Synové a dcery Jakuba skláře Odysseus und die Sterne‎ Chlapci a chlapi Okres na severu Panoptikum města pražského Zlá krev Muž na radnici Maxipes Fik Arabela The Salt Prince
25
action count
action union
action filter_type
action find_reverse
entity Uganda
relation country of origin
type television program
action filter_type
action find_reverse
entity Czechoslovakia
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Uganda'] [{'concept': 'television program'}, 'country of origin', 'Czechoslovakia']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:country_of_origin ?u . VALUES ( ?u ) { ( resource:Uganda ) ( resource:Czechoslovakia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1036 Q7904317
P17
Q56061
USER
How many administrative territories are present in Uganda or Electorate of Cologne ?
(c(Q56061),P17,Q1036) (c(Q56061),P17,Q7904317)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P17
type Q56061
action filter_type
action find_reverse
entity Q7904317
relation P17
type Q56061
[{'concept': 'Q56061'}, 'P17', 'Q1036'] [{'concept': 'Q56061'}, 'P17', 'Q7904317']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?l ) { ( resource:Q1036 ) ( resource:Q7904317 ) } . ?e property:P17 ?l }
Uganda Electorate of Cologne
action count
action union
action filter_type
action find_reverse
entity Uganda
relation country
type administrative territorial entity
action filter_type
action find_reverse
entity Electorate of Cologne
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Uganda'] [{'concept': 'administrative territorial entity'}, 'country', 'Electorate of Cologne']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?l ) { ( resource:Uganda ) ( resource:Electorate_of_Cologne ) } . ?e property:country ?l }
[]
administrative territorial entity
SYSTEM
308
Q6427154 Q1907120 Q23927055 Q7042596 Q7262176 Q731039 Q5002521 Q6375047 Q7145186 Q6928242 Q4985181 Q2692015 Q2174978 Q6687528 Q4986333 Q15243170 Q3894 Q179198 Q17095917 Q5764840 Q6739281 Q2391998 Q6349478 Q6378469 Q7022506 Q5555124 Q1207825 Q6450730 Q956659 Q3530559 Q2267729 Q6695601 Q20313317 Q2141024 Q16892998 Q6416275 Q6416374 Q5002334 Q5288769 Q6359106 Q6699373 Q6958908 Q7124680 Q451589 Q4305496 Q933338 Q525954 Q3529595 Q2658047 Q4853553 Q2318123 Q6697104 Q4714068 Q5001329 Q5001325 Q6404024 Q16893188 Q16954491 Q6783287 Q6960368 Q20746278 Q5581120 Q17058864 Q5003357 Q2470025 Q4996443 Q7445952 Q6450699 Q7380808 Q2431771 Q6696771 Q6366692 Q742655 Q211970 Q22920997 Q6961291 Q4940747 Q6450907 Q6350090 Q6696571 Q4861194 Q6482752 Q501709 Q6962116 Q2597300 Q992016 Q1002168 Q21994179 Q6417691 Q3499673 Q4986998 Q4875392 Q1624192 Q5002008 Q6696899 Q4864845 Q6699738 Q4749005 Q5002003 Q16896010 Q6416739 Q15240982 Q4986157 Q995221 Q6944731 Q1015727 Q6404078 Q6378433 Q16902833 Q6272214 Q7067550 Q6697604 Q4903036 Q365 Q16893156 Q938145 Q6700211 Q5581118 Q4984755 Q6081116 Q5528731 Q6415051 Q6693290 Q2789444 Q3526895 Q4748920 Q6349747 Q4986830 Q6697142 Q15262267 Q755806 Q15262424 Q15238486 Q6353141 Q15260271 Q6700100 Q3528929 Q6272234 Q22920988 Q22920989 Q1994275 Q3088116 Q22920985 Q22920986 Q22920987 Q4667801 Q6350112 Q3335467 Q4357793 Q6791956 Q6350114 Q16930494 Q6739550 Q2544864 Q4914566 Q1657091 Q6405971 Q6405975 Q5580688 Q6960009 Q15260878 Q5368395 Q6354619 Q7067630 Q2538700 Q6406181 Q6960635 Q6418842 Q6701734 Q5001975 Q4986126 Q22082369 Q16896022 Q4750961 Q500107 Q6374005 Q6379969 Q6379968 Q6442775 Q6694624 Q2297538 Q2463008 Q4685863 Q20746261 Q7099208 Q6983724 Q6695059 Q16893197 Q7383765 Q5003228 Q544320 Q6450860 Q4984009 Q6685692 Q6930901 Q4941427 Q6406200 Q6415316 Q6354249 Q7067611 Q4987159 Q492275 Q966819 Q6418640 Q4784206 Q2505963 Q5518596 Q965956 Q8072778 Q4986374 Q1485280 Q500111 Q2252605 Q586 Q15228847 Q7383717 Q15233586 Q6349017 Q16894374 Q6349469 Q6944218 Q6692420 Q3603745 Q15045852 Q6272973 Q15616252 Q16868894 Q15045850 Q6417816 Q4749014 Q22920984 Q6862814 Q6693037 Q7067548 Q6272909 Q16895660 Q6699878 Q5002346 Q4363229 Q4997181 Q581379 Q6370158 Q6377615 Q6406018 Q1810614 Q2203142 Q6958373 Q6739552 Q3802457 Q6344553 Q17108471 Q1820455 Q6374012 Q15233566 Q4986802 Q3193685 Q5003690 Q6956533 Q7121526 Q1232016 Q4690976 Q15253534 Q1280038 Q4663606 Q2041227 Q6687695 Q2488907 Q5003681 Q16954390 Q2649391 Q6418216 Q4996412 Q15076215 Q3459039 Q7126074 Q7135482 Q22920992 Q22920991 Q22920990 Q1015699 Q22920996 Q22920995 Q22920994 Q7449842 Q18163367 Q6450897 Q20746233 Q15261267 Q6450894 Q15276092 Q6354572 Q7082486 Q4987203 Q1649358 Q588930 Q4747501 Q6962120 Q20746282 Q2193389 Q6373629 Q6273034 Q4734205 Q5003662 Q5003660 Q6346322 Q6418933 Q4997413 Q6928210
(c(Q56061),P17,Q1036) (c(Q56061),P17,Q7904317)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P17
type Q56061
action filter_type
action find_reverse
entity Q7904317
relation P17
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P17', 'Q1036'] [{'concept': 'Q56061'}, 'P17', 'Q7904317']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?l ) { ( resource:Q1036 ) ( resource:Q7904317 ) } . ?e property:P17 ?l }
Kole, Uganda Masindi Karuma Falls Nkokonjeru Puranga Mbarara Butiaba Katalemwa Patongo, Uganda Mpererwe Bududa Kaberamaido Nebbi Lwengo Buhweju, Uganda Lweeza Kampala Mukono Town Losilang Hima, Uganda Makerere Koboko Kakiri Katwe Ngoma, Uganda Ggaba Tororo Kyankwanzi Masaka Nakasongola Mityana Lubowa Biharwe Soroti Kabamba, Uganda Kiruhura, Uganda Kisaasi Butabika Dokolo Kampala Industrial and Business Park Kiryandongo Nagongera Paidha Pakwach Mpondwe Mpigi Kisoro Nakaseke Nakapiripirit Bamunanika Luweero Pader, Uganda Alebtong Busembatya, Uganda Busega Kibingo, Uganda Katosi Buloba Masindi Port Nakawa Division Maddu Gombe, Uganda Amuru, Uganda Buyende Kanungu Bulindo Seeta, Uganda Kyaliwajjala Rushere, Uganda Kamwenge Nwoya Kapir Atiira Kalangala Entebbe Boke Agali Namanve Bombo, Uganda Kyengera Kalagala Napak Barlonyo Lamwo Jinja Namugongo Bundibugyo Moyo Town Bufuka Kasaka LCI Kitagata, Uganda Adjumani Bukomansimbi Bbaale Hoima Busolwe Otuke Budaka town Lugazi Amuria Busobya Ntoroko Kisizi Kyotera Bugembe Kayunga Mweya Mbale Kibuku Katuna Wakyaato Oyam Nsasa Zombo Bibia Cologne Kasawo Ntungamo Rukungiri Gombe Buddo hill Isingiro Gayaza Kireka Serere Kibaale Kaliro Amudat Kakuuto, Uganda Bukedea administrative territorial entity of Uganda Ngogwe Atiak Nkozi Kimaka Kalisizo Munyonyo Rubirizi Mubende Namutumba Te Garage Kakoge B Njeru Kamuli Blue Corner Tedam Jinja Camp Abim Kalagi, Mukono, Uganda Namilyango Mayuge Matugga Kalagi, Mubende, Uganda Mifumi Makindye Katakwi Binyiny Iganga Kigulu, Uganda Kigumba Goli, Uganda Najjera Namasagali Kyenjojo Kalungu Ntinda Wadelai Kijura Nakifuma Kiwaatule Lukaya Busitema Bugamba Bobi Nyenga, Uganda Anaka Fort Portal Kasangati Kawempe Division Kawempe Kulambiro Loyoro, Uganda Pallisa Bushenyi Aduku Kagamba Oraba Ndejje Lubaga Division Katunguru, Uganda Rwimi Buwenge Kitgum, Uganda Kyazanga Budadiri Kanoni Mubuku Bondo, Uganda Kikagati Kirinnya Kalongo Ntenjeru Bukwa Port Bell Kira Town Kitukutwe Arapai Kotido Galilaya Nansana Ziroobwe Buikwe Paraa Arua Sironko Bonn Ishasha, Uganda Rwakitura Kapeeka Kajjansi Lubigi Kakira Mutukula, Uganda Luuka Town Aboke Malaba, Uganda Manafwa Namataba Adilang Lwakhakha, Uganda Kitamilo Amuru Wigweng Minakulu Ngora Nsangi Kaabong Namayingo Mitooma Butaleja Bugiri Buluuli Gulu Karenga, Uganda Katine Kihihi Kiboga Kapchorwa Nagalama Makindye Division Ishaka Kabwohe Yenga, Uganda Sembabule Kasanje, Uganda Kansanga Bukakata Kasenyi Bwizibwera Naalya Pabbo Kasese Agago Mirama Hills Busia Abayita Ababiri Apac Lyantonde Yumbe Bweyogerere Bugoye Rakai Kitikifumba Buliisa Wobulenzi Ibanda Pakuba Paranga Kicope Ireda Housing Estates Ober-Entebbe Lira Lumumba Ober-Kampala Ogengo Semuto Bukomero Kyegegwa Bujerere Nazigo Kyebando Sentema Kalule Okollo Bulambuli Wakiso Town Kabale Amolatar Namulonge Makerere Kikoni Moroto Town Karuma Kumi Town Aloi Bwamiramira Bwaise Kagadi Kiwoko Bunagana, Uganda Mpanga
308
action count
action union
action filter_type
action find_reverse
entity Uganda
relation country
type administrative territorial entity
action filter_type
action find_reverse
entity Electorate of Cologne
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Uganda'] [{'concept': 'administrative territorial entity'}, 'country', 'Electorate of Cologne']
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?l ) { ( resource:Uganda ) ( resource:Electorate_of_Cologne ) } . ?e property:country ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036
P463
Q484652
USER
What international organizations were Uganda a member of ?
(Q1036,P463,c(Q484652))
action filter_type
action find
entity Q1036
relation P463
type Q484652
['Q1036', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q1036 property:P463 ?d . ?d rdf:type ontology:Q484652 }
Uganda
action filter_type
action find
entity Uganda
relation member of
type international organization
['Uganda', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:Uganda property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
international organization
Q1065 Q7785 Q1043527
SYSTEM
United Nations, Commonwealth of Nations, Multilateral Investment Guarantee Agency
Q7785 Q1065 Q294278 Q1043527
(Q1036,P463,c(Q484652))
action filter_type
action find
entity Q1036
relation P463
type Q484652
Uganda were the [ANSWERS]
['Q1036', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q1036 property:P463 ?d . ?d rdf:type ontology:Q484652 }
Commonwealth of Nations United Nations African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency
Uganda were the United Nations, Commonwealth of Nations and Multilateral Investment Guarantee Agency
United Nations Commonwealth of Nations Multilateral Investment Guarantee Agency
action filter_type
action find
entity Uganda
relation member of
type international organization
['Uganda', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:Uganda property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1501027
Q484652
USER
And how about Heinz-Alfred Steiner?
(Q1501027,P463,c(Q484652))
action filter_type
action find
entity Q1501027
relation P463
type Q484652
['Q1501027', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q1501027 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Heinz-Alfred Steiner
action filter_type
action find
entity Heinz-Alfred Steiner
relation member of
type international organization
['Heinz-Alfred Steiner', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:Heinz-Alfred_Steiner property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q1501027,P463,c(Q484652))
action filter_type
action find
entity Q1501027
relation P463
type Q484652
[ANSWER]
['Q1501027', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q1501027 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Heinz-Alfred Steiner
relation member of
type international organization
['Heinz-Alfred Steiner', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:Heinz-Alfred_Steiner property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P1001
Q12737077
USER
Which occupation presides the jurisdiction over United Nations ?
(c(Q12737077),P1001,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1065']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . ?v property:P1001 resource:Q1065 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'United Nations']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . ?v property:applies_to_jurisdiction resource:United_Nations }
[]
occupation
Q21083707
SYSTEM
Special Rapporteur
Q21083707
(c(Q12737077),P1001,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P1001
type Q12737077
[ANSWER] presides the jurisdiction over United Nations
[{'concept': 'Q12737077'}, 'P1001', 'Q1065']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . ?v property:P1001 resource:Q1065 }
Special Rapporteur
Special Rapporteur presides the jurisdiction over United Nations
Special Rapporteur
action filter_type
action find_reverse
entity United Nations
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'United Nations']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . ?v property:applies_to_jurisdiction resource:United_Nations }
[]