Simple Question (Direct)
Simple Question
Q1079279
P937
Q56061
USER
Which administrative territory is the work location of Christian Dieden ?
(Q1079279,P937,c(Q56061))
action filter_type
action find
entity Q1079279
relation P937
type Q56061
['Q1079279', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1079279 property:P937 ?j }
Christian Dieden
action filter_type
action find
entity Christian Dieden
relation work location
type administrative territorial entity
['Christian Dieden', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Christian_Dieden property:work_location ?j }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1079279,P937,c(Q56061))
action filter_type
action find
entity Q1079279
relation P937
type Q56061
[ANSWER] is the work location of Christian Dieden
['Q1079279', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1079279 property:P937 ?j }
Berlin
Berlin is the work location of Christian Dieden
Berlin
action filter_type
action find
entity Christian Dieden
relation work location
type administrative territorial entity
['Christian Dieden', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Christian_Dieden property:work_location ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1079279
P102
Q7210356
USER
Which political organization is Christian Dieden a member of ?
(Q1079279,P102,c(Q7210356))
action filter_type
action find
entity Q1079279
relation P102
type Q7210356
['Q1079279', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q1079279 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Christian Dieden
action filter_type
action find
entity Christian Dieden
relation member of political party
type political organization
['Christian Dieden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Christian_Dieden property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q1079279,P102,c(Q7210356))
action filter_type
action find
entity Q1079279
relation P102
type Q7210356
The [ANSWER] is Christian Dieden a member of
['Q1079279', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q1079279 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Centre Party
The Centre Party is Christian Dieden a member of
Centre Party
action filter_type
action find
entity Christian Dieden
relation member of political party
type political organization
['Christian Dieden', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Christian_Dieden property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1079279
P20
Q15617994
USER
Where did Christian Dieden die ?
(Q1079279,P20,c(Q15617994))
action filter_type
action find
entity Q1079279
relation P20
type Q15617994
['Q1079279', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1079279 property:P20 ?n . ?n rdf:type ontology:Q15617994 }
Christian Dieden
action filter_type
action find
entity Christian Dieden
relation place of death
type designation for an administrative territorial entity
['Christian Dieden', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Dieden property:place_of_death ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q335018
SYSTEM
Ürzig
Q335018
(Q1079279,P20,c(Q15617994))
action filter_type
action find
entity Q1079279
relation P20
type Q15617994
Christian Dieden died in [ANSWER]
['Q1079279', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1079279 property:P20 ?n . ?n rdf:type ontology:Q15617994 }
Ürzig
Christian Dieden died in Ürzig
Ürzig
action filter_type
action find
entity Christian Dieden
relation place of death
type designation for an administrative territorial entity
['Christian Dieden', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Dieden property:place_of_death ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1079279
P106
Q12737077
USER
Which occupation has Christian Dieden as his/her 's career ?
(Q1079279,P106,c(Q12737077))
action filter_type
action find
entity Q1079279
relation P106
type Q12737077
['Q1079279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1079279 property:P106 ?o }
Christian Dieden
action filter_type
action find
entity Christian Dieden
relation occupation
type occupation
['Christian Dieden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Christian_Dieden property:occupation ?o }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1079279,P106,c(Q12737077))
action filter_type
action find
entity Q1079279
relation P106
type Q12737077
The [ANSWER] has Christian Dieden as his/her 's career
['Q1079279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1079279 property:P106 ?o }
politician
The politician has Christian Dieden as his/her 's career
politician
action filter_type
action find
entity Christian Dieden
relation occupation
type occupation
['Christian Dieden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Christian_Dieden property:occupation ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1079279
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1079279
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1079279 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Christian Dieden
action filter_type
action find
entity Christian Dieden
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Christian_Dieden property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q30185 Q18627724 Q17854096
SYSTEM
mayor, Member of the Prussian House of Representatives, member of the Reichstag of the German Empire
Q30185 Q18627724 Q17854096
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1079279
relation P39
type Q12737077
[ANSWERS] were the positions occupied by that person
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1079279 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
mayor Member of the Prussian House of Representatives member of the Reichstag of the German Empire
Mayor, Member of the Prussian House of Representatives and member of the Reichstag of the German Empire were the positions occupied by that person
mayor Member of the Prussian House of Representatives member of the Reichstag of the German Empire
action filter_type
action find
entity Christian Dieden
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Christian_Dieden property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q45199
P180
Q12737077 Q340169 Q17638008
USER
How many occupations are depicted in less number of medias and game equipment than sailor ?
(c(Q340169)|c(Q17638008),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q45199
relation P180
type Q340169
type Q17638008
[[{'concept': 'Q340169'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?v WHERE { { ?e property:P180 ?v . ?e rdf:type ontology:Q340169 . ?v rdf:type ontology:Q12737077 } UNION { ?e property:P180 ?v . ?e rdf:type ontology:Q17638008 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q17638008 } } . ?g property:P180 resource:Q45199 } } . FILTER ( ?u < ?z ) }
sailor
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity sailor
relation depicts
type media
type game equipment
[[{'concept': 'media'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?v WHERE { { ?e property:depicts ?v . ?e rdf:type ontology:media . ?v rdf:type ontology:occupation } UNION { ?e property:depicts ?v . ?e rdf:type ontology:game_equipment . ?v rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:game_equipment } } . ?g property:depicts resource:sailor } } . FILTER ( ?u < ?z ) }
[]
occupation media game equipment
SYSTEM
214
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 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 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q340169)|c(Q17638008),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q45199
relation P180
type Q340169
type Q17638008
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?v WHERE { { ?e property:P180 ?v . ?e rdf:type ontology:Q340169 . ?v rdf:type ontology:Q12737077 } UNION { ?e property:P180 ?v . ?e rdf:type ontology:Q17638008 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q17638008 } } . ?g property:P180 resource:Q45199 } } . FILTER ( ?u < ?z ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist 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 clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer 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 canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
214
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity sailor
relation depicts
type media
type game equipment
[[{'concept': 'media'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) ?v WHERE { { ?e property:depicts ?v . ?e rdf:type ontology:media . ?v rdf:type ontology:occupation } UNION { ?e property:depicts ?v . ?e rdf:type ontology:game_equipment . ?v rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:game_equipment } } . ?g property:depicts resource:sailor } } . FILTER ( ?u < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q639669
P180
Q12737077 Q340169 Q17638008
USER
And what about musician?
(c(Q340169)|c(Q17638008),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P180
type Q340169
type Q17638008
[[{'concept': 'Q340169'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?f WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q17638008 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q17638008 ) } } . ?s property:P180 resource:Q639669 } } . FILTER ( ?t < ?b ) }
musician
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity musician
relation depicts
type media
type game equipment
[[{'concept': 'media'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?f WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:game_equipment ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:media ) ( ontology:game_equipment ) } } . ?s property:depicts resource:musician } } . FILTER ( ?t < ?b ) }
[]
occupation media game equipment
SYSTEM
225
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 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 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 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(Q340169)|c(Q17638008),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P180
type Q340169
type Q17638008
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?f WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q17638008 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q17638008 ) } } . ?s property:P180 resource:Q639669 } } . FILTER ( ?t < ?b ) }
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 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 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 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
225
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action count
action filter_multi_types
action find_reverse
entity musician
relation depicts
type media
type game equipment
[[{'concept': 'media'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) ?f WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:game_equipment ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:media ) ( ontology:game_equipment ) } } . ?s property:depicts resource:musician } } . FILTER ( ?t < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P1313
Q13220204
USER
Which administrative country subdivisions have mayor as office of head of government ?
(c(Q13220204),P1313,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P1313
type Q13220204
[{'concept': 'Q13220204'}, 'P1313', 'Q30185']
SELECT DISTINCT ?z WHERE { ?z property:P1313 resource:Q30185 . ?z rdf:type ontology:Q13220204 }
mayor
action filter_type
action find_reverse
entity mayor
relation office held by head of government
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'office held by head of government', 'mayor']
SELECT DISTINCT ?z WHERE { ?z property:office_held_by_head_of_government resource:mayor . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1115715 Q507549 Q957192
SYSTEM
Prosotsani Municipality, Tolga, Paranesti Municipality
Q1115715 Q507549 Q957192
(c(Q13220204),P1313,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P1313
type Q13220204
[ANSWERS] have mayor as office of head of government
[{'concept': 'Q13220204'}, 'P1313', 'Q30185']
SELECT DISTINCT ?z WHERE { ?z property:P1313 resource:Q30185 . ?z rdf:type ontology:Q13220204 }
Prosotsani Municipality Tolga Paranesti Municipality
Prosotsani Municipality, Tolga and Paranesti Municipality have mayor as office of head of government
Prosotsani Municipality Tolga Paranesti Municipality
action filter_type
action find_reverse
entity mayor
relation office held by head of government
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'office held by head of government', 'mayor']
SELECT DISTINCT ?z WHERE { ?z property:office_held_by_head_of_government resource:mayor . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157537
P159
Q15617994
USER
Which administrative territory is the head office of Centre Party ?
(Q157537,P159,c(Q15617994))
action filter_type
action find
entity Q157537
relation P159
type Q15617994
['Q157537', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q157537 property:P159 ?z . ?z rdf:type ontology:Q15617994 }
Centre Party
action filter_type
action find
entity Centre Party
relation headquarters location
type designation for an administrative territorial entity
['Centre Party', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Centre_Party property:headquarters_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3978
SYSTEM
Dormagen
Q3978
(Q157537,P159,c(Q15617994))
action filter_type
action find
entity Q157537
relation P159
type Q15617994
[ANSWER] is the head office of Centre Party
['Q157537', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q157537 property:P159 ?z . ?z rdf:type ontology:Q15617994 }
Dormagen
Dormagen is the head office of Centre Party
Dormagen
action filter_type
action find
entity Centre Party
relation headquarters location
type designation for an administrative territorial entity
['Centre Party', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Centre_Party property:headquarters_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3978 Q1993467
P17
Q1048835
USER
Is that administrative territory present in Jalance ?
(Q3978,P17,Q1993467)
action is_in
entity Q1993467
action find
entity Q3978
relation P17
['Q3978', 'P17', 'Q1993467']
ASK WHERE { resource:Q3978 property:P17 resource:Q1993467 }
Dormagen Jalance
action is_in
entity Jalance
action find
entity Dormagen
relation country
['Dormagen', 'country', 'Jalance']
ASK WHERE { resource:Dormagen property:country resource:Jalance }
[]
political territorial entity
SYSTEM
NO
(Q3978,P17,Q1993467)
action is_in
entity Q1993467
action find
entity Q3978
relation P17
[ANSWER]
['Q3978', 'P17', 'Q1993467']
ASK WHERE { resource:Q3978 property:P17 resource:Q1993467 }
No
action is_in
entity Jalance
action find
entity Dormagen
relation country
['Dormagen', 'country', 'Jalance']
ASK WHERE { resource:Dormagen property:country resource:Jalance }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18558478 Q30185
P39
Q502895
USER
Which people were responsible for occupying the position of mayor and member of the Chamber of Deputies of the Italian Republic ?
AND((c(Q502895),P39,Q30185), (c(Q502895),P39,Q18558478))
action filter_type
action intersection
action find_reverse
entity Q30185
relation P39
action find_reverse
entity Q18558478
relation P39
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q30185'], [{'concept': 'Q502895'}, 'P39', 'Q18558478']]}
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q30185 . ?a property:P39 resource:Q18558478 . ?a rdf:type ontology:Q502895 }
member of the Chamber of Deputies of the Italian Republic mayor
action filter_type
action intersection
action find_reverse
entity mayor
relation position held
action find_reverse
entity member of the Chamber of Deputies of the Italian Republic
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'mayor'], [{'concept': 'common name'}, 'position held', 'member of the Chamber of Deputies of the Italian Republic']]}
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:mayor . ?a property:position_held resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic . ?a rdf:type ontology:common_name }
[]
common name
Q3767139 Q3904037 Q3832076 Q3856610 Q3619931 Q3941344 Q4013092 Q3876576 Q1241606 Q761792
SYSTEM
Some of them are Giovanni Di Stasi, Pietro Marcazzan, Lido Scarpetti, Michele Galante, Antonio Mundo, Rosario Ardica, Vincenzo Balzamo, Nicolò Nicolosi, Renzo Tondo, Armando Veneto
Q3769705 Q3713129 Q3903800 Q3767560 Q3695110 Q7000689 Q1082039 Q3956269 Q16619014 Q3770184 Q3768267 Q3712973 Q3893674 Q3833082 Q3620131 Q16527519 Q3885606 Q3762746 Q15976266 Q3664231 Q3745496 Q3756679 Q3851255 Q3761115 Q3903684 Q3887014 Q3749320 Q3639315 Q16861626 Q15220566 Q3701806 Q15972639 Q3751165 Q4015526 Q3847412 Q4013366 Q3620125 Q18222573 Q3771373 Q3830081 Q3839942 Q2427172 Q18397637 Q3750829 Q3839325 Q3830411 Q1098169 Q3851144 Q18229522 Q3767579 Q3616935 Q3856610 Q745563 Q3767066 Q3804379 Q3903899 Q16262733 Q3932481 Q3616939 Q17285813 Q3677257 Q3677256 Q3119423 Q3856821 Q3856462 Q1346089 Q3611063 Q1526333 Q3703642 Q3762160 Q3770515 Q3762167 Q3762995 Q18288222 Q3702601 Q3619931 Q3723027 Q3749688 Q3767831 Q3768062 Q16573563 Q18287942 Q2245903 Q3628086 Q3606571 Q340224 Q3904339 Q4008706 Q3932656 Q3769603 Q4015578 Q3608984 Q16557316 Q17399553 Q3763656 Q3838809 Q3940829 Q3617115 Q4013395 Q703503 Q761792 Q3770487 Q3713107 Q3714289 Q369756 Q3677351 Q16559065 Q3720340 Q3770521 Q3903157 Q4013092 Q3756755 Q3619683 Q3836978 Q954698 Q3609118 Q1695842 Q4019905 Q3839609 Q3609306 Q4007930 Q3960900 Q3942303 Q3894407 Q3713257 Q3619215 Q18420365 Q16591616 Q316226 Q3852604 Q3885786 Q3620065 Q3609106 Q16562369 Q3946005 Q16525193 Q3938607 Q17600727 Q15535221 Q3941344 Q3846120 Q3713785 Q438845 Q17328910 Q3750000 Q3848689 Q930444 Q3614121 Q3765476 Q3614125 Q1121518 Q3827772 Q3904037 Q4002918 Q546288 Q3846592 Q16586847 Q3659902 Q730910 Q3932676 Q16552061 Q3624506 Q3852674 Q3832076 Q3767052 Q15989279 Q868688 Q3941371 Q3762823 Q3860820 Q3763041 Q1109987 Q17490300 Q3884891 Q3723092 Q3845635 Q3759258 Q1241606 Q3737604 Q3763047 Q4013432 Q3750826 Q3830689 Q3339912 Q3846505 Q597654 Q3638189 Q3613534 Q3836888 Q3848876 Q3942148 Q3869839 Q695875 Q16527490 Q13419095 Q3619518 Q3619058 Q3838616 Q3885549 Q15720632 Q2527720 Q17490227 Q3836911 Q3616589 Q3769776 Q1122937 Q3771298 Q17394786 Q3695387 Q3903996 Q1379277 Q3767139 Q17453067 Q3119465 Q5853391 Q3767132 Q3645956 Q3946106 Q3946033 Q3851189 Q3843542 Q4013586 Q3849036 Q3725819 Q588621 Q946114 Q3762043 Q16560023 Q3605468 Q542406 Q3929071 Q304681 Q3765411 Q3876576 Q3619394 Q3771713 Q4013216 Q3946058 Q3613555 Q3779008 Q4008642 Q3622675 Q3950927 Q3770043 Q543393 Q2246867 Q3554631 Q3617216 Q14633581 Q17453057 Q3745295 Q3831682 Q3904273 Q3301763 Q18222955 Q18224643 Q17303157 Q17453113 Q1970552 Q3958418 Q16577109 Q3680782 Q3856564 Q3933046 Q3958416 Q389134 Q3770677 Q3958498 Q3388096 Q3732613 Q3847481 Q1218549 Q3618975 Q3904297 Q3737781 Q4015053 Q3749970 Q17373253 Q1553527 Q3760935 Q3749659 Q3762970 Q16560071 Q3742115 Q15796489 Q1846792 Q1060462 Q3719082 Q3751214 Q3932624 Q3839098 Q3619491 Q3946255 Q3876362 Q452164 Q3897161 Q678849 Q3839770 Q2252913 Q3771305 Q2426702 Q993454 Q2743205 Q3839652 Q1394911 Q3945932 Q3767967 Q3659871 Q3932825 Q3961039 Q3902965 Q3745254 Q3734339 Q3894052 Q18758695 Q17399507 Q16559693
AND((c(Q502895),P39,Q30185), (c(Q502895),P39,Q18558478))
action filter_type
action intersection
action find_reverse
entity Q30185
relation P39
action find_reverse
entity Q18558478
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of mayor and member of the Chamber of Deputies of the Italian Republic
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q30185'], [{'concept': 'Q502895'}, 'P39', 'Q18558478']]}
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q30185 . ?a property:P39 resource:Q18558478 . ?a rdf:type ontology:Q502895 }
Giulio Marini Domenico Mennitti Pietro Conti Giovanni Legnini Cosimo Ennio Masiello Enea Cerquetti Umberto Scapagnini Sergio Sabattini Ubaldo Lopardi Giuseppe Buonocore Giovanni Uberti Domenico Coggiola Paolo Affronti Lino Osvaldo Felissari Antonio Rusconi Antonio Ferrarese Orfeo Goracci Gian Piero Scanu Dario Nardella Celeste Negarville Filomena Delli Castelli Gabriele Sboarina Massimo Fiorio Germano De Cinque Pietro Battaglia Osvaldo Napoli Francantonio Genovese Biagio Andò Giuseppe Carrà Giuseppe Di Vagno Daniela Mazzuconi Daniela Gasparini Franco Borgia Vittorio Salvatori Maria Magnani Noya Vincenzo Malenchini Antonio Rugghia Alessandro Agrimi Giuseppe Russo Lelio Lagorio Luigi Nocera Paolo Pillitteri Giuseppe Orciari Francesco Zoppetti Luigi Bennani Leonardo Pandolfo Claudio Scajola Massimo Bitonci Nicola Gunnar Vincenzi Giovanni Lorenzo Forcieri Angelo Compagnoni Michele Galante Diego Cammarata Giovanni Crema Italo Bargagna Pietro Franzoso Giovannino Loreti Remo Gaspari Angelo Corsi Giuseppe Veronesi Cino Moscatelli Cino Macrelli Guido Crosetto Michele Traversa Michelangelo Trimarchi Enzo Bianco Alfeo Corassori Giovanni Ponti Davide Zoggia Giacomo Maccheroni Giuseppe Fanfani Giacomo Mancini Gianclaudio Bressa Riccardo Di Corato Dario Galli Antonio Mundo Elio Gabbuggiani Francesco Buffoni Giovanni Notta Giovanni Roveda Lorenzo Ria Guido Bernardi Arturo Labriola Athos Valsecchi Agilulfo Caramia Achille Lauro Pietro Zoppi Varese Antoni Renato Dell'Andro Giulio Conti Vittorio Voglino Alcide Malagugini Francesco Macis Antonio Mancini Gianni Usvardi Lucio Barani Romeo Ricciuti Angelo Muzio Vincenzo Mattina Leoluca Orlando Armando Veneto Giuseppe Dozza Domenico Magrì Doris Lo Moro Massimo Cacciari Cinzia Maria Fontana Giampiero Giulietti Egidio Banti Giuseppe Fasoli Piero Bargellini Vincenzo Balzamo Gabriella Mondello Antonio Greppi Lorenzo Guerini Sandro Bondi Aldo Bassi Vincenzo Scotti Willer Bordon Luigi Farace Aldo Rizzo Valerio Zanone Silvio Messinetti Rudy Maira Paolo Raffaelli Domenico Susi Antonio Barbieri Rocco Minasi Cristina Conchiglia Ciriaco De Mita Maurizio Fistarol Oriano Giovanelli Antonio Priolo Aldo Aniasi Guido Dussin Salvatore Cherchi Alessandro Reggiani Roberto Bencivenga Antonio Di Bisceglie Romina Mura Rosario Ardica Marco Filippeschi Donato Scutari Altero Matteoli Agostino Pavan Francesco Forte Mario Jannelli Giuseppe Pericu Americo Porfidia Giorgio Galvagno Amerigo Bottai Francesco Cacciatore Laura Froner Pietro Marcazzan Ugo Vetere Claudio Burlando Marco Zacchera Paolo Fadda Carlo Tognoli Giuseppe Fioroni Renato Galeazzi Enrico Borghi Arturo Burato Maurizio Pagani Lido Scarpetti Giovanni Cosattini Raffaele Farigu Concetto Lo Bello Rosario Olivo Giancarlo Cito Monica Faenzi Gianfranco Burchiellaro Roberto Soffritti Dino Moro Orazio Barbieri Elio Veltri Marcello Meroi Gelasio Adamoli Renzo Tondo Fabio Baratella Gianfranco Ciaurro Vincenzo Oliva Francesco Zanardi Leopoldo Di Girolamo Nicola Vernola Marco Stradiotto Luigi Cesaro Beniamino Finocchiaro Amaele Abbiati Lorenzo Bodega Mario Oliverio Rubes Triva Nadia Masini Riccardo Illy Antonio Decaro Dino Saccenti Antonio Del Duca Antonino Drago Luciano Lama Oreste Gelmini Franco Trappoli Virgilio Ferrari Gianfranco Astori Lorenzo Ciocci Anelito Barontini Giulio Santarelli Diego Novelli Giuseppe Reale Carlo Ambrogio Frigerio Costante Degan Pietro Lezzi Paolo Emilio Taviani Giovanni Di Stasi Luigi Angrisani Guido Secreto Albrecht Plangger Giovanni Di Mauro Bruno Villabruna Salvatore Lauricella Salvatore Di Benedetto Massimo Cialente Maino Marchi Vincenzo Zaccheo Mario Rigo Enrico Hüllweck Franco Evangelisti Paolo Costa Giacomo Chiappori Giovanni Lamanna Adolfo Quintieri Piero Fassino Raffaele Di Nardo Giovanni Battista Gianquinto Giorgio De Sabbata Nicolò Nicolosi Antonio Cavalli Giustina Destro Vincenzo De Luca Salvatore Frasca Amalia Schirru Guglielmo Rositani Vannuccio Faralli Aristide Marchetti Sauro Sedioli Giuseppe Azzaro Giorgio La Pira Adriana Poli Bortone Vannino Chiti Angelo Satanassi Fabrizio Abbate Anselmo Martoni Filippo Piccone Libero Della Briotta Pietro Soddu Mauro Pili Alessandro Carri Alfio Speranza Francesco Polizio Enrico Quaranta Salvatore Lima Settimo Nizzi Matteo Biffoni Umberto Merlin Michele Columbu Renzo Pigni Settimo Gottardo Gabriella Carlucci Giuseppe Gianni Severino Citaristi Pietro Bucalossi Ersilia Salvato Maria Rita Lorenzetti Antonio Bassolino Antonello Soro Pietro Tidei Fabio Melilli Vito Cusumano Francesco Ferrari Giuseppe Santonastaso Guido Fanti Gerardo Chiaromonte Francesco Bosi Giancarlo Sitra Giovanni Mongiello Felice Borgoglio Franco Concas Massimo Caprara Antonio De Poli Edgardo Alboni Franco Ceccuzzi Renato Cambursano Ludovico Corrao Antonio D'Auria Salvatore Vozza Nicola Siles Rosa Russo Iervolino Pasquale Viespoli Giorgio Cardetti Luigi Lazzari Gian Paolo Gobbo Giuseppe Reina Vittorio Sgarbi Valentino Pasqualin Fulvio Cerofolini Luigi Foti Clemente Mastella Salvatore Adduce Giovanni Porcellana Carlo Stagno d'Alcontres Renato Zangheri Simeone Di Cagno Abbrescia Piera Capitelli Filippo Maria Drago Eugenio Dugoni Paolo Fontanelli Achille Stuani Vincenzo Baldassi Giovanna Sanna
Giovanni Di Stasi, Pietro Marcazzan, Lido Scarpetti, Michele Galante, Antonio Mundo, Rosario Ardica, Vincenzo Balzamo, Nicolò Nicolosi, Renzo Tondo and Armando Veneto were responsible for occupying the position of mayor and member of the Chamber of Deputies of the Italian Republic
Giovanni Di Stasi Pietro Marcazzan Lido Scarpetti Michele Galante Antonio Mundo Rosario Ardica Vincenzo Balzamo Nicolò Nicolosi Renzo Tondo Armando Veneto
action filter_type
action intersection
action find_reverse
entity mayor
relation position held
action find_reverse
entity member of the Chamber of Deputies of the Italian Republic
relation position held
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'mayor'], [{'concept': 'common name'}, 'position held', 'member of the Chamber of Deputies of the Italian Republic']]}
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:mayor . ?a property:position_held resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic . ?a rdf:type ontology:common_name }
[]