Simple Question (Direct)
Simple Question
Q565070
P106
Q12737077
USER
What are the job of Harald Genzmer ?
(Q565070,P106,c(Q12737077))
action filter_type
action find
entity Q565070
relation P106
type Q12737077
['Q565070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q565070 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Harald Genzmer
action filter_type
action find
entity Harald Genzmer
relation occupation
type occupation
['Harald Genzmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Harald_Genzmer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q14915627 Q36834 Q1622272
SYSTEM
musicologist, composer, university teacher
Q14915627 Q36834 Q1622272
(Q565070,P106,c(Q12737077))
action filter_type
action find
entity Q565070
relation P106
type Q12737077
The job of Harald Genzmer are a [ANSWERS]
['Q565070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q565070 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
musicologist composer university teacher
The job of Harald Genzmer are a musicologist, composer and university teacher
musicologist composer university teacher
action filter_type
action find
entity Harald Genzmer
relation occupation
type occupation
['Harald Genzmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Harald_Genzmer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q565070
P21
Q290
USER
What is the sex of Harald Genzmer ?
(Q565070,P21,c(Q290))
action filter_type
action find
entity Q565070
relation P21
type Q290
['Q565070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q565070 property:P21 ?s }
Harald Genzmer
action filter_type
action find
entity Harald Genzmer
relation gender
type sex
['Harald Genzmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Harald_Genzmer property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q565070,P21,c(Q290))
action filter_type
action find
entity Q565070
relation P21
type Q290
The sex of Harald Genzmer is the [ANSWER]
['Q565070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q565070 property:P21 ?s }
male
The sex of Harald Genzmer is the male
male
action filter_type
action find
entity Harald Genzmer
relation gender
type sex
['Harald Genzmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Harald_Genzmer property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q565070
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q565070
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q565070 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Harald Genzmer
action filter_type
action find
entity Harald Genzmer
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harald_Genzmer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q882474
SYSTEM
Blumenthal
Q882474
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q565070
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q565070 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Blumenthal
That person was born in Blumenthal
Blumenthal
action filter_type
action find
entity Harald Genzmer
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harald_Genzmer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2995983
P180
Q12737077 Q15709879 Q340169
USER
Which occupations are expressed in less number of artwork series or medias than double-bassist ?
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q15709879
type Q340169
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e < ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q2995983 . { { ?k rdf:type ontology:Q340169 } UNION { ?k rdf:type ontology:Q15709879 } } } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { { ?j property:P180 ?s . ?j rdf:type ontology:Q15709879 . ?s rdf:type ontology:Q12737077 } UNION { ?j property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q340169 } } GROUP BY ?s } }
double-bassist
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e < ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:double-bassist . { { ?k rdf:type ontology:media } UNION { ?k rdf:type ontology:artwork_series } } } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { { ?j property:depicts ?s . ?j rdf:type ontology:artwork_series . ?s rdf:type ontology:occupation } UNION { ?j property:depicts ?s . ?s rdf:type ontology:occupation . ?j rdf:type ontology:media } } GROUP BY ?s } }
[]
occupation artwork series media
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
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 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 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 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 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q15709879
type Q340169
The [ANSWERS] are expressed in less number of artwork series or medias than double-bassist
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e < ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q2995983 . { { ?k rdf:type ontology:Q340169 } UNION { ?k rdf:type ontology:Q15709879 } } } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { { ?j property:P180 ?s . ?j rdf:type ontology:Q15709879 . ?s rdf:type ontology:Q12737077 } UNION { ?j property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q340169 } } GROUP BY ?s } }
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 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 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 pope priestess gravedigger erudite comics artist boxer 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 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 sea captain Roman emperor quarryman cook street artist waiting staff
The farmer, tailor and librarian are expressed in less number of artwork series or medias than double-bassist
farmer tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?e < ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:double-bassist . { { ?k rdf:type ontology:media } UNION { ?k rdf:type ontology:artwork_series } } } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?e ) WHERE { { ?j property:depicts ?s . ?j rdf:type ontology:artwork_series . ?s rdf:type ontology:occupation } UNION { ?j property:depicts ?s . ?s rdf:type ontology:occupation . ?j rdf:type ontology:media } } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q15709879 Q340169
USER
And also tell me about soldier?
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q15709879
type Q340169
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q15709879 } UNION { ?a property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q340169 } } GROUP BY ?n } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P180 resource:Q4991371 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } } } }
soldier
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:depicts ?n . ?n rdf:type ontology:occupation . ?a rdf:type ontology:artwork_series } UNION { ?a property:depicts ?n . ?n rdf:type ontology:occupation . ?a rdf:type ontology:media } } GROUP BY ?n } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:depicts resource:soldier . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:artwork_series ) ( ontology:media ) } } } } }
[]
occupation artwork series media
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 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 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(Q15709879)|c(Q340169),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q15709879
type Q340169
[ANSWERS]
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q15709879 } UNION { ?a property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q340169 } } GROUP BY ?n } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P180 resource:Q4991371 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch 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 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
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type artwork series
type media
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:depicts ?n . ?n rdf:type ontology:occupation . ?a rdf:type ontology:artwork_series } UNION { ?a property:depicts ?n . ?n rdf:type ontology:occupation . ?a rdf:type ontology:media } } GROUP BY ?n } . FILTER ( ?d < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:depicts resource:soldier . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:artwork_series ) ( ontology:media ) } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q95074 Q188451
USER
How many fictional characters or music genres have a job as that occupation ?
(c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q131512) (c(Q188451),P106,Q131512) (c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q242468) (c(Q188451),P106,Q242468)
[{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q131512'] [{'concept': 'Q188451'}, 'P106', 'Q131512'] [{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q242468'] [{'concept': 'Q188451'}, 'P106', 'Q242468']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q242468 } UNION { ?y property:Q528892 resource:Q242468 } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q188451 }
[{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'farmer'] [{'concept': 'music genre'}, 'occupation', 'farmer'] [{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'tailor'] [{'concept': 'music genre'}, 'occupation', 'tailor']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:tailor } UNION { ?y property:occupation resource:tailor } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:music_genre }
[]
fictional character music genre
Quantitative|Count|Mult. entity type|Clarification
Q131512
SYSTEM
Did you mean farmer ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q242468 } UNION { ?y property:Q528892 resource:Q242468 } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q188451 }
Did you mean farmer ?
farmer
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:tailor } UNION { ?y property:occupation resource:tailor } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:music_genre }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant nurse. Could you tell me the answer for that?
(c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q131512) (c(Q188451),P106,Q131512) (c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q242468) (c(Q188451),P106,Q242468)
Q186360
[{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q131512'] [{'concept': 'Q188451'}, 'P106', 'Q131512'] [{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q242468'] [{'concept': 'Q188451'}, 'P106', 'Q242468']
[{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'farmer'] [{'concept': 'music genre'}, 'occupation', 'farmer'] [{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'tailor'] [{'concept': 'music genre'}, 'occupation', 'tailor']
[]
SYSTEM
2
Q1628095 Q7655446
(c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q131512) (c(Q188451),P106,Q131512) (c(Q95074),P106,Q186360) (c(Q188451),P106,Q186360) (c(Q95074),P106,Q242468) (c(Q188451),P106,Q242468)
[ANSWER]
[{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q131512'] [{'concept': 'Q188451'}, 'P106', 'Q131512'] [{'concept': 'Q95074'}, 'P106', 'Q186360'] [{'concept': 'Q188451'}, 'P106', 'Q186360'] [{'concept': 'Q95074'}, 'P106', 'Q242468'] [{'concept': 'Q188451'}, 'P106', 'Q242468']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q131512 } UNION { ?y property:Q528892 resource:Q131512 } UNION { ?z property:Q528892 resource:Q186360 } UNION { ?y property:Q528892 resource:Q186360 } UNION { ?z property:Q528892 resource:Q242468 } UNION { ?y property:Q528892 resource:Q242468 } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q188451 }
Annie Wilkes Sweet Polly Oliver
2
[{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'farmer'] [{'concept': 'music genre'}, 'occupation', 'farmer'] [{'concept': 'fictional character'}, 'occupation', 'nurse'] [{'concept': 'music genre'}, 'occupation', 'nurse'] [{'concept': 'fictional character'}, 'occupation', 'tailor'] [{'concept': 'music genre'}, 'occupation', 'tailor']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:farmer } UNION { ?y property:occupation resource:farmer } UNION { ?z property:occupation resource:nurse } UNION { ?y property:occupation resource:nurse } UNION { ?z property:occupation resource:tailor } UNION { ?y property:occupation resource:tailor } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:music_genre }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q332656
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Camillus de Lellis ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q332656 property:P417 ?x } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?f ) WHERE { ?y rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 . ?u property:P417 ?y } GROUP BY ?y } }
Camillus de Lellis
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:common_name . resource:Camillus_de_Lellis property:patron_saint ?x } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?f ) WHERE { ?y rdf:type ontology:common_name . ?u rdf:type ontology:occupation . ?u property:patron_saint ?y } GROUP BY ?y } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Camillus de Lellis
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q332656 property:P417 ?x } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?f ) WHERE { ?y rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 . ?u property:P417 ?y } GROUP BY ?y } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of greater number of occupations than Camillus de Lellis
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:common_name . resource:Camillus_de_Lellis property:patron_saint ?x } } . FILTER ( ?f > ?q ) . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?f ) WHERE { ?y rdf:type ontology:common_name . ?u rdf:type ontology:occupation . ?u property:patron_saint ?y } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q374822
P417
Q502895 Q12737077
USER
And how about Adrian of Nicomedia?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q374822
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P417 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?d } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q374822 property:P417 ?t . ?t rdf:type ontology:Q502895 } } }
Adrian of Nicomedia
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adrian of Nicomedia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:patron_saint ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?d } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Adrian_of_Nicomedia property:patron_saint ?t . ?t rdf:type ontology:common_name } } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q374822
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P417 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?d } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q374822 property:P417 ?t . ?t rdf:type ontology:Q502895 } } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adrian of Nicomedia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:patron_saint ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?d } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Adrian_of_Nicomedia property:patron_saint ?t . ?t rdf:type ontology:common_name } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P417
Q44539 Q16970
USER
How many temples or churches have that person as their patron saint ?
(c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q16970),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q16970),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248)
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q16970'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q16970'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q23056934 }
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'church'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'church'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:church }
[]
temple church
Quantitative|Count|Mult. entity type|Clarification
Q166876
SYSTEM
Did you mean Isidore of Seville ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q23056934 }
Did you mean Isidore of Seville ?
Isidore of Seville
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Jerome. Could you tell me the answer for that?
(c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q16970),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q16970),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248)
Q44248
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q16970'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q16970'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248']
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'church'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'church'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome']
[]
SYSTEM
2
Q888055 Q2942772
(c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248) (c(Q44539),P417,Q166876) (c(Q16970),P417,Q166876) (c(Q44539),P417,Q229190) (c(Q16970),P417,Q229190) (c(Q44539),P417,Q44248) (c(Q16970),P417,Q44248)
[ANSWER]
[{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248'] [{'concept': 'Q44539'}, 'P417', 'Q166876'] [{'concept': 'Q16970'}, 'P417', 'Q166876'] [{'concept': 'Q44539'}, 'P417', 'Q229190'] [{'concept': 'Q16970'}, 'P417', 'Q229190'] [{'concept': 'Q44539'}, 'P417', 'Q44248'] [{'concept': 'Q16970'}, 'P417', 'Q44248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } UNION { ?z property:Q28914 resource:Q16231131 } UNION { ?y property:Q28914 resource:Q16231131 } UNION { ?z property:Q28914 resource:Q229190 } UNION { ?y property:Q28914 resource:Q229190 } UNION { ?z property:Q28914 resource:Q6182518 } UNION { ?y property:Q28914 resource:Q6182518 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q23056934 }
San Girolamo della Carità Cathedral of Saint-Jérôme
2
[{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome'] [{'concept': 'temple'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'church'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'temple'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'church'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'temple'}, 'patron saint', 'Jerome'] [{'concept': 'church'}, 'patron saint', 'Jerome']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } UNION { ?z property:patron_saint resource:Isidore_of_Seville } UNION { ?y property:patron_saint resource:Isidore_of_Seville } UNION { ?z property:patron_saint resource:Catherine_of_Siena } UNION { ?y property:patron_saint resource:Catherine_of_Siena } UNION { ?z property:patron_saint resource:Jerome } UNION { ?y property:patron_saint resource:Jerome } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q44248
P138
Q44539
USER
How many temples have Jerome as their namesake ?
(c(Q44539),P138,Q44248)
action count
action filter_type
action find_reverse
entity Q44248
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q44248']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w rdf:type ontology:Q44539 . ?w property:P138 resource:Q44248 }
Jerome
action count
action filter_type
action find_reverse
entity Jerome
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Jerome']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w rdf:type ontology:temple . ?w property:named_after resource:Jerome }
[]
temple
SYSTEM
4
Q888055 Q19817453 Q688524 Q2791338
(c(Q44539),P138,Q44248)
action count
action filter_type
action find_reverse
entity Q44248
relation P138
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q44248']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w rdf:type ontology:Q44539 . ?w property:P138 resource:Q44248 }
San Girolamo della Carità Saint Jerome Church (Dahlem, Nordeifel) Franciscan Church Saint Jerome of the Croats
4
action count
action filter_type
action find_reverse
entity Jerome
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Jerome']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w rdf:type ontology:temple . ?w property:named_after resource:Jerome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q33923
P138
Q44539
USER
And also tell me about Peter?
(c(Q44539),P138,Q33923)
action count
action filter_type
action find_reverse
entity Q33923
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q33923']
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P138 resource:Q33923 . ?d rdf:type ontology:Q44539 }
Peter
action count
action filter_type
action find_reverse
entity Peter
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Peter']
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:named_after resource:Peter . ?d rdf:type ontology:temple }
[]
temple
SYSTEM
95
Q11746388 Q50837 Q17281104 Q15848671 Q810126 Q1411507 Q1668828 Q428320 Q16905294 Q2080602 Q2109794 Q4505318 Q3668345 Q3635716 Q1587398 Q883791 Q17326340 Q707645 Q1283798 Q684054 Q2322467 Q22591 Q3504517 Q1028759 Q1861408 Q2094578 Q3671612 Q21055961 Q10661476 Q1258576 Q2322759 Q2322532 Q7595351 Q727809 Q1450221 Q3671641 Q3671643 Q3671645 Q3671647 Q2801585 Q535443 Q3671668 Q3671665 Q15129954 Q3671672 Q3671674 Q2322732 Q3671787 Q317672 Q17379236 Q2079671 Q18649465 Q1537232 Q3671804 Q991266 Q3632794 Q970117 Q2219967 Q2300245 Q1938714 Q940598 Q3671688 Q718071 Q3671772 Q3671773 Q3671776 Q2756744 Q3671769 Q3671762 Q3671760 Q3671757 Q3671754 Q3671751 Q3671742 Q896458 Q3671727 Q3671728 Q693884 Q5117715 Q3671719 Q3671716 Q542070 Q3671707 Q901469 Q15752757 Q10220759 Q2079690 Q3671797 Q3671794 Q1247627 Q690687 Q16857132 Q17127512 Q17127511 Q338657
(c(Q44539),P138,Q33923)
action count
action filter_type
action find_reverse
entity Q33923
relation P138
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q33923']
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P138 resource:Q33923 . ?d rdf:type ontology:Q44539 }
St. Peter und Paul Chiesa di San Pietro (San Marino) St. Peter church in Odessa St. Peter and Paul Old St. Peter's Basilica San Pietro a Gropina St. Peter and St. Paul's Church, Detwang Ss. Peter and Paul, Wannsee St. Peter und Paul (Betzendorf) Church of Saint-Pierre Church of the Primacy of St. Peter Saint Peter's church Church of Saints Peter and Paul Basilica of San Pietro de Dom St. Peter's Presbyterian Church St. Peter's Church, Mainz St. Peter und Paul St. Peter's Church St. Peter and St. Paul's Church, Vilnius Church of Saints Peter and Paul St. Peter St. Peter's Church San Pietro in Vinculis St. Peter und Alexander Church of St. Peter in Gallicantu San Pietro a Romena Abbey of Saint Peter Church of St. Pietro in Ortanella Saint Peters church San Pietro in Montorio St. Peter Leeds Minster St Peter Mancroft St. Peter's Church Church of St. Peter and St. Paul San Pietro a Lupinaia St. Peter's Church San Pietro San Pietro a Casanuova St. Peter am Perlach St. Peter's Church Chiesa di San Pietro (Piazza al Serchio) San Pietro Sandwick, St Peter's Kirk Church of St. Peter San Pietro, Reggio Emilia St. Peter and Paul Church Church of San Pietro in Oliveto St. Peter's Church St. Peter (Wildeshausen) Peterskirche Church of St. Peter martyr of Verona Saint-Pierre-de-Montrouge San Pietro in Vinculis Church of St. Peter Badia di San Pietro a Ruoti San Pietro Martire San Pietro di Sorres Saint-Pierre de Montmartre St. Peter ad Vincula San Pietro in Vinculis San Pietro extra moenia, Spoleto San Pietro a Majella San Pietro in Avenano Church of SS Peter and Paul, Istanbul San Pietro in Banchi, Genoa Sankt Petri San Pietro di Cremeno, Genoa San Pietro d'Alcantara San Pietro alle Scale San Pietro alla Magione San Pietro a Vico d'Arbia San Pietro a Vaglia San Pietro a Ovile St. Peter's Church (Lübeck) San Pietro a Cedda Chiesa di San Pietro a Coppito St. Peter's Church Church of St Peter the Poor Fisherman Chiesa di San Pietro Vecchio San Pietro Somaldi, Lucca San Pietro in Vincoli San Pietro Apostolo San Pietro in Gessate St. Peter und Paul (Steinach) Stiftskirche St. Peter (Bad Waldsee) St. Peter San Pietro in Villore San Pietro in Selci Sankt Peter Frankfurt St. Peter St. Peter und Paul St. Peter und Paul St. Peter und Paul Saints Peter and Paul Church
95
action count
action filter_type
action find_reverse
entity Peter
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Peter']
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:named_after resource:Peter . ?d rdf:type ontology:temple }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q534049 Q44248
P825
Q44539
USER
Which temples are devoted to Jerome or Saint Petroc ?
OR((c(Q44539),P825,Q44248), (c(Q44539),P825,Q534049))
action filter_type
action union
action find_reverse
entity Q44248
relation P825
action find_reverse
entity Q534049
relation P825
type Q44539
{'OR': [[{'concept': 'Q44539'}, 'P825', 'Q44248'], [{'concept': 'Q44539'}, 'P825', 'Q534049']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P825 resource:Q534049 } UNION { ?w property:P825 resource:Q44248 } } . ?w rdf:type ontology:Q44539 }
Saint Petroc Jerome
action filter_type
action union
action find_reverse
entity Jerome
relation dedicated to
action find_reverse
entity Saint Petroc
relation dedicated to
type temple
{'OR': [[{'concept': 'temple'}, 'dedicated to', 'Jerome'], [{'concept': 'temple'}, 'dedicated to', 'Saint Petroc']]}
SELECT DISTINCT ?w WHERE { { { ?w property:dedicated_to resource:Saint_Petroc } UNION { ?w property:dedicated_to resource:Jerome } } . ?w rdf:type ontology:temple }
[]
temple
Q7595386 Q17529476 Q17548138 Q17526995 Q17532652 Q17527002 Q17537648 Q17547352 Q5117717 Q15201909
SYSTEM
Some of them are St Petrock's Church, Exeter, Church of St Petroc, Padstow, Church Of St Petrock, Church Of St Petrock, Church Of St Petrock, Church Of St Petroc, Church Of St Petrock, Church Of St Petrock And St Barnabus, Church of St Petrock, Timberscombe, St Petroc's Parish Church
Q17533478 Q17529476 Q17526995 Q17744324 Q17548138 Q17537648 Q17547352 Q5117717 Q17532652 Q17527002 Q15201909 Q17741621 Q7595386 Q17536844
OR((c(Q44539),P825,Q44248), (c(Q44539),P825,Q534049))
action filter_type
action union
action find_reverse
entity Q44248
relation P825
action find_reverse
entity Q534049
relation P825
type Q44539
[ANSWERS] are devoted to Jerome or Saint Petroc
{'OR': [[{'concept': 'Q44539'}, 'P825', 'Q44248'], [{'concept': 'Q44539'}, 'P825', 'Q534049']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P825 resource:Q534049 } UNION { ?w property:P825 resource:Q44248 } } . ?w rdf:type ontology:Q44539 }
Church Of St Petroc, Trevalga Church of St Petroc, Padstow Church Of St Petrock Church Of St Pedrog Church Of St Petrock Church Of St Petrock Church Of St Petrock And St Barnabus Church of St Petrock, Timberscombe Church Of St Petrock Church Of St Petroc St Petroc's Parish Church Church of St Jerome, Llangwm Uchaf St Petrock's Church, Exeter Church Of St Petrock
St Petrock's Church, Exeter, Church of St Petroc, Padstow, Church Of St Petrock, Church Of St Petrock, Church Of St Petrock, Church Of St Petroc, Church Of St Petrock, Church Of St Petrock And St Barnabus, Church of St Petrock, Timberscombe and St Petroc's Parish Church are devoted to Jerome or Saint Petroc
St Petrock's Church, Exeter Church of St Petroc, Padstow Church Of St Petrock Church Of St Petrock Church Of St Petrock Church Of St Petroc Church Of St Petrock Church Of St Petrock And St Barnabus Church of St Petrock, Timberscombe St Petroc's Parish Church
action filter_type
action union
action find_reverse
entity Jerome
relation dedicated to
action find_reverse
entity Saint Petroc
relation dedicated to
type temple
{'OR': [[{'concept': 'temple'}, 'dedicated to', 'Jerome'], [{'concept': 'temple'}, 'dedicated to', 'Saint Petroc']]}
SELECT DISTINCT ?w WHERE { { { ?w property:dedicated_to resource:Saint_Petroc } UNION { ?w property:dedicated_to resource:Jerome } } . ?w rdf:type ontology:temple }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q534049
P40
Q502895
USER
Who has Saint Petroc as an offspring ?
(c(Q502895),P40,Q7595386) (c(Q502895),P40,Q17529476) (c(Q502895),P40,Q17548138) (c(Q502895),P40,Q17526995) (c(Q502895),P40,Q17532652) (c(Q502895),P40,Q17527002) (c(Q502895),P40,Q17537648) (c(Q502895),P40,Q17547352) (c(Q502895),P40,Q5117717) (c(Q502895),P40,Q15201909)
action filter_type
action find_reverse
entity Q534049
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7595386'] [{'concept': 'Q502895'}, 'P40', 'Q17529476'] [{'concept': 'Q502895'}, 'P40', 'Q17548138'] [{'concept': 'Q502895'}, 'P40', 'Q17526995'] [{'concept': 'Q502895'}, 'P40', 'Q17532652'] [{'concept': 'Q502895'}, 'P40', 'Q17527002'] [{'concept': 'Q502895'}, 'P40', 'Q17537648'] [{'concept': 'Q502895'}, 'P40', 'Q17547352'] [{'concept': 'Q502895'}, 'P40', 'Q5117717'] [{'concept': 'Q502895'}, 'P40', 'Q15201909']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q534049 . ?x rdf:type ontology:Q502895 }
Saint Petroc
action filter_type
action find_reverse
entity Saint Petroc
relation child
type common name
[{'concept': 'common name'}, 'child', "St Petrock's Church, Exeter"] [{'concept': 'common name'}, 'child', 'Church of St Petroc, Padstow'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petroc'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock And St Barnabus'] [{'concept': 'common name'}, 'child', 'Church of St Petrock, Timberscombe'] [{'concept': 'common name'}, 'child', "St Petroc's Parish Church"]
SELECT DISTINCT ?x WHERE { ?x property:child resource:Saint_Petroc . ?x rdf:type ontology:common_name }
[]
common name
Q3772557
SYSTEM
Glywys
Q3772557
(c(Q502895),P40,Q7595386) (c(Q502895),P40,Q17529476) (c(Q502895),P40,Q17548138) (c(Q502895),P40,Q17526995) (c(Q502895),P40,Q17532652) (c(Q502895),P40,Q17527002) (c(Q502895),P40,Q17537648) (c(Q502895),P40,Q17547352) (c(Q502895),P40,Q5117717) (c(Q502895),P40,Q15201909)
action filter_type
action find_reverse
entity Q534049
relation P40
type Q502895
[ANSWER] has Saint Petroc as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q7595386'] [{'concept': 'Q502895'}, 'P40', 'Q17529476'] [{'concept': 'Q502895'}, 'P40', 'Q17548138'] [{'concept': 'Q502895'}, 'P40', 'Q17526995'] [{'concept': 'Q502895'}, 'P40', 'Q17532652'] [{'concept': 'Q502895'}, 'P40', 'Q17527002'] [{'concept': 'Q502895'}, 'P40', 'Q17537648'] [{'concept': 'Q502895'}, 'P40', 'Q17547352'] [{'concept': 'Q502895'}, 'P40', 'Q5117717'] [{'concept': 'Q502895'}, 'P40', 'Q15201909']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q534049 . ?x rdf:type ontology:Q502895 }
Glywys
Glywys has Saint Petroc as an offspring
Glywys
action filter_type
action find_reverse
entity Saint Petroc
relation child
type common name
[{'concept': 'common name'}, 'child', "St Petrock's Church, Exeter"] [{'concept': 'common name'}, 'child', 'Church of St Petroc, Padstow'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petroc'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock'] [{'concept': 'common name'}, 'child', 'Church Of St Petrock And St Barnabus'] [{'concept': 'common name'}, 'child', 'Church of St Petrock, Timberscombe'] [{'concept': 'common name'}, 'child', "St Petroc's Parish Church"]
SELECT DISTINCT ?x WHERE { ?x property:child resource:Saint_Petroc . ?x rdf:type ontology:common_name }
[]