Simple Question (Direct)
Simple Question
Q3478545
P106
Q12737077
USER
Which occupation has Senfa Ared IV as his/her 's career ?
(Q3478545,P106,c(Q12737077))
action filter_type
action find
entity Q3478545
relation P106
type Q12737077
['Q3478545', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3478545 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Senfa Ared IV
action filter_type
action find
entity Senfa Ared IV
relation occupation
type occupation
['Senfa Ared IV', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Senfa_Ared_IV property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3478545,P106,c(Q12737077))
action filter_type
action find
entity Q3478545
relation P106
type Q12737077
The [ANSWER] has Senfa Ared IV as his/her 's career
['Q3478545', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3478545 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
The politician has Senfa Ared IV as his/her 's career
politician
action filter_type
action find
entity Senfa Ared IV
relation occupation
type occupation
['Senfa Ared IV', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Senfa_Ared_IV property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?f WHERE { resource:Q82955 property:P425 ?f . ?f rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?f WHERE { resource:politician property:field_of_this_occupation ?f . ?f rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?f WHERE { resource:Q82955 property:P425 ?f . ?f rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?f WHERE { resource:politician property:field_of_this_occupation ?f . ?f rdf:type ontology:human_behaviour }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q133485
P180
Q12737077 Q2342494 Q386724
USER
How many occupations are expressed in around the same number of collectables or works as rabbi ?
(c(Q2342494)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P180
type Q2342494
type Q386724
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?z rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q133485 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q386724 } } } } . FILTER ( ?f = ?b ) }
rabbi
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity rabbi
relation depicts
type collectable
type work
[[{'concept': 'collectable'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:work ) ( ontology:collectable ) } . ?z rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:rabbi . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:work } } } } . FILTER ( ?f = ?b ) }
[]
occupation collectable work
SYSTEM
223
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 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 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q2342494)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P180
type Q2342494
type Q386724
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?z rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P180 resource:Q133485 . { { ?k rdf:type ontology:Q2342494 } UNION { ?k rdf:type ontology:Q386724 } } } } . FILTER ( ?f = ?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 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 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 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 tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
223
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity rabbi
relation depicts
type collectable
type work
[[{'concept': 'collectable'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:work ) ( ontology:collectable ) } . ?z rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:depicts resource:rabbi . { { ?k rdf:type ontology:collectable } UNION { ?k rdf:type ontology:work } } } } . FILTER ( ?f = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q805221
P180
Q12737077 Q2342494 Q386724
USER
And also tell me about ballet dancer?
(c(Q2342494)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q2342494
type Q386724
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?m = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P180 resource:Q805221 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q386724 ) } } } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P180 ?n . ?e rdf:type ontology:Q386724 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?n } }
ballet dancer
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type collectable
type work
[[{'concept': 'collectable'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?m = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:depicts resource:ballet_dancer . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work ) } } } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:depicts ?n . ?n rdf:type ontology:occupation . ?e rdf:type ontology:collectable } UNION { ?e property:depicts ?n . ?e rdf:type ontology:work . ?n rdf:type ontology:occupation } } GROUP BY ?n } }
[]
occupation collectable work
SYSTEM
223
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 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 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q2342494)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q2342494
type Q386724
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?m = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P180 resource:Q805221 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q386724 ) } } } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P180 ?n . ?e rdf:type ontology:Q386724 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?n } }
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 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 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 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 tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
223
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type collectable
type work
[[{'concept': 'collectable'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?m = ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:depicts resource:ballet_dancer . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:work ) } } } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:depicts ?n . ?n rdf:type ontology:occupation . ?e rdf:type ontology:collectable } UNION { ?e property:depicts ?n . ?e rdf:type ontology:work . ?n rdf:type ontology:occupation } } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q651226
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately the same number of occupations as Viktor of Xanten ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q651226
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 . ?b property:P417 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q651226 property:P417 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?y = ?j ) }
Viktor of Xanten
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Viktor of Xanten
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n rdf:type ontology:common_name . ?b rdf:type ontology:occupation . ?b property:patron_saint ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Viktor_of_Xanten property:patron_saint ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?y = ?j ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q651226
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of approximately the same number of occupations as Viktor of Xanten
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 . ?b property:P417 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q651226 property:P417 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?y = ?j ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of the patron saint of approximately the same number of occupations as Viktor of Xanten
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Viktor of Xanten
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?y ) WHERE { ?n rdf:type ontology:common_name . ?b rdf:type ontology:occupation . ?b property:patron_saint ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Viktor_of_Xanten property:patron_saint ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?y = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q101090
P417
Q502895 Q12737077
USER
And how about Eleuterus?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q101090
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 . ?f property:P417 ?c } GROUP BY ?c } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q101090 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Eleuterus
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eleuterus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:occupation . ?c rdf:type ontology:common_name . ?f property:patron_saint ?c } GROUP BY ?c } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Eleuterus property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q101090
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 . ?f property:P417 ?c } GROUP BY ?c } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q101090 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eleuterus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:occupation . ?c rdf:type ontology:common_name . ?f property:patron_saint ?c } GROUP BY ?c } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Eleuterus property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9682
P35
Q1048835
USER
How many political territories have Elizabeth II as their chief of state ?
(c(Q1048835),P35,Q9682)
action count
action filter_type
action find_reverse
entity Q9682
relation P35
type Q1048835
[{'concept': 'Q1048835'}, 'P35', 'Q9682']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P35 resource:Q9682 . ?s rdf:type ontology:Q1048835 }
Elizabeth II
action count
action filter_type
action find_reverse
entity Elizabeth II
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:head_of_state resource:Elizabeth_II . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
15
Q763 Q766 Q778 Q664 Q408 Q691 Q757 Q685 Q18221 Q16 Q769 Q9648 Q9676 Q781 Q785
(c(Q1048835),P35,Q9682)
action count
action filter_type
action find_reverse
entity Q9682
relation P35
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P35', 'Q9682']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P35 resource:Q9682 . ?s rdf:type ontology:Q1048835 }
Saint Kitts and Nevis Jamaica The Bahamas New Zealand Australia Papua New Guinea Saint Vincent and the Grenadines Solomon Islands Turks and Caicos Islands Canada Grenada Falkland Islands Isle of Man Antigua and Barbuda Jersey
15
action count
action filter_type
action find_reverse
entity Elizabeth II
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Elizabeth II']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:head_of_state resource:Elizabeth_II . ?s rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2551
P35
Q1048835
USER
And also tell me about Johannes Rau?
(c(Q1048835),P35,Q2551)
action count
action filter_type
action find_reverse
entity Q2551
relation P35
type Q1048835
[{'concept': 'Q1048835'}, 'P35', 'Q2551']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P35 resource:Q2551 . ?a rdf:type ontology:Q1048835 }
Johannes Rau
action count
action filter_type
action find_reverse
entity Johannes Rau
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Johannes Rau']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:head_of_state resource:Johannes_Rau . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(c(Q1048835),P35,Q2551)
action count
action filter_type
action find_reverse
entity Q2551
relation P35
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P35', 'Q2551']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P35 resource:Q2551 . ?a rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find_reverse
entity Johannes Rau
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Johannes Rau']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:head_of_state resource:Johannes_Rau . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2551
P1344
Q1499496
USER
Which German presidential election did Johannes Rau participate in ?
(Q2551,P1344,c(Q1499496))
action filter_type
action find
entity Q2551
relation P1344
type Q1499496
['Q2551', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?u WHERE { resource:Q2551 property:P1344 ?u . ?u rdf:type ontology:Q1499496 }
Johannes Rau
action filter_type
action find
entity Johannes Rau
relation participant of
type German presidential election
['Johannes Rau', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?u WHERE { resource:Johannes_Rau property:participant_of ?u . ?u rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110
SYSTEM
German presidential election, 1999
Q451110
(Q2551,P1344,c(Q1499496))
action filter_type
action find
entity Q2551
relation P1344
type Q1499496
Johannes Rau participated in [ANSWER]
['Q2551', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?u WHERE { resource:Q2551 property:P1344 ?u . ?u rdf:type ontology:Q1499496 }
German presidential election, 1999
Johannes Rau participated in German presidential election, 1999
German presidential election, 1999
action filter_type
action find
entity Johannes Rau
relation participant of
type German presidential election
['Johannes Rau', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?u WHERE { resource:Johannes_Rau property:participant_of ?u . ?u rdf:type ontology:German_presidential_election }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15273689
Q1499496
USER
And also tell me about Bernhard Daldrup?
(Q15273689,P1344,c(Q1499496))
action filter_type
action find
entity Q15273689
relation P1344
type Q1499496
['Q15273689', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?p WHERE { resource:Q15273689 property:P1344 ?p . ?p rdf:type ontology:Q1499496 }
Bernhard Daldrup
action filter_type
action find
entity Bernhard Daldrup
relation participant of
type German presidential election
['Bernhard Daldrup', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?p WHERE { resource:Bernhard_Daldrup property:participant_of ?p . ?p rdf:type ontology:German_presidential_election }
[]
German presidential election
Q707063 Q670933
SYSTEM
German presidential election, 2010, German presidential election, 2012
Q707063 Q670933
(Q15273689,P1344,c(Q1499496))
action filter_type
action find
entity Q15273689
relation P1344
type Q1499496
[ANSWERS]
['Q15273689', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?p WHERE { resource:Q15273689 property:P1344 ?p . ?p rdf:type ontology:Q1499496 }
German presidential election, 2010 German presidential election, 2012
German presidential election, 2010 German presidential election, 2012
action filter_type
action find
entity Bernhard Daldrup
relation participant of
type German presidential election
['Bernhard Daldrup', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?p WHERE { resource:Bernhard_Daldrup property:participant_of ?p . ?p rdf:type ontology:German_presidential_election }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by exactly 3 people ?
(c(Q6619679),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?l property:P725 ?i . ?l rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?j = 3 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?l property:voice_actor ?i . ?l rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?j = 3 ) }
[]
common name fictional humanoid
SYSTEM
4
Q11609133 Q15726751 Q11479883 Q18073923
(c(Q6619679),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?l property:P725 ?i . ?l rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?j = 3 ) }
Sayaka Miki Diamond Tiara Mami Tomoe Sunset Shimmer
4
action count
action equal
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?l property:voice_actor ?i . ?l rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?j = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q386724 Q732577
USER
Which occupations were the main subjects of max number of works and publications 's work ?
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 } UNION { ?f property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?q ) AS ?n ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } GROUP BY ?p } } }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:main_subject ?v . ?v rdf:type ontology:occupation . ?f rdf:type ontology:work } UNION { ?f property:main_subject ?v . ?v rdf:type ontology:occupation . ?f rdf:type ontology:publication } } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?q ) AS ?n ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:work ) ( ontology:publication ) } } GROUP BY ?p } } }
[]
occupation work publication
Q16746569
SYSTEM
high school student
Q16746569
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
The [ANSWER] was the main subjects of max number of works and publications 's work
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 } UNION { ?f property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?q ) AS ?n ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } GROUP BY ?p } } }
high school student
The high school student was the main subjects of max number of works and publications 's work
high school student
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?r = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?r ) WHERE { { ?f property:main_subject ?v . ?v rdf:type ontology:occupation . ?f rdf:type ontology:work } UNION { ?f property:main_subject ?v . ?v rdf:type ontology:occupation . ?f rdf:type ontology:publication } } GROUP BY ?v } . { SELECT DISTINCT ( MAX ( ?q ) AS ?n ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:work ) ( ontology:publication ) } } GROUP BY ?p } } }
[]