Simple Question (Direct)
Simple Question
Q20016539
P19
Q56061
USER
Which administrative territory was Manuel Rico Sinobas born in ?
(Q20016539,P19,c(Q56061))
action filter_type
action find
entity Q20016539
relation P19
type Q56061
['Q20016539', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q20016539 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Manuel Rico Sinobas
action filter_type
action find
entity Manuel Rico Sinobas
relation place of birth
type administrative territorial entity
['Manuel Rico Sinobas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Manuel_Rico_Sinobas property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8356
SYSTEM
Valladolid
Q8356
(Q20016539,P19,c(Q56061))
action filter_type
action find
entity Q20016539
relation P19
type Q56061
Manuel Rico Sinobas was born in [ANSWER]
['Q20016539', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q20016539 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Valladolid
Manuel Rico Sinobas was born in Valladolid
Valladolid
action filter_type
action find
entity Manuel Rico Sinobas
relation place of birth
type administrative territorial entity
['Manuel Rico Sinobas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Manuel_Rico_Sinobas property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20016539
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q8356,P106,c(Q12737077))
action filter_type
action find
entity Q20016539
relation P106
type Q12737077
['Q8356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q20016539 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Manuel Rico Sinobas
action filter_type
action find
entity Manuel Rico Sinobas
relation occupation
type occupation
['Valladolid', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Manuel_Rico_Sinobas property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q169470 Q39631
SYSTEM
physicist, physician
Q169470 Q39631
(Q8356,P106,c(Q12737077))
action filter_type
action find
entity Q20016539
relation P106
type Q12737077
And [ANSWERS] have that person as his/her 's career
['Q8356', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q20016539 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
physicist physician
And physicist and physician have that person as his/her 's career
physicist physician
action filter_type
action find
entity Manuel Rico Sinobas
relation occupation
type occupation
['Valladolid', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Manuel_Rico_Sinobas property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11725223
P106
Q502895
USER
Do Jerzy Pietrzak have the profession of those occupations ?
(Q11725223,P106,Q169470) (Q11725223,P106,Q39631)
action is_in
entity prev_answer
action find
entity Q11725223
relation P106
['Q11725223', 'P106', 'Q169470'] ['Q11725223', 'P106', 'Q39631']
ASK WHERE { resource:Q11725223 property:P106 ?k . VALUES ( ?k ) { ( resource:Q169470 ) ( resource:Q39631 ) } }
Jerzy Pietrzak
action is_in
entity prev_answer
action find
entity Jerzy Pietrzak
relation occupation
['Jerzy Pietrzak', 'occupation', 'physicist'] ['Jerzy Pietrzak', 'occupation', 'physician']
ASK WHERE { resource:Jerzy_Pietrzak property:occupation ?k . VALUES ( ?k ) { ( resource:physicist ) ( resource:physician ) } }
[]
common name
SYSTEM
NO
(Q11725223,P106,Q169470) (Q11725223,P106,Q39631)
action is_in
entity prev_answer
action find
entity Q11725223
relation P106
[ANSWER]
['Q11725223', 'P106', 'Q169470'] ['Q11725223', 'P106', 'Q39631']
ASK WHERE { resource:Q11725223 property:P106 ?k . VALUES ( ?k ) { ( resource:Q169470 ) ( resource:Q39631 ) } }
No
action is_in
entity prev_answer
action find
entity Jerzy Pietrzak
relation occupation
['Jerzy Pietrzak', 'occupation', 'physicist'] ['Jerzy Pietrzak', 'occupation', 'physician']
ASK WHERE { resource:Jerzy_Pietrzak property:occupation ?k . VALUES ( ?k ) { ( resource:physicist ) ( resource:physician ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8356 Q1919502 Q17201685
P47
Q1048835
USER
Does Valladolid share border with La Mudarra and township of Indiana ?
(Q8356,P47,Q1919502) (Q8356,P47,Q17201685)
action is_in
entity Q8356
action intersection
action find_reverse
entity Q1919502
relation P47
action find_reverse
entity Q17201685
relation P47
['Q8356', 'P47', 'Q1919502'] ['Q8356', 'P47', 'Q17201685']
ASK WHERE { resource:Q8356 property:P47 resource:Q1919502 . resource:Q8356 property:P47 resource:Q17201685 }
Valladolid La Mudarra township of Indiana
action is_in
entity Valladolid
action intersection
action find_reverse
entity La Mudarra
relation shares border with
action find_reverse
entity township of Indiana
relation shares border with
['Valladolid', 'shares border with', 'La Mudarra'] ['Valladolid', 'shares border with', 'township of Indiana']
ASK WHERE { resource:Valladolid property:shares_border_with resource:La_Mudarra . resource:Valladolid property:shares_border_with resource:township_of_Indiana }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q8356,P47,Q1919502) (Q8356,P47,Q17201685)
action is_in
entity Q8356
action intersection
action find_reverse
entity Q1919502
relation P47
action find_reverse
entity Q17201685
relation P47
[ANSWER]
['Q8356', 'P47', 'Q1919502'] ['Q8356', 'P47', 'Q17201685']
ASK WHERE { resource:Q8356 property:P47 resource:Q1919502 . resource:Q8356 property:P47 resource:Q17201685 }
YES and NO respectively
action is_in
entity Valladolid
action intersection
action find_reverse
entity La Mudarra
relation shares border with
action find_reverse
entity township of Indiana
relation shares border with
['Valladolid', 'shares border with', 'La Mudarra'] ['Valladolid', 'shares border with', 'township of Indiana']
ASK WHERE { resource:Valladolid property:shares_border_with resource:La_Mudarra . resource:Valladolid property:shares_border_with resource:township_of_Indiana }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20016539 Q2360636
P20
Q56061
USER
Did Manuel Rico Sinobas expire Wacton, Norfolk ?
(Q20016539,P20,Q2360636)
action is_in
entity Q2360636
action find
entity Q20016539
relation P20
['Q20016539', 'P20', 'Q2360636']
ASK WHERE { resource:Q20016539 property:P20 resource:Q2360636 }
Manuel Rico Sinobas Wacton, Norfolk
action is_in
entity Wacton, Norfolk
action find
entity Manuel Rico Sinobas
relation place of death
['Manuel Rico Sinobas', 'place of death', 'Wacton, Norfolk']
ASK WHERE { resource:Manuel_Rico_Sinobas property:place_of_death resource:Wacton,_Norfolk }
[]
administrative territorial entity
SYSTEM
NO
(Q20016539,P20,Q2360636)
action is_in
entity Q2360636
action find
entity Q20016539
relation P20
[ANSWER]
['Q20016539', 'P20', 'Q2360636']
ASK WHERE { resource:Q20016539 property:P20 resource:Q2360636 }
No
action is_in
entity Wacton, Norfolk
action find
entity Manuel Rico Sinobas
relation place of death
['Manuel Rico Sinobas', 'place of death', 'Wacton, Norfolk']
ASK WHERE { resource:Manuel_Rico_Sinobas property:place_of_death resource:Wacton,_Norfolk }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q386724
USER
How many occupations were the main subjects of atmost 1 publications and works 's work ?
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?c WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?c WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:publication ) ( ontology:work ) } } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
[]
occupation publication work
SYSTEM
100
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?c WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
100
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?c WHERE { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:publication ) ( ontology:work ) } } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16267607
P921
Q12737077 Q838948 Q191067
USER
Which occupations were the main subjects of approximately the same number of works of art or articles 's work as classical philologist ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16267607
relation P921
type Q838948
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P921 resource:Q16267607 . { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } } } . FILTER ( ?k = ?h ) }
classical philologist
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity classical philologist
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:article } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:main_subject resource:classical_philologist . { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:article ) } } } } . FILTER ( ?k = ?h ) }
[]
occupation work of art article
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16267607
relation P921
type Q838948
type Q191067
[ANSWERS] were the main subjects of approximately the same number of works of art or articles 's work as classical philologist
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P921 resource:Q16267607 . { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } } } . FILTER ( ?k = ?h ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of approximately the same number of works of art or articles 's work as classical philologist
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity classical philologist
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?k ) WHERE { { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:main_subject ?o . ?o rdf:type ontology:occupation . ?u rdf:type ontology:article } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:main_subject resource:classical_philologist . { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:article ) } } } } . FILTER ( ?k = ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q11060274 Q386724
USER
Which occupations are demonstrated 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 ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?e ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?o rdf:type ?e } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?l } . FILTER ( ?n = ?y ) }
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 ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?e ) { ( ontology:print ) ( ontology:work ) } . ?o rdf:type ?e } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?l } . FILTER ( ?n = ?y ) }
[]
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
The [ANSWERS] are demonstrated in min number of prints or works
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?e ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?o rdf:type ?e } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } } GROUP BY ?l } . FILTER ( ?n = ?y ) }
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
The nurse, tailor and librarian are demonstrated 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 ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?e ) { ( ontology:print ) ( ontology:work ) } . ?o rdf:type ?e } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:print ) ( ontology:work ) } } GROUP BY ?l } . FILTER ( ?n = ?y ) }
[]