Simple Question (Direct)
Simple Question
Q5279209
P19
Q13220204
USER
Which administrative country subdivision was Diogo Manuel Gonçalves Coelho born at ?
(Q5279209,P19,c(Q13220204))
action filter_type
action find
entity Q5279209
relation P19
type Q13220204
['Q5279209', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q13220204 . resource:Q5279209 property:P19 ?j }
Diogo Manuel Gonçalves Coelho
action filter_type
action find
entity Diogo Manuel Gonçalves Coelho
relation place of birth
type second-level administrative country subdivision
['Diogo Manuel Gonçalves Coelho', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:second-level_administrative_country_subdivision . resource:Diogo_Manuel_Gonçalves_Coelho property:place_of_birth ?j }
[]
second-level administrative country subdivision
Q926700
SYSTEM
Oeiras
Q926700
(Q5279209,P19,c(Q13220204))
action filter_type
action find
entity Q5279209
relation P19
type Q13220204
Which administrative country subdivision was Diogo Manuel Gonçalves Coelho born at
['Q5279209', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q13220204 . resource:Q5279209 property:P19 ?j }
Oeiras
Which administrative country subdivision was Diogo Manuel Gonçalves Coelho born at
Oeiras
action filter_type
action find
entity Diogo Manuel Gonçalves Coelho
relation place of birth
type second-level administrative country subdivision
['Diogo Manuel Gonçalves Coelho', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:second-level_administrative_country_subdivision . resource:Diogo_Manuel_Gonçalves_Coelho property:place_of_birth ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5279209
P106
Q12737077
USER
Which occupation is the profession of Diogo Manuel Gonçalves Coelho ?
(Q5279209,P106,c(Q12737077))
action filter_type
action find
entity Q5279209
relation P106
type Q12737077
['Q5279209', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5279209 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Diogo Manuel Gonçalves Coelho
action filter_type
action find
entity Diogo Manuel Gonçalves Coelho
relation occupation
type occupation
['Diogo Manuel Gonçalves Coelho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Diogo_Manuel_Gonçalves_Coelho property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5279209,P106,c(Q12737077))
action filter_type
action find
entity Q5279209
relation P106
type Q12737077
[ANSWER] is the profession of Diogo Manuel Gonçalves Coelho
['Q5279209', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5279209 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Association football player is the profession of Diogo Manuel Gonçalves Coelho
association football player
action filter_type
action find
entity Diogo Manuel Gonçalves Coelho
relation occupation
type occupation
['Diogo Manuel Gonçalves Coelho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Diogo_Manuel_Gonçalves_Coelho property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2759654
Q12737077
USER
And how about Bernard Délicieux?
(Q2759654,P106,c(Q12737077))
action filter_type
action find
entity Q2759654
relation P106
type Q12737077
['Q2759654', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2759654 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Bernard Délicieux
action filter_type
action find
entity Bernard Délicieux
relation occupation
type occupation
['Bernard Délicieux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Bernard_Délicieux property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q733786
SYSTEM
monk
Q733786
(Q2759654,P106,c(Q12737077))
action filter_type
action find
entity Q2759654
relation P106
type Q12737077
[ANSWER]
['Q2759654', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2759654 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
monk
monk
action filter_type
action find
entity Bernard Délicieux
relation occupation
type occupation
['Bernard Délicieux', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Bernard_Délicieux property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q733786
P1576
Q502895
USER
Which person lives as that occupation ?
(c(Q502895),P1576,Q733786)
action filter_type
action find_reverse
entity Q733786
relation P1576
type Q502895
[{'concept': 'Q502895'}, 'P1576', 'Q733786']
SELECT DISTINCT ?s WHERE { ?s property:P1576 resource:Q733786 . ?s rdf:type ontology:Q502895 }
monk
action filter_type
action find_reverse
entity monk
relation lifestyle
type common name
[{'concept': 'common name'}, 'lifestyle', 'monk']
SELECT DISTINCT ?s WHERE { ?s property:lifestyle resource:monk . ?s rdf:type ontology:common_name }
[]
common name
Q9554
SYSTEM
Martin Luther
Q9554
(c(Q502895),P1576,Q733786)
action filter_type
action find_reverse
entity Q733786
relation P1576
type Q502895
[ANSWER] lives as that occupation
[{'concept': 'Q502895'}, 'P1576', 'Q733786']
SELECT DISTINCT ?s WHERE { ?s property:P1576 resource:Q733786 . ?s rdf:type ontology:Q502895 }
Martin Luther
Martin Luther lives as that occupation
Martin Luther
action filter_type
action find_reverse
entity monk
relation lifestyle
type common name
[{'concept': 'common name'}, 'lifestyle', 'monk']
SELECT DISTINCT ?s WHERE { ?s property:lifestyle resource:monk . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q733786
P1576 P21
Q502895
USER
Which people live as monk and have male as the sex ?
AND((c(Q502895),P1576,Q733786), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q733786
relation P1576
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1576', 'Q733786'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P1576 resource:Q733786 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male monk
action filter_type
action intersection
action find_reverse
entity monk
relation lifestyle
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'lifestyle', 'monk'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:lifestyle resource:monk . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q9554
SYSTEM
Martin Luther
Q9554
AND((c(Q502895),P1576,Q733786), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q733786
relation P1576
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] live as monk and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P1576', 'Q733786'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P1576 resource:Q733786 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Martin Luther
Martin Luther live as monk and have male as the sex
Martin Luther
action filter_type
action intersection
action find_reverse
entity monk
relation lifestyle
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'lifestyle', 'monk'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:lifestyle resource:monk . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9554 Q11988529
P22
Q502895
USER
Does Martin Luther have that one as a parent ?
(Q11988529,P22,Q9554)
action is_in
entity Q9554
action find
entity Q11988529
relation P22
['Q11988529', 'P22', 'Q9554']
ASK WHERE { resource:Q11988529 property:P22 resource:Q9554 }
Martin Luther Martin Luther
action is_in
entity Martin Luther
action find
entity Martin Luther
relation father
['Martin Luther', 'father', 'Martin Luther']
ASK WHERE { resource:Martin_Luther property:father resource:Martin_Luther }
[]
common name
SYSTEM
YES
(Q11988529,P22,Q9554)
action is_in
entity Q9554
action find
entity Q11988529
relation P22
[ANSWER]
['Q11988529', 'P22', 'Q9554']
ASK WHERE { resource:Q11988529 property:P22 resource:Q9554 }
Yes
action is_in
entity Martin Luther
action find
entity Martin Luther
relation father
['Martin Luther', 'father', 'Martin Luther']
ASK WHERE { resource:Martin_Luther property:father resource:Martin_Luther }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9554
P135
Q2198855
USER
Which cultural movement was Martin Luther linked with ?
action filter_type
action find
entity Q9554
relation P135
type Q2198855
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2198855 . resource:Q9554 property:P135 ?v }
Martin Luther
action filter_type
action find
entity Martin Luther
relation movement
type cultural movement
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cultural_movement . resource:Martin_Luther property:movement ?v }
[]
cultural movement
Q2455000
SYSTEM
German Renaissance
Q2455000
action filter_type
action find
entity Q9554
relation P135
type Q2198855
Martin Luther was linked to [ANSWER]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2198855 . resource:Q9554 property:P135 ?v }
German Renaissance
Martin Luther was linked to German Renaissance
German Renaissance
action filter_type
action find
entity Martin Luther
relation movement
type cultural movement
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:cultural_movement . resource:Martin_Luther property:movement ?v }
[]