Simple Question (Direct)
Simple Question
Q1467324
P21
Q290
USER
Which sex does Fritz Lewerentz possess ?
(Q1467324,P21,c(Q290))
action filter_type
action find
entity Q1467324
relation P21
type Q290
['Q1467324', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1467324 property:P21 ?s }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation gender
type sex
['Fritz Lewerentz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Fritz_Lewerentz property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1467324,P21,c(Q290))
action filter_type
action find
entity Q1467324
relation P21
type Q290
Fritz Lewerentz possesses a [ANSWER]
['Q1467324', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1467324 property:P21 ?s }
male
Fritz Lewerentz possesses a male
male
action filter_type
action find
entity Fritz Lewerentz
relation gender
type sex
['Fritz Lewerentz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Fritz_Lewerentz property:gender ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1467324
P39
Q12737077
USER
Which occupation was a position for which Fritz Lewerentz was appointed ?
(Q1467324,P39,c(Q12737077))
action filter_type
action find
entity Q1467324
relation P39
type Q12737077
['Q1467324', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1467324 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation position held
type occupation
['Fritz Lewerentz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Fritz_Lewerentz property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q18627832
SYSTEM
Member of Landtag of Prussia
Q18627832
(Q1467324,P39,c(Q12737077))
action filter_type
action find
entity Q1467324
relation P39
type Q12737077
[ANSWER] was a position for which Fritz Lewerentz was appointed
['Q1467324', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1467324 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Member of Landtag of Prussia
Member of Landtag of Prussia was a position for which Fritz Lewerentz was appointed
Member of Landtag of Prussia
action filter_type
action find
entity Fritz Lewerentz
relation position held
type occupation
['Fritz Lewerentz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Fritz_Lewerentz property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467324
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q18627832,P106,c(Q12737077))
action filter_type
action find
entity Q1467324
relation P106
type Q12737077
['Q18627832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1467324 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation occupation
type occupation
['Member of Landtag of Prussia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Fritz_Lewerentz property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q18627832,P106,c(Q12737077))
action filter_type
action find
entity Q1467324
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q18627832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1467324 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Fritz Lewerentz
relation occupation
type occupation
['Member of Landtag of Prussia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Fritz_Lewerentz property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467324
P937
Q56061
USER
Which is the work location of that person ?
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q1467324
relation P937
type Q56061
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q1467324 property:P937 ?z }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Fritz_Lewerentz property:work_location ?z }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q1467324
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q1467324 property:P937 ?z }
Berlin
The work location of that person is in Berlin
Berlin
action filter_type
action find
entity Fritz Lewerentz
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Fritz_Lewerentz property:work_location ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467324
P102
Q7278
USER
Which political party is that person a member of ?
(Q64,P102,c(Q7278))
action filter_type
action find
entity Q1467324
relation P102
type Q7278
['Q64', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q1467324 property:P102 ?h . ?h rdf:type ontology:Q7278 }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation member of political party
type political party
['Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Fritz_Lewerentz property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q64,P102,c(Q7278))
action filter_type
action find
entity Q1467324
relation P102
type Q7278
[ANSWER] is that person a member of
['Q64', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q1467324 property:P102 ?h . ?h rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is that person a member of
Social Democratic Party of Germany
action filter_type
action find
entity Fritz Lewerentz
relation member of political party
type political party
['Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Fritz_Lewerentz property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1467324
P19
Q15617994
USER
Where was Fritz Lewerentz born ?
(Q1467324,P19,c(Q15617994))
action filter_type
action find
entity Q1467324
relation P19
type Q15617994
['Q1467324', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1467324 property:P19 ?l }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation place of birth
type designation for an administrative territorial entity
['Fritz Lewerentz', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fritz_Lewerentz property:place_of_birth ?l }
[]
designation for an administrative territorial entity
Q664950
SYSTEM
Loddin
Q664950
(Q1467324,P19,c(Q15617994))
action filter_type
action find
entity Q1467324
relation P19
type Q15617994
Fritz Lewerentz was born in [ANSWER]
['Q1467324', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1467324 property:P19 ?l }
Loddin
Fritz Lewerentz was born in Loddin
Loddin
action filter_type
action find
entity Fritz Lewerentz
relation place of birth
type designation for an administrative territorial entity
['Fritz Lewerentz', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fritz_Lewerentz property:place_of_birth ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467324
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q664950,P27,c(Q1048835))
action filter_type
action find
entity Q1467324
relation P27
type Q1048835
['Q664950', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1467324 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Fritz Lewerentz
action filter_type
action find
entity Fritz Lewerentz
relation country of citizenship
type political territorial entity
['Loddin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fritz_Lewerentz property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q664950,P27,c(Q1048835))
action filter_type
action find
entity Q1467324
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q664950', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1467324 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Fritz Lewerentz
relation country of citizenship
type political territorial entity
['Loddin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fritz_Lewerentz property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q381353
P180
Q12737077 Q11060274 Q2342494
USER
Which occupations are depicted in around the same number of prints and collectables as woman of letters ?
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q381353
relation P180
type Q11060274
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P180 resource:Q381353 . { { ?h rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?b property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } UNION { ?l rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 . ?b property:P180 ?l } } GROUP BY ?l } }
woman of letters
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity woman of letters
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:depicts resource:woman_of_letters . { { ?h rdf:type ontology:print } UNION { ?h rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?b property:depicts ?l . ?l rdf:type ontology:occupation . ?b rdf:type ontology:print } UNION { ?l rdf:type ontology:occupation . ?b rdf:type ontology:collectable . ?b property:depicts ?l } } GROUP BY ?l } }
[]
occupation print collectable
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q381353
relation P180
type Q11060274
type Q2342494
The [ANSWERS] are depicted in around the same number of prints and collectables as woman of letters
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P180 resource:Q381353 . { { ?h rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?b property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } UNION { ?l rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 . ?b property:P180 ?l } } GROUP BY ?l } }
fiddler acrobat milkmaid worker singer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason 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 fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 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
The nurse, tailor and librarian are depicted in around the same number of prints and collectables as woman of letters
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity woman of letters
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:depicts resource:woman_of_letters . { { ?h rdf:type ontology:print } UNION { ?h rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?b property:depicts ?l . ?l rdf:type ontology:occupation . ?b rdf:type ontology:print } UNION { ?l rdf:type ontology:occupation . ?b rdf:type ontology:collectable . ?b property:depicts ?l } } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15954519
P180
Q12737077 Q11060274 Q2342494
USER
And what about alchemist?
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15954519
relation P180
type Q11060274
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?f = ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P180 resource:Q15954519 . { { ?j rdf:type ontology:Q11060274 } UNION { ?j rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?z WHERE { { ?h rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q12737077 . ?h property:P180 ?z } UNION { ?h property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?z } }
alchemist
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity alchemist
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?f = ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:depicts resource:alchemist . { { ?j rdf:type ontology:print } UNION { ?j rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?z WHERE { { ?h rdf:type ontology:print . ?z rdf:type ontology:occupation . ?h property:depicts ?z } UNION { ?h property:depicts ?z . ?z rdf:type ontology:occupation . ?h rdf:type ontology:collectable } } GROUP BY ?z } }
[]
occupation print collectable
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q11060274)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q15954519
relation P180
type Q11060274
type Q2342494
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?f = ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P180 resource:Q15954519 . { { ?j rdf:type ontology:Q11060274 } UNION { ?j rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?z WHERE { { ?h rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q12737077 . ?h property:P180 ?z } UNION { ?h property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?z } }
fiddler acrobat milkmaid worker singer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason 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 fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 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
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity alchemist
relation depicts
type print
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?f = ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:depicts resource:alchemist . { { ?j rdf:type ontology:print } UNION { ?j rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?z WHERE { { ?h rdf:type ontology:print . ?z rdf:type ontology:occupation . ?h property:depicts ?z } UNION { ?h property:depicts ?z . ?z rdf:type ontology:occupation . ?h rdf:type ontology:collectable } } GROUP BY ?z } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q186360 Q242468 Q182436
P417
Q502895
USER
What are the names of the patron saint of those occupations ?
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?z property:P417 ?b . VALUES ( ?z ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } . ?b rdf:type ontology:Q502895 }
nurse tailor librarian
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?z property:patron_saint ?b . VALUES ( ?z ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } . ?b rdf:type ontology:common_name }
[]
common name
Q229190 Q44248 Q43982
SYSTEM
Catherine of Siena, Jerome, Bartholomew the Apostle
Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982 Q179718 Q44248 Q17590
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
The names of the patron saint of those occupations are Saint [ANSWERS]
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?z property:P417 ?b . VALUES ( ?z ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } . ?b rdf:type ontology:Q502895 }
Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
The names of the patron saint of those occupations are Saint Catherine of Siena, Jerome and Bartholomew the Apostle
Catherine of Siena Jerome Bartholomew the Apostle
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?z property:patron_saint ?b . VALUES ( ?z ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44248
P1412
Q34770
USER
Which language can that person read ?
(Q44248,P1412,c(Q34770))
action filter_type
action find
entity Q44248
relation P1412
type Q34770
['Q44248', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q44248 property:P1412 ?t }
Jerome
action filter_type
action find
entity Jerome
relation languages spoken, written or signed
type language
['Jerome', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Jerome property:languages_spoken,_written_or_signed ?t }
[]
language
Clarification for simple ques.
Q43982
SYSTEM
Did you mean Bartholomew the Apostle ?
Q229190 Q44248 Q43982
(Q229190,P1412,c(Q34770)) (Q44248,P1412,c(Q34770)) (Q43982,P1412,c(Q34770))
[ANSWER]
['Q229190', 'P1412', {'concept': 'Q34770'}] ['Q44248', 'P1412', {'concept': 'Q34770'}] ['Q43982', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q44248 property:P1412 ?t }
Catherine of Siena Jerome Bartholomew the Apostle
Did you mean Bartholomew the Apostle ?
Bartholomew the Apostle
['Catherine of Siena', 'languages spoken, written or signed', {'concept': 'language'}] ['Jerome', 'languages spoken, written or signed', {'concept': 'language'}] ['Bartholomew the Apostle', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Jerome property:languages_spoken,_written_or_signed ?t }
[]
Simple Question (Coreferenced)
USER
No, I meant Jerome. Could you tell me the answer for that?
(Q44248,P1412,c(Q34770))
Q44248
['Q44248', 'P1412', {'concept': 'Q34770'}]
['Jerome', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q397
SYSTEM
Latin
Q397
(Q44248,P1412,c(Q34770))
action filter_type
action find
entity Q44248
relation P1412
type Q34770
That person can read in [ANSWER]
['Q44248', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q44248 property:P1412 ?t }
Latin
That person can read in Latin
Latin
action filter_type
action find
entity Jerome
relation languages spoken, written or signed
type language
['Jerome', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Jerome property:languages_spoken,_written_or_signed ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages have writing system as approximately the same number of writing systems as that language ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q397
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?o ) WHERE { ?d property:P282 ?z . ?d rdf:type ontology:Q34770 . ?z rdf:type ontology:Q8192 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q397 property:P282 ?y . ?y rdf:type ontology:Q34770 } } . FILTER ( ?o = ?f ) }
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Latin
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?o ) WHERE { ?d property:writing_system ?z . ?d rdf:type ontology:language . ?z rdf:type ontology:writing_system } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Latin property:writing_system ?y . ?y rdf:type ontology:language } } . FILTER ( ?o = ?f ) }
[]
writing system language
SYSTEM
56
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q397
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?o ) WHERE { ?d property:P282 ?z . ?d rdf:type ontology:Q34770 . ?z rdf:type ontology:Q8192 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q397 property:P282 ?y . ?y rdf:type ontology:Q34770 } } . FILTER ( ?o = ?f ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
56
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Latin
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?o ) WHERE { ?d property:writing_system ?z . ?d rdf:type ontology:language . ?z rdf:type ontology:writing_system } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Latin property:writing_system ?y . ?y rdf:type ontology:language } } . FILTER ( ?o = ?f ) }
[]