Simple Question (Direct)
Simple Question
Q10548626
P106
Q12737077
USER
What does Roman Jůn do for a living ?
(Q10548626,P106,c(Q12737077))
action filter_type
action find
entity Q10548626
relation P106
type Q12737077
['Q10548626', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q10548626 property:P106 ?c }
Roman Jůn
action filter_type
action find
entity Roman Jůn
relation occupation
type occupation
['Roman Jůn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Roman_Jůn property:occupation ?c }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10548626,P106,c(Q12737077))
action filter_type
action find
entity Q10548626
relation P106
type Q12737077
Roman Jůn does an [ANSWER] for a living
['Q10548626', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q10548626 property:P106 ?c }
association football player
Roman Jůn does an association football player for a living
association football player
action filter_type
action find
entity Roman Jůn
relation occupation
type occupation
['Roman Jůn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Roman_Jůn property:occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10548626
P19
Q7275
USER
Which state is the birthplace of that person ?
(Q937857,P19,c(Q7275))
action filter_type
action find
entity Q10548626
relation P19
type Q7275
['Q937857', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q10548626 property:P19 ?a . ?a rdf:type ontology:Q7275 }
Roman Jůn
action filter_type
action find
entity Roman Jůn
relation place of birth
type state
['association football player', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Jůn property:place_of_birth ?a . ?a rdf:type ontology:state }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q937857,P19,c(Q7275))
action filter_type
action find
entity Q10548626
relation P19
type Q7275
The [ANSWER] is the birthplace of that person
['Q937857', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q10548626 property:P19 ?a . ?a rdf:type ontology:Q7275 }
Czechoslovakia
The Czechoslovakia is the birthplace of that person
Czechoslovakia
action filter_type
action find
entity Roman Jůn
relation place of birth
type state
['association football player', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Jůn property:place_of_birth ?a . ?a rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P750
Q838948
USER
Which work of art has that state as its distributor ?
(c(Q838948),P750,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q33946']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P750 resource:Q33946 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Czechoslovakia']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:distributor resource:Czechoslovakia }
[]
work of art
Q3403311
SYSTEM
Prince Bayaya
Q3403311
(c(Q838948),P750,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P750
type Q838948
[ANSWER] has that state as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q33946']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P750 resource:Q33946 }
Prince Bayaya
Prince Bayaya has that state as its distributor
Prince Bayaya
action filter_type
action find_reverse
entity Czechoslovakia
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Czechoslovakia']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:distributor resource:Czechoslovakia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q201038
P194
Q11204 Q1752346 Q7275
USER
Which states have around the same number of legislatures or assemblies as their legislative body as Roman Kingdom ?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q201038
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q201038 property:P194 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q1752346 } } } } . FILTER ( ?o = ?h ) }
Roman Kingdom
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Roman Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Roman_Kingdom property:legislative_body ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:assembly } } } } . FILTER ( ?o = ?h ) }
[]
legislature assembly state
Q16957 Q49683 Q1277557
SYSTEM
East Germany, Grand Duchy of Lithuania, Democratic Federal Yugoslavia
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q201038
relation P194
type Q11204
type Q1752346
[ANSWERS] have around the same number of legislatures or assemblies as their legislative body as Roman Kingdom
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q201038 property:P194 ?j . { { ?j rdf:type ontology:Q11204 } UNION { ?j rdf:type ontology:Q1752346 } } } } . FILTER ( ?o = ?h ) }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
East Germany, Grand Duchy of Lithuania and Democratic Federal Yugoslavia have around the same number of legislatures or assemblies as their legislative body as Roman Kingdom
East Germany Grand Duchy of Lithuania Democratic Federal Yugoslavia
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Roman Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Roman_Kingdom property:legislative_body ?j . { { ?j rdf:type ontology:legislature } UNION { ?j rdf:type ontology:assembly } } } } . FILTER ( ?o = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q386496
P194
Q11204 Q1752346 Q7275
USER
And what about Kingdom of Montenegro?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q386496
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?s WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:Q11204 } UNION { ?b rdf:type ontology:Q1752346 } } . resource:Q386496 property:P194 ?b } } . FILTER ( ?x = ?t ) }
Kingdom of Montenegro
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Kingdom of Montenegro
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?s WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:legislature ) ( ontology:assembly ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:legislature } UNION { ?b rdf:type ontology:assembly } } . resource:Kingdom_of_Montenegro property:legislative_body ?b } } . FILTER ( ?x = ?t ) }
[]
legislature assembly state
Q980 Q518101 Q26273
SYSTEM
Bavaria, First Republic of Austria, Sint Maarten
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q386496
relation P194
type Q11204
type Q1752346
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?s WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:Q11204 } UNION { ?b rdf:type ontology:Q1752346 } } . resource:Q386496 property:P194 ?b } } . FILTER ( ?x = ?t ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
Bavaria First Republic of Austria Sint Maarten
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Kingdom of Montenegro
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?s WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:legislature ) ( ontology:assembly ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:legislature } UNION { ?b rdf:type ontology:assembly } } . resource:Kingdom_of_Montenegro property:legislative_body ?b } } . FILTER ( ?x = ?t ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1001
Q40231 Q14660
USER
How many elections and flags preside the jurisdiction over that state ?
(c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273) (c(Q40231),P1001,Q980) (c(Q14660),P1001,Q980) (c(Q40231),P1001,Q518101) (c(Q14660),P1001,Q518101) (c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273)
[{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273'] [{'concept': 'Q40231'}, 'P1001', 'Q980'] [{'concept': 'Q14660'}, 'P1001', 'Q980'] [{'concept': 'Q40231'}, 'P1001', 'Q518101'] [{'concept': 'Q14660'}, 'P1001', 'Q518101'] [{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } UNION { ?z property:P1001 resource:Q4873638 } UNION { ?y property:P1001 resource:Q4873638 } UNION { ?z property:P1001 resource:Q518101 } UNION { ?y property:P1001 resource:Q518101 } UNION { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } } . ?z rdf:type ontology:Q40231 . ?y rdf:type ontology:Q14660 }
[{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'election'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'election'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?z property:applies_to_jurisdiction resource:Bavaria } UNION { ?y property:applies_to_jurisdiction resource:Bavaria } UNION { ?z property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?y property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } } . ?z rdf:type ontology:election . ?y rdf:type ontology:flag }
[]
election flag
Quantitative|Count|Mult. entity type|Clarification
Q26273
SYSTEM
Did you mean Sint Maarten ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } UNION { ?z property:P1001 resource:Q4873638 } UNION { ?y property:P1001 resource:Q4873638 } UNION { ?z property:P1001 resource:Q518101 } UNION { ?y property:P1001 resource:Q518101 } UNION { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } } . ?z rdf:type ontology:Q40231 . ?y rdf:type ontology:Q14660 }
Did you mean Sint Maarten ?
Sint Maarten
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?z property:applies_to_jurisdiction resource:Bavaria } UNION { ?y property:applies_to_jurisdiction resource:Bavaria } UNION { ?z property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?y property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } } . ?z rdf:type ontology:election . ?y rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273) (c(Q40231),P1001,Q980) (c(Q14660),P1001,Q980) (c(Q40231),P1001,Q518101) (c(Q14660),P1001,Q518101) (c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273)
[{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273'] [{'concept': 'Q40231'}, 'P1001', 'Q980'] [{'concept': 'Q14660'}, 'P1001', 'Q980'] [{'concept': 'Q40231'}, 'P1001', 'Q518101'] [{'concept': 'Q14660'}, 'P1001', 'Q518101'] [{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273']
[{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'election'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'election'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten']
[]
SYSTEM
1 elections and 1 flags
Q25534775 Q604735
(c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273) (c(Q40231),P1001,Q980) (c(Q14660),P1001,Q980) (c(Q40231),P1001,Q518101) (c(Q14660),P1001,Q518101) (c(Q40231),P1001,Q26273) (c(Q14660),P1001,Q26273)
[ANSWER]
[{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273'] [{'concept': 'Q40231'}, 'P1001', 'Q980'] [{'concept': 'Q14660'}, 'P1001', 'Q980'] [{'concept': 'Q40231'}, 'P1001', 'Q518101'] [{'concept': 'Q14660'}, 'P1001', 'Q518101'] [{'concept': 'Q40231'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q26273']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } UNION { ?z property:P1001 resource:Q4873638 } UNION { ?y property:P1001 resource:Q4873638 } UNION { ?z property:P1001 resource:Q518101 } UNION { ?y property:P1001 resource:Q518101 } UNION { ?z property:P1001 resource:Q9337185 } UNION { ?y property:P1001 resource:Q9337185 } } . ?z rdf:type ontology:Q40231 . ?y rdf:type ontology:Q14660 }
Sint Maarten general election Flag of Sint Maarten
1 elections and 1 flags
[{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'election'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Bavaria'] [{'concept': 'election'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'flag'}, 'applies to jurisdiction', 'First Republic of Austria'] [{'concept': 'election'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?z property:applies_to_jurisdiction resource:Bavaria } UNION { ?y property:applies_to_jurisdiction resource:Bavaria } UNION { ?z property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?y property:applies_to_jurisdiction resource:First_Republic_of_Austria } UNION { ?z property:applies_to_jurisdiction resource:Sint_Maarten } UNION { ?y property:applies_to_jurisdiction resource:Sint_Maarten } } . ?z rdf:type ontology:election . ?y rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33946
P85
Q484692
USER
What is the national anthem of Czechoslovakia ?
(Q33946,P85,c(Q484692))
action filter_type
action find
entity Q33946
relation P85
type Q484692
['Q33946', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?t WHERE { resource:Q33946 property:P85 ?t . ?t rdf:type ontology:Q484692 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?t WHERE { resource:Czechoslovakia property:anthem ?t . ?t rdf:type ontology:hymn }
[]
hymn
Q11178664
SYSTEM
Czechoslovak anthem
Q11178664
(Q33946,P85,c(Q484692))
action filter_type
action find
entity Q33946
relation P85
type Q484692
The national anthem of Czechoslovakia is the [ANSWER]
['Q33946', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?t WHERE { resource:Q33946 property:P85 ?t . ?t rdf:type ontology:Q484692 }
Czechoslovak anthem
The national anthem of Czechoslovakia is the Czechoslovak anthem
Czechoslovak anthem
action filter_type
action find
entity Czechoslovakia
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?t WHERE { resource:Czechoslovakia property:anthem ?t . ?t rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P20
Q502895
USER
Which people have that state as place of death ?
(c(Q502895),P20,Q11178664)
action filter_type
action find_reverse
entity Q33946
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q11178664']
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q33946 . ?p rdf:type ontology:Q502895 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Czechoslovak anthem']
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Czechoslovakia . ?p rdf:type ontology:common_name }
[]
common name
Q428673 Q1336842 Q1326954
SYSTEM
Josef Silný, Emil Seifert, Rudolf Krčil
Q769378 Q7377325 Q7702341 Q6373028 Q15730014 Q1378744 Q12766850 Q13420912 Q26771914 Q12022262 Q7944098 Q6280175 Q3564883 Q4194994 Q6279951 Q3559329 Q3498869 Q364939 Q6279958 Q6756053 Q2696138 Q615318 Q1336842 Q1336868 Q5492599 Q6469739 Q3504047 Q27037195 Q970400 Q608814 Q1326954 Q608736 Q5650154 Q1383609 Q3564955 Q8079719 Q923549 Q428673 Q3507793 Q3496368 Q592188
(c(Q502895),P20,Q11178664)
action filter_type
action find_reverse
entity Q33946
relation P20
type Q502895
[ANSWERS] have that state as place of death
[{'concept': 'Q502895'}, 'P20', 'Q11178664']
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q33946 . ?p rdf:type ontology:Q502895 }
Suzanne Marwille Rudolf Sloup-Štapl Terezie Brzková Karol Dobay František Pavlok Josef Košťálek Heřman Landsfeld Jozef Kološ Hermann Heinzel Jakub Antonín Zemek Václav Bouška Josef Sloup-Štaplík Ferenc Futurista Vladimir Zjablikov Josef Kratochvíl Viliam König Václav Wasserman Adolf Šimperský Josef Kuchynka Marcel Bloch Pavel Kouba Josef Čtyřoký Emil Seifert František Svoboda František Smolík Ladislav Žák Saša Rašilov Karl Otto Stegmann Ladislav Ženíšek Antonín Vodička Rudolf Krčil Antonín Rýgr Hans Hirning Jaroslav Burgr Eman Fiala Čeněk Šlégl Lev Skrbenský z Hříště Josef Silný Karel Höger Antonín Hojer Josef Friedrich
Josef Silný, Emil Seifert and Rudolf Krčil have that state as place of death
Josef Silný Emil Seifert Rudolf Krčil
action filter_type
action find_reverse
entity Czechoslovakia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Czechoslovak anthem']
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Czechoslovakia . ?p rdf:type ontology:common_name }
[]