Simple Question (Direct)
Simple Question
Q15882368
P641
Q349
USER
Which sport was Steven van Es a part of ?
(Q15882368,P641,c(Q349))
action filter_type
action find
entity Q15882368
relation P641
type Q349
['Q15882368', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q15882368 property:P641 ?d . ?d rdf:type ontology:Q349 }
Steven van Es
action filter_type
action find
entity Steven van Es
relation sport
type sport
['Steven van Es', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Steven_van_Es property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15882368,P641,c(Q349))
action filter_type
action find
entity Q15882368
relation P641
type Q349
The [ANSWER] was Steven van Es a part of
['Q15882368', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q15882368 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
The association football was Steven van Es a part of
association football
action filter_type
action find
entity Steven van Es
relation sport
type sport
['Steven van Es', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Steven_van_Es property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15882368
P19
Q56061
USER
Where was that person born ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q15882368
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q15882368 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Steven van Es
action filter_type
action find
entity Steven van Es
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Steven_van_Es property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3018561
SYSTEM
Apeldoorn
Q3018561
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q15882368
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q15882368 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Apeldoorn
That person was born in Apeldoorn
Apeldoorn
action filter_type
action find
entity Steven van Es
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Steven_van_Es property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12028366
P106
Q12737077
USER
What is the profession of Karel Lenhart ?
(Q12028366,P106,c(Q12737077))
action filter_type
action find
entity Q12028366
relation P106
type Q12737077
['Q12028366', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q12028366 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Karel Lenhart
action filter_type
action find
entity Karel Lenhart
relation occupation
type occupation
['Karel Lenhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Karel_Lenhart property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1281618
SYSTEM
sculptor
Q1281618
(Q12028366,P106,c(Q12737077))
action filter_type
action find
entity Q12028366
relation P106
type Q12737077
The profession of Karel Lenhart is a [ANSWER]
['Q12028366', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q12028366 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
sculptor
The profession of Karel Lenhart is a sculptor
sculptor
action filter_type
action find
entity Karel Lenhart
relation occupation
type occupation
['Karel Lenhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Karel_Lenhart property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q102401
Q12737077
USER
And how about Wilhelm Steckling?
(Q102401,P106,c(Q12737077))
action filter_type
action find
entity Q102401
relation P106
type Q12737077
['Q102401', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q102401 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Wilhelm Steckling
action filter_type
action find
entity Wilhelm Steckling
relation occupation
type occupation
['Wilhelm Steckling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Wilhelm_Steckling property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q219477
SYSTEM
missionary
Q219477
(Q102401,P106,c(Q12737077))
action filter_type
action find
entity Q102401
relation P106
type Q12737077
[ANSWER]
['Q102401', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q102401 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
missionary
missionary
action filter_type
action find
entity Wilhelm Steckling
relation occupation
type occupation
['Wilhelm Steckling', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Wilhelm_Steckling property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q278138
P180
Q12737077 Q11060274 Q340169
USER
Which occupations are demonstrated in more number of prints and medias than milkman ?
(c(Q11060274)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q278138
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?b property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q11060274 } } . ?g property:P180 resource:Q278138 } } . FILTER ( ?e > ?m ) }
milkman
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity milkman
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?b property:depicts ?v . ?v rdf:type ontology:occupation . ?b rdf:type ontology:media } UNION { ?b property:depicts ?v . ?v rdf:type ontology:occupation . ?b rdf:type ontology:print } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:print } } . ?g property:depicts resource:milkman } } . FILTER ( ?e > ?m ) }
[]
occupation print media
Q131512 Q186360 Q4991371
SYSTEM
farmer, nurse, soldier
Q2486919 Q177220 Q131512 Q2995983 Q45199 Q483501 Q186360 Q733786 Q4991371 Q376924 Q273108 Q589897 Q848466 Q20489032 Q1509714 Q11063 Q5716684 Q18575684 Q838811 Q2251335 Q639669 Q384593 Q1630100
(c(Q11060274)|c(Q340169),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q278138
relation P180
type Q11060274
type Q340169
[ANSWERS] are demonstrated in more number of prints and medias than milkman
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?b property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q11060274 } } . ?g property:P180 resource:Q278138 } } . FILTER ( ?e > ?m ) }
standard-bearer singer farmer double-bassist sailor artist nurse monk soldier courtesan condottiero mahout courier salt pan worker porter astronomer dancer embroiderer peasant school teacher musician police officer art model
Farmer, nurse and soldier are demonstrated in more number of prints and medias than milkman
farmer nurse soldier
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity milkman
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?v WHERE { { ?b property:depicts ?v . ?v rdf:type ontology:occupation . ?b rdf:type ontology:media } UNION { ?b property:depicts ?v . ?v rdf:type ontology:occupation . ?b rdf:type ontology:print } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:print } } . ?g property:depicts resource:milkman } } . FILTER ( ?e > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q131512
P180
Q12737077 Q17638008 Q18783400
USER
How many occupations are expressed in lesser number of game equipment or genres of sculpture than farmer ?
(c(Q17638008)|c(Q18783400),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q131512
relation P180
type Q17638008
type Q18783400
[[{'concept': 'Q17638008'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?m WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q18783400 ) ( ontology:Q17638008 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { { ?i rdf:type ontology:Q17638008 } UNION { ?i rdf:type ontology:Q18783400 } } . ?i property:P180 resource:Q131512 } } . FILTER ( ?f < ?u ) }
farmer
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity farmer
relation depicts
type game equipment
type genre of sculpture
[[{'concept': 'game equipment'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?m WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:genre_of_sculpture ) ( ontology:game_equipment ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { { ?i rdf:type ontology:game_equipment } UNION { ?i rdf:type ontology:genre_of_sculpture } } . ?i property:depicts resource:farmer } } . FILTER ( ?f < ?u ) }
[]
occupation game equipment genre of sculpture
SYSTEM
226
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 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 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q18783400),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q131512
relation P180
type Q17638008
type Q18783400
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?m WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q18783400 ) ( ontology:Q17638008 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { { ?i rdf:type ontology:Q17638008 } UNION { ?i rdf:type ontology:Q18783400 } } . ?i property:P180 resource:Q131512 } } . FILTER ( ?f < ?u ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer 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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope 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 harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
226
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity farmer
relation depicts
type game equipment
type genre of sculpture
[[{'concept': 'game equipment'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?m WHERE { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:genre_of_sculpture ) ( ontology:game_equipment ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { { ?i rdf:type ontology:game_equipment } UNION { ?i rdf:type ontology:genre_of_sculpture } } . ?i property:depicts resource:farmer } } . FILTER ( ?f < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12097
P180
Q12737077 Q17638008 Q18783400
USER
And how about king?
(c(Q17638008)|c(Q18783400),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q12097
relation P180
type Q17638008
type Q18783400
[[{'concept': 'Q17638008'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:Q17638008 ) ( ontology:Q18783400 ) } . ?b rdf:type ?q } GROUP BY ?e } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:Q17638008 } UNION { ?n rdf:type ontology:Q18783400 } } . ?n property:P180 resource:Q12097 } } }
king
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity king
relation depicts
type game equipment
type genre of sculpture
[[{'concept': 'game equipment'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:game_equipment ) ( ontology:genre_of_sculpture ) } . ?b rdf:type ?q } GROUP BY ?e } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:game_equipment } UNION { ?n rdf:type ontology:genre_of_sculpture } } . ?n property:depicts resource:king } } }
[]
occupation game equipment genre of sculpture
SYSTEM
228
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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q18783400),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q12097
relation P180
type Q17638008
type Q18783400
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:Q17638008 ) ( ontology:Q18783400 ) } . ?b rdf:type ?q } GROUP BY ?e } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:Q17638008 } UNION { ?n rdf:type ontology:Q18783400 } } . ?n property:P180 resource:Q12097 } } }
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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier 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 harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
228
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity king
relation depicts
type game equipment
type genre of sculpture
[[{'concept': 'game equipment'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?q ) { ( ontology:game_equipment ) ( ontology:genre_of_sculpture ) } . ?b rdf:type ?q } GROUP BY ?e } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { { ?n rdf:type ontology:game_equipment } UNION { ?n rdf:type ontology:genre_of_sculpture } } . ?n property:depicts resource:king } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991371
P138
Q43229
USER
Which organization comes from soldier ?
(c(Q43229),P138,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q4991371']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q4991371 . ?q rdf:type ontology:Q43229 }
soldier
action filter_type
action find_reverse
entity soldier
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'soldier']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:soldier . ?q rdf:type ontology:organization }
[]
organization
Q22340635
SYSTEM
Soldiers of Odin
Q22340635
(c(Q43229),P138,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P138
type Q43229
Is [ANSWER] comes from soldier
[{'concept': 'Q43229'}, 'P138', 'Q4991371']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q4991371 . ?q rdf:type ontology:Q43229 }
Soldiers of Odin
Is Soldiers of Odin comes from soldier
Soldiers of Odin
action filter_type
action find_reverse
entity soldier
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'soldier']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:soldier . ?q rdf:type ontology:organization }
[]