Simple Question (Direct)
Simple Question
Q2929461
P106
Q12737077
USER
Which occupations are the professions of Beatrice Hammer ?
(Q2929461,P106,c(Q12737077))
action filter_type
action find
entity Q2929461
relation P106
type Q12737077
['Q2929461', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2929461 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Beatrice Hammer
action filter_type
action find
entity Beatrice Hammer
relation occupation
type occupation
['Beatrice Hammer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Beatrice_Hammer property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180 Q6625963
SYSTEM
children's writer, writer, novelist
Q4853732 Q36180 Q6625963
(Q2929461,P106,c(Q12737077))
action filter_type
action find
entity Q2929461
relation P106
type Q12737077
[ANSWERS]
['Q2929461', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2929461 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
children's writer writer novelist
children's writer writer novelist
action filter_type
action find
entity Beatrice Hammer
relation occupation
type occupation
['Beatrice Hammer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Beatrice_Hammer property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2929461
P21
Q290
USER
Which sex does Beatrice Hammer have ?
(Q2929461,P21,c(Q290))
action filter_type
action find
entity Q2929461
relation P21
type Q290
['Q2929461', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q2929461 property:P21 ?y . ?y rdf:type ontology:Q290 }
Beatrice Hammer
action filter_type
action find
entity Beatrice Hammer
relation gender
type sex
['Beatrice Hammer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Beatrice_Hammer property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2929461,P21,c(Q290))
action filter_type
action find
entity Q2929461
relation P21
type Q290
[ANSWER]
['Q2929461', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q2929461 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Beatrice Hammer
relation gender
type sex
['Beatrice Hammer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Beatrice_Hammer property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2929461
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q2929461
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q2929461 property:P27 ?o }
Beatrice Hammer
action filter_type
action find
entity Beatrice Hammer
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Beatrice_Hammer property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q2929461
relation P27
type Q15617994
[ANSWER]
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q2929461 property:P27 ?o }
France
France
action filter_type
action find
entity Beatrice Hammer
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Beatrice_Hammer property:country_of_citizenship ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q7380664 Q21887509
P610
Q14524493
USER
Is Ruset Peak and One Tree Hill the highest peak of Q142 ?
(Q142,P610,Q7380664) (Q142,P610,Q21887509)
action is_in
entity Q142
action intersection
action find_reverse
entity Q7380664
relation P610
action find_reverse
entity Q21887509
relation P610
['Q142', 'P610', 'Q7380664'] ['Q142', 'P610', 'Q21887509']
ASK WHERE { resource:Q142 property:P610 resource:Q7380664 . resource:Q142 property:P610 resource:Q21887509 }
France Ruset Peak One Tree Hill
action is_in
entity France
action intersection
action find_reverse
entity Ruset Peak
relation highest point
action find_reverse
entity One Tree Hill
relation highest point
['France', 'highest point', 'Ruset Peak'] ['France', 'highest point', 'One Tree Hill']
ASK WHERE { resource:France property:highest_point resource:Ruset_Peak . resource:France property:highest_point resource:One_Tree_Hill }
[]
terrain
SYSTEM
NO
(Q142,P610,Q7380664) (Q142,P610,Q21887509)
action is_in
entity Q142
action intersection
action find_reverse
entity Q7380664
relation P610
action find_reverse
entity Q21887509
relation P610
[ANSWER]
['Q142', 'P610', 'Q7380664'] ['Q142', 'P610', 'Q21887509']
ASK WHERE { resource:Q142 property:P610 resource:Q7380664 . resource:Q142 property:P610 resource:Q21887509 }
No
action is_in
entity France
action intersection
action find_reverse
entity Ruset Peak
relation highest point
action find_reverse
entity One Tree Hill
relation highest point
['France', 'highest point', 'Ruset Peak'] ['France', 'highest point', 'One Tree Hill']
ASK WHERE { resource:France property:highest_point resource:Ruset_Peak . resource:France property:highest_point resource:One_Tree_Hill }
[]