Simple Question (Direct)
Simple Question
Q5859880
P106
Q12737077
USER
What are the professions of Fernando Martínez de la Escalera y Pérez de Rozas ?
(Q5859880,P106,c(Q12737077))
action filter_type
action find
entity Q5859880
relation P106
type Q12737077
['Q5859880', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5859880 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Fernando Martínez de la Escalera y Pérez de Rozas
action filter_type
action find
entity Fernando Martínez de la Escalera y Pérez de Rozas
relation occupation
type occupation
['Fernando Martínez de la Escalera y Pérez de Rozas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Fernando_Martínez_de_la_Escalera_y_Pérez_de_Rozas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q18805 Q2374149
SYSTEM
naturalist, botanist
Q18805 Q2374149
(Q5859880,P106,c(Q12737077))
action filter_type
action find
entity Q5859880
relation P106
type Q12737077
The professions of Fernando Martínez de la Escalera y Pérez de Rozas are a [ANSWERS]
['Q5859880', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5859880 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
naturalist botanist
The professions of Fernando Martínez de la Escalera y Pérez de Rozas are a naturalist and botanist
naturalist botanist
action filter_type
action find
entity Fernando Martínez de la Escalera y Pérez de Rozas
relation occupation
type occupation
['Fernando Martínez de la Escalera y Pérez de Rozas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Fernando_Martínez_de_la_Escalera_y_Pérez_de_Rozas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2374149
P425
Q1047113
USER
Who is associated with the field of occupation that one ?
(Q2374149,P425,c(Q1047113))
action filter_type
action find
entity Q2374149
relation P425
type Q1047113
['Q2374149', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1047113 . resource:Q2374149 property:P425 ?i }
botanist
action filter_type
action find
entity botanist
relation field of this occupation
type special field
['botanist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:special_field . resource:botanist property:field_of_this_occupation ?i }
[]
special field
Clarification for simple ques.
Q18805
SYSTEM
Did you mean naturalist ?
Q18805 Q2374149
(Q18805,P425,c(Q1047113)) (Q2374149,P425,c(Q1047113))
[ANSWER]
['Q18805', 'P425', {'concept': 'Q1047113'}] ['Q2374149', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1047113 . resource:Q2374149 property:P425 ?i }
naturalist botanist
Did you mean naturalist ?
naturalist
['naturalist', 'field of this occupation', {'concept': 'special field'}] ['botanist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:special_field . resource:botanist property:field_of_this_occupation ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant botanist. Could you tell me the answer for that?
(Q2374149,P425,c(Q1047113))
Q2374149
['Q2374149', 'P425', {'concept': 'Q1047113'}]
['botanist', 'field of this occupation', {'concept': 'special field'}]
[]
Q441
SYSTEM
botany
Q441
(Q2374149,P425,c(Q1047113))
action filter_type
action find
entity Q2374149
relation P425
type Q1047113
[ANSWER] is associated with the field of occupation that one
['Q2374149', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1047113 . resource:Q2374149 property:P425 ?i }
botany
Botany is associated with the field of occupation that one
botany
action filter_type
action find
entity botanist
relation field of this occupation
type special field
['botanist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:special_field . resource:botanist property:field_of_this_occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18805
P425
Q336
USER
Who is associated with the field of occupation naturalist ?
(Q18805,P425,c(Q336))
action filter_type
action find
entity Q18805
relation P425
type Q336
['Q18805', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?u WHERE { resource:Q18805 property:P425 ?u . ?u rdf:type ontology:Q336 }
naturalist
action filter_type
action find
entity naturalist
relation field of this occupation
type science
['naturalist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?u WHERE { resource:naturalist property:field_of_this_occupation ?u . ?u rdf:type ontology:science }
[]
science
Q7991
SYSTEM
natural science
Q7991
(Q18805,P425,c(Q336))
action filter_type
action find
entity Q18805
relation P425
type Q336
Is [ANSWER] is associated with the field of occupation naturalist
['Q18805', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?u WHERE { resource:Q18805 property:P425 ?u . ?u rdf:type ontology:Q336 }
natural science
Is natural science is associated with the field of occupation naturalist
natural science
action filter_type
action find
entity naturalist
relation field of this occupation
type science
['naturalist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?u WHERE { resource:naturalist property:field_of_this_occupation ?u . ?u rdf:type ontology:science }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18805
P417
Q502895
USER
What is the name of person who is the patron saint of naturalist ?
(Q18805,P417,c(Q502895))
action filter_type
action find
entity Q18805
relation P417
type Q502895
['Q18805', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18805 property:P417 ?e . ?e rdf:type ontology:Q502895 }
naturalist
action filter_type
action find
entity naturalist
relation patron saint
type common name
['naturalist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:naturalist property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
common name
Q60059
SYSTEM
Albertus Magnus
Q60059
(Q18805,P417,c(Q502895))
action filter_type
action find
entity Q18805
relation P417
type Q502895
The name of person is the patron saint of naturalist is [ANSWER]
['Q18805', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18805 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Albertus Magnus
The name of person is the patron saint of naturalist is Albertus Magnus
Albertus Magnus
action filter_type
action find
entity naturalist
relation patron saint
type common name
['naturalist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:naturalist property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12354089
Q502895
USER
And what about Saints Peter and Paul Church, Dunaszentpál?
(Q12354089,P417,c(Q502895))
action filter_type
action find
entity Q12354089
relation P417
type Q502895
['Q12354089', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q12354089 property:P417 ?x . ?x rdf:type ontology:Q502895 }
Saints Peter and Paul Church, Dunaszentpál
action filter_type
action find
entity Saints Peter and Paul Church, Dunaszentpál
relation patron saint
type common name
['Saints Peter and Paul Church, Dunaszentpál', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Saints_Peter_and_Paul_Church,_Dunaszentpál property:patron_saint ?x . ?x rdf:type ontology:common_name }
[]
common name
Q9200 Q33923
SYSTEM
Paul, Peter
Q9200 Q33923
(Q12354089,P417,c(Q502895))
action filter_type
action find
entity Q12354089
relation P417
type Q502895
[ANSWERS]
['Q12354089', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q12354089 property:P417 ?x . ?x rdf:type ontology:Q502895 }
Paul Peter
Paul Peter
action filter_type
action find
entity Saints Peter and Paul Church, Dunaszentpál
relation patron saint
type common name
['Saints Peter and Paul Church, Dunaszentpál', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Saints_Peter_and_Paul_Church,_Dunaszentpál property:patron_saint ?x . ?x rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P138
Q16970
USER
How many churches have that person as their namesake ?
(c(Q16970),P138,Q33923)
[{'concept': 'Q16970'}, 'P138', 'Q33923']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q33923 . ?z rdf:type ontology:Q23056934 }
[{'concept': 'church'}, 'named after', 'Peter']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:Peter . ?z rdf:type ontology:church }
[]
church
Quantitative|Count|Single entity type|Clarification
Q9200
SYSTEM
Did you mean Paul ?
(c(Q16970),P138,Q9200) (c(Q16970),P138,Q33923)
[ANSWER]
[{'concept': 'Q16970'}, 'P138', 'Q9200'] [{'concept': 'Q16970'}, 'P138', 'Q33923']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q33923 . ?z rdf:type ontology:Q23056934 }
Did you mean Paul ?
Paul
[{'concept': 'church'}, 'named after', 'Paul'] [{'concept': 'church'}, 'named after', 'Peter']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:Peter . ?z rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Peter. Could you tell me the answer for that?
(c(Q16970),P138,Q33923)
Q33923
[{'concept': 'Q16970'}, 'P138', 'Q33923']
[{'concept': 'church'}, 'named after', 'Peter']
[]
SYSTEM
38
Q523691 Q317346 Q810123 Q1144269 Q5052378 Q2322486 Q3442727 Q471633 Q17326338 Q178699 Q2942692 Q5920 Q1686988 Q695038 Q5052192 Q723968 Q2502875 Q1259104 Q2736107 Q21601392 Q4176 Q16538387 Q2322737 Q945981 Q3278408 Q2942422 Q1635337 Q2942426 Q3671763 Q402221 Q666516 Q650678 Q513300 Q1736144 Q18028087 Q17722 Q2942541 Q1153554
(c(Q16970),P138,Q33923)
[ANSWER]
[{'concept': 'Q16970'}, 'P138', 'Q33923']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P138 resource:Q33923 . ?z rdf:type ontology:Q23056934 }
Schleswig Cathedral Cathedral of St Peter Basilica of Saints Peter and Paul St Peter's Cathedral Cathedral of Saints Peter and Paul in Saint Thomas St. Peter's Church Osijek Co-cathedral St. Peter's Cathedral St. Peter church Bologna Cathedral Nicastro Cathedral Cathedral of Trier Kaunas Cathedral Basilica Bremen Cathedral Cathedral Basilica of Saints Peter and Paul Pécs Cathedral Church of the Holy Apostles Peter and Paul in Minsk Peterborough Cathedral Saint Peter and Paul Cathedral St. Peter Cologne Cathedral Saints Peter and Paul Cathedral (Ulaanbaatar) St. Peter and St. Paul's Cathedral, Tallinn San Pietro di Castello Guayaquil Metropolitan Cathedral Ennis Cathedral Saint Peter and Paul Cathedral Cathedral of Saints Peter and Paul, Douala San Pietro dei Pellegrini, Milan Đakovo Cathedral St. Pierre Cathedral Mantua Cathedral Beauvais Cathedral Šiauliai Cathedral St. Peter und Paul St. Peter's Church Ales Cathedral Frascati Cathedral
38
[{'concept': 'church'}, 'named after', 'Peter']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:named_after resource:Peter . ?z rdf:type ontology:church }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q33923
P27
Q15617994
USER
How many administrative territories are Peter a civilian of ?
(Q33923,P27,c(Q15617994))
action count
action filter_type
action find
entity Q33923
relation P27
type Q15617994
['Q33923', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q33923 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Peter
action count
action filter_type
action find
entity Peter
relation country of citizenship
type designation for an administrative territorial entity
['Peter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Peter property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q858
(Q33923,P27,c(Q15617994))
action count
action filter_type
action find
entity Q33923
relation P27
type Q15617994
[ANSWER]
['Q33923', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q33923 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Syria
1
action count
action filter_type
action find
entity Peter
relation country of citizenship
type designation for an administrative territorial entity
['Peter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Peter property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3573037
P27
Q15617994
USER
And also tell me about Ysabelle Lacamp?
(Q3573037,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3573037
relation P27
type Q15617994
['Q3573037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3573037 property:P27 ?h }
Ysabelle Lacamp
action count
action filter_type
action find
entity Ysabelle Lacamp
relation country of citizenship
type designation for an administrative territorial entity
['Ysabelle Lacamp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ysabelle_Lacamp property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q3573037,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3573037
relation P27
type Q15617994
[ANSWER]
['Q3573037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3573037 property:P27 ?h }
France
1
action count
action filter_type
action find
entity Ysabelle Lacamp
relation country of citizenship
type designation for an administrative territorial entity
['Ysabelle Lacamp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ysabelle_Lacamp property:country_of_citizenship ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q15208412
Q15617994
USER
And what about Zdeněk Čáp?
(Q15208412,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15208412
relation P27
type Q15617994
['Q15208412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q15208412 property:P27 ?z }
Zdeněk Čáp
action count
action filter_type
action find
entity Zdeněk Čáp
relation country of citizenship
type designation for an administrative territorial entity
['Zdeněk Čáp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zdeněk_Čáp property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q15208412,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15208412
relation P27
type Q15617994
[ANSWER]
['Q15208412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q15208412 property:P27 ?z }
1
action count
action filter_type
action find
entity Zdeněk Čáp
relation country of citizenship
type designation for an administrative territorial entity
['Zdeněk Čáp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zdeněk_Čáp property:country_of_citizenship ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15208412
P54
Q12973014
USER
Which sports teams are that person a member of ?
action filter_type
action find
entity Q15208412
relation P54
type Q12973014
SELECT DISTINCT ?d WHERE { resource:Q15208412 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Zdeněk Čáp
action filter_type
action find
entity Zdeněk Čáp
relation member of sports team
type sports team
SELECT DISTINCT ?d WHERE { resource:Zdeněk_Čáp property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
sports team
Q796191 Q1537142
SYSTEM
BK Mladá Boleslav, Královští Lvi
Q796191 Q1537142
action filter_type
action find
entity Q15208412
relation P54
type Q12973014
[ANSWERS] are that person a member of
SELECT DISTINCT ?d WHERE { resource:Q15208412 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
BK Mladá Boleslav Královští Lvi
BK Mladá Boleslav and Královští Lvi are that person a member of
BK Mladá Boleslav Královští Lvi
action filter_type
action find
entity Zdeněk Čáp
relation member of sports team
type sports team
SELECT DISTINCT ?d WHERE { resource:Zdeněk_Čáp property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15208412
P21
Q290
USER
Which sex does Zdeněk Čáp have ?
(Q15208412,P21,c(Q290))
action filter_type
action find
entity Q15208412
relation P21
type Q290
['Q15208412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q15208412 property:P21 ?f }
Zdeněk Čáp
action filter_type
action find
entity Zdeněk Čáp
relation gender
type sex
['Zdeněk Čáp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Zdeněk_Čáp property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15208412,P21,c(Q290))
action filter_type
action find
entity Q15208412
relation P21
type Q290
Zdeněk Čáp has 1 [ANSWER]
['Q15208412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q15208412 property:P21 ?f }
male
Zdeněk Čáp has 1 male
male
action filter_type
action find
entity Zdeněk Čáp
relation gender
type sex
['Zdeněk Čáp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Zdeněk_Čáp property:gender ?f }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do lesser number of people have than that sex ?
(c(Q502895),P21,c(Q290))
action count
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581097 } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P21 ?d . ?d rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } }
action count
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:common_name . ?b property:gender resource:male } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:gender ?d . ?d rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?d } }
[]
sex common name
SYSTEM
1
Q6581072
(c(Q502895),P21,c(Q290))
action count
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581097 } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P21 ?d . ?d rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } }
female
1
action count
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:common_name . ?b property:gender resource:male } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:gender ?d . ?d rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?d } }
[]