Simple Question (Direct)
Simple Question
Q538971
P106
Q12737077
USER
Which occupation has Donald McPherson as his/her 's career ?
(Q538971,P106,c(Q12737077))
action filter_type
action find
entity Q538971
relation P106
type Q12737077
['Q538971', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q538971 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Donald McPherson
action filter_type
action find
entity Donald McPherson
relation occupation
type occupation
['Donald McPherson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Donald_McPherson property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q13219587
SYSTEM
figure skater
Q13219587
(Q538971,P106,c(Q12737077))
action filter_type
action find
entity Q538971
relation P106
type Q12737077
The [ANSWER] has Donald McPherson as his/her 's career
['Q538971', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q538971 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
figure skater
The figure skater has Donald McPherson as his/her 's career
figure skater
action filter_type
action find
entity Donald McPherson
relation occupation
type occupation
['Donald McPherson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Donald_McPherson property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q538971
P1196
Q1931388
USER
What situation did Donald McPherson die in ?
(Q538971,P1196,c(Q1931388))
action filter_type
action find
entity Q538971
relation P1196
type Q1931388
['Q538971', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q538971 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Donald McPherson
action filter_type
action find
entity Donald McPherson
relation manner of death
type cause of death
['Donald McPherson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Donald_McPherson property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q538971,P1196,c(Q1931388))
action filter_type
action find
entity Q538971
relation P1196
type Q1931388
Donald McPherson died in [ANSWER]
['Q538971', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q538971 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
Donald McPherson died in natural causes
natural causes
action filter_type
action find
entity Donald McPherson
relation manner of death
type cause of death
['Donald McPherson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Donald_McPherson property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q6767311
P1196
Q502895
USER
Did Mark DeSaulnier die as that cause of death ?
(Q6767311,P1196,Q3739104)
action is_in
entity Q6767311
action find
entity Q3739104
relation P1196
['Q6767311', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q6767311 }
natural causes Mark DeSaulnier
action is_in
entity Mark DeSaulnier
action find
entity natural causes
relation manner of death
['Mark DeSaulnier', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Mark_DeSaulnier }
[]
common name
SYSTEM
NO
(Q6767311,P1196,Q3739104)
action is_in
entity Q6767311
action find
entity Q3739104
relation P1196
[ANSWER]
['Q6767311', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q6767311 }
No
action is_in
entity Mark DeSaulnier
action find
entity natural causes
relation manner of death
['Mark DeSaulnier', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Mark_DeSaulnier }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q538971 Q2065245
P20
Q56061
USER
Did the demise of Donald McPherson occur San Salvador, Entre Ríos ?
(Q538971,P20,Q2065245)
action is_in
entity Q2065245
action find
entity Q538971
relation P20
['Q538971', 'P20', 'Q2065245']
ASK WHERE { resource:Q538971 property:P20 resource:Q2065245 }
Donald McPherson San Salvador, Entre Ríos
action is_in
entity San Salvador, Entre Ríos
action find
entity Donald McPherson
relation place of death
['Donald McPherson', 'place of death', 'San Salvador, Entre Ríos']
ASK WHERE { resource:Donald_McPherson property:place_of_death resource:San_Salvador,_Entre_Ríos }
[]
administrative territorial entity
SYSTEM
NO
(Q538971,P20,Q2065245)
action is_in
entity Q2065245
action find
entity Q538971
relation P20
[ANSWER]
['Q538971', 'P20', 'Q2065245']
ASK WHERE { resource:Q538971 property:P20 resource:Q2065245 }
No
action is_in
entity San Salvador, Entre Ríos
action find
entity Donald McPherson
relation place of death
['Donald McPherson', 'place of death', 'San Salvador, Entre Ríos']
ASK WHERE { resource:Donald_McPherson property:place_of_death resource:San_Salvador,_Entre_Ríos }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q538971
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q538971
relation P21
type Q290
SELECT DISTINCT ?j WHERE { resource:Q538971 property:P21 ?j . ?j rdf:type ontology:Q290 }
Donald McPherson
action filter_type
action find
entity Donald McPherson
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Donald_McPherson property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q538971
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q538971 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Donald McPherson
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Donald_McPherson property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q701632 Q178706 Q12737077
USER
Which occupations are appointed by approximately 1 municipal councils and institutions ?
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { { ?a property:P748 ?x . ?a rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q701632 } UNION { ?a property:P748 ?x . ?a rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q178706 } } GROUP BY ?a } . FILTER ( ?g = 1 ) }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { { ?a property:appointed_by ?x . ?a rdf:type ontology:occupation . ?x rdf:type ontology:municipal_council } UNION { ?a property:appointed_by ?x . ?a rdf:type ontology:occupation . ?x rdf:type ontology:institution } } GROUP BY ?a } . FILTER ( ?g = 1 ) }
[]
municipal council institution occupation
Q81066 Q20748656 Q20890913
SYSTEM
United Nations Secretary-General, municipal executive of Zoetermeer, municipal executive of Eindhoven
Q20748656 Q20890913 Q21371106 Q21013169 Q740126 Q20872382 Q20872273 Q1161813 Q20891385 Q21384866 Q20194364 Q21383592 Q20859388 Q8882 Q20867550 Q20872296 Q20872339 Q26209358 Q634291 Q20992515 Q735587 Q81066 Q26721218
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
The [ANSWERS] are appointed by approximately 1 municipal councils and institutions
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { { ?a property:P748 ?x . ?a rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q701632 } UNION { ?a property:P748 ?x . ?a rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q178706 } } GROUP BY ?a } . FILTER ( ?g = 1 ) }
municipal executive of Zoetermeer municipal executive of Eindhoven municipal executive of Amersfoort municipal executive of The Hague President of the European Parliament municipal executive of Coevorden municipal executive of Boxmeer President of the United Nations General Assembly municipal executive of Deventer municipal executive of Rotterdam municipal executive of Amsterdam municipal executive of Haarlem municipal executive of Mierlo President of the European Commission municipal executive of Gorinchem municipal executive of Almere municipal executive of Woerden municipal executive of Warffum High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of the European Council United Nations Secretary-General municipal executive of Almere
The United Nations Secretary-General, municipal executive of Zoetermeer and municipal executive of Eindhoven are appointed by approximately 1 municipal councils and institutions
United Nations Secretary-General municipal executive of Zoetermeer municipal executive of Eindhoven
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { { ?a property:appointed_by ?x . ?a rdf:type ontology:occupation . ?x rdf:type ontology:municipal_council } UNION { ?a property:appointed_by ?x . ?a rdf:type ontology:occupation . ?x rdf:type ontology:institution } } GROUP BY ?a } . FILTER ( ?g = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2079936
P180
Q12737077 Q1792379 Q18783400
USER
Which occupations are depicted in less number of art genres or genres of sculpture than king of marksmen ?
(c(Q1792379)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q18783400
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { { ?w rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 . ?r property:P180 ?w } UNION { ?r rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q12737077 . ?r property:P180 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:Q1792379 } UNION { ?d rdf:type ontology:Q18783400 } } . ?d property:P180 resource:Q2079936 } } . FILTER ( ?e < ?s ) }
king of marksmen
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { { ?w rdf:type ontology:occupation . ?r rdf:type ontology:art_genre . ?r property:depicts ?w } UNION { ?r rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:occupation . ?r property:depicts ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:art_genre } UNION { ?d rdf:type ontology:genre_of_sculpture } } . ?d property:depicts resource:king_of_marksmen } } . FILTER ( ?e < ?s ) }
[]
occupation art genre genre of sculpture
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
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 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 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 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 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(Q1792379)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q18783400
[ANSWERS] are depicted in less number of art genres or genres of sculpture than king of marksmen
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { { ?w rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 . ?r property:P180 ?w } UNION { ?r rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q12737077 . ?r property:P180 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:Q1792379 } UNION { ?d rdf:type ontology:Q18783400 } } . ?d property:P180 resource:Q2079936 } } . FILTER ( ?e < ?s ) }
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 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 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 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 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
Nurse, tailor and librarian are depicted in less number of art genres or genres of sculpture than king of marksmen
nurse tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { { ?w rdf:type ontology:occupation . ?r rdf:type ontology:art_genre . ?r property:depicts ?w } UNION { ?r rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:occupation . ?r property:depicts ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { { ?d rdf:type ontology:art_genre } UNION { ?d rdf:type ontology:genre_of_sculpture } } . ?d property:depicts resource:king_of_marksmen } } . FILTER ( ?e < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q1792379 Q18783400
USER
And what about soldier?
(c(Q1792379)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q18783400
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P180 resource:Q4991371 . { VALUES ( ?k ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } . ?y rdf:type ?k } } } . FILTER ( ?g < ?x ) }
soldier
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:depicts resource:soldier . { VALUES ( ?k ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } . ?y rdf:type ?k } } } . FILTER ( ?g < ?x ) }
[]
occupation art genre genre of sculpture
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
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 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 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(Q1792379)|c(Q18783400),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q18783400
[ANSWERS]
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P180 resource:Q4991371 . { VALUES ( ?k ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } . ?y rdf:type ?k } } } . FILTER ( ?g < ?x ) }
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 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 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
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:depicts resource:soldier . { VALUES ( ?k ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } . ?y rdf:type ?k } } } . FILTER ( ?g < ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q242468
P425
Q223557
USER
Which physical object is associated with the field of occupation that one ?
(Q242468,P425,c(Q223557))
action filter_type
action find
entity Q242468
relation P425
type Q223557
['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q223557 . resource:Q242468 property:P425 ?d }
tailor
action filter_type
action find
entity tailor
relation field of this occupation
type physical object
['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:physical_object . resource:tailor property:field_of_this_occupation ?d }
[]
physical object
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q131512 Q186360 Q242468
(Q131512,P425,c(Q223557)) (Q186360,P425,c(Q223557)) (Q242468,P425,c(Q223557))
[ANSWER]
['Q131512', 'P425', {'concept': 'Q223557'}] ['Q186360', 'P425', {'concept': 'Q223557'}] ['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q223557 . resource:Q242468 property:P425 ?d }
farmer nurse tailor
Did you mean farmer ?
farmer
['farmer', 'field of this occupation', {'concept': 'physical object'}] ['nurse', 'field of this occupation', {'concept': 'physical object'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:physical_object . resource:tailor property:field_of_this_occupation ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant tailor. Could you tell me the answer for that?
(Q242468,P425,c(Q223557))
Q242468
['Q242468', 'P425', {'concept': 'Q223557'}]
['tailor', 'field of this occupation', {'concept': 'physical object'}]
[]
Q11460
SYSTEM
clothing
Q11460
(Q242468,P425,c(Q223557))
action filter_type
action find
entity Q242468
relation P425
type Q223557
Is [ANSWER] is associated with the field of occupation that one
['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q223557 . resource:Q242468 property:P425 ?d }
clothing
Is clothing is associated with the field of occupation that one
clothing
action filter_type
action find
entity tailor
relation field of this occupation
type physical object
['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:physical_object . resource:tailor property:field_of_this_occupation ?d }
[]