Simple Question (Direct)
Simple Question
Q826343
P172
Q2472587
USER
What is the ethnicity of Georgios Kartalis ?
(Q826343,P172,c(Q2472587))
action filter_type
action find
entity Q826343
relation P172
type Q2472587
['Q826343', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { resource:Q826343 property:P172 ?f . ?f rdf:type ontology:Q2472587 }
Georgios Kartalis
action filter_type
action find
entity Georgios Kartalis
relation ethnic group
type people
['Georgios Kartalis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { resource:Georgios_Kartalis property:ethnic_group ?f . ?f rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q826343,P172,c(Q2472587))
action filter_type
action find
entity Q826343
relation P172
type Q2472587
The ethnicity of Georgios Kartalis is ethnic [ANSWER]
['Q826343', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { resource:Q826343 property:P172 ?f . ?f rdf:type ontology:Q2472587 }
Greeks
The ethnicity of Georgios Kartalis is ethnic Greeks
Greeks
action filter_type
action find
entity Georgios Kartalis
relation ethnic group
type people
['Georgios Kartalis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { resource:Georgios_Kartalis property:ethnic_group ?f . ?f rdf:type ontology:people }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q539051 Q16028067
P172
Q502895
USER
Does John Chancellor have that people as ethnic group ?
(Q16028067,P172,Q539051)
action is_in
entity Q16028067
action find
entity Q539051
relation P172
['Q16028067', 'P172', 'Q539051']
ASK WHERE { resource:Q539051 property:P172 resource:Q16028067 }
Greeks John Chancellor
action is_in
entity John Chancellor
action find
entity Greeks
relation ethnic group
['John Chancellor', 'ethnic group', 'Greeks']
ASK WHERE { resource:Greeks property:ethnic_group resource:John_Chancellor }
[]
common name
SYSTEM
NO
(Q16028067,P172,Q539051)
action is_in
entity Q16028067
action find
entity Q539051
relation P172
[ANSWER]
['Q16028067', 'P172', 'Q539051']
ASK WHERE { resource:Q539051 property:P172 resource:Q16028067 }
No
action is_in
entity John Chancellor
action find
entity Greeks
relation ethnic group
['John Chancellor', 'ethnic group', 'Greeks']
ASK WHERE { resource:Greeks property:ethnic_group resource:John_Chancellor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q826343 Q23901457 Q19752714
P39
Q12737077
USER
Did Georgios Kartalis hold the position of Minister of the Press of Greece and Finance minister of Greece ?
(Q826343,P39,Q23901457) (Q826343,P39,Q19752714)
action is_in
entity Q826343
action intersection
action find_reverse
entity Q23901457
relation P39
action find_reverse
entity Q19752714
relation P39
['Q826343', 'P39', 'Q23901457'] ['Q826343', 'P39', 'Q19752714']
ASK WHERE { resource:Q826343 property:P39 resource:Q23901457 . resource:Q826343 property:P39 resource:Q19752714 }
Georgios Kartalis Minister of the Press of Greece Finance minister of Greece
action is_in
entity Georgios Kartalis
action intersection
action find_reverse
entity Minister of the Press of Greece
relation position held
action find_reverse
entity Finance minister of Greece
relation position held
['Georgios Kartalis', 'position held', 'Minister of the Press of Greece'] ['Georgios Kartalis', 'position held', 'Finance minister of Greece']
ASK WHERE { resource:Georgios_Kartalis property:position_held resource:Minister_of_the_Press_of_Greece . resource:Georgios_Kartalis property:position_held resource:Finance_minister_of_Greece }
[]
occupation
SYSTEM
YES
(Q826343,P39,Q23901457) (Q826343,P39,Q19752714)
action is_in
entity Q826343
action intersection
action find_reverse
entity Q23901457
relation P39
action find_reverse
entity Q19752714
relation P39
[ANSWER]
['Q826343', 'P39', 'Q23901457'] ['Q826343', 'P39', 'Q19752714']
ASK WHERE { resource:Q826343 property:P39 resource:Q23901457 . resource:Q826343 property:P39 resource:Q19752714 }
Yes
action is_in
entity Georgios Kartalis
action intersection
action find_reverse
entity Minister of the Press of Greece
relation position held
action find_reverse
entity Finance minister of Greece
relation position held
['Georgios Kartalis', 'position held', 'Minister of the Press of Greece'] ['Georgios Kartalis', 'position held', 'Finance minister of Greece']
ASK WHERE { resource:Georgios_Kartalis property:position_held resource:Minister_of_the_Press_of_Greece . resource:Georgios_Kartalis property:position_held resource:Finance_minister_of_Greece }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q826343 Q11921548
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Georgios Kartalis or Salvador family ?
(Q826343,P27,c(Q15617994)) (Q11921548,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q826343
relation P27
type Q15617994
action filter_type
action find
entity Q11921548
relation P27
type Q15617994
['Q826343', 'P27', {'concept': 'Q15617994'}] ['Q11921548', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?n property:P27 ?h . VALUES ( ?n ) { ( resource:Q826343 ) ( resource:Q11921548 ) } }
Georgios Kartalis Salvador family
action count
action union
action filter_type
action find
entity Georgios Kartalis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Salvador family
relation country of citizenship
type designation for an administrative territorial entity
['Georgios Kartalis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Salvador family', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?n property:country_of_citizenship ?h . VALUES ( ?n ) { ( resource:Georgios_Kartalis ) ( resource:Salvador_family ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q41
(Q826343,P27,c(Q15617994)) (Q11921548,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q826343
relation P27
type Q15617994
action filter_type
action find
entity Q11921548
relation P27
type Q15617994
[ANSWER]
['Q826343', 'P27', {'concept': 'Q15617994'}] ['Q11921548', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?n property:P27 ?h . VALUES ( ?n ) { ( resource:Q826343 ) ( resource:Q11921548 ) } }
Spain Greece
2
action count
action union
action filter_type
action find
entity Georgios Kartalis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Salvador family
relation country of citizenship
type designation for an administrative territorial entity
['Georgios Kartalis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Salvador family', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?n property:country_of_citizenship ?h . VALUES ( ?n ) { ( resource:Georgios_Kartalis ) ( resource:Salvador_family ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q826343
P19
Q56061
USER
Which administrative territories are the places of birth of Georgios Kartalis ?
(Q826343,P19,c(Q56061))
action filter_type
action find
entity Q826343
relation P19
type Q56061
['Q826343', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q826343 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Georgios Kartalis
action filter_type
action find
entity Georgios Kartalis
relation place of birth
type administrative territorial entity
['Georgios Kartalis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Georgios_Kartalis property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q200036
SYSTEM
Athens, Volos
Q1524 Q200036
(Q826343,P19,c(Q56061))
action filter_type
action find
entity Q826343
relation P19
type Q56061
[ANSWERS] are the places of birth of Georgios Kartalis
['Q826343', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q826343 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Athens Volos
Athens and Volos are the places of birth of Georgios Kartalis
Athens Volos
action filter_type
action find
entity Georgios Kartalis
relation place of birth
type administrative territorial entity
['Georgios Kartalis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Georgios_Kartalis property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1524 Q200036
P47
Q56061
USER
Which administrative territories are next to the border of Athens and Volos ?
(c(Q56061),P47,Q1524) (c(Q56061),P47,Q200036)
action union
action filter_type
action find_reverse
entity Q1524
relation P47
type Q56061
action filter_type
action find_reverse
entity Q200036
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q1524'] [{'concept': 'Q56061'}, 'P47', 'Q200036']
SELECT DISTINCT ?r WHERE { ?r property:P47 ?k . VALUES ( ?k ) { ( resource:Q1524 ) ( resource:Q200036 ) } }
Athens Volos
action union
action filter_type
action find_reverse
entity Athens
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Volos
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Athens'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Volos']
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Athens ) ( resource:Volos ) } }
[]
administrative territorial entity
Q1021592 Q2531632 Q2001542
SYSTEM
Nea Filadelfeia, Papagou, Portaria
Q1021592 Q2531632 Q2001542
(c(Q56061),P47,Q1524) (c(Q56061),P47,Q200036)
action union
action filter_type
action find_reverse
entity Q1524
relation P47
type Q56061
action filter_type
action find_reverse
entity Q200036
relation P47
type Q56061
[ANSWERS] are next to the border of Athens and Volos
[{'concept': 'Q56061'}, 'P47', 'Q1524'] [{'concept': 'Q56061'}, 'P47', 'Q200036']
SELECT DISTINCT ?r WHERE { ?r property:P47 ?k . VALUES ( ?k ) { ( resource:Q1524 ) ( resource:Q200036 ) } }
Nea Filadelfeia Papagou Portaria
Nea Filadelfeia, Papagou and Portaria are next to the border of Athens and Volos
Nea Filadelfeia Papagou Portaria
action union
action filter_type
action find_reverse
entity Athens
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Volos
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Athens'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Volos']
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Athens ) ( resource:Volos ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2001542
P706
Q207299
USER
Which administrative region of Greece is that administrative territory located on ?
(Q2001542,P706,c(Q207299))
action filter_type
action find
entity Q2001542
relation P706
type Q207299
['Q2001542', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?t WHERE { resource:Q2001542 property:P706 ?t . ?t rdf:type ontology:Q207299 }
Portaria
action filter_type
action find
entity Portaria
relation located on terrain feature
type administrative region of Greece
['Portaria', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?t WHERE { resource:Portaria property:located_on_terrain_feature ?t . ?t rdf:type ontology:administrative_region_of_Greece }
[]
administrative region of Greece
Clarification for simple ques.
Q2001542
SYSTEM
Did you mean Portaria ?
Q1021592 Q2531632 Q2001542
(Q1021592,P706,c(Q207299)) (Q2531632,P706,c(Q207299)) (Q2001542,P706,c(Q207299))
[ANSWER]
['Q1021592', 'P706', {'concept': 'Q207299'}] ['Q2531632', 'P706', {'concept': 'Q207299'}] ['Q2001542', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?t WHERE { resource:Q2001542 property:P706 ?t . ?t rdf:type ontology:Q207299 }
Nea Filadelfeia Papagou Portaria
Did you mean Portaria ?
Portaria
['Nea Filadelfeia', 'located on terrain feature', {'concept': 'administrative region of Greece'}] ['Papagou', 'located on terrain feature', {'concept': 'administrative region of Greece'}] ['Portaria', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?t WHERE { resource:Portaria property:located_on_terrain_feature ?t . ?t rdf:type ontology:administrative_region_of_Greece }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2001542,P706,c(Q207299))
['Q2001542', 'P706', {'concept': 'Q207299'}]
['Portaria', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
[]
Q166919
SYSTEM
Thessaly
Q166919
(Q2001542,P706,c(Q207299))
action filter_type
action find
entity Q2001542
relation P706
type Q207299
Which administrative region of Greece is that administrative territory located on
['Q2001542', 'P706', {'concept': 'Q207299'}]
SELECT DISTINCT ?t WHERE { resource:Q2001542 property:P706 ?t . ?t rdf:type ontology:Q207299 }
Thessaly
Which administrative region of Greece is that administrative territory located on
Thessaly
action filter_type
action find
entity Portaria
relation located on terrain feature
type administrative region of Greece
['Portaria', 'located on terrain feature', {'concept': 'administrative region of Greece'}]
SELECT DISTINCT ?t WHERE { resource:Portaria property:located_on_terrain_feature ?t . ?t rdf:type ontology:administrative_region_of_Greece }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q166919 Q41
P17
Q15617994
USER
Is Thessaly located in Greece ?
(Q166919,P17,Q41)
action is_in
entity Q41
action find
entity Q166919
relation P17
['Q166919', 'P17', 'Q41']
ASK WHERE { resource:Q166919 property:P17 resource:Q41 }
Thessaly Greece
action is_in
entity Greece
action find
entity Thessaly
relation country
['Thessaly', 'country', 'Greece']
ASK WHERE { resource:Thessaly property:country resource:Greece }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q166919,P17,Q41)
action is_in
entity Q41
action find
entity Q166919
relation P17
[ANSWER]
['Q166919', 'P17', 'Q41']
ASK WHERE { resource:Q166919 property:P17 resource:Q41 }
Yes
action is_in
entity Greece
action find
entity Thessaly
relation country
['Thessaly', 'country', 'Greece']
ASK WHERE { resource:Thessaly property:country resource:Greece }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q826343 Q41
P27
Q15617994
USER
Is Georgios Kartalis a civilian of Greece ?
(Q826343,P27,Q41)
action is_in
entity Q41
action find
entity Q826343
relation P27
['Q826343', 'P27', 'Q41']
ASK WHERE { resource:Q826343 property:P27 resource:Q41 }
Georgios Kartalis Greece
action is_in
entity Greece
action find
entity Georgios Kartalis
relation country of citizenship
['Georgios Kartalis', 'country of citizenship', 'Greece']
ASK WHERE { resource:Georgios_Kartalis property:country_of_citizenship resource:Greece }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q826343,P27,Q41)
action is_in
entity Q41
action find
entity Q826343
relation P27
[ANSWER]
['Q826343', 'P27', 'Q41']
ASK WHERE { resource:Q826343 property:P27 resource:Q41 }
Yes
action is_in
entity Greece
action find
entity Georgios Kartalis
relation country of citizenship
['Georgios Kartalis', 'country of citizenship', 'Greece']
ASK WHERE { resource:Georgios_Kartalis property:country_of_citizenship resource:Greece }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q826343
P20
Q56061
USER
Where did the expiration of that person occur ?
action filter_type
action find
entity Q826343
relation P20
type Q56061
SELECT DISTINCT ?y WHERE { resource:Q826343 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Georgios Kartalis
action filter_type
action find
entity Georgios Kartalis
relation place of death
type administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Georgios_Kartalis property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
action filter_type
action find
entity Q826343
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q826343 property:P20 ?y . ?y rdf:type ontology:Q56061 }
London
The expiration of that person occurred in London
London
action filter_type
action find
entity Georgios Kartalis
relation place of death
type administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:Georgios_Kartalis property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2749770 Q826343
P19 P20
Q56061
USER
Which administrative territories did the expiration of Georgios Kartalis occur or are the birthplace of Percy Kemp ?
OR((Q826343,P20,c(Q56061)), (Q2749770,P19,c(Q56061)))
action filter_type
action union
action find
entity Q826343
relation P20
action find
entity Q2749770
relation P19
type Q56061
{'OR': [['Q826343', 'P20', {'concept': 'Q56061'}], ['Q2749770', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2749770 property:P19 ?z } UNION { resource:Q826343 property:P20 ?z } } . ?z rdf:type ontology:Q56061 }
Percy Kemp Georgios Kartalis
action filter_type
action union
action find
entity Georgios Kartalis
relation place of death
action find
entity Percy Kemp
relation place of birth
type administrative territorial entity
{'OR': [['Georgios Kartalis', 'place of death', {'concept': 'administrative territorial entity'}], ['Percy Kemp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Percy_Kemp property:place_of_birth ?z } UNION { resource:Georgios_Kartalis property:place_of_death ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3820 Q84
SYSTEM
Beirut, London
Q3820 Q84
OR((Q826343,P20,c(Q56061)), (Q2749770,P19,c(Q56061)))
action filter_type
action union
action find
entity Q826343
relation P20
action find
entity Q2749770
relation P19
type Q56061
The expiration of Georgios Kartalis occurred in [ANSWERS] or are the birthplace of Percy Kemp
{'OR': [['Q826343', 'P20', {'concept': 'Q56061'}], ['Q2749770', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2749770 property:P19 ?z } UNION { resource:Q826343 property:P20 ?z } } . ?z rdf:type ontology:Q56061 }
Beirut London
The expiration of Georgios Kartalis occurred in Beirut and London or are the birthplace of Percy Kemp
Beirut London
action filter_type
action union
action find
entity Georgios Kartalis
relation place of death
action find
entity Percy Kemp
relation place of birth
type administrative territorial entity
{'OR': [['Georgios Kartalis', 'place of death', {'concept': 'administrative territorial entity'}], ['Percy Kemp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Percy_Kemp property:place_of_birth ?z } UNION { resource:Georgios_Kartalis property:place_of_death ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2749770
P21
Q290
USER
What is the sex of Percy Kemp ?
(Q3820,P21,c(Q290)) (Q84,P21,c(Q290))
action filter_type
action find
entity Q2749770
relation P21
type Q290
['Q3820', 'P21', {'concept': 'Q290'}] ['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q2749770 property:P21 ?h }
Percy Kemp
action filter_type
action find
entity Percy Kemp
relation gender
type sex
['Beirut', 'gender', {'concept': 'sex'}] ['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Percy_Kemp property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3820,P21,c(Q290)) (Q84,P21,c(Q290))
action filter_type
action find
entity Q2749770
relation P21
type Q290
The sex of Percy Kemp is the [ANSWER]
['Q3820', 'P21', {'concept': 'Q290'}] ['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q2749770 property:P21 ?h }
male
The sex of Percy Kemp is the male
male
action filter_type
action find
entity Percy Kemp
relation gender
type sex
['Beirut', 'gender', {'concept': 'sex'}] ['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Percy_Kemp property:gender ?h }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q12048520 Q2749770
P21
Q290
USER
And also Radek Čížek
AND((Q2749770,P21,c(Q290)), (Q12048520,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q2749770
relation P21
action find
entity Q12048520
relation P21
type Q290
{'AND': [['Q2749770', 'P21', {'concept': 'Q290'}], ['Q12048520', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q12048520 property:P21 ?i . resource:Q2749770 property:P21 ?i }
Radek Čížek Percy Kemp
action filter_type
action intersection
action find
entity Percy Kemp
relation gender
action find
entity Radek Čížek
relation gender
type sex
{'AND': [['Percy Kemp', 'gender', {'concept': 'sex'}], ['Radek Čížek', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Radek_Čížek property:gender ?i . resource:Percy_Kemp property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q2749770,P21,c(Q290)), (Q12048520,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q2749770
relation P21
action find
entity Q12048520
relation P21
type Q290
[ANSWER]
{'AND': [['Q2749770', 'P21', {'concept': 'Q290'}], ['Q12048520', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q12048520 property:P21 ?i . resource:Q2749770 property:P21 ?i }
male
male
action filter_type
action intersection
action find
entity Percy Kemp
relation gender
action find
entity Radek Čížek
relation gender
type sex
{'AND': [['Percy Kemp', 'gender', {'concept': 'sex'}], ['Radek Čížek', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Radek_Čížek property:gender ?i . resource:Percy_Kemp property:gender ?i }
[]