Simple Question (Direct)
Simple Question
Q5257083
P106
Q12737077
USER
What does Denis Atkins do for a living ?
(Q5257083,P106,c(Q12737077))
action filter_type
action find
entity Q5257083
relation P106
type Q12737077
['Q5257083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5257083 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Denis Atkins
action filter_type
action find
entity Denis Atkins
relation occupation
type occupation
['Denis Atkins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Denis_Atkins property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5257083,P106,c(Q12737077))
action filter_type
action find
entity Q5257083
relation P106
type Q12737077
Denis Atkins does an [ANSWER] for a living
['Q5257083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5257083 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Denis Atkins does an association football player for a living
association football player
action filter_type
action find
entity Denis Atkins
relation occupation
type occupation
['Denis Atkins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Denis_Atkins property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5257083
P641
Q349
USER
What did Denis Atkins participate in ?
(Q5257083,P641,c(Q349))
action filter_type
action find
entity Q5257083
relation P641
type Q349
['Q5257083', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5257083 property:P641 ?e . ?e rdf:type ontology:Q349 }
Denis Atkins
action filter_type
action find
entity Denis Atkins
relation sport
type sport
['Denis Atkins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Denis_Atkins property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5257083,P641,c(Q349))
action filter_type
action find
entity Q5257083
relation P641
type Q349
Denis Atkins participated in [ANSWER]
['Q5257083', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5257083 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Denis Atkins participated in association football
association football
action filter_type
action find
entity Denis Atkins
relation sport
type sport
['Denis Atkins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Denis_Atkins property:sport ?e . ?e rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q1752346 Q12737077 Q12737077
USER
Which occupations were appointed by exactly 1 assemblies or occupations ?
(c(Q12737077),P748,c(Q1752346)|c(Q12737077))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1752346 ) ( ontology:Q12737077 ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type occupation
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:assembly ) ( ontology:occupation ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
[]
assembly occupation occupation
Q687075 Q1749063 Q4377222
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, Premier of Nunavut
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q15305714 Q1749063 Q24636364 Q14565638 Q251724 Q842386 Q19056310 Q890030 Q6572133 Q796593 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q7574264 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q1370482 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q628102 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q1752346)|c(Q12737077))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
value 1
[ANSWERS] were appointed by exactly 1 assemblies or occupations
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1752346 ) ( ontology:Q12737077 ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Prime Minister of Libya Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Russia President of Botswana State President of South Africa Governor of İstanbul President of Malta Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs President of Cuba Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec President of Nauru Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and Premier of Nunavut were appointed by exactly 1 assemblies or occupations
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Premier of Nunavut
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type occupation
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:assembly ) ( ontology:occupation ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q128267
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of more number of occupations than Joseph ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q128267
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P417 ?v . ?v rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q502895 . resource:Q128267 property:P417 ?z } } . FILTER ( ?u > ?h ) }
Joseph
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:patron_saint ?v . ?v rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:common_name . resource:Joseph property:patron_saint ?z } } . FILTER ( ?u > ?h ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q128267
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P417 ?v . ?v rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q502895 . resource:Q128267 property:P417 ?z } } . FILTER ( ?u > ?h ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:patron_saint ?v . ?v rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:common_name . resource:Joseph property:patron_saint ?z } } . FILTER ( ?u > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1509714
P180
Q12737077 Q3516658 Q838948
USER
How many occupations are depicted in approximately the same number of heraldic symbols or works of art as porter ?
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1509714
relation P180
type Q3516658
type Q838948
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } . ?a rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:Q3516658 } UNION { ?g rdf:type ontology:Q838948 } } . ?g property:P180 resource:Q1509714 } } . FILTER ( ?i = ?h ) }
porter
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity porter
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } . ?a rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:heraldic_symbol } UNION { ?g rdf:type ontology:work_of_art } } . ?g property:depicts resource:porter } } . FILTER ( ?i = ?h ) }
[]
occupation heraldic symbol work of art
SYSTEM
208
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 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 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 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1509714
relation P180
type Q3516658
type Q838948
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } . ?a rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:Q3516658 } UNION { ?g rdf:type ontology:Q838948 } } . ?g property:P180 resource:Q1509714 } } . FILTER ( ?i = ?h ) }
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 model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector 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 dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
208
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity porter
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?p WHERE { VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } . ?a rdf:type ?k } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { { ?g rdf:type ontology:heraldic_symbol } UNION { ?g rdf:type ontology:work_of_art } } . ?g property:depicts resource:porter } } . FILTER ( ?i = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q15296811
P180
Q12737077 Q3516658 Q838948
USER
And what about draughtsperson?
(c(Q3516658)|c(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15296811
relation P180
type Q3516658
type Q838948
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?h WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P180 resource:Q15296811 . { { ?y rdf:type ontology:Q3516658 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?k = ?s ) }
draughtsperson
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity draughtsperson
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?h WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:depicts resource:draughtsperson . { { ?y rdf:type ontology:heraldic_symbol } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?k = ?s ) }
[]
occupation heraldic symbol work of art
SYSTEM
219
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 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 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 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 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(Q838948),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q15296811
relation P180
type Q3516658
type Q838948
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?h WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P180 resource:Q15296811 . { { ?y rdf:type ontology:Q3516658 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?k = ?s ) }
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 model violinist deacon wet nurse sailor clown spinner butcher religious servant detective 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 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 school teacher officer 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
219
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity draughtsperson
relation depicts
type heraldic symbol
type work of art
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?h WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:depicts resource:draughtsperson . { { ?y rdf:type ontology:heraldic_symbol } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?k = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1927976 Q687075
P27 P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of Prime Minister of Sweden or are the native countriesof Hotze de Roos ?
OR((Q687075,P1001,c(Q15617994)), (Q1927976,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q687075
relation P1001
action find
entity Q1927976
relation P27
type Q15617994
{'OR': [['Q687075', 'P1001', {'concept': 'Q15617994'}], ['Q1927976', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1927976 property:P27 ?q } UNION { resource:Q687075 property:P1001 ?q } } . ?q rdf:type ontology:Q15617994 }
Hotze de Roos Prime Minister of Sweden
action filter_type
action union
action find
entity Prime Minister of Sweden
relation applies to jurisdiction
action find
entity Hotze de Roos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Prime Minister of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Hotze de Roos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Hotze_de_Roos property:country_of_citizenship ?q } UNION { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q34
SYSTEM
Kingdom of the Netherlands, Sweden
Q29999 Q34
OR((Q687075,P1001,c(Q15617994)), (Q1927976,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q687075
relation P1001
action find
entity Q1927976
relation P27
type Q15617994
[ANSWERS] come under the jurisdiction of Prime Minister of Sweden or are the native countriesof Hotze de Roos
{'OR': [['Q687075', 'P1001', {'concept': 'Q15617994'}], ['Q1927976', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1927976 property:P27 ?q } UNION { resource:Q687075 property:P1001 ?q } } . ?q rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Sweden
Kingdom of the Netherlands and Sweden come under the jurisdiction of Prime Minister of Sweden or are the native countriesof Hotze de Roos
Kingdom of the Netherlands Sweden
action filter_type
action union
action find
entity Prime Minister of Sweden
relation applies to jurisdiction
action find
entity Hotze de Roos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Prime Minister of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Hotze de Roos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Hotze_de_Roos property:country_of_citizenship ?q } UNION { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories and political territories are adjacent to that administrative territory ?
(Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q7654287 property:P47 ?z } UNION { resource:Q7654287 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Sweden property:shares_border_with ?z } UNION { resource:Sweden property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q7654287 property:P47 ?z } UNION { resource:Q7654287 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Sweden property:shares_border_with ?z } UNION { resource:Sweden property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
[]
SYSTEM
3 administrative territories and 1 political territories
Q142 Q31 Q717 Q183
(Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
[ANSWER]
['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q29999 property:P47 ?z } UNION { resource:Q29999 property:P47 ?y } UNION { resource:Q7654287 property:P47 ?z } UNION { resource:Q7654287 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
France Belgium Venezuela Germany
3 administrative territories and 1 political territories
['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?z } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?y } UNION { resource:Sweden property:shares_border_with ?z } UNION { resource:Sweden property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5371902
P180
Q12737077 Q15709879 Q2342494
USER
How many occupations are expressed in around the same number of artwork series or collectables as harpsichordist ?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q5371902
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?w WHERE { VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?z rdf:type ?h } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q15709879 } } . ?e property:P180 resource:Q5371902 } } . FILTER ( ?o = ?i ) }
harpsichordist
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity harpsichordist
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?w WHERE { VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?z rdf:type ?h } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:artwork_series } } . ?e property:depicts resource:harpsichordist } } . FILTER ( ?o = ?i ) }
[]
occupation artwork series collectable
SYSTEM
220
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 Q185196 Q486748 Q328325 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 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q5371902
relation P180
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?w WHERE { VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?z rdf:type ?h } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q15709879 } } . ?e property:P180 resource:Q5371902 } } . FILTER ( ?o = ?i ) }
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 midwife pianist stonemason 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 harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer 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 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 sea captain Roman emperor quarryman cook street artist waiting staff
220
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity harpsichordist
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?w WHERE { VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?z rdf:type ?h } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:artwork_series } } . ?e property:depicts resource:harpsichordist } } . FILTER ( ?o = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q327321
P180
Q12737077 Q15709879 Q2342494
USER
And how about bricklayer?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q327321
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?z WHERE { { ?r property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P180 resource:Q327321 . { { ?j rdf:type ontology:Q15709879 } UNION { ?j rdf:type ontology:Q2342494 } } } } . FILTER ( ?y = ?o ) }
bricklayer
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity bricklayer
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?z WHERE { { ?r property:depicts ?z . ?z rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?z . ?z rdf:type ontology:occupation . ?r rdf:type ontology:collectable } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:depicts resource:bricklayer . { { ?j rdf:type ontology:artwork_series } UNION { ?j rdf:type ontology:collectable } } } } . FILTER ( ?y = ?o ) }
[]
occupation artwork series collectable
SYSTEM
220
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 Q185196 Q486748 Q328325 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 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q327321
relation P180
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?z WHERE { { ?r property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P180 resource:Q327321 . { { ?j rdf:type ontology:Q15709879 } UNION { ?j rdf:type ontology:Q2342494 } } } } . FILTER ( ?y = ?o ) }
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 midwife pianist stonemason 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 harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer 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 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 sea captain Roman emperor quarryman cook street artist waiting staff
220
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity bricklayer
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?z WHERE { { ?r property:depicts ?z . ?z rdf:type ontology:occupation . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?z . ?z rdf:type ontology:occupation . ?r rdf:type ontology:collectable } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:depicts resource:bricklayer . { { ?j rdf:type ontology:artwork_series } UNION { ?j rdf:type ontology:collectable } } } } . FILTER ( ?y = ?o ) }
[]