Simple Question (Direct)
Simple Question
Q2842071
P21
Q290
USER
Which sex does Teresa Jiménez Vílchez belong to ?
(Q2842071,P21,c(Q290))
action filter_type
action find
entity Q2842071
relation P21
type Q290
['Q2842071', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2842071 property:P21 ?b . ?b rdf:type ontology:Q290 }
Teresa Jiménez Vílchez
action filter_type
action find
entity Teresa Jiménez Vílchez
relation gender
type sex
['Teresa Jiménez Vílchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Teresa_Jiménez_Vílchez property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2842071,P21,c(Q290))
action filter_type
action find
entity Q2842071
relation P21
type Q290
Teresa Jiménez Vílchez belongs to [ANSWER]
['Q2842071', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2842071 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
Teresa Jiménez Vílchez belongs to female
female
action filter_type
action find
entity Teresa Jiménez Vílchez
relation gender
type sex
['Teresa Jiménez Vílchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Teresa_Jiménez_Vílchez property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842071
P39
Q12737077
USER
What was the position for which Teresa Jiménez Vílchez was appointed ?
(Q2842071,P39,c(Q12737077))
action filter_type
action find
entity Q2842071
relation P39
type Q12737077
['Q2842071', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2842071 property:P39 ?g }
Teresa Jiménez Vílchez
action filter_type
action find
entity Teresa Jiménez Vílchez
relation position held
type occupation
['Teresa Jiménez Vílchez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Teresa_Jiménez_Vílchez property:position_held ?g }
[]
occupation
Q20177806
SYSTEM
Member of the Parliament of Andalusia
Q20177806
(Q2842071,P39,c(Q12737077))
action filter_type
action find
entity Q2842071
relation P39
type Q12737077
The [ANSWER]
['Q2842071', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2842071 property:P39 ?g }
Member of the Parliament of Andalusia
The Member of the Parliament of Andalusia
Member of the Parliament of Andalusia
action filter_type
action find
entity Teresa Jiménez Vílchez
relation position held
type occupation
['Teresa Jiménez Vílchez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Teresa_Jiménez_Vílchez property:position_held ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7499214
Q12737077
USER
And also tell me about Shiv Raj Gautam?
(Q7499214,P39,c(Q12737077))
action filter_type
action find
entity Q7499214
relation P39
type Q12737077
['Q7499214', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7499214 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Shiv Raj Gautam
action filter_type
action find
entity Shiv Raj Gautam
relation position held
type occupation
['Shiv Raj Gautam', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Shiv_Raj_Gautam property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q19694523 Q18056060
SYSTEM
Member of the Parliament of Nepal, Member of the Nepalese Constituent Assembly
Q19694523 Q18056060
(Q7499214,P39,c(Q12737077))
action filter_type
action find
entity Q7499214
relation P39
type Q12737077
[ANSWERS]
['Q7499214', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7499214 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Member of the Parliament of Nepal Member of the Nepalese Constituent Assembly
Member of the Parliament of Nepal Member of the Nepalese Constituent Assembly
action filter_type
action find
entity Shiv Raj Gautam
relation position held
type occupation
['Shiv Raj Gautam', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Shiv_Raj_Gautam property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1994531 Q2842071
P27 P17
Q15617994
USER
Which administrative territories are Teresa Jiménez Vílchez an inhabitant of or are Korytnica, Węgrów County present in ?
OR((Q2842071,P27,c(Q15617994)), (Q1994531,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2842071
relation P27
action find
entity Q1994531
relation P17
type Q15617994
{'OR': [['Q2842071', 'P27', {'concept': 'Q15617994'}], ['Q1994531', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q2842071 property:P27 ?n } UNION { resource:Q1994531 property:P17 ?n } } }
Korytnica, Węgrów County Teresa Jiménez Vílchez
action filter_type
action union
action find
entity Teresa Jiménez Vílchez
relation country of citizenship
action find
entity Korytnica, Węgrów County
relation country
type designation for an administrative territorial entity
{'OR': [['Teresa Jiménez Vílchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Korytnica, Węgrów County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Teresa_Jiménez_Vílchez property:country_of_citizenship ?n } UNION { resource:Korytnica,_Węgrów_County property:country ?n } } }
[]
designation for an administrative territorial entity
Q29 Q36
SYSTEM
Spain, Poland
Q29 Q36
OR((Q2842071,P27,c(Q15617994)), (Q1994531,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2842071
relation P27
action find
entity Q1994531
relation P17
type Q15617994
[ANSWERS] are Teresa Jiménez Vílchez an inhabitant of or are Korytnica, Węgrów County present in
{'OR': [['Q2842071', 'P27', {'concept': 'Q15617994'}], ['Q1994531', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q2842071 property:P27 ?n } UNION { resource:Q1994531 property:P17 ?n } } }
Spain Poland
Spain and Poland are Teresa Jiménez Vílchez an inhabitant of or are Korytnica, Węgrów County present in
Spain Poland
action filter_type
action union
action find
entity Teresa Jiménez Vílchez
relation country of citizenship
action find
entity Korytnica, Węgrów County
relation country
type designation for an administrative territorial entity
{'OR': [['Teresa Jiménez Vílchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Korytnica, Węgrów County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Teresa_Jiménez_Vílchez property:country_of_citizenship ?n } UNION { resource:Korytnica,_Węgrów_County property:country ?n } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2630039
P17
Q781132
USER
Are New Zealand Army situated in those administrative territories ?
(Q2630039,P17,Q29) (Q2630039,P17,Q36)
action is_in
entity prev_answer
action find
entity Q2630039
relation P17
['Q2630039', 'P17', 'Q29'] ['Q2630039', 'P17', 'Q36']
ASK WHERE { VALUES ( ?f ) { ( resource:Q29 ) ( resource:Q36 ) } . resource:Q2630039 property:P17 ?f }
New Zealand Army
action is_in
entity prev_answer
action find
entity New Zealand Army
relation country
['New Zealand Army', 'country', 'Spain'] ['New Zealand Army', 'country', 'Poland']
ASK WHERE { VALUES ( ?f ) { ( resource:Spain ) ( resource:Poland ) } . resource:New_Zealand_Army property:country ?f }
[]
military branch
SYSTEM
NO
(Q2630039,P17,Q29) (Q2630039,P17,Q36)
action is_in
entity prev_answer
action find
entity Q2630039
relation P17
[ANSWER]
['Q2630039', 'P17', 'Q29'] ['Q2630039', 'P17', 'Q36']
ASK WHERE { VALUES ( ?f ) { ( resource:Q29 ) ( resource:Q36 ) } . resource:Q2630039 property:P17 ?f }
No
action is_in
entity prev_answer
action find
entity New Zealand Army
relation country
['New Zealand Army', 'country', 'Spain'] ['New Zealand Army', 'country', 'Poland']
ASK WHERE { VALUES ( ?f ) { ( resource:Spain ) ( resource:Poland ) } . resource:New_Zealand_Army property:country ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q236
P495
Q15617994 Q15416 Q838948
USER
Which administrative territories did less number of television programs or works of art originate than Montenegro ?
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q236
relation P495
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P495 ?y . ?r rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 . ?r property:P495 ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P495 resource:Q236 . { { ?p rdf:type ontology:Q15416 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?q < ?e ) }
Montenegro
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:country_of_origin ?y . ?r rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art . ?r property:country_of_origin ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:country_of_origin resource:Montenegro . { { ?p rdf:type ontology:television_program } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?q < ?e ) }
[]
designation for an administrative territorial entity television program work of art
Q953 Q347 Q805
SYSTEM
Zambia, Liechtenstein, Yemen
Q805 Q1462 Q12536 Q783 Q36678 Q712 Q1460 Q792 Q4628 Q958 Q986 Q242 Q244 Q153136 Q924 Q983 Q29999 Q819 Q730 Q1013 Q159626 Q238 Q1045 Q1044 Q1049 Q1025 Q1020 Q223 Q347 Q1030 Q967 Q962 Q963 Q916 Q1007 Q1006 Q1005 Q971 Q970 Q239502 Q686 Q574 Q874 Q1014 Q1016 Q945 Q672 Q176 Q953
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q236
relation P495
type Q15416
type Q838948
[ANSWERS] less number of television programs or works of art originated than Montenegro
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:P495 ?y . ?r rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 . ?r property:P495 ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P495 resource:Q236 . { { ?p rdf:type ontology:Q15416 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?q < ?e ) }
Yemen Sardinia Abbasid caliphate Honduras West Bank Fiji Sicily El Salvador Faroe Islands South Sudan Eritrea Belize Barbados Habsburg Empire Tanzania Equatorial Guinea Kingdom of the Netherlands Laos Suriname Lesotho Württemberg San Marino Somalia Sierra Leone Sudan Mauritania Malawi Greenland Liechtenstein Namibia Burundi Benin Botswana Angola Guinea-Bissau Guinea Gambia Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu East Timor Turkmenistan Liberia Libya Togo Tuvalu Quebec Zambia
Zambia, Liechtenstein and Yemen less number of television programs or works of art originated than Montenegro
Zambia Liechtenstein Yemen
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?q ) WHERE { { ?r property:country_of_origin ?y . ?r rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art . ?r property:country_of_origin ?y } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:country_of_origin resource:Montenegro . { { ?p rdf:type ontology:television_program } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?q < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1005
P495
Q15617994 Q15416 Q838948
USER
And what about Gambia?
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1005
relation P495
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q838948 } } . ?n property:P495 resource:Q1005 } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15416 . ?s property:P495 ?t } UNION { ?s property:P495 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 } } GROUP BY ?t } }
Gambia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Gambia
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:work_of_art } } . ?n property:country_of_origin resource:Gambia } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:television_program . ?s property:country_of_origin ?t } UNION { ?s property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art } } GROUP BY ?t } }
[]
designation for an administrative territorial entity television program work of art
Q29999 Q1030 Q958
SYSTEM
Kingdom of the Netherlands, Namibia, South Sudan
Q1462 Q12536 Q36678 Q1460 Q4628 Q958 Q986 Q244 Q153136 Q983 Q29999 Q1013 Q159626 Q238 Q1020 Q1030 Q239502 Q686 Q1014 Q176
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1005
relation P495
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q838948 } } . ?n property:P495 resource:Q1005 } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15416 . ?s property:P495 ?t } UNION { ?s property:P495 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q838948 } } GROUP BY ?t } }
Sardinia Abbasid caliphate West Bank Sicily Faroe Islands South Sudan Eritrea Barbados Habsburg Empire Equatorial Guinea Kingdom of the Netherlands Lesotho Württemberg San Marino Malawi Namibia Kingdom of Galicia–Volhynia Vanuatu Liberia Quebec
Kingdom of the Netherlands Namibia South Sudan
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Gambia
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:work_of_art } } . ?n property:country_of_origin resource:Gambia } } . FILTER ( ?i < ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:television_program . ?s property:country_of_origin ?t } UNION { ?s property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:work_of_art } } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1994531
P19 P21
Q502895
USER
Which people have place of birth as Korytnica, Węgrów County and have the gender as male ?
AND((c(Q502895),P19,Q1994531), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1994531
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1994531'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q1994531 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Korytnica, Węgrów County
action filter_type
action intersection
action find_reverse
entity Korytnica, Węgrów County
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Korytnica, Węgrów County'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Korytnica,_Węgrów_County . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q9199271 Q7941036
SYSTEM
Czesław Małyszewicz, Zdzisław Barbasiewicz
Q9199271 Q7941036
AND((c(Q502895),P19,Q1994531), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1994531
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Korytnica, Węgrów County and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1994531'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q1994531 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Czesław Małyszewicz Zdzisław Barbasiewicz
Czesław Małyszewicz and Zdzisław Barbasiewicz have place of birth as Korytnica, Węgrów County and have the gender as male
Czesław Małyszewicz Zdzisław Barbasiewicz
action filter_type
action intersection
action find_reverse
entity Korytnica, Węgrów County
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Korytnica, Węgrów County'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Korytnica,_Węgrów_County . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]