Simple Question (Direct)
Simple Question
Q21483086
P734
Q82799
USER
Who has the surname Max Girschner ?
(Q21483086,P734,c(Q82799))
action filter_type
action find
entity Q21483086
relation P734
type Q82799
['Q21483086', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q21483086 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Max Girschner
action filter_type
action find
entity Max Girschner
relation family name
type name
['Max Girschner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Max_Girschner property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q21483083
SYSTEM
Girschner
Q21483083
(Q21483086,P734,c(Q82799))
action filter_type
action find
entity Q21483086
relation P734
type Q82799
[ANSWER] has the surname Max [ANSWER]
['Q21483086', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q21483086 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Girschner
Girschner has the surname Max Girschner
Girschner
action filter_type
action find
entity Max Girschner
relation family name
type name
['Max Girschner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Max_Girschner property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21483086
P21
Q290
USER
What is the sex of that person ?
(Q21483083,P21,c(Q290))
action filter_type
action find
entity Q21483086
relation P21
type Q290
['Q21483083', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q21483086 property:P21 ?w . ?w rdf:type ontology:Q290 }
Max Girschner
action filter_type
action find
entity Max Girschner
relation gender
type sex
['Girschner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Max_Girschner property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21483083,P21,c(Q290))
action filter_type
action find
entity Q21483086
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q21483083', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q21483086 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Max Girschner
relation gender
type sex
['Girschner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Max_Girschner property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5051044 Q21483086
P21
Q290
USER
Or Cat Lewis?
OR((Q21483086,P21,c(Q290)), (Q5051044,P21,c(Q290)))
action filter_type
action union
action find
entity Q21483086
relation P21
action find
entity Q5051044
relation P21
type Q290
{'OR': [['Q21483086', 'P21', {'concept': 'Q290'}], ['Q5051044', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?l property:P21 ?m . VALUES ( ?l ) { ( resource:Q5051044 ) ( resource:Q21483086 ) } } . ?m rdf:type ontology:Q290 }
Cat Lewis Max Girschner
action filter_type
action union
action find
entity Max Girschner
relation gender
action find
entity Cat Lewis
relation gender
type sex
{'OR': [['Max Girschner', 'gender', {'concept': 'sex'}], ['Cat Lewis', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?l property:gender ?m . VALUES ( ?l ) { ( resource:Cat_Lewis ) ( resource:Max_Girschner ) } } . ?m rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q21483086,P21,c(Q290)), (Q5051044,P21,c(Q290)))
action filter_type
action union
action find
entity Q21483086
relation P21
action find
entity Q5051044
relation P21
type Q290
[ANSWERS]
{'OR': [['Q21483086', 'P21', {'concept': 'Q290'}], ['Q5051044', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?l property:P21 ?m . VALUES ( ?l ) { ( resource:Q5051044 ) ( resource:Q21483086 ) } } . ?m rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Max Girschner
relation gender
action find
entity Cat Lewis
relation gender
type sex
{'OR': [['Max Girschner', 'gender', {'concept': 'sex'}], ['Cat Lewis', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?l property:gender ?m . VALUES ( ?l ) { ( resource:Cat_Lewis ) ( resource:Max_Girschner ) } } . ?m rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3711329
P180
Q82799 Q18783400 Q838948
USER
Which names are depicted in approximately the same number of genres of sculpture and works of art as wolf ?
(c(Q18783400)|c(Q838948),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3711329
relation P180
type Q18783400
type Q838948
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P180 resource:Q3711329 . { { ?v rdf:type ontology:Q18783400 } UNION { ?v rdf:type ontology:Q838948 } } } } . FILTER ( ?g = ?c ) }
wolf
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity wolf
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:depicts resource:wolf . { { ?v rdf:type ontology:genre_of_sculpture } UNION { ?v rdf:type ontology:work_of_art } } } } . FILTER ( ?g = ?c ) }
[]
name genre of sculpture work of art
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q18783400)|c(Q838948),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3711329
relation P180
type Q18783400
type Q838948
[ANSWERS] are depicted in approximately the same number of genres of sculpture and works of art as wolf
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P180 resource:Q3711329 . { { ?v rdf:type ontology:Q18783400 } UNION { ?v rdf:type ontology:Q838948 } } } } . FILTER ( ?g = ?c ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are depicted in approximately the same number of genres of sculpture and works of art as wolf
dog leek magi
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity wolf
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:depicts resource:wolf . { { ?v rdf:type ontology:genre_of_sculpture } UNION { ?v rdf:type ontology:work_of_art } } } } . FILTER ( ?g = ?c ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q876933
P140
Q874405
USER
What is the religious affiliation of that name ?
(Q876933,P140,c(Q874405))
action filter_type
action find
entity Q876933
relation P140
type Q874405
['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q876933 property:P140 ?f . ?f rdf:type ontology:Q874405 }
magi
action filter_type
action find
entity magi
relation religion
type social group
['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:magi property:religion ?f . ?f rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q876933
SYSTEM
Did you mean magi ?
Q144 Q1807269 Q876933
(Q144,P140,c(Q874405)) (Q1807269,P140,c(Q874405)) (Q876933,P140,c(Q874405))
[ANSWER]
['Q144', 'P140', {'concept': 'Q874405'}] ['Q1807269', 'P140', {'concept': 'Q874405'}] ['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q876933 property:P140 ?f . ?f rdf:type ontology:Q874405 }
dog leek magi
Did you mean magi ?
magi
['dog', 'religion', {'concept': 'social group'}] ['leek', 'religion', {'concept': 'social group'}] ['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:magi property:religion ?f . ?f rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
Yes
(Q876933,P140,c(Q874405))
['Q876933', 'P140', {'concept': 'Q874405'}]
['magi', 'religion', {'concept': 'social group'}]
[]
Q9601
SYSTEM
Zoroastrianism
Q9601
(Q876933,P140,c(Q874405))
action filter_type
action find
entity Q876933
relation P140
type Q874405
The religious affiliation of that name is called [ANSWER]
['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q876933 property:P140 ?f . ?f rdf:type ontology:Q874405 }
Zoroastrianism
The religious affiliation of that name is called Zoroastrianism
Zoroastrianism
action filter_type
action find
entity magi
relation religion
type social group
['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:magi property:religion ?f . ?f rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q658523
P138
Q22988604 Q874405
USER
Which mythological Greek characters are the origin of approximately the same number of social groups as Hermione ?
(c(Q874405),P138,c(Q22988604))
action approx
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find
entity Q658523
relation P138
type Q22988604
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q658523 property:P138 ?n . ?n rdf:type ontology:Q22988604 } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P138 ?b . ?b rdf:type ontology:Q22988604 . ?w rdf:type ontology:Q874405 } GROUP BY ?b } }
Hermione
action approx
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find
entity Hermione
relation named after
type mythological Greek character
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Hermione property:named_after ?n . ?n rdf:type ontology:mythological_Greek_character } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:named_after ?b . ?b rdf:type ontology:mythological_Greek_character . ?w rdf:type ontology:social_group } GROUP BY ?b } }
[]
mythological Greek character social group
Q170473 Q131203 Q37340
SYSTEM
Priam, Nyx, Apollo
Q184353 Q207681 Q858116 Q182019 Q570434 Q163920 Q25074 Q131203 Q192407 Q45967 Q164061 Q606422 Q208256 Q172725 Q1358973 Q47231 Q194012 Q1330532 Q1120723 Q129866 Q192485 Q106240 Q184874 Q105019 Q170473 Q660196 Q617753 Q1178583 Q192107 Q196865 Q658523 Q45713 Q203236 Q496595 Q2723619 Q165769 Q644921 Q192469 Q2316900 Q1317994 Q373916 Q308398 Q6612 Q271891 Q749966 Q193433 Q37340 Q7145232 Q379828 Q690613 Q622504 Q2391785 Q200073 Q131157 Q184570 Q83223 Q781867 Q278930 Q140001 Q182101 Q762520 Q1061782 Q151480 Q130832 Q580862 Q23168 Q180287 Q178641 Q502156 Q331327 Q878246 Q41419 Q102561 Q223152 Q1884324 Q210303 Q41410 Q207663 Q572133 Q392631 Q41746 Q189347 Q171839 Q223690 Q476682 Q334817 Q27613 Q332324 Q193609 Q374275 Q1469237
(c(Q874405),P138,c(Q22988604))
action approx
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find
entity Q658523
relation P138
type Q22988604
[ANSWERS] are the origin of approximately the same number of social groups as Hermione
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q658523 property:P138 ?n . ?n rdf:type ontology:Q22988604 } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P138 ?b . ?b rdf:type ontology:Q22988604 . ?w rdf:type ontology:Q874405 } GROUP BY ?b } }
Charites Cassiopeia Cepheus, King of Aethiopia Leda Idomeneus Adonis Tantalus Nyx Orestes Persephone Helen of Troy Arcas Diomedes Ajax the Great Oecles Odysseus Morpheus Lycomedes Pheme Minotaur Pelops Deimos Ariadne Phobos Priam Ascalaphus Belus Laodice Hemera Zethos Hermione Titan Pasiphaë Alcinous Agasthenes Penelope Erichthonius Atreus Leucippus Aletheia nymph Midas Charon Ixion Oeneus Hecuba Apollo Patreus Penthesilea Tlepolemus Thyestes Queen Rhodope Lamia Clytemnestra Iris Asclepius Menestheus Epeius Eris Tantalus Sarpedon Rhesus of Thrace sphinx Perseus Antiope Minos Moirae Peleus Pirithous Telamon Cinyras Hestia Sisyphus Adrastus Magnes Hippolyta Hades Augeias of Elis Anteros Agenor Achilles Hypnos Menelaus Ino Anemoi Polynices Cadmus Laomedon Rhadamanthus Anius Sciron
Priam, Nyx and Apollo are the origin of approximately the same number of social groups as Hermione
Priam Nyx Apollo
action approx
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find
entity Hermione
relation named after
type mythological Greek character
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Hermione property:named_after ?n . ?n rdf:type ontology:mythological_Greek_character } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:named_after ?b . ?b rdf:type ontology:mythological_Greek_character . ?w rdf:type ontology:social_group } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q184353
P138
Q22988604 Q874405
USER
And also tell me about Charites?
(c(Q874405),P138,c(Q22988604))
action approx
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find
entity Q184353
relation P138
type Q22988604
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P138 ?i . ?y rdf:type ontology:Q874405 . ?i rdf:type ontology:Q22988604 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q184353 property:P138 ?u . ?u rdf:type ontology:Q22988604 } } . FILTER ( ?m = ?v ) }
Charites
action approx
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find
entity Charites
relation named after
type mythological Greek character
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:named_after ?i . ?y rdf:type ontology:social_group . ?i rdf:type ontology:mythological_Greek_character } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Charites property:named_after ?u . ?u rdf:type ontology:mythological_Greek_character } } . FILTER ( ?m = ?v ) }
[]
mythological Greek character social group
Q170473 Q131203 Q37340
SYSTEM
Priam, Nyx, Apollo
Q184353 Q207681 Q858116 Q182019 Q570434 Q163920 Q25074 Q131203 Q192407 Q45967 Q164061 Q606422 Q208256 Q172725 Q1358973 Q47231 Q194012 Q1330532 Q1120723 Q129866 Q192485 Q106240 Q184874 Q105019 Q170473 Q660196 Q617753 Q1178583 Q192107 Q196865 Q658523 Q45713 Q203236 Q496595 Q2723619 Q165769 Q644921 Q192469 Q2316900 Q1317994 Q373916 Q308398 Q6612 Q271891 Q749966 Q193433 Q37340 Q7145232 Q379828 Q690613 Q622504 Q2391785 Q200073 Q131157 Q184570 Q83223 Q781867 Q278930 Q140001 Q182101 Q762520 Q1061782 Q151480 Q130832 Q580862 Q23168 Q180287 Q178641 Q502156 Q331327 Q878246 Q41419 Q102561 Q223152 Q1884324 Q210303 Q41410 Q207663 Q572133 Q392631 Q41746 Q189347 Q171839 Q223690 Q476682 Q334817 Q27613 Q332324 Q193609 Q374275 Q1469237
(c(Q874405),P138,c(Q22988604))
action approx
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find
entity Q184353
relation P138
type Q22988604
[ANSWERS]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P138 ?i . ?y rdf:type ontology:Q874405 . ?i rdf:type ontology:Q22988604 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q184353 property:P138 ?u . ?u rdf:type ontology:Q22988604 } } . FILTER ( ?m = ?v ) }
Charites Cassiopeia Cepheus, King of Aethiopia Leda Idomeneus Adonis Tantalus Nyx Orestes Persephone Helen of Troy Arcas Diomedes Ajax the Great Oecles Odysseus Morpheus Lycomedes Pheme Minotaur Pelops Deimos Ariadne Phobos Priam Ascalaphus Belus Laodice Hemera Zethos Hermione Titan Pasiphaë Alcinous Agasthenes Penelope Erichthonius Atreus Leucippus Aletheia nymph Midas Charon Ixion Oeneus Hecuba Apollo Patreus Penthesilea Tlepolemus Thyestes Queen Rhodope Lamia Clytemnestra Iris Asclepius Menestheus Epeius Eris Tantalus Sarpedon Rhesus of Thrace sphinx Perseus Antiope Minos Moirae Peleus Pirithous Telamon Cinyras Hestia Sisyphus Adrastus Magnes Hippolyta Hades Augeias of Elis Anteros Agenor Achilles Hypnos Menelaus Ino Anemoi Polynices Cadmus Laomedon Rhadamanthus Anius Sciron
Priam Nyx Apollo
action approx
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find
entity Charites
relation named after
type mythological Greek character
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:named_after ?i . ?y rdf:type ontology:social_group . ?i rdf:type ontology:mythological_Greek_character } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Charites property:named_after ?u . ?u rdf:type ontology:mythological_Greek_character } } . FILTER ( ?m = ?v ) }
[]