Simple Question (Direct)
Simple Question
Q1883595
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Yūgure Maeda ?
(Q1883595,P27,c(Q15617994))
action filter_type
action find
entity Q1883595
relation P27
type Q15617994
['Q1883595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1883595 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Yūgure Maeda
action filter_type
action find
entity Yūgure Maeda
relation country of citizenship
type designation for an administrative territorial entity
['Yūgure Maeda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yūgure_Maeda property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1883595,P27,c(Q15617994))
action filter_type
action find
entity Q1883595
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Yūgure Maeda
['Q1883595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1883595 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Yūgure Maeda
Japan
action filter_type
action find
entity Yūgure Maeda
relation country of citizenship
type designation for an administrative territorial entity
['Yūgure Maeda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yūgure_Maeda property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1883595
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q17,P119,c(Q43229))
action filter_type
action find
entity Q1883595
relation P119
type Q43229
['Q17', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q1883595 property:P119 ?n }
Yūgure Maeda
action filter_type
action find
entity Yūgure Maeda
relation place of burial
type organization
['Japan', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:Yūgure_Maeda property:place_of_burial ?n }
[]
organization
Q982473
SYSTEM
Tama Cemetery
Q982473
(Q17,P119,c(Q43229))
action filter_type
action find
entity Q1883595
relation P119
type Q43229
[ANSWER] is the place of burial of that person
['Q17', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q1883595 property:P119 ?n }
Tama Cemetery
Tama Cemetery is the place of burial of that person
Tama Cemetery
action filter_type
action find
entity Yūgure Maeda
relation place of burial
type organization
['Japan', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:Yūgure_Maeda property:place_of_burial ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q982473 Q17 Q7076612
P17
Q15617994
USER
Is Tama Cemetery present in Japan and Oconee County School District ?
(Q982473,P17,Q17) (Q982473,P17,Q7076612)
action is_in
entity Q982473
action intersection
action find_reverse
entity Q17
relation P17
action find_reverse
entity Q7076612
relation P17
['Q982473', 'P17', 'Q17'] ['Q982473', 'P17', 'Q7076612']
ASK WHERE { resource:Q982473 property:P17 resource:Q17 . resource:Q982473 property:P17 resource:Q7076612 }
Tama Cemetery Japan Oconee County School District
action is_in
entity Tama Cemetery
action intersection
action find_reverse
entity Japan
relation country
action find_reverse
entity Oconee County School District
relation country
['Tama Cemetery', 'country', 'Japan'] ['Tama Cemetery', 'country', 'Oconee County School District']
ASK WHERE { resource:Tama_Cemetery property:country resource:Japan . resource:Tama_Cemetery property:country resource:Oconee_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q982473,P17,Q17) (Q982473,P17,Q7076612)
action is_in
entity Q982473
action intersection
action find_reverse
entity Q17
relation P17
action find_reverse
entity Q7076612
relation P17
[ANSWER]
['Q982473', 'P17', 'Q17'] ['Q982473', 'P17', 'Q7076612']
ASK WHERE { resource:Q982473 property:P17 resource:Q17 . resource:Q982473 property:P17 resource:Q7076612 }
YES and NO respectively
action is_in
entity Tama Cemetery
action intersection
action find_reverse
entity Japan
relation country
action find_reverse
entity Oconee County School District
relation country
['Tama Cemetery', 'country', 'Japan'] ['Tama Cemetery', 'country', 'Oconee County School District']
ASK WHERE { resource:Tama_Cemetery property:country resource:Japan . resource:Tama_Cemetery property:country resource:Oconee_County_School_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23890978 Q1883595
P106
Q12737077
USER
Which occupations are the professions of Yūgure Maeda or Andreas Wagner ?
OR((Q1883595,P106,c(Q12737077)), (Q23890978,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1883595
relation P106
action find
entity Q23890978
relation P106
type Q12737077
{'OR': [['Q1883595', 'P106', {'concept': 'Q12737077'}], ['Q23890978', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1883595 property:P106 ?f } UNION { resource:Q23890978 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
Andreas Wagner Yūgure Maeda
action filter_type
action union
action find
entity Yūgure Maeda
relation occupation
action find
entity Andreas Wagner
relation occupation
type occupation
{'OR': [['Yūgure Maeda', 'occupation', {'concept': 'occupation'}], ['Andreas Wagner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Yūgure_Maeda property:occupation ?f } UNION { resource:Andreas_Wagner property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
occupation
Q49757 Q11122954 Q1234713 Q36180 Q1622272
SYSTEM
poet, tanka poet, theologian, writer, university teacher
Q49757 Q11122954 Q1234713 Q36180 Q1622272
OR((Q1883595,P106,c(Q12737077)), (Q23890978,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1883595
relation P106
action find
entity Q23890978
relation P106
type Q12737077
The professions of Yūgure Maeda or Andreas Wagner are a [ANSWERS]
{'OR': [['Q1883595', 'P106', {'concept': 'Q12737077'}], ['Q23890978', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1883595 property:P106 ?f } UNION { resource:Q23890978 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
poet tanka poet theologian writer university teacher
The professions of Yūgure Maeda or Andreas Wagner are a poet, tanka poet, theologian, writer and university teacher
poet tanka poet theologian writer university teacher
action filter_type
action union
action find
entity Yūgure Maeda
relation occupation
action find
entity Andreas Wagner
relation occupation
type occupation
{'OR': [['Yūgure Maeda', 'occupation', {'concept': 'occupation'}], ['Andreas Wagner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Yūgure_Maeda property:occupation ?f } UNION { resource:Andreas_Wagner property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q11942212 Q1883595
P106
Q12737077
USER
Which occupations do Yūgure Maeda and Polimnest d'Esparta do for a living ?
AND((Q1883595,P106,c(Q12737077)), (Q11942212,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q1883595
relation P106
action find
entity Q11942212
relation P106
type Q12737077
{'AND': [['Q1883595', 'P106', {'concept': 'Q12737077'}], ['Q11942212', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1883595 property:P106 ?k . resource:Q11942212 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Polimnest d'Esparta Yūgure Maeda
action filter_type
action intersection
action find
entity Yūgure Maeda
relation occupation
action find
entity Polimnest d'Esparta
relation occupation
type occupation
{'AND': [['Yūgure Maeda', 'occupation', {'concept': 'occupation'}], ["Polimnest d'Esparta", 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { resource:Yūgure_Maeda property:occupation ?k . resource:Polimnest_d'Esparta property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q49757
SYSTEM
poet
Q49757
AND((Q1883595,P106,c(Q12737077)), (Q11942212,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q1883595
relation P106
action find
entity Q11942212
relation P106
type Q12737077
Yūgure Maeda and Polimnest d' Esparta do [ANSWER] for a living
{'AND': [['Q1883595', 'P106', {'concept': 'Q12737077'}], ['Q11942212', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1883595 property:P106 ?k . resource:Q11942212 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
poet
Yūgure Maeda and Polimnest d' Esparta do poet for a living
poet
action filter_type
action intersection
action find
entity Yūgure Maeda
relation occupation
action find
entity Polimnest d'Esparta
relation occupation
type occupation
{'AND': [['Yūgure Maeda', 'occupation', {'concept': 'occupation'}], ["Polimnest d'Esparta", 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { resource:Yūgure_Maeda property:occupation ?k . resource:Polimnest_d'Esparta property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49757 Q16632338
P106
Q502895
USER
Does James Kessler have a job as that occupation ?
(Q16632338,P106,Q49757)
action is_in
entity Q16632338
action find
entity Q49757
relation P106
['Q16632338', 'P106', 'Q49757']
ASK WHERE { resource:Q49757 property:P106 resource:Q16632338 }
poet James Kessler
action is_in
entity James Kessler
action find
entity poet
relation occupation
['James Kessler', 'occupation', 'poet']
ASK WHERE { resource:poet property:occupation resource:James_Kessler }
[]
common name
SYSTEM
NO
(Q16632338,P106,Q49757)
action is_in
entity Q16632338
action find
entity Q49757
relation P106
[ANSWER]
['Q16632338', 'P106', 'Q49757']
ASK WHERE { resource:Q49757 property:P106 resource:Q16632338 }
No
action is_in
entity James Kessler
action find
entity poet
relation occupation
['James Kessler', 'occupation', 'poet']
ASK WHERE { resource:poet property:occupation resource:James_Kessler }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5984319 Q11942212
P106
Q12737077
USER
Which occupations are the job of Polimnest d'Esparta and Ibn al-Wardi ?
AND((Q11942212,P106,c(Q12737077)), (Q5984319,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q11942212
relation P106
action find
entity Q5984319
relation P106
type Q12737077
{'AND': [['Q11942212', 'P106', {'concept': 'Q12737077'}], ['Q5984319', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q11942212 property:P106 ?c . resource:Q5984319 property:P106 ?c }
Ibn al-Wardi Polimnest d'Esparta
action filter_type
action intersection
action find
entity Polimnest d'Esparta
relation occupation
action find
entity Ibn al-Wardi
relation occupation
type occupation
{'AND': [["Polimnest d'Esparta", 'occupation', {'concept': 'occupation'}], ['Ibn al-Wardi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Polimnest_d'Esparta property:occupation ?c . resource:Ibn_al-Wardi property:occupation ?c }
[]
occupation
Q49757
SYSTEM
poet
Q49757
AND((Q11942212,P106,c(Q12737077)), (Q5984319,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q11942212
relation P106
action find
entity Q5984319
relation P106
type Q12737077
The [ANSWER] is the job of Polimnest d'Esparta and Ibn al-Wardi
{'AND': [['Q11942212', 'P106', {'concept': 'Q12737077'}], ['Q5984319', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q11942212 property:P106 ?c . resource:Q5984319 property:P106 ?c }
poet
The poet is the job of Polimnest d'Esparta and Ibn al-Wardi
poet
action filter_type
action intersection
action find
entity Polimnest d'Esparta
relation occupation
action find
entity Ibn al-Wardi
relation occupation
type occupation
{'AND': [["Polimnest d'Esparta", 'occupation', {'concept': 'occupation'}], ['Ibn al-Wardi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Polimnest_d'Esparta property:occupation ?c . resource:Ibn_al-Wardi property:occupation ?c }
[]