Simple Question (Direct)
Simple Question
Q1334238
P641
Q349
USER
Which sport was Elvir Ovčina a part of ?
(Q1334238,P641,c(Q349))
action filter_type
action find
entity Q1334238
relation P641
type Q349
['Q1334238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1334238 property:P641 ?x . ?x rdf:type ontology:Q349 }
Elvir Ovčina
action filter_type
action find
entity Elvir Ovčina
relation sport
type sport
['Elvir Ovčina', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Elvir_Ovčina property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1334238,P641,c(Q349))
action filter_type
action find
entity Q1334238
relation P641
type Q349
Which sport was Elvir Ovčina a part of
['Q1334238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1334238 property:P641 ?x . ?x rdf:type ontology:Q349 }
basketball
Which sport was Elvir Ovčina a part of
basketball
action filter_type
action find
entity Elvir Ovčina
relation sport
type sport
['Elvir Ovčina', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Elvir_Ovčina property:sport ?x . ?x rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q742180
P1303
Q34379 Q502895
USER
How many musical instruments do greater number of people know to play than viola d'amore ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q742180
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?x ) WHERE { ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?n } GROUP BY ?n } . FILTER ( ?x > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q742180 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } }
viola d'amore
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola d'amore
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?x ) WHERE { ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?n } GROUP BY ?n } . FILTER ( ?x > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:viola_d'amore property:instrument ?r . ?r rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
14
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q1444 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q742180
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?x ) WHERE { ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?n } GROUP BY ?n } . FILTER ( ?x > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q742180 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano organ drum kit electronic keyboard drum
14
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola d'amore
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?x ) WHERE { ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?n } GROUP BY ?n } . FILTER ( ?x > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:viola_d'amore property:instrument ?r . ?r rdf:type ontology:musical_instrument } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q8418 Q5372
P641
Q12973014
USER
Which sports teams play basketball and handball ?
AND((c(Q12973014),P641,Q5372), (c(Q12973014),P641,Q8418))
action filter_type
action intersection
action find_reverse
entity Q5372
relation P641
action find_reverse
entity Q8418
relation P641
type Q12973014
{'AND': [[{'concept': 'Q12973014'}, 'P641', 'Q5372'], [{'concept': 'Q12973014'}, 'P641', 'Q8418']]}
SELECT DISTINCT ?m WHERE { ?m property:P641 resource:Q5372 . ?m property:P641 resource:Q8418 . ?m rdf:type ontology:Q12973014 }
handball basketball
action filter_type
action intersection
action find_reverse
entity basketball
relation sport
action find_reverse
entity handball
relation sport
type sports team
{'AND': [[{'concept': 'sports team'}, 'sport', 'basketball'], [{'concept': 'sports team'}, 'sport', 'handball']]}
SELECT DISTINCT ?m WHERE { ?m property:sport resource:basketball . ?m property:sport resource:handball . ?m rdf:type ontology:sports_team }
[]
sports team
Q217601 Q16331981 Q13638387
SYSTEM
Drøbak-Frogn IL, G.S. Esperos Lamias, A.S. Ionikos Lamias
Q217601 Q16331981 Q13638387
AND((c(Q12973014),P641,Q5372), (c(Q12973014),P641,Q8418))
action filter_type
action intersection
action find_reverse
entity Q5372
relation P641
action find_reverse
entity Q8418
relation P641
type Q12973014
[ANSWERS] play basketball and handball
{'AND': [[{'concept': 'Q12973014'}, 'P641', 'Q5372'], [{'concept': 'Q12973014'}, 'P641', 'Q8418']]}
SELECT DISTINCT ?m WHERE { ?m property:P641 resource:Q5372 . ?m property:P641 resource:Q8418 . ?m rdf:type ontology:Q12973014 }
Drøbak-Frogn IL G.S. Esperos Lamias A.S. Ionikos Lamias
Drøbak-Frogn IL, G.S. Esperos Lamias and A.S. Ionikos Lamias play basketball and handball
Drøbak-Frogn IL G.S. Esperos Lamias A.S. Ionikos Lamias
action filter_type
action intersection
action find_reverse
entity basketball
relation sport
action find_reverse
entity handball
relation sport
type sports team
{'AND': [[{'concept': 'sports team'}, 'sport', 'basketball'], [{'concept': 'sports team'}, 'sport', 'handball']]}
SELECT DISTINCT ?m WHERE { ?m property:sport resource:basketball . ?m property:sport resource:handball . ?m rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1334238
P21
Q290
USER
What is the sex of Elvir Ovčina ?
(Q1334238,P21,c(Q290))
action filter_type
action find
entity Q1334238
relation P21
type Q290
['Q1334238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1334238 property:P21 ?w . ?w rdf:type ontology:Q290 }
Elvir Ovčina
action filter_type
action find
entity Elvir Ovčina
relation gender
type sex
['Elvir Ovčina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Elvir_Ovčina property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1334238,P21,c(Q290))
action filter_type
action find
entity Q1334238
relation P21
type Q290
The sex of Elvir Ovčina is a [ANSWER]
['Q1334238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1334238 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Elvir Ovčina is a male
male
action filter_type
action find
entity Elvir Ovčina
relation gender
type sex
['Elvir Ovčina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Elvir_Ovčina property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1334238
P19
Q515
USER
Which city was Elvir Ovčina born at ?
(Q1334238,P19,c(Q515))
action filter_type
action find
entity Q1334238
relation P19
type Q515
['Q1334238', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q1334238 property:P19 ?b }
Elvir Ovčina
action filter_type
action find
entity Elvir Ovčina
relation place of birth
type city
['Elvir Ovčina', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Elvir_Ovčina property:place_of_birth ?b }
[]
city
Q11194
SYSTEM
Sarajevo
Q11194
(Q1334238,P19,c(Q515))
action filter_type
action find
entity Q1334238
relation P19
type Q515
Elvir Ovčina was born in [ANSWER]
['Q1334238', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q1334238 property:P19 ?b }
Sarajevo
Elvir Ovčina was born in Sarajevo
Sarajevo
action filter_type
action find
entity Elvir Ovčina
relation place of birth
type city
['Elvir Ovčina', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Elvir_Ovčina property:place_of_birth ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12032488
Q515
USER
And how about Ladislav Frej?
(Q12032488,P19,c(Q515))
action filter_type
action find
entity Q12032488
relation P19
type Q515
['Q12032488', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q12032488 property:P19 ?i . ?i rdf:type ontology:Q515 }
Ladislav Frej
action filter_type
action find
entity Ladislav Frej
relation place of birth
type city
['Ladislav Frej', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Ladislav_Frej property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
city
Q14960
SYSTEM
Brno
Q14960
(Q12032488,P19,c(Q515))
action filter_type
action find
entity Q12032488
relation P19
type Q515
[ANSWER]
['Q12032488', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q12032488 property:P19 ?i . ?i rdf:type ontology:Q515 }
Brno
Brno
action filter_type
action find
entity Ladislav Frej
relation place of birth
type city
['Ladislav Frej', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Ladislav_Frej property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
Which cities are sister town of exactly 1 city ?
(c(Q515),P190,c(Q515))
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 1
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?w ) WHERE { ?r property:P190 ?p . ?r rdf:type ontology:Q515 . ?p rdf:type ontology:Q515 } GROUP BY ?r } . FILTER ( ?w = 1 ) }
action equal
action find_tuple_counts
relation sister city
type city
type city
value 1
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?w ) WHERE { ?r property:sister_city ?p . ?r rdf:type ontology:city . ?p rdf:type ontology:city } GROUP BY ?r } . FILTER ( ?w = 1 ) }
[]
city city
Q1731 Q14960 Q157835
SYSTEM
Dresden, Brno, Zaporizhzhya
Q41283 Q1021103 Q10127 Q830404 Q235746 Q841296 Q7253 Q362865 Q72877 Q854913 Q460835 Q25282 Q27860 Q854996 Q58401 Q209785 Q360326 Q320950 Q52607 Q755686 Q823874 Q205607 Q320943 Q193050 Q71266 Q15720 Q602042 Q843039 Q5779 Q425996 Q57953 Q174091 Q916679 Q501891 Q653372 Q653478 Q911517 Q38968 Q59205 Q842961 Q329768 Q41278 Q843035 Q75978 Q935846 Q2135 Q43196 Q210493 Q834567 Q5838 Q819664 Q220445 Q847546 Q57719 Q3069 Q461020 Q57996 Q507846 Q375097 Q12062 Q178878 Q203027 Q2966 Q817965 Q843018 Q5540 Q645014 Q10393 Q791458 Q423371 Q386635 Q10389 Q583620 Q1008983 Q214945 Q515573 Q214956 Q1362 Q182378 Q117604 Q588606 Q855513 Q404873 Q288413 Q167668 Q459787 Q149097 Q393426 Q6602 Q898468 Q276132 Q58560 Q3866 Q7003 Q911667 Q7568 Q404429 Q329775 Q657642 Q2900 Q76001 Q3599 Q56759 Q1731 Q642006 Q26837 Q7786 Q606212 Q75110 Q58324 Q58570 Q1017806 Q857234 Q17182 Q854940 Q416544 Q633983 Q604516 Q177149 Q208471 Q14960 Q3185 Q781435 Q740915 Q645567 Q1889017 Q34261 Q198266 Q679249 Q3958 Q933480 Q260522 Q844130 Q752838 Q426237 Q1858 Q496499 Q1854 Q14169 Q182852 Q111739 Q214942 Q549427 Q694370 Q847565 Q377929 Q386651 Q1822 Q389495 Q75336 Q385623 Q846351 Q739304 Q157835 Q75230 Q594275 Q463171 Q851048 Q857293 Q5753 Q911674 Q646850 Q376233 Q2119 Q206872 Q719 Q1720 Q1721 Q851029 Q1645 Q215755 Q547479 Q509923 Q773203 Q789510 Q727143 Q146363 Q863739 Q756273 Q633996 Q188247 Q72778 Q187136 Q75379 Q3014 Q55740 Q825166 Q57941 Q855082 Q530634 Q71151 Q71159 Q189761 Q390156 Q2795 Q378225 Q207222 Q653364 Q5217 Q755701 Q604385 Q843031 Q2833 Q3935 Q146033 Q726993 Q3612 Q158272 Q166183 Q25475 Q680743 Q117676 Q1530 Q680963 Q66485 Q3994 Q432055 Q240891 Q320964 Q23768 Q58584 Q302526 Q243293 Q59132 Q104125 Q247387 Q2999
(c(Q515),P190,c(Q515))
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 1
[ANSWERS] are sister town of exactly 1 city
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?w ) WHERE { ?r property:P190 ?p . ?r rdf:type ontology:Q515 . ?p rdf:type ontology:Q515 } GROUP BY ?r } . FILTER ( ?w = 1 ) }
Gwangju Meziboří Tangerang Hajdúszoboszló Kesennuma Příbram Padang Pingxiang Datong Szikszó Marugame Danang Jayapura Szerencs Shijiazhuang Ichikawa Tongling Trutnov Mar del Plata Nyírbátor Toda Zirc Matsudo Érd Yichang Satsumasendai Baktalórántháza Veresegyház Banda Aceh Deyang Schwarzenberg Changsha Téglás Tahara Higashihiroshima Mishima Létavértes Liuzhou Heyuan Mezőberény Tata Ulsan Celldömölk Calamba Vlăhița Winnipeg Cincinnati Yantai Bonyhád Kabul Sukagawa Kuching Saiki Xuzhou Bottrop Imabari Thum Sebiș Tiszaújváros Torgau Békéscsaba Tsu Heidelberg Ikeda Kunszentmiklós Penza Túrkeve Bogor Battonya Ștei Hikone Bandung Dévaványa Vodňany Pápa Hanzhong Znojmo Islamabad Putrajaya Nago Fonyód Bük Xinyang Tapolca Liepāja Iloilo City Jirkov Žatec Strasbourg Brandýs nad Labem-Stará Boleslav Pecica Qinhuangdao Dodoma Dijon Elek Yogyakarta Jiaozuo Kiskunhalas Villány Quito San Pablo Bicske Olongapo Dresden Kurayoshi Sorong Pekanbaru Fremantle Dandong Zhoushan Handan Nové Sedlo Shōbara Parañaque Dabas Changde Kashiwazaki Szentgotthárd Obihiro Kaifeng Brno Hildesheim Derecske Fulnek Törökbálint Mandaue Port-au-Prince Zhuzhou Kalocsa Neubrandenburg Luhačovice Bácsalmás Nagahama Aszód Guangyuan Hanoi Kazuno Ho Chi Minh City Singkawang Kunming Puerto Princesa Kazincbarcika Jánoshalma Ayabe Hanyū City Hévíz Iwata Baguio Toyokawa Chaoyang Ōmuta, Fukuoka Miyazu Hajdúnánás Zaporizhzhya Panjin General Santos Handa Făget Kamo Samarkand Simontornya Kiskőrös Săcueni Mannheim Ajka Saginaw Mainz Wiesbaden Aleșd Cagayan de Oro Xiangtan Dunakeszi Mezőhegyes Százhalombatta Balmazújváros Örkény Most Kasaoka Karcag Kameoka Sarkad Taiyuan Luoyang Huludao Wolfsburg San Fernando Izumo Schneeberg, Saxony Csenger Pilisvörösvár Sayda Brand-Erbisdorf Szekszárd Petrila Chemnitz Hagi Zlaté Hory Atami Bacolod Ráckeve Shizuishan Vasvár Freiburg im Breisgau Windhoek Zamárdi Cotabato City Antofagasta Žamberk Nabari Batumi Balatonfüred Viseu Baghdad Mór Jaipur Kempten Hamada Higashiōmi Yonago Las Vegas Baoding Tab Sekondi-Takoradi Jiangmen Lucena Kaba Würzburg
Dresden, Brno and Zaporizhzhya are sister town of exactly 1 city
Dresden Brno Zaporizhzhya
action equal
action find_tuple_counts
relation sister city
type city
type city
value 1
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?w ) WHERE { ?r property:sister_city ?p . ?r rdf:type ontology:city . ?p rdf:type ontology:city } GROUP BY ?r } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1731 Q14960 Q157835
P190
Q56061
USER
Which administrative territories are twin town of Dresden, Brno and Zaporizhzhya ?
(c(Q56061),P190,Q1731) (c(Q56061),P190,Q14960) (c(Q56061),P190,Q157835)
action union
action filter_type
action find_reverse
entity Q1731
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14960
relation P190
type Q56061
action filter_type
action find_reverse
entity Q157835
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1731'] [{'concept': 'Q56061'}, 'P190', 'Q14960'] [{'concept': 'Q56061'}, 'P190', 'Q157835']
SELECT DISTINCT ?l WHERE { ?l property:P190 ?g . VALUES ( ?g ) { ( resource:Q1731 ) ( resource:Q14960 ) } }
Dresden Brno Zaporizhzhya
action union
action filter_type
action find_reverse
entity Dresden
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Brno
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Zaporizhzhya
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Dresden'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brno'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Zaporizhzhya']
SELECT DISTINCT ?l WHERE { ?l property:sister_city ?g . VALUES ( ?g ) { ( resource:Dresden ) ( resource:Brno ) } }
[]
administrative territorial entity
Q647 Q1741 Q2044
SYSTEM
Rennes, Vienna, Florence
Q16567 Q34370 Q34713 Q6225 Q182428 Q8385 Q384 Q2044 Q3844 Q1022 Q4656 Q647 Q16557 Q459 Q3426 Q42308 Q1741 Q13362 Q39121 Q4115712 Q1780 Q25331 Q803 Q93910 Q734315 Q171639 Q1733 Q28911 Q41329
(c(Q56061),P190,Q1731) (c(Q56061),P190,Q14960) (c(Q56061),P190,Q157835)
action union
action filter_type
action find_reverse
entity Q1731
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14960
relation P190
type Q56061
action filter_type
action find_reverse
entity Q157835
relation P190
type Q56061
[ANSWERS] are twin town of Dresden, Brno and Zaporizhzhya
[{'concept': 'Q56061'}, 'P190', 'Q1731'] [{'concept': 'Q56061'}, 'P190', 'Q14960'] [{'concept': 'Q56061'}, 'P190', 'Q157835']
SELECT DISTINCT ?l WHERE { ?l property:P190 ?g . VALUES ( ?g ) { ( resource:Q1731 ) ( resource:Q14960 ) } }
Columbus Rotterdam Salzburg Coventry Silistra Ostrava Skopje Florence Brazzaville Stuttgart Pula Rennes Dallas Plovdiv Voronezh Kharkiv Vienna Ferrara Leeds Kaunas Bratislava Odense Utrecht Novokuznetsk Zestaponi Ashdod Magdeburg Lahti Linz
Rennes, Vienna and Florence are twin town of Dresden, Brno and Zaporizhzhya
Rennes Vienna Florence
action union
action filter_type
action find_reverse
entity Dresden
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Brno
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Zaporizhzhya
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Dresden'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brno'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Zaporizhzhya']
SELECT DISTINCT ?l WHERE { ?l property:sister_city ?g . VALUES ( ?g ) { ( resource:Dresden ) ( resource:Brno ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11194
P17
Q7275
USER
Which states are Sarajevo a part of ?
(Q11194,P17,c(Q7275))
action filter_type
action find
entity Q11194
relation P17
type Q7275
['Q11194', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q11194 property:P17 ?q . ?q rdf:type ontology:Q7275 }
Sarajevo
action filter_type
action find
entity Sarajevo
relation country
type state
['Sarajevo', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Sarajevo property:country ?q . ?q rdf:type ontology:state }
[]
state
Q191077 Q153128 Q83286
SYSTEM
Kingdom of Yugoslavia, Independent State of Croatia, Socialist Federal Republic of Yugoslavia
Q191077 Q153128 Q83286
(Q11194,P17,c(Q7275))
action filter_type
action find
entity Q11194
relation P17
type Q7275
[ANSWERS]
['Q11194', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q11194 property:P17 ?q . ?q rdf:type ontology:Q7275 }
Kingdom of Yugoslavia Independent State of Croatia Socialist Federal Republic of Yugoslavia
Which states are Sarajevo a part of
Kingdom of Yugoslavia Independent State of Croatia Socialist Federal Republic of Yugoslavia
action filter_type
action find
entity Sarajevo
relation country
type state
['Sarajevo', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Sarajevo property:country ?q . ?q rdf:type ontology:state }
[]