Simple Question (Direct)
Simple Question
Q550755
P106
Q12737077
USER
What are the professions of Guy Clarkson ?
(Q550755,P106,c(Q12737077))
action filter_type
action find
entity Q550755
relation P106
type Q12737077
['Q550755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q550755 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Guy Clarkson
action filter_type
action find
entity Guy Clarkson
relation occupation
type occupation
['Guy Clarkson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Guy_Clarkson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q11774891 Q13382603
SYSTEM
ice hockey player, ski jumper
Q11774891 Q13382603
(Q550755,P106,c(Q12737077))
action filter_type
action find
entity Q550755
relation P106
type Q12737077
The professions of Guy Clarkson are the [ANSWERS]
['Q550755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q550755 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
ice hockey player ski jumper
The professions of Guy Clarkson are the ice hockey player and ski jumper
ice hockey player ski jumper
action filter_type
action find
entity Guy Clarkson
relation occupation
type occupation
['Guy Clarkson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Guy_Clarkson property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q550755
P1344
Q15900616
USER
Which event sequence did Guy Clarkson compete in ?
(Q550755,P1344,c(Q15900616))
action filter_type
action find
entity Q550755
relation P1344
type Q15900616
['Q550755', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?x WHERE { resource:Q550755 property:P1344 ?x . ?x rdf:type ontology:Q15900616 }
Guy Clarkson
action filter_type
action find
entity Guy Clarkson
relation participant of
type event sequence
['Guy Clarkson', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?x WHERE { resource:Guy_Clarkson property:participant_of ?x . ?x rdf:type ontology:event_sequence }
[]
event sequence
Q9583
SYSTEM
1924 Winter Olympics
Q9583
(Q550755,P1344,c(Q15900616))
action filter_type
action find
entity Q550755
relation P1344
type Q15900616
Guy Clarkson competed in [ANSWER]
['Q550755', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?x WHERE { resource:Q550755 property:P1344 ?x . ?x rdf:type ontology:Q15900616 }
1924 Winter Olympics
Guy Clarkson competed in 1924 Winter Olympics
1924 Winter Olympics
action filter_type
action find
entity Guy Clarkson
relation participant of
type event sequence
['Guy Clarkson', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?x WHERE { resource:Guy_Clarkson property:participant_of ?x . ?x rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of atleast 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P417 ?v . ?v rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?h >= 5 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:patron_saint ?v . ?v rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?h >= 5 ) }
[]
common name occupation
Q43982 Q179718
SYSTEM
Bartholomew the Apostle, Catherine of Alexandria
Q43982 Q179718
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWERS] are the patron saint of atleast 5 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P417 ?v . ?v rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?h >= 5 ) }
Bartholomew the Apostle Catherine of Alexandria
Bartholomew the Apostle and Catherine of Alexandria are the patron saint of atleast 5 occupations
Bartholomew the Apostle Catherine of Alexandria
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:patron_saint ?v . ?v rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?h >= 5 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q376924
P180
Q12737077 Q3516658 Q11060274
USER
How many occupations are depicted in lesser number of heraldic symbols and prints than courtesan ?
(c(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q376924
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P180 ?q . ?o rdf:type ontology:Q3516658 . ?q rdf:type ontology:Q12737077 } UNION { ?o property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P180 resource:Q376924 . { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?g < ?u ) }
courtesan
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity courtesan
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:depicts ?q . ?o rdf:type ontology:heraldic_symbol . ?q rdf:type ontology:occupation } UNION { ?o property:depicts ?q . ?q rdf:type ontology:occupation . ?o rdf:type ontology:print } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:depicts resource:courtesan . { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:print ) } } } } . FILTER ( ?g < ?u ) }
[]
occupation heraldic symbol print
SYSTEM
217
Q19754019 Q11957145 Q1934482 Q19937286 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 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 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 Q12097 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q376924
relation P180
type Q3516658
type Q11060274
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P180 ?q . ?o rdf:type ontology:Q3516658 . ?q rdf:type ontology:Q12737077 } UNION { ?o property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P180 resource:Q376924 . { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?g < ?u ) }
fiddler acrobat milkmaid worker 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 model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer 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 king 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 woodcutter lacemaker Snake charming carpenter officer fisherman 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
217
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity courtesan
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:depicts ?q . ?o rdf:type ontology:heraldic_symbol . ?q rdf:type ontology:occupation } UNION { ?o property:depicts ?q . ?q rdf:type ontology:occupation . ?o rdf:type ontology:print } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:depicts resource:courtesan . { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:print ) } } } } . FILTER ( ?g < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q838811
P180
Q12737077 Q3516658 Q11060274
USER
And what about peasant?
(c(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q838811
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?m ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?v rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P180 resource:Q838811 . { { ?g rdf:type ontology:Q3516658 } UNION { ?g rdf:type ontology:Q11060274 } } } } . FILTER ( ?t < ?b ) }
peasant
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity peasant
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?m ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?v rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:depicts resource:peasant . { { ?g rdf:type ontology:heraldic_symbol } UNION { ?g rdf:type ontology:print } } } } . FILTER ( ?t < ?b ) }
[]
occupation heraldic symbol print
SYSTEM
217
Q19754019 Q11957145 Q1934482 Q19937286 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 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 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 Q12097 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q838811
relation P180
type Q3516658
type Q11060274
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?m ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?v rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P180 resource:Q838811 . { { ?g rdf:type ontology:Q3516658 } UNION { ?g rdf:type ontology:Q11060274 } } } } . FILTER ( ?t < ?b ) }
fiddler acrobat milkmaid worker 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 model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer 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 king 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 woodcutter lacemaker Snake charming carpenter officer fisherman 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
217
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity peasant
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?m ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?v rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:depicts resource:peasant . { { ?g rdf:type ontology:heraldic_symbol } UNION { ?g rdf:type ontology:print } } } } . FILTER ( ?t < ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?v ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?w = ?v ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?v ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?w = ?v ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?v ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?w = ?v ) }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?v ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?w = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9583
P361
Q16510064
USER
Which sporting events are parts of 1924 Winter Olympics ?
(c(Q16510064),P361,Q9583)
action filter_type
action find_reverse
entity Q9583
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9583']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q9583 . ?a rdf:type ontology:Q16510064 }
1924 Winter Olympics
action filter_type
action find_reverse
entity 1924 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1924 Winter Olympics']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:1924_Winter_Olympics . ?a rdf:type ontology:sporting_event }
[]
sporting event
Q610991 Q753636 Q1069581
SYSTEM
Speed skating at the 1924 Winter Olympics, Figure skating at the 1924 Winter Olympics, Speed skating at the 1924 Winter Olympics – Men's 5000 metres
Q1069581 Q1184702 Q978989 Q849604 Q1005180 Q753636 Q1005002 Q543513 Q1184718 Q837803 Q610991 Q671403 Q1005823 Q1184712 Q1004906 Q594127 Q1701760 Q247244 Q753837 Q910198
(c(Q16510064),P361,Q9583)
action filter_type
action find_reverse
entity Q9583
relation P361
type Q16510064
[ANSWERS] are parts of 1924 Winter Olympics
[{'concept': 'Q16510064'}, 'P361', 'Q9583']
SELECT DISTINCT ?a WHERE { ?a property:P361 resource:Q9583 . ?a rdf:type ontology:Q16510064 }
Speed skating at the 1924 Winter Olympics – Men's 5000 metres Figure skating at the 1924 Winter Olympics – Ladies' singles Speed skating at the 1924 Winter Olympics – Men's 1500 metres Ski jumping at the 1924 Winter Olympics Speed skating at the 1924 Winter Olympics – Men's 500 metres Figure skating at the 1924 Winter Olympics Cross-country skiing at the 1924 Winter Olympics – Men's 18 km Military patrol at the 1924 Winter Olympics Figure skating at the 1924 Winter Olympics – Pairs Curling at the 1924 Winter Olympics Speed skating at the 1924 Winter Olympics Bobsleigh at the 1924 Winter Olympics Speed skating at the 1924 Winter Olympics – Men's all-round Figure skating at the 1924 Winter Olympics – Men's singles Speed skating at the 1924 Winter Olympics – Men's 10000 metres Cross-country skiing at the 1924 Winter Olympics Nordic skiing at the 1924 Winter Olympics Cross-country skiing at the 1924 Winter Olympics – Men's 50 km Ice hockey at the 1924 Winter Olympics Nordic combined at the 1924 Winter Olympics
Speed skating at the 1924 Winter Olympics, Figure skating at the 1924 Winter Olympics and Speed skating at the 1924 Winter Olympics – Men's 5000 metres are parts of 1924 Winter Olympics
Speed skating at the 1924 Winter Olympics Figure skating at the 1924 Winter Olympics Speed skating at the 1924 Winter Olympics – Men's 5000 metres
action filter_type
action find_reverse
entity 1924 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1924 Winter Olympics']
SELECT DISTINCT ?a WHERE { ?a property:part_of resource:1924_Winter_Olympics . ?a rdf:type ontology:sporting_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q610991
P17
Q15617994
USER
Which administrative territory does that sporting event belong to ?
(Q610991,P17,c(Q15617994))
action filter_type
action find
entity Q610991
relation P17
type Q15617994
['Q610991', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q610991 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Speed skating at the 1924 Winter Olympics
action filter_type
action find
entity Speed skating at the 1924 Winter Olympics
relation country
type designation for an administrative territorial entity
['Speed skating at the 1924 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Speed_skating_at_the_1924_Winter_Olympics property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q610991
SYSTEM
Did you mean Speed skating at the 1924 Winter Olympics ?
Q610991 Q753636 Q1069581
(Q610991,P17,c(Q15617994)) (Q753636,P17,c(Q15617994)) (Q1069581,P17,c(Q15617994))
[ANSWER]
['Q610991', 'P17', {'concept': 'Q15617994'}] ['Q753636', 'P17', {'concept': 'Q15617994'}] ['Q1069581', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q610991 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Speed skating at the 1924 Winter Olympics Figure skating at the 1924 Winter Olympics Speed skating at the 1924 Winter Olympics – Men's 5000 metres
Did you mean Speed skating at the 1924 Winter Olympics ?
Speed skating at the 1924 Winter Olympics
['Speed skating at the 1924 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Figure skating at the 1924 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Speed skating at the 1924 Winter Olympics – Men's 5000 metres", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Speed_skating_at_the_1924_Winter_Olympics property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q610991,P17,c(Q15617994))
['Q610991', 'P17', {'concept': 'Q15617994'}]
['Speed skating at the 1924 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q610991,P17,c(Q15617994))
action filter_type
action find
entity Q610991
relation P17
type Q15617994
That sporting event belongs to [ANSWER]
['Q610991', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q610991 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
France
That sporting event belongs to France
France
action filter_type
action find
entity Speed skating at the 1924 Winter Olympics
relation country
type designation for an administrative territorial entity
['Speed skating at the 1924 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Speed_skating_at_the_1924_Winter_Olympics property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]