Simple Question (Direct)
Simple Question
Q310000
P106
Q12737077
USER
Which occupations have Ludvík Svoboda as his/her 's career ?
(Q310000,P106,c(Q12737077))
action filter_type
action find
entity Q310000
relation P106
type Q12737077
['Q310000', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q310000 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Ludvík Svoboda
action filter_type
action find
entity Ludvík Svoboda
relation occupation
type occupation
['Ludvík Svoboda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ludvík_Svoboda property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955 Q47064
SYSTEM
politician, military personnel
Q82955 Q47064
(Q310000,P106,c(Q12737077))
action filter_type
action find
entity Q310000
relation P106
type Q12737077
The [ANSWERS] have Ludvík Svoboda as his/her 's career
['Q310000', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q310000 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician military personnel
The politician and military personnel have Ludvík Svoboda as his/her 's career
politician military personnel
action filter_type
action find
entity Ludvík Svoboda
relation occupation
type occupation
['Ludvík Svoboda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ludvík_Svoboda property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47064
P425
Q43229
USER
Which organization is associated with the field of occupation that one ?
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q47064 property:P425 ?a . ?a rdf:type ontology:Q43229 }
military personnel
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:military_personnel property:field_of_this_occupation ?a . ?a rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q47064
SYSTEM
Did you mean military personnel ?
Q82955 Q47064
(Q82955,P425,c(Q43229)) (Q47064,P425,c(Q43229))
[ANSWER]
['Q82955', 'P425', {'concept': 'Q43229'}] ['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q47064 property:P425 ?a . ?a rdf:type ontology:Q43229 }
politician military personnel
Did you mean military personnel ?
military personnel
['politician', 'field of this occupation', {'concept': 'organization'}] ['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:military_personnel property:field_of_this_occupation ?a . ?a rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q47064,P425,c(Q43229))
['Q47064', 'P425', {'concept': 'Q43229'}]
['military personnel', 'field of this occupation', {'concept': 'organization'}]
[]
Q8473
SYSTEM
military
Q8473
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
The [ANSWER] is associated with the field of occupation that one
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q47064 property:P425 ?a . ?a rdf:type ontology:Q43229 }
military
The military is associated with the field of occupation that one
military
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:military_personnel property:field_of_this_occupation ?a . ?a rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8473 Q772547
P361
Q43229
USER
Is military a component of armed forces ?
(Q8473,P361,Q772547)
action is_in
entity Q772547
action find
entity Q8473
relation P361
['Q8473', 'P361', 'Q772547']
ASK WHERE { resource:Q8473 property:P361 resource:Q772547 }
military armed forces
action is_in
entity armed forces
action find
entity military
relation part of
['military', 'part of', 'armed forces']
ASK WHERE { resource:military property:part_of resource:armed_forces }
[]
organization
SYSTEM
YES
(Q8473,P361,Q772547)
action is_in
entity Q772547
action find
entity Q8473
relation P361
[ANSWER]
['Q8473', 'P361', 'Q772547']
ASK WHERE { resource:Q8473 property:P361 resource:Q772547 }
Yes
action is_in
entity armed forces
action find
entity military
relation part of
['military', 'part of', 'armed forces']
ASK WHERE { resource:military property:part_of resource:armed_forces }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8473
P137
Q1875621
USER
Which aircraft classes were operated by military ?
action filter_type
action find_reverse
entity Q8473
relation P137
type Q1875621
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q8473 . ?i rdf:type ontology:Q1875621 }
military
action filter_type
action find_reverse
entity military
relation operator
type aircraft class
SELECT DISTINCT ?i WHERE { ?i property:operator resource:military . ?i rdf:type ontology:aircraft_class }
[]
aircraft class
Q24238480 Q24238509 Q24269678
SYSTEM
global military aircraft fleet, global military airplane fleet, global military helicopter fleet
Q24238480 Q24238509 Q24269678
action filter_type
action find_reverse
entity Q8473
relation P137
type Q1875621
[ANSWERS] were operated by military
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q8473 . ?i rdf:type ontology:Q1875621 }
global military aircraft fleet global military airplane fleet global military helicopter fleet
Global military aircraft fleet, global military airplane fleet and global military helicopter fleet were operated by military
global military aircraft fleet global military airplane fleet global military helicopter fleet
action filter_type
action find_reverse
entity military
relation operator
type aircraft class
SELECT DISTINCT ?i WHERE { ?i property:operator resource:military . ?i rdf:type ontology:aircraft_class }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11642
P180
Q12737077 Q838948 Q1792379
USER
How many occupations are demonstrated in around the same number of works of art and art genres as pottery ?
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q11642
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?f property:P180 resource:Q11642 } } . FILTER ( ?j = ?b ) }
pottery
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity pottery
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?f property:depicts resource:pottery } } . FILTER ( ?j = ?b ) }
[]
occupation work of art art genre
SYSTEM
208
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q11642
relation P180
type Q838948
type Q1792379
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } } . ?f property:P180 resource:Q11642 } } . FILTER ( ?j = ?b ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
208
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity pottery
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:art_genre ) } } . ?f property:depicts resource:pottery } } . FILTER ( ?j = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310000
P35
Q7275
USER
Which state is headed by Ludvík Svoboda ?
(c(Q7275),P35,Q310000)
action filter_type
action find_reverse
entity Q310000
relation P35
type Q7275
[{'concept': 'Q7275'}, 'P35', 'Q310000']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7275 . ?z property:P35 resource:Q310000 }
Ludvík Svoboda
action filter_type
action find_reverse
entity Ludvík Svoboda
relation head of state
type state
[{'concept': 'state'}, 'head of state', 'Ludvík Svoboda']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:state . ?z property:head_of_state resource:Ludvík_Svoboda }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(c(Q7275),P35,Q310000)
action filter_type
action find_reverse
entity Q310000
relation P35
type Q7275
And [ANSWER] is headed by Ludvík Svoboda
[{'concept': 'Q7275'}, 'P35', 'Q310000']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q7275 . ?z property:P35 resource:Q310000 }
Czechoslovakia
And Czechoslovakia is headed by Ludvík Svoboda
Czechoslovakia
action filter_type
action find_reverse
entity Ludvík Svoboda
relation head of state
type state
[{'concept': 'state'}, 'head of state', 'Ludvík Svoboda']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:state . ?z property:head_of_state resource:Ludvík_Svoboda }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310000
P22
Q502895
USER
Which person has Ludvík Svoboda as dad ?
(c(Q502895),P22,Q310000)
action filter_type
action find_reverse
entity Q310000
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q310000']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q310000 . ?a rdf:type ontology:Q502895 }
Ludvík Svoboda
action filter_type
action find_reverse
entity Ludvík Svoboda
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ludvík Svoboda']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Ludvík_Svoboda . ?a rdf:type ontology:common_name }
[]
common name
Q10861269
SYSTEM
Zoe Svobodová-Klusáková
Q10861269
(c(Q502895),P22,Q310000)
action filter_type
action find_reverse
entity Q310000
relation P22
type Q502895
[ANSWER] has Ludvík Svoboda as dad
[{'concept': 'Q502895'}, 'P22', 'Q310000']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q310000 . ?a rdf:type ontology:Q502895 }
Zoe Svobodová-Klusáková
Zoe Svobodová-Klusáková has Ludvík Svoboda as dad
Zoe Svobodová-Klusáková
action filter_type
action find_reverse
entity Ludvík Svoboda
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ludvík Svoboda']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Ludvík_Svoboda . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310000
P166
Q618779
USER
Which awards were received by Ludvík Svoboda ?
(Q310000,P166,c(Q618779))
action filter_type
action find
entity Q310000
relation P166
type Q618779
['Q310000', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q310000 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Ludvík Svoboda
action filter_type
action find
entity Ludvík Svoboda
relation award received
type award
['Ludvík Svoboda', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Ludvík_Svoboda property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q2660844 Q185493 Q80589
SYSTEM
Order of Klement Gottwald, Order of Lenin, National Hero of Yugoslavia
Q2660844 Q185493 Q80589 Q178473 Q1956596 Q728960 Q93728
(Q310000,P166,c(Q618779))
action filter_type
action find
entity Q310000
relation P166
type Q618779
[ANSWERS] were received by Ludvík Svoboda
['Q310000', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q310000 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Order of Klement Gottwald Order of Lenin National Hero of Yugoslavia Hero of the Soviet Union Order of the Victorious February Order of the October Revolution Order of the White Lion
Order of Klement Gottwald, Order of Lenin and National Hero of Yugoslavia were received by Ludvík Svoboda
Order of Klement Gottwald Order of Lenin National Hero of Yugoslavia
action filter_type
action find
entity Ludvík Svoboda
relation award received
type award
['Ludvík Svoboda', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Ludvík_Svoboda property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q310000
Q2003221
USER
And which chivalric order?
(Q310000,P166,c(Q2003221))
action filter_type
action find
entity Q310000
relation P166
type Q2003221
['Q310000', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2003221 . resource:Q310000 property:P166 ?n }
Ludvík Svoboda
action filter_type
action find
entity Ludvík Svoboda
relation award received
type chivalric order
['Ludvík Svoboda', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:chivalric_order . resource:Ludvík_Svoboda property:award_received ?n }
[]
chivalric order
Q12177470
SYSTEM
Knight Commander of the Order of the Bath
Q12177470
(Q310000,P166,c(Q2003221))
action filter_type
action find
entity Q310000
relation P166
type Q2003221
[ANSWER]
['Q310000', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2003221 . resource:Q310000 property:P166 ?n }
Knight Commander of the Order of the Bath
Knight Commander of the Order of the Bath
action filter_type
action find
entity Ludvík Svoboda
relation award received
type chivalric order
['Ludvík Svoboda', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:chivalric_order . resource:Ludvík_Svoboda property:award_received ?n }
[]