Simple Question (Direct)
Simple Question
Q7634380
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Suely Guimarães ?
(Q7634380,P27,c(Q15617994))
action filter_type
action find
entity Q7634380
relation P27
type Q15617994
['Q7634380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q7634380 property:P27 ?g }
Suely Guimarães
action filter_type
action find
entity Suely Guimarães
relation country of citizenship
type designation for an administrative territorial entity
['Suely Guimarães', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Suely_Guimarães property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q7634380,P27,c(Q15617994))
action filter_type
action find
entity Q7634380
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Suely Guimarães
['Q7634380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q7634380 property:P27 ?g }
Brazil
Brazil is the country of citizenship of Suely Guimarães
Brazil
action filter_type
action find
entity Suely Guimarães
relation country of citizenship
type designation for an administrative territorial entity
['Suely Guimarães', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Suely_Guimarães property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7634380
P21
Q290
USER
Which sex does that person belong to ?
(Q155,P21,c(Q290))
action filter_type
action find
entity Q7634380
relation P21
type Q290
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7634380 property:P21 ?d . ?d rdf:type ontology:Q290 }
Suely Guimarães
action filter_type
action find
entity Suely Guimarães
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Suely_Guimarães property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q155,P21,c(Q290))
action filter_type
action find
entity Q7634380
relation P21
type Q290
That person belongs to [ANSWER]
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7634380 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Suely Guimarães
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Suely_Guimarães property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q7298302
P21
Q502895
USER
Is Ray Willis a that sex ?
(Q7298302,P21,Q6581072)
action is_in
entity Q7298302
action find
entity Q6581072
relation P21
['Q7298302', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q7298302 }
female Ray Willis
action is_in
entity Ray Willis
action find
entity female
relation gender
['Ray Willis', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Ray_Willis }
[]
common name
SYSTEM
NO
(Q7298302,P21,Q6581072)
action is_in
entity Q7298302
action find
entity Q6581072
relation P21
[ANSWER]
['Q7298302', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q7298302 }
No
action is_in
entity Ray Willis
action find
entity female
relation gender
['Ray Willis', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Ray_Willis }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q766 Q183
P530
Q1048835
USER
Is Brazil known to have diplomatic connections with Jamaica and Germany ?
(Q155,P530,Q766) (Q155,P530,Q183)
action is_in
entity Q155
action intersection
action find_reverse
entity Q766
relation P530
action find_reverse
entity Q183
relation P530
['Q155', 'P530', 'Q766'] ['Q155', 'P530', 'Q183']
ASK WHERE { resource:Q155 property:P530 resource:Q766 . resource:Q155 property:P530 resource:Q183 }
Brazil Jamaica Germany
action is_in
entity Brazil
action intersection
action find_reverse
entity Jamaica
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Jamaica'] ['Brazil', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Jamaica . resource:Brazil property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q155,P530,Q766) (Q155,P530,Q183)
action is_in
entity Q155
action intersection
action find_reverse
entity Q766
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q155', 'P530', 'Q766'] ['Q155', 'P530', 'Q183']
ASK WHERE { resource:Q155 property:P530 resource:Q766 . resource:Q155 property:P530 resource:Q183 }
Yes
action is_in
entity Brazil
action intersection
action find_reverse
entity Jamaica
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Jamaica'] ['Brazil', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Jamaica . resource:Brazil property:diplomatic_relation resource:Germany }
[]