Simple Question (Direct)
Simple Question
Q8041342
P166
Q618779
USER
What was awarded to Włodzimierz Steyer ?
(Q8041342,P166,c(Q618779))
action filter_type
action find
entity Q8041342
relation P166
type Q618779
['Q8041342', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q8041342 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Włodzimierz Steyer
action filter_type
action find
entity Włodzimierz Steyer
relation award received
type award
['Włodzimierz Steyer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Włodzimierz_Steyer property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q8041342,P166,c(Q618779))
action filter_type
action find
entity Q8041342
relation P166
type Q618779
The [ANSWER] was awarded to Włodzimierz Steyer
['Q8041342', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q8041342 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Knight of the Legion of Honour
The Knight of the Legion of Honour was awarded to Włodzimierz Steyer
Knight of the Legion of Honour
action filter_type
action find
entity Włodzimierz Steyer
relation award received
type award
['Włodzimierz Steyer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Włodzimierz_Steyer property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8041342
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q10855271,P19,c(Q56061))
action filter_type
action find
entity Q8041342
relation P19
type Q56061
['Q10855271', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q8041342 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Włodzimierz Steyer
action filter_type
action find
entity Włodzimierz Steyer
relation place of birth
type administrative territorial entity
['Knight of the Legion of Honour', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Włodzimierz_Steyer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q10855271,P19,c(Q56061))
action filter_type
action find
entity Q8041342
relation P19
type Q56061
That person was born in [ANSWER]
['Q10855271', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q8041342 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Montreal
That person was born in Montreal
Montreal
action filter_type
action find
entity Włodzimierz Steyer
relation place of birth
type administrative territorial entity
['Knight of the Legion of Honour', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Włodzimierz_Steyer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340
P27
Q502895
USER
Which person is a civilian of that administrative territory ?
(c(Q502895),P27,Q340)
action filter_type
action find_reverse
entity Q340
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q340']
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q340 . ?e rdf:type ontology:Q502895 }
Montreal
action filter_type
action find_reverse
entity Montreal
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Montreal']
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Montreal . ?e rdf:type ontology:common_name }
[]
common name
Q5072625
SYSTEM
Chantal Rouleau
Q5072625
(c(Q502895),P27,Q340)
action filter_type
action find_reverse
entity Q340
relation P27
type Q502895
[ANSWER] is a civilian of that administrative territory
[{'concept': 'Q502895'}, 'P27', 'Q340']
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q340 . ?e rdf:type ontology:Q502895 }
Chantal Rouleau
Chantal Rouleau is a civilian of that administrative territory
Chantal Rouleau
action filter_type
action find_reverse
entity Montreal
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Montreal']
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Montreal . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5072625
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q5072625,P106,c(Q12737077))
action filter_type
action find
entity Q5072625
relation P106
type Q12737077
['Q5072625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5072625 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Chantal Rouleau
action filter_type
action find
entity Chantal Rouleau
relation occupation
type occupation
['Chantal Rouleau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Chantal_Rouleau property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5072625,P106,c(Q12737077))
action filter_type
action find
entity Q5072625
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q5072625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5072625 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Chantal Rouleau
relation occupation
type occupation
['Chantal Rouleau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Chantal_Rouleau property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q386724
USER
Which occupations are expressed in min number of prints or works ?
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?l = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:print ) ( ontology:work ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?l = ?w ) }
[]
occupation print work
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
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 Q1250916 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 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 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 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[ANSWERS] are expressed in min number of prints or works
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?l = ?w ) }
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 warrior 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 tailor cardinal housekeeper theologian monarch pastor 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 artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Nurse, tailor and librarian are expressed in min number of prints or works
nurse tailor librarian
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?j ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?n } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:print ) ( ontology:work ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?l = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q2342494
USER
Which occupations are expressed in max number of prints or collectables ?
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?c WHERE { VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } . ?b rdf:type ?j } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?e WHERE { { ?g property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P180 ?e . ?g rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q12737077 } } GROUP BY ?e } . FILTER ( ?z = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?c WHERE { VALUES ( ?j ) { ( ontology:print ) ( ontology:collectable ) } . ?b rdf:type ?j } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?e WHERE { { ?g property:depicts ?e . ?e rdf:type ontology:occupation . ?g rdf:type ontology:collectable } UNION { ?g property:depicts ?e . ?g rdf:type ontology:print . ?e rdf:type ontology:occupation } } GROUP BY ?e } . FILTER ( ?z = ?y ) }
[]
occupation print collectable
Q483501
SYSTEM
artist
Q483501
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
The [ANSWER] is expressed in max number of prints or collectables
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?c WHERE { VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } . ?b rdf:type ?j } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?e WHERE { { ?g property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P180 ?e . ?g rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q12737077 } } GROUP BY ?e } . FILTER ( ?z = ?y ) }
artist
The artist is expressed in max number of prints or collectables
artist
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?c WHERE { VALUES ( ?j ) { ( ontology:print ) ( ontology:collectable ) } . ?b rdf:type ?j } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) ?e WHERE { { ?g property:depicts ?e . ?e rdf:type ontology:occupation . ?g rdf:type ontology:collectable } UNION { ?g property:depicts ?e . ?g rdf:type ontology:print . ?e rdf:type ontology:occupation } } GROUP BY ?e } . FILTER ( ?z = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q386724
USER
Which occupations were exactly 3 collectables and works mainly about ?
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?a WHERE { { ?z property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } UNION { ?z property:P921 ?a . ?z rdf:type ontology:Q386724 . ?a rdf:type ontology:Q12737077 } } GROUP BY ?a } . FILTER ( ?h = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 3
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?a WHERE { { ?z property:main_subject ?a . ?a rdf:type ontology:occupation . ?z rdf:type ontology:collectable } UNION { ?z property:main_subject ?a . ?z rdf:type ontology:work . ?a rdf:type ontology:occupation } } GROUP BY ?a } . FILTER ( ?h = 3 ) }
[]
occupation collectable work
Q39631 Q937857
SYSTEM
physician, association football player
Q39631 Q937857
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 3
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?a WHERE { { ?z property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } UNION { ?z property:P921 ?a . ?z rdf:type ontology:Q386724 . ?a rdf:type ontology:Q12737077 } } GROUP BY ?a } . FILTER ( ?h = 3 ) }
physician association football player
Which occupations were exactly 3 collectables and works mainly about
physician association football player
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 3
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?a WHERE { { ?z property:main_subject ?a . ?a rdf:type ontology:occupation . ?z rdf:type ontology:collectable } UNION { ?z property:main_subject ?a . ?z rdf:type ontology:work . ?a rdf:type ontology:occupation } } GROUP BY ?a } . FILTER ( ?h = 3 ) }
[]