Simple Question (Direct)
Simple Question
Q470031
P27
Q8425
USER
Which society is Setepenre a civilian of ?
(Q470031,P27,c(Q8425))
action filter_type
action find
entity Q470031
relation P27
type Q8425
['Q470031', 'P27', {'concept': 'Q8425'}]
SELECT DISTINCT ?u WHERE { resource:Q470031 property:P27 ?u . ?u rdf:type ontology:Q8425 }
Setepenre
action filter_type
action find
entity Setepenre
relation country of citizenship
type society
['Setepenre', 'country of citizenship', {'concept': 'society'}]
SELECT DISTINCT ?u WHERE { resource:Setepenre property:country_of_citizenship ?u . ?u rdf:type ontology:society }
[]
society
Q11768
SYSTEM
Ancient Egypt
Q11768
(Q470031,P27,c(Q8425))
action filter_type
action find
entity Q470031
relation P27
type Q8425
Which society is Setepenre a civilian of
['Q470031', 'P27', {'concept': 'Q8425'}]
SELECT DISTINCT ?u WHERE { resource:Q470031 property:P27 ?u . ?u rdf:type ontology:Q8425 }
Ancient Egypt
Which society is Setepenre a civilian of
Ancient Egypt
action filter_type
action find
entity Setepenre
relation country of citizenship
type society
['Setepenre', 'country of citizenship', {'concept': 'society'}]
SELECT DISTINCT ?u WHERE { resource:Setepenre property:country_of_citizenship ?u . ?u rdf:type ontology:society }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11768
P1001
Q4164871
USER
Which position has jurisdiction over that society ?
(c(Q4164871),P1001,Q11768)
action filter_type
action find_reverse
entity Q11768
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q11768']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q11768 . ?h rdf:type ontology:Q4164871 }
Ancient Egypt
action filter_type
action find_reverse
entity Ancient Egypt
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Ancient Egypt']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Ancient_Egypt . ?h rdf:type ontology:position }
[]
position
Q37110
SYSTEM
pharaoh
Q37110
(c(Q4164871),P1001,Q11768)
action filter_type
action find_reverse
entity Q11768
relation P1001
type Q4164871
[ANSWER] has jurisdiction over that society
[{'concept': 'Q4164871'}, 'P1001', 'Q11768']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q11768 . ?h rdf:type ontology:Q4164871 }
pharaoh
Pharaoh has jurisdiction over that society
pharaoh
action filter_type
action find_reverse
entity Ancient Egypt
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Ancient Egypt']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Ancient_Egypt . ?h rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q470031
P9
Q502895
USER
Who are the siblings of Setepenre ?
(Q470031,P9,c(Q502895))
action filter_type
action find
entity Q470031
relation P9
type Q502895
['Q470031', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q470031 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Setepenre
action filter_type
action find
entity Setepenre
relation sister
type common name
['Setepenre', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Setepenre property:sister ?u . ?u rdf:type ontology:common_name }
[]
common name
Q230863 Q153344 Q153648
SYSTEM
Ankhesenamun, Meritaten, Meketaten
Q469611 Q153344 Q438379 Q230863 Q153648 Q770194 Q1176034
(Q470031,P9,c(Q502895))
action filter_type
action find
entity Q470031
relation P9
type Q502895
The siblings of Setepenre are named [ANSWERS]
['Q470031', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q470031 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Neferneferure Meritaten Neferneferuaten Tasherit Ankhesenamun Meketaten Ankhesenpaaten Tasherit Meritaten Tasherit
The siblings of Setepenre are named Ankhesenamun, Meritaten and Meketaten
Ankhesenamun Meritaten Meketaten
action filter_type
action find
entity Setepenre
relation sister
type common name
['Setepenre', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Setepenre property:sister ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q524703
Q502895
USER
And also tell me about Prince Ali Bin Al-Hussein?
(Q524703,P9,c(Q502895))
action filter_type
action find
entity Q524703
relation P9
type Q502895
['Q524703', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q524703 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Prince Ali Bin Al-Hussein
action filter_type
action find
entity Prince Ali Bin Al-Hussein
relation sister
type common name
['Prince Ali Bin Al-Hussein', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Prince_Ali_Bin_Al-Hussein property:sister ?y . ?y rdf:type ontology:common_name }
[]
common name
Q272117 Q3307706 Q7244519
SYSTEM
Princess Haya bint Al Hussein, Princess Iman bint Al Hussein, Princess Aisha bint Al Hussein
Q7244527 Q3307706 Q7244873 Q7244790 Q272117 Q4667904 Q7244519
(Q524703,P9,c(Q502895))
action filter_type
action find
entity Q524703
relation P9
type Q502895
[ANSWERS]
['Q524703', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q524703 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Princess Alia bint Al Hussein Princess Iman bint Al Hussein Princess Zein bint Al Hussein Princess Raiyah bint Al Hussein Princess Haya bint Al Hussein Abir Muhaisen Princess Aisha bint Al Hussein
Princess Haya bint Al Hussein Princess Iman bint Al Hussein Princess Aisha bint Al Hussein
action filter_type
action find
entity Prince Ali Bin Al-Hussein
relation sister
type common name
['Prince Ali Bin Al-Hussein', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Prince_Ali_Bin_Al-Hussein property:sister ?y . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3307706
P7
Q502895
USER
Who have that one as their brother ?
(Q3307706,P7,c(Q502895))
action filter_type
action find
entity Q3307706
relation P7
type Q502895
['Q3307706', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3307706 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Princess Iman bint Al Hussein
action filter_type
action find
entity Princess Iman bint Al Hussein
relation brother
type common name
['Princess Iman bint Al Hussein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Princess_Iman_bint_Al_Hussein property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3307706
SYSTEM
Did you mean Princess Iman bint Al Hussein ?
Q272117 Q3307706 Q7244519
(Q272117,P7,c(Q502895)) (Q3307706,P7,c(Q502895)) (Q7244519,P7,c(Q502895))
[ANSWER]
['Q272117', 'P7', {'concept': 'Q502895'}] ['Q3307706', 'P7', {'concept': 'Q502895'}] ['Q7244519', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3307706 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Princess Haya bint Al Hussein Princess Iman bint Al Hussein Princess Aisha bint Al Hussein
Did you mean Princess Iman bint Al Hussein ?
Princess Iman bint Al Hussein
['Princess Haya bint Al Hussein', 'brother', {'concept': 'common name'}] ['Princess Iman bint Al Hussein', 'brother', {'concept': 'common name'}] ['Princess Aisha bint Al Hussein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Princess_Iman_bint_Al_Hussein property:brother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3307706,P7,c(Q502895))
['Q3307706', 'P7', {'concept': 'Q502895'}]
['Princess Iman bint Al Hussein', 'brother', {'concept': 'common name'}]
[]
Q524703 Q461192 Q57464
SYSTEM
Prince Ali Bin Al-Hussein, Prince Faisal bin Al Hussein, Abdullah II of Jordan
Q2817328 Q461192 Q57464 Q1532902 Q524703
(Q3307706,P7,c(Q502895))
action filter_type
action find
entity Q3307706
relation P7
type Q502895
[ANSWERS] have that one as their brother
['Q3307706', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3307706 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Prince Hashim Al Hussein Prince Faisal bin Al Hussein Abdullah II of Jordan Prince Hamzah bin Al Hussein Prince Ali Bin Al-Hussein
Prince Ali Bin Al-Hussein, Prince Faisal bin Al Hussein and Abdullah II of Jordan have that one as their brother
Prince Ali Bin Al-Hussein Prince Faisal bin Al Hussein Abdullah II of Jordan
action filter_type
action find
entity Princess Iman bint Al Hussein
relation brother
type common name
['Princess Iman bint Al Hussein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Princess_Iman_bint_Al_Hussein property:brother ?x . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q461192
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q461192)
action filter_type
action find
entity Q461192
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q461192']
SELECT DISTINCT ?k WHERE { resource:Q461192 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Prince Faisal bin Al Hussein
action filter_type
action find
entity Prince Faisal bin Al Hussein
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prince Faisal bin Al Hussein']
SELECT DISTINCT ?k WHERE { resource:Prince_Faisal_bin_Al_Hussein property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q57464
SYSTEM
Did you mean Abdullah II of Jordan ?
Q524703 Q461192 Q57464
(c(Q502895),P26,Q524703) (c(Q502895),P26,Q461192) (c(Q502895),P26,Q57464)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q524703'] [{'concept': 'Q502895'}, 'P26', 'Q461192'] [{'concept': 'Q502895'}, 'P26', 'Q57464']
SELECT DISTINCT ?k WHERE { resource:Q461192 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Prince Ali Bin Al-Hussein Prince Faisal bin Al Hussein Abdullah II of Jordan
Did you mean Abdullah II of Jordan ?
Abdullah II of Jordan
[{'concept': 'common name'}, 'spouse', 'Prince Ali Bin Al-Hussein'] [{'concept': 'common name'}, 'spouse', 'Prince Faisal bin Al Hussein'] [{'concept': 'common name'}, 'spouse', 'Abdullah II of Jordan']
SELECT DISTINCT ?k WHERE { resource:Prince_Faisal_bin_Al_Hussein property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Prince Faisal bin Al Hussein. Could you tell me the answer for that?
(c(Q502895),P26,Q461192)
Q461192
[{'concept': 'Q502895'}, 'P26', 'Q461192']
[{'concept': 'common name'}, 'spouse', 'Prince Faisal bin Al Hussein']
[]
Q7244526
SYSTEM
Princess Alia Tabba
Q7244526
(c(Q502895),P26,Q461192)
action filter_type
action find
entity Q461192
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q461192']
SELECT DISTINCT ?k WHERE { resource:Q461192 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Princess Alia Tabba
Princess Alia Tabba has that one as spouse
Princess Alia Tabba
action filter_type
action find
entity Prince Faisal bin Al Hussein
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prince Faisal bin Al Hussein']
SELECT DISTINCT ?k WHERE { resource:Prince_Faisal_bin_Al_Hussein property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
How many television genres had exactly 5 people as the dubbing artist ?
(c(Q15961987),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 5
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?v ) WHERE { ?t property:P725 ?p . ?t rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?t } }
action count
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 5
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?v ) WHERE { ?t property:voice_actor ?p . ?t rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?t } }
[]
common name television genre
SYSTEM
2
Q11296848 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 5
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?v ) WHERE { ?t property:P725 ?p . ?t rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?t } }
Kiteretsu Daihyakka Hellsing Ultimate
2
action count
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 5
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?v ) WHERE { ?t property:voice_actor ?p . ?t rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2041543 Q57464
P767 P7
Q502895
USER
Which people are the brother of Abdullah II of Jordan or assisted Otto's encyclopedia ?
OR((Q57464,P7,c(Q502895)), (Q2041543,P767,c(Q502895)))
action filter_type
action union
action find
entity Q57464
relation P7
action find
entity Q2041543
relation P767
type Q502895
{'OR': [['Q57464', 'P7', {'concept': 'Q502895'}], ['Q2041543', 'P767', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q57464 property:P7 ?h } UNION { resource:Q2041543 property:P767 ?h } } . ?h rdf:type ontology:Q502895 }
Otto's encyclopedia Abdullah II of Jordan
action filter_type
action union
action find
entity Abdullah II of Jordan
relation brother
action find
entity Otto's encyclopedia
relation contributor
type common name
{'OR': [['Abdullah II of Jordan', 'brother', {'concept': 'common name'}], ["Otto's encyclopedia", 'contributor', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Abdullah_II_of_Jordan property:brother ?h } UNION { resource:Otto's_encyclopedia property:contributor ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q12032980 Q327322 Q683558 Q10710533 Q159227 Q12768913 Q18104831 Q18327876 Q4249797 Q15830239
SYSTEM
Some of them are Leopold Heyrovský, Otakar Hostinský, Ivan Horbachevsky, Adolf Wenig, Karel Kramář, Karel Laštovka, František Levý, Leopold M. Zeithammer, Josef Kuchař, Josef Kummer
Q327093 Q12047002 Q12017340 Q700589 Q382358 Q3646534 Q325053 Q1532902 Q11774972 Q15829912 Q15831337 Q12050236 Q17487630 Q464379 Q16735336 Q15830127 Q650542 Q15830084 Q701743 Q15830294 Q326565 Q12028238 Q1713008 Q6876857 Q872815 Q15829931 Q1705960 Q10856346 Q15450266 Q4105953 Q18915410 Q2526466 Q18915412 Q11801012 Q15112111 Q11875020 Q539212 Q12022782 Q11218217 Q12026644 Q12016986 Q12016885 Q524703 Q12044104 Q15831370 Q15960610 Q12768913 Q15656565 Q17395655 Q3508777 Q15290723 Q12023244 Q12022606 Q15651962 Q16115762 Q700775 Q15829886 Q18341652 Q15829884 Q14971389 Q15829880 Q12026854 Q1040777 Q2060862 Q1445628 Q15829954 Q15830329 Q12025973 Q17442006 Q12017213 Q15830320 Q9176311 Q15830324 Q11220660 Q3509896 Q15829927 Q12016990 Q5995604 Q11217886 Q344349 Q12016999 Q15830065 Q4185002 Q1357129 Q18327876 Q4194262 Q15830108 Q15830260 Q15830263 Q3564902 Q12035501 Q11985613 Q12034262 Q7940730 Q12017678 Q12028158 Q1445713 Q720345 Q161368 Q2173070 Q15829959 Q11873066 Q713838 Q327322 Q15830290 Q12043943 Q11986019 Q15829955 Q15729876 Q4243064 Q12017000 Q477726 Q12032492 Q1357931 Q12016955 Q16733767 Q1706187 Q15831366 Q6253919 Q10859142 Q117110 Q15358993 Q7940617 Q12356670 Q77779 Q461104 Q10710174 Q1283803 Q15701306 Q12024850 Q18507592 Q12024855 Q12017483 Q10379548 Q11878448 Q743785 Q11878525 Q7940515 Q12026224 Q1960487 Q12002679 Q15830344 Q12033156 Q15830342 Q12017170 Q12036073 Q12218366 Q12022655 Q15830080 Q15146560 Q12017545 Q15831376 Q12016878 Q12025457 Q683558 Q15830008 Q13420835 Q12022779 Q15829987 Q12028294 Q12043170 Q15830003 Q159880 Q12022773 Q12031484 Q15830007 Q15830006 Q18340536 Q18340534 Q12027881 Q18104831 Q18340533 Q18201571 Q4249797 Q12023215 Q18572941 Q15059907 Q11065307 Q18104843 Q17516548 Q15830375 Q15829978 Q12026034 Q17516547 Q15712667 Q11878456 Q15829971 Q15830311 Q324157 Q18882246 Q362154 Q11706403 Q11059583 Q15831262 Q12028285 Q12028161 Q2651054 Q12032980 Q15831307 Q3563524 Q12026325 Q17516546 Q18104846 Q10859124 Q5492598 Q12018525 Q12028567 Q15830275 Q4249944 Q14969893 Q15829963 Q722701 Q17573825 Q15829966 Q18010713 Q17516556 Q17516557 Q11775196 Q2526437 Q4832689 Q5369037 Q12633384 Q5958109 Q12029333 Q15830310 Q15830144 Q12017686 Q12017013 Q25138 Q3565895 Q15712632 Q461192 Q11878467 Q15829995 Q175285 Q1729162 Q18104840 Q2817328 Q12018531 Q722409 Q7940549 Q18507589 Q10546686 Q15829864 Q1704502 Q10854138 Q18564510 Q18042711 Q15829915 Q1364258 Q15829916 Q4402153 Q17516565 Q10282226 Q11878571 Q12026609 Q159227 Q7599180 Q857545 Q74864 Q12017356 Q1704533 Q12022734 Q15830331 Q7940790 Q1681883 Q15831246 Q15831247 Q5492544 Q762176 Q347471 Q15830338 Q12026580 Q15830237 Q6846651 Q15830233 Q11926322 Q7940749 Q18438074 Q10729254 Q15829985 Q15829982 Q10853859 Q15830137 Q15830239 Q671725 Q12035753 Q11938768 Q11992374 Q11985967 Q4346860 Q12016922 Q3490610 Q15829946 Q1445598 Q14405878 Q12024813 Q16744058 Q15829906 Q274171 Q12349691 Q12032844 Q11717415 Q4402033 Q6036896 Q10710533 Q11835032 Q15830025
OR((Q57464,P7,c(Q502895)), (Q2041543,P767,c(Q502895)))
action filter_type
action union
action find
entity Q57464
relation P7
action find
entity Q2041543
relation P767
type Q502895
[ANSWERS] are the brother of Abdullah II of Jordan or assisted Otto's encyclopedia
{'OR': [['Q57464', 'P7', {'concept': 'Q502895'}], ['Q2041543', 'P767', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q57464 property:P7 ?h } UNION { resource:Q2041543 property:P767 ?h } } . ?h rdf:type ontology:Q502895 }
Arne Novák Primus Sobotka František Müller Konstantin Josef Jireček Ladislav František Čelakovský Karel Stecker Anton Gindely Prince Hamzah bin Al Hussein Alois Strnad Antonín Merz Vladimír Pech Rudolf Pokorný František Xaver Jiřík František Zdeněk Skuherský Jan Vilhelm Jan Bedřich Novák Karel Václav Rais František Šujan František Ladislav Rieger Josef Černý Rudolf Dvořák Karel Hermann-Otavský Julius Stoklasa Jan Máchal Jaromír Čelakovský Arnošt Winter Josef Václav Sládek Arnošt Kraus Jiří Viktor Daneš František Vejdovský Antonín Balcar Vincenc Prasek Antonín Mikenda Otokar Mokrý Gabriel Pecháček Edvín Bayer Josef Jireček Jan Lier Bohumil Jaroslav Matějka Josef Svátek František Drtina František Antonín Zeman Prince Ali Bin Al-Hussein Pavel Julius Vychodil Václav Rubeška Václav Starý Karel Laštovka Jaroslav Haasz Josef Schreyer Vilém Kurz Jaroslav Kamper Jan Václav Lego Jan Jaromír Hanel Josef Teige Đuro Šurmin Eduard Albert Alois Jirák Václav Sládek Alois Jandouš Josef Kořán Alfred Pulkrábek Josef Šimáček Martin Hattala Otakar Zich František Mareš Břetislav Jelínek Karel Heller Josef Dědeček Karel Černý František Krejčí Karel Chudoba Bohuslav Raýman Karel Domalíp Bohuslav Jiruš Josef Thomayer Antonín Štolc František Dvorský Václav Emanuel Mourek Bohumil Bauše Josef Pekař František Ehrmann František Storch František Zákrejs Josef Václav Frič Leopold M. Zeithammer Josef Zubatý Gustav Gruss Josef Pokorný Josef Reinsberg Zikmund Winter Marie Zdeňka Baborová-Čiháková Václav Řehořovský Ludvík Vaněk Karel Teige František Čuhel Karel Chodounský František Xaver Šalda Václav Tille Alois Jirásek Rudolf Jedlička Cyrill Purkyně Eduard Herold Josef Kalousek Otakar Hostinský Josef Čapek Patrik Blažek Václav Švambera Břetislav Šetlík Ludvík Tošner František Xaver Kryštůfek František Ekert Josef Vančura Ladislav Hajniš Josef Holeček František Chalupa Josef Rank Josef Štefan Kubín Václav Petrů Alois Zucker Augustin Žalud Zdeněk Fibich Karel Vrba Emanuel Kovář Václav Rosický Michał Hórnik Jaroslav Vrchlický Adolf Srb Jiří Konislav Guth-Jarkovský Emanuel Tilsch Jindřich Vančura Emilie Schmutzerová Jindřich Vodák František Serafínský Procházka Achille Wolf Emanuel Leminger Ladislav Josef Čelakovský Emerich Maixner František Augustin Josef Klvaňa Edvard Jelínek Ferdinand Pantůček Karel Petr Kheil Lev Winter Karel Lukáš František Klapálek Matouš Václavek Karel Chytil Jan Karel Hraše František Šembera Hynek Pelc František Táborský Václav Svoboda František Alois Hora Jiří Pražák Ivan Horbachevsky František Beroušek Josef Hanuš Jan Lepař Ferdinand Heller Karel Jonáš Ottokar Feistmantel František Augustin Slavík Adolf Černý Jan Ladislav Sýkora Kristian Petrlík František Bayer František Bayer Václav Červinka František Hanuš Kamil Henner František Levý Alois Fischer Eduard Homolka Josef Kuchař Jan Vincenc Diviš Vavřinec Josef Dušek Matouš Talíř Bedřich Bernau Jaroslav Fikrle Alexander Josef Bernard Ladislav Dvořák Emil Ott Josef Gruber František Petr Antonín Schauer Emanuel Miřiovský Emanuel Makovička Karel Bloman Václav Vladivoj Tomek Josef Saska Adolf Heyduk Jan Palacký Bartoloměj Navrátil Otakar Ježek Karel Jaroslav Maška Karel Cumpfe Alphons Zak Leopold Heyrovský Rudolf Sládeček Emanuel Rádl Josef Lacina Jan Böhm Josef Karásek Augustin Pánek František Sláma Gustav Dörfl Karel Tůma Josef Tumpach Karel Kučera František Oldřich Vaněk Eduard Šarša Jaroslav Vlček Jan Miloslav Kryštůfek Emanuel Fait Zdeněk Jahn František Plzák Julius Philipp Vladislav Kalousek Vincenc Brandl Soběslav Pinkas Emanuel Chvála Izidor Kršnjavi Karel Vandas Klement Borový Karel Bečka Jan Ježek František Řehoř František Fiedler Václav Novotný František Josef Studnička Ferdinand Pečírka Prince Faisal bin Al Hussein Emanuel Salomon Friedberg-Mírohorský Ferdinand Polenský Jakub Arbes Karel Kadlec Ivan Kunšič Prince Hashim Al Hussein Gustav Friedrich August Sedláček Albín Bráf Alois Thuma Ľudovít Vladimír Rizner Adolf Holk Josef Doubrava Antonín Truhlář Josef Vlk Jan Hellich Antonín Nosek Wojciech Gerson Antonín Pavlíček Antonín Randa Vladimír Novák Filip Počta Emil Herrmann Josef Smolík Karel Kramář Stanisław Kutrzeba Josef Durdík Ignát Herrmann František Novotný Josef Emler Jan Krčmář Karel Hromas Marie Červinková-Riegrová Jan Jakubec Max Švagrovský Michal Navrátil František Koláček Augustin Bĕlohoubek Stjepan Radić Karel Kuffner Josef Scheiner Josef Král Ferdinand Tadra Josef Kolář Vojtěch Mayerhofer Josef Ladislav Turnovský Josef Strnad Albert Vojtěch Velflík Ferdinand Havrda Eugen Muška Antonín Gottwald Jan Hellmann Josef Kummer Jan Otto Martin Kolář Vratislav Černý Vítězslav Janovský Václav Zenger Adolf Patera František Krásl František Bartoš Bohumil Mareš František Kameníček Justin Václav Prášek Jindřich Matiegka František Mareš Antonín Havránek Eliška Krásnohorská Jan Václav Novák Leander Čech Jan Evangelista Chadt-Ševětínský František Jaroslav Rypáček František Pastrnek Adolf Wenig Duchoslav Panýrek František Havrda
Leopold Heyrovský, Otakar Hostinský, Ivan Horbachevsky, Adolf Wenig, Karel Kramář, Karel Laštovka, František Levý, Leopold M. Zeithammer, Josef Kuchař and Josef Kummer are the brother of Abdullah II of Jordan or assisted Otto's encyclopedia
Leopold Heyrovský Otakar Hostinský Ivan Horbachevsky Adolf Wenig Karel Kramář Karel Laštovka František Levý Leopold M. Zeithammer Josef Kuchař Josef Kummer
action filter_type
action union
action find
entity Abdullah II of Jordan
relation brother
action find
entity Otto's encyclopedia
relation contributor
type common name
{'OR': [['Abdullah II of Jordan', 'brother', {'concept': 'common name'}], ["Otto's encyclopedia", 'contributor', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Abdullah_II_of_Jordan property:brother ?h } UNION { resource:Otto's_encyclopedia property:contributor ?h } } . ?h rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q28640 Q3412758
USER
How many professions and qualifications have that person as his/her as a career ?
(Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q12032980,P106,c(Q28640)) (Q12032980,P106,c(Q3412758)) (Q327322,P106,c(Q28640)) (Q327322,P106,c(Q3412758)) (Q683558,P106,c(Q28640)) (Q683558,P106,c(Q3412758)) (Q10710533,P106,c(Q28640)) (Q10710533,P106,c(Q3412758)) (Q159227,P106,c(Q28640)) (Q159227,P106,c(Q3412758)) (Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q18104831,P106,c(Q28640)) (Q18104831,P106,c(Q3412758)) (Q18327876,P106,c(Q28640)) (Q18327876,P106,c(Q3412758)) (Q4249797,P106,c(Q28640)) (Q4249797,P106,c(Q3412758)) (Q15830239,P106,c(Q28640)) (Q15830239,P106,c(Q3412758))
['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q12032980', 'P106', {'concept': 'Q28640'}] ['Q12032980', 'P106', {'concept': 'Q3412758'}] ['Q327322', 'P106', {'concept': 'Q28640'}] ['Q327322', 'P106', {'concept': 'Q3412758'}] ['Q683558', 'P106', {'concept': 'Q28640'}] ['Q683558', 'P106', {'concept': 'Q3412758'}] ['Q10710533', 'P106', {'concept': 'Q28640'}] ['Q10710533', 'P106', {'concept': 'Q3412758'}] ['Q159227', 'P106', {'concept': 'Q28640'}] ['Q159227', 'P106', {'concept': 'Q3412758'}] ['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q18104831', 'P106', {'concept': 'Q28640'}] ['Q18104831', 'P106', {'concept': 'Q3412758'}] ['Q18327876', 'P106', {'concept': 'Q28640'}] ['Q18327876', 'P106', {'concept': 'Q3412758'}] ['Q4249797', 'P106', {'concept': 'Q28640'}] ['Q4249797', 'P106', {'concept': 'Q3412758'}] ['Q15830239', 'P106', {'concept': 'Q28640'}] ['Q15830239', 'P106', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q12032980 property:Q528892 ?z } UNION { resource:Q12032980 property:Q528892 ?y } UNION { resource:Q327322 property:Q528892 ?z } UNION { resource:Q327322 property:Q528892 ?y } UNION { resource:Q683558 property:Q528892 ?z } UNION { resource:Q683558 property:Q528892 ?y } UNION { resource:Q10710533 property:Q528892 ?z } UNION { resource:Q10710533 property:Q528892 ?y } UNION { resource:Q159227 property:Q528892 ?z } UNION { resource:Q159227 property:Q528892 ?y } UNION { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q18104831 property:Q528892 ?z } UNION { resource:Q18104831 property:Q528892 ?y } UNION { resource:Q18327876 property:Q528892 ?z } UNION { resource:Q18327876 property:Q528892 ?y } UNION { resource:Q12026299 property:Q528892 ?z } UNION { resource:Q12026299 property:Q528892 ?y } UNION { resource:Q15830239 property:Q528892 ?z } UNION { resource:Q15830239 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q3412758 }
['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['Leopold Heyrovský', 'occupation', {'concept': 'profession'}] ['Leopold Heyrovský', 'occupation', {'concept': 'qualification'}] ['Otakar Hostinský', 'occupation', {'concept': 'profession'}] ['Otakar Hostinský', 'occupation', {'concept': 'qualification'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'profession'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'qualification'}] ['Adolf Wenig', 'occupation', {'concept': 'profession'}] ['Adolf Wenig', 'occupation', {'concept': 'qualification'}] ['Karel Kramář', 'occupation', {'concept': 'profession'}] ['Karel Kramář', 'occupation', {'concept': 'qualification'}] ['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['František Levý', 'occupation', {'concept': 'profession'}] ['František Levý', 'occupation', {'concept': 'qualification'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'profession'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'qualification'}] ['Josef Kuchař', 'occupation', {'concept': 'profession'}] ['Josef Kuchař', 'occupation', {'concept': 'qualification'}] ['Josef Kummer', 'occupation', {'concept': 'profession'}] ['Josef Kummer', 'occupation', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:Leopold_Heyrovský property:occupation ?z } UNION { resource:Leopold_Heyrovský property:occupation ?y } UNION { resource:Otakar_Hostinský property:occupation ?z } UNION { resource:Otakar_Hostinský property:occupation ?y } UNION { resource:Ivan_Horbachevsky property:occupation ?z } UNION { resource:Ivan_Horbachevsky property:occupation ?y } UNION { resource:Adolf_Wenig property:occupation ?z } UNION { resource:Adolf_Wenig property:occupation ?y } UNION { resource:Karel_Kramář property:occupation ?z } UNION { resource:Karel_Kramář property:occupation ?y } UNION { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:František_Levý property:occupation ?z } UNION { resource:František_Levý property:occupation ?y } UNION { resource:Leopold_M._Zeithammer property:occupation ?z } UNION { resource:Leopold_M._Zeithammer property:occupation ?y } UNION { resource:Josef_Kuchař property:occupation ?z } UNION { resource:Josef_Kuchař property:occupation ?y } UNION { resource:Josef_Kummer property:occupation ?z } UNION { resource:Josef_Kummer property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:qualification }
[]
profession qualification
Quantitative|Count|Mult. entity type|Clarification
Q327322
SYSTEM
Did you mean Otakar Hostinský ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q12032980 property:Q528892 ?z } UNION { resource:Q12032980 property:Q528892 ?y } UNION { resource:Q327322 property:Q528892 ?z } UNION { resource:Q327322 property:Q528892 ?y } UNION { resource:Q683558 property:Q528892 ?z } UNION { resource:Q683558 property:Q528892 ?y } UNION { resource:Q10710533 property:Q528892 ?z } UNION { resource:Q10710533 property:Q528892 ?y } UNION { resource:Q159227 property:Q528892 ?z } UNION { resource:Q159227 property:Q528892 ?y } UNION { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q18104831 property:Q528892 ?z } UNION { resource:Q18104831 property:Q528892 ?y } UNION { resource:Q18327876 property:Q528892 ?z } UNION { resource:Q18327876 property:Q528892 ?y } UNION { resource:Q12026299 property:Q528892 ?z } UNION { resource:Q12026299 property:Q528892 ?y } UNION { resource:Q15830239 property:Q528892 ?z } UNION { resource:Q15830239 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q3412758 }
Did you mean Otakar Hostinský ?
Otakar Hostinský
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:Leopold_Heyrovský property:occupation ?z } UNION { resource:Leopold_Heyrovský property:occupation ?y } UNION { resource:Otakar_Hostinský property:occupation ?z } UNION { resource:Otakar_Hostinský property:occupation ?y } UNION { resource:Ivan_Horbachevsky property:occupation ?z } UNION { resource:Ivan_Horbachevsky property:occupation ?y } UNION { resource:Adolf_Wenig property:occupation ?z } UNION { resource:Adolf_Wenig property:occupation ?y } UNION { resource:Karel_Kramář property:occupation ?z } UNION { resource:Karel_Kramář property:occupation ?y } UNION { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:František_Levý property:occupation ?z } UNION { resource:František_Levý property:occupation ?y } UNION { resource:Leopold_M._Zeithammer property:occupation ?z } UNION { resource:Leopold_M._Zeithammer property:occupation ?y } UNION { resource:Josef_Kuchař property:occupation ?z } UNION { resource:Josef_Kuchař property:occupation ?y } UNION { resource:Josef_Kummer property:occupation ?z } UNION { resource:Josef_Kummer property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:qualification }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Karel Laštovka. Could you tell me the answer for that?
(Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q12032980,P106,c(Q28640)) (Q12032980,P106,c(Q3412758)) (Q327322,P106,c(Q28640)) (Q327322,P106,c(Q3412758)) (Q683558,P106,c(Q28640)) (Q683558,P106,c(Q3412758)) (Q10710533,P106,c(Q28640)) (Q10710533,P106,c(Q3412758)) (Q159227,P106,c(Q28640)) (Q159227,P106,c(Q3412758)) (Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q18104831,P106,c(Q28640)) (Q18104831,P106,c(Q3412758)) (Q18327876,P106,c(Q28640)) (Q18327876,P106,c(Q3412758)) (Q4249797,P106,c(Q28640)) (Q4249797,P106,c(Q3412758)) (Q15830239,P106,c(Q28640)) (Q15830239,P106,c(Q3412758))
Q12768913
['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q12032980', 'P106', {'concept': 'Q28640'}] ['Q12032980', 'P106', {'concept': 'Q3412758'}] ['Q327322', 'P106', {'concept': 'Q28640'}] ['Q327322', 'P106', {'concept': 'Q3412758'}] ['Q683558', 'P106', {'concept': 'Q28640'}] ['Q683558', 'P106', {'concept': 'Q3412758'}] ['Q10710533', 'P106', {'concept': 'Q28640'}] ['Q10710533', 'P106', {'concept': 'Q3412758'}] ['Q159227', 'P106', {'concept': 'Q28640'}] ['Q159227', 'P106', {'concept': 'Q3412758'}] ['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q18104831', 'P106', {'concept': 'Q28640'}] ['Q18104831', 'P106', {'concept': 'Q3412758'}] ['Q18327876', 'P106', {'concept': 'Q28640'}] ['Q18327876', 'P106', {'concept': 'Q3412758'}] ['Q4249797', 'P106', {'concept': 'Q28640'}] ['Q4249797', 'P106', {'concept': 'Q3412758'}] ['Q15830239', 'P106', {'concept': 'Q28640'}] ['Q15830239', 'P106', {'concept': 'Q3412758'}]
['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['Leopold Heyrovský', 'occupation', {'concept': 'profession'}] ['Leopold Heyrovský', 'occupation', {'concept': 'qualification'}] ['Otakar Hostinský', 'occupation', {'concept': 'profession'}] ['Otakar Hostinský', 'occupation', {'concept': 'qualification'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'profession'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'qualification'}] ['Adolf Wenig', 'occupation', {'concept': 'profession'}] ['Adolf Wenig', 'occupation', {'concept': 'qualification'}] ['Karel Kramář', 'occupation', {'concept': 'profession'}] ['Karel Kramář', 'occupation', {'concept': 'qualification'}] ['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['František Levý', 'occupation', {'concept': 'profession'}] ['František Levý', 'occupation', {'concept': 'qualification'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'profession'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'qualification'}] ['Josef Kuchař', 'occupation', {'concept': 'profession'}] ['Josef Kuchař', 'occupation', {'concept': 'qualification'}] ['Josef Kummer', 'occupation', {'concept': 'profession'}] ['Josef Kummer', 'occupation', {'concept': 'qualification'}]
[]
SYSTEM
1 professions and 1 qualifications
Q185351 Q121594
(Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q12032980,P106,c(Q28640)) (Q12032980,P106,c(Q3412758)) (Q327322,P106,c(Q28640)) (Q327322,P106,c(Q3412758)) (Q683558,P106,c(Q28640)) (Q683558,P106,c(Q3412758)) (Q10710533,P106,c(Q28640)) (Q10710533,P106,c(Q3412758)) (Q159227,P106,c(Q28640)) (Q159227,P106,c(Q3412758)) (Q12768913,P106,c(Q28640)) (Q12768913,P106,c(Q3412758)) (Q18104831,P106,c(Q28640)) (Q18104831,P106,c(Q3412758)) (Q18327876,P106,c(Q28640)) (Q18327876,P106,c(Q3412758)) (Q4249797,P106,c(Q28640)) (Q4249797,P106,c(Q3412758)) (Q15830239,P106,c(Q28640)) (Q15830239,P106,c(Q3412758))
[ANSWER]
['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q12032980', 'P106', {'concept': 'Q28640'}] ['Q12032980', 'P106', {'concept': 'Q3412758'}] ['Q327322', 'P106', {'concept': 'Q28640'}] ['Q327322', 'P106', {'concept': 'Q3412758'}] ['Q683558', 'P106', {'concept': 'Q28640'}] ['Q683558', 'P106', {'concept': 'Q3412758'}] ['Q10710533', 'P106', {'concept': 'Q28640'}] ['Q10710533', 'P106', {'concept': 'Q3412758'}] ['Q159227', 'P106', {'concept': 'Q28640'}] ['Q159227', 'P106', {'concept': 'Q3412758'}] ['Q12768913', 'P106', {'concept': 'Q28640'}] ['Q12768913', 'P106', {'concept': 'Q3412758'}] ['Q18104831', 'P106', {'concept': 'Q28640'}] ['Q18104831', 'P106', {'concept': 'Q3412758'}] ['Q18327876', 'P106', {'concept': 'Q28640'}] ['Q18327876', 'P106', {'concept': 'Q3412758'}] ['Q4249797', 'P106', {'concept': 'Q28640'}] ['Q4249797', 'P106', {'concept': 'Q3412758'}] ['Q15830239', 'P106', {'concept': 'Q28640'}] ['Q15830239', 'P106', {'concept': 'Q3412758'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q12032980 property:Q528892 ?z } UNION { resource:Q12032980 property:Q528892 ?y } UNION { resource:Q327322 property:Q528892 ?z } UNION { resource:Q327322 property:Q528892 ?y } UNION { resource:Q683558 property:Q528892 ?z } UNION { resource:Q683558 property:Q528892 ?y } UNION { resource:Q10710533 property:Q528892 ?z } UNION { resource:Q10710533 property:Q528892 ?y } UNION { resource:Q159227 property:Q528892 ?z } UNION { resource:Q159227 property:Q528892 ?y } UNION { resource:Q12768913 property:Q528892 ?z } UNION { resource:Q12768913 property:Q528892 ?y } UNION { resource:Q18104831 property:Q528892 ?z } UNION { resource:Q18104831 property:Q528892 ?y } UNION { resource:Q18327876 property:Q528892 ?z } UNION { resource:Q18327876 property:Q528892 ?y } UNION { resource:Q12026299 property:Q528892 ?z } UNION { resource:Q12026299 property:Q528892 ?y } UNION { resource:Q15830239 property:Q528892 ?z } UNION { resource:Q15830239 property:Q528892 ?y } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q3412758 }
jurist professor
1 professions and 1 qualifications
['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['Leopold Heyrovský', 'occupation', {'concept': 'profession'}] ['Leopold Heyrovský', 'occupation', {'concept': 'qualification'}] ['Otakar Hostinský', 'occupation', {'concept': 'profession'}] ['Otakar Hostinský', 'occupation', {'concept': 'qualification'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'profession'}] ['Ivan Horbachevsky', 'occupation', {'concept': 'qualification'}] ['Adolf Wenig', 'occupation', {'concept': 'profession'}] ['Adolf Wenig', 'occupation', {'concept': 'qualification'}] ['Karel Kramář', 'occupation', {'concept': 'profession'}] ['Karel Kramář', 'occupation', {'concept': 'qualification'}] ['Karel Laštovka', 'occupation', {'concept': 'profession'}] ['Karel Laštovka', 'occupation', {'concept': 'qualification'}] ['František Levý', 'occupation', {'concept': 'profession'}] ['František Levý', 'occupation', {'concept': 'qualification'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'profession'}] ['Leopold M. Zeithammer', 'occupation', {'concept': 'qualification'}] ['Josef Kuchař', 'occupation', {'concept': 'profession'}] ['Josef Kuchař', 'occupation', {'concept': 'qualification'}] ['Josef Kummer', 'occupation', {'concept': 'profession'}] ['Josef Kummer', 'occupation', {'concept': 'qualification'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:Leopold_Heyrovský property:occupation ?z } UNION { resource:Leopold_Heyrovský property:occupation ?y } UNION { resource:Otakar_Hostinský property:occupation ?z } UNION { resource:Otakar_Hostinský property:occupation ?y } UNION { resource:Ivan_Horbachevsky property:occupation ?z } UNION { resource:Ivan_Horbachevsky property:occupation ?y } UNION { resource:Adolf_Wenig property:occupation ?z } UNION { resource:Adolf_Wenig property:occupation ?y } UNION { resource:Karel_Kramář property:occupation ?z } UNION { resource:Karel_Kramář property:occupation ?y } UNION { resource:Karel_Laštovka property:occupation ?z } UNION { resource:Karel_Laštovka property:occupation ?y } UNION { resource:František_Levý property:occupation ?z } UNION { resource:František_Levý property:occupation ?y } UNION { resource:Leopold_M._Zeithammer property:occupation ?z } UNION { resource:Leopold_M._Zeithammer property:occupation ?y } UNION { resource:Josef_Kuchař property:occupation ?z } UNION { resource:Josef_Kuchař property:occupation ?y } UNION { resource:Josef_Kummer property:occupation ?z } UNION { resource:Josef_Kummer property:occupation ?y } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:qualification }
[]