Simple Question (Direct)
Simple Question
Q2582014
P102
Q7210356
USER
Which parties do Willy Jandrey belong to ?
(Q2582014,P102,c(Q7210356))
action filter_type
action find
entity Q2582014
relation P102
type Q7210356
['Q2582014', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q2582014 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Willy Jandrey
action filter_type
action find
entity Willy Jandrey
relation member of political party
type political organization
['Willy Jandrey', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Willy_Jandrey property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q7320 Q158227
SYSTEM
Nazi Party, German National People's Party
Q7320 Q158227
(Q2582014,P102,c(Q7210356))
action filter_type
action find
entity Q2582014
relation P102
type Q7210356
Willy Jandrey belong to [ANSWERS]
['Q2582014', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q2582014 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Nazi Party German National People's Party
Willy Jandrey belong to Nazi Party and German National People's Party
Nazi Party German National People's Party
action filter_type
action find
entity Willy Jandrey
relation member of political party
type political organization
['Willy Jandrey', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Willy_Jandrey property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2582014
P106
Q12737077
USER
What do Willy Jandrey do for a living ?
(Q2582014,P106,c(Q12737077))
action filter_type
action find
entity Q2582014
relation P106
type Q12737077
['Q2582014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2582014 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Willy Jandrey
action filter_type
action find
entity Willy Jandrey
relation occupation
type occupation
['Willy Jandrey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Willy_Jandrey property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q131512 Q82955
SYSTEM
farmer, politician
Q131512 Q82955
(Q2582014,P106,c(Q12737077))
action filter_type
action find
entity Q2582014
relation P106
type Q12737077
Willy Jandrey do for a living a [ANSWERS]
['Q2582014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2582014 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
farmer politician
Willy Jandrey do for a living a farmer and politician
farmer politician
action filter_type
action find
entity Willy Jandrey
relation occupation
type occupation
['Willy Jandrey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Willy_Jandrey property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131512 Q82955
P39
Q502895
USER
Which people held the position of farmer and politician ?
(c(Q502895),P39,Q131512) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q131512
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q131512'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?p WHERE { { ?p property:P39 resource:Q131512 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P39 resource:Q82955 . ?p rdf:type ontology:Q502895 } }
farmer politician
action union
action filter_type
action find_reverse
entity farmer
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?p WHERE { { ?p property:position_held resource:farmer . ?p rdf:type ontology:common_name } UNION { ?p property:position_held resource:politician . ?p rdf:type ontology:common_name } }
[]
common name
Q6245628 Q26215129
SYSTEM
John Lyon-Dalberg-Acton, 5th Baron Acton, Morteza Azari
Q6245628 Q26215129
(c(Q502895),P39,Q131512) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q131512
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWERS] held the position of farmer and politician
[{'concept': 'Q502895'}, 'P39', 'Q131512'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?p WHERE { { ?p property:P39 resource:Q131512 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P39 resource:Q82955 . ?p rdf:type ontology:Q502895 } }
John Lyon-Dalberg-Acton, 5th Baron Acton Morteza Azari
John Lyon-Dalberg-Acton, 5th Baron Acton and Morteza Azari held the position of farmer and politician
John Lyon-Dalberg-Acton, 5th Baron Acton Morteza Azari
action union
action filter_type
action find_reverse
entity farmer
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?p WHERE { { ?p property:position_held resource:farmer . ?p rdf:type ontology:common_name } UNION { ?p property:position_held resource:politician . ?p rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6245628 Q26215129
P21
Q290
USER
What are the sex of John Lyon-Dalberg-Acton, 5th Baron Acton and Morteza Azari ?
(Q6245628,P21,c(Q290)) (Q26215129,P21,c(Q290))
action union
action filter_type
action find
entity Q6245628
relation P21
type Q290
action filter_type
action find
entity Q26215129
relation P21
type Q290
['Q6245628', 'P21', {'concept': 'Q290'}] ['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q26215129 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q6245628 property:P21 ?m . ?m rdf:type ontology:Q290 } }
John Lyon-Dalberg-Acton, 5th Baron Acton Morteza Azari
action union
action filter_type
action find
entity John Lyon-Dalberg-Acton, 5th Baron Acton
relation gender
type sex
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['John Lyon-Dalberg-Acton, 5th Baron Acton', 'gender', {'concept': 'sex'}] ['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Morteza_Azari property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:John_Lyon-Dalberg-Acton,_5th_Baron_Acton property:gender ?m . ?m rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q6245628,P21,c(Q290)) (Q26215129,P21,c(Q290))
action union
action filter_type
action find
entity Q6245628
relation P21
type Q290
action filter_type
action find
entity Q26215129
relation P21
type Q290
The sex of John Lyon-Dalberg-Acton , 5th Baron Acton and Morteza Azari are both [ANSWER] and [ANSWER]
['Q6245628', 'P21', {'concept': 'Q290'}] ['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q26215129 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q6245628 property:P21 ?m . ?m rdf:type ontology:Q290 } }
male male
The sex of John Lyon-Dalberg-Acton , 5th Baron Acton and Morteza Azari are both male and male
male male
action union
action filter_type
action find
entity John Lyon-Dalberg-Acton, 5th Baron Acton
relation gender
type sex
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['John Lyon-Dalberg-Acton, 5th Baron Acton', 'gender', {'concept': 'sex'}] ['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Morteza_Azari property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:John_Lyon-Dalberg-Acton,_5th_Baron_Acton property:gender ?m . ?m rdf:type ontology:sex } }
[]