Simple Question (Direct)
Simple Question
Q21020172
P39
Q12737077
USER
Which occupations were the positions for which Moema Gramacho were appointed ?
(Q21020172,P39,c(Q12737077))
action filter_type
action find
entity Q21020172
relation P39
type Q12737077
['Q21020172', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q21020172 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Moema Gramacho
action filter_type
action find
entity Moema Gramacho
relation position held
type occupation
['Moema Gramacho', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Moema_Gramacho property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q20058725 Q4657217
SYSTEM
member of the Chamber of Deputies of Brazil, municipal executive
Q20058725 Q4657217
(Q21020172,P39,c(Q12737077))
action filter_type
action find
entity Q21020172
relation P39
type Q12737077
[ANSWERS] were the positions for which Moema Gramacho were appointed
['Q21020172', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q21020172 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of Brazil municipal executive
Member of the Chamber of Deputies of Brazil and municipal executive were the positions for which Moema Gramacho were appointed
member of the Chamber of Deputies of Brazil municipal executive
action filter_type
action find
entity Moema Gramacho
relation position held
type occupation
['Moema Gramacho', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Moema_Gramacho property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21020172
P21
Q290
USER
Which sex does that person have ?
(Q20058725,P21,c(Q290)) (Q4657217,P21,c(Q290))
action filter_type
action find
entity Q21020172
relation P21
type Q290
['Q20058725', 'P21', {'concept': 'Q290'}] ['Q4657217', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q21020172 property:P21 ?b . ?b rdf:type ontology:Q290 }
Moema Gramacho
action filter_type
action find
entity Moema Gramacho
relation gender
type sex
['member of the Chamber of Deputies of Brazil', 'gender', {'concept': 'sex'}] ['municipal executive', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Moema_Gramacho property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20058725,P21,c(Q290)) (Q4657217,P21,c(Q290))
action filter_type
action find
entity Q21020172
relation P21
type Q290
That person has a [ANSWER]
['Q20058725', 'P21', {'concept': 'Q290'}] ['Q4657217', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q21020172 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Moema Gramacho
relation gender
type sex
['member of the Chamber of Deputies of Brazil', 'gender', {'concept': 'sex'}] ['municipal executive', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Moema_Gramacho property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q2884310
P21
Q502895
USER
Is Nancy Fabiola Herrera a that sex ?
(Q2884310,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q2884310
relation P21
['Q2884310', 'P21', 'Q6581072']
ASK WHERE { resource:Q2884310 property:P21 resource:Q6581072 }
female Nancy Fabiola Herrera
action is_in
entity female
action find
entity Nancy Fabiola Herrera
relation gender
['Nancy Fabiola Herrera', 'gender', 'female']
ASK WHERE { resource:Nancy_Fabiola_Herrera property:gender resource:female }
[]
common name
SYSTEM
YES
(Q2884310,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q2884310
relation P21
[ANSWER]
['Q2884310', 'P21', 'Q6581072']
ASK WHERE { resource:Q2884310 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Nancy Fabiola Herrera
relation gender
['Nancy Fabiola Herrera', 'gender', 'female']
ASK WHERE { resource:Nancy_Fabiola_Herrera property:gender resource:female }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20058725
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of member of the Chamber of Deputies of Brazil ?
(Q20058725,P1001,c(Q15617994))
action filter_type
action find
entity Q20058725
relation P1001
type Q15617994
['Q20058725', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q20058725 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
member of the Chamber of Deputies of Brazil
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q20058725,P1001,c(Q15617994))
action filter_type
action find
entity Q20058725
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of member of the Chamber of Deputies of [ANSWER]
['Q20058725', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q20058725 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
Brazil
Brazil belongs to jurisdiction of member of the Chamber of Deputies of Brazil
Brazil
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20058725
P361
Q375928
USER
What is that occupation a part of ?
(Q155,P361,c(Q375928))
action filter_type
action find
entity Q20058725
relation P361
type Q375928
['Q155', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?l WHERE { resource:Q20058725 property:P361 ?l . ?l rdf:type ontology:Q375928 }
member of the Chamber of Deputies of Brazil
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation part of
type lower house
['Brazil', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?l WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:part_of ?l . ?l rdf:type ontology:lower_house }
[]
lower house
Q1834804
SYSTEM
Chamber of Deputies
Q1834804
(Q155,P361,c(Q375928))
action filter_type
action find
entity Q20058725
relation P361
type Q375928
That occupation a part of is the [ANSWER]
['Q155', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?l WHERE { resource:Q20058725 property:P361 ?l . ?l rdf:type ontology:Q375928 }
Chamber of Deputies
That occupation a part of is the Chamber of Deputies
Chamber of Deputies
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation part of
type lower house
['Brazil', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?l WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:part_of ?l . ?l rdf:type ontology:lower_house }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20058725
P17
Q15617994
USER
Which administrative territory is member of the Chamber of Deputies of Brazil located in ?
(Q20058725,P17,c(Q15617994))
action filter_type
action find
entity Q20058725
relation P17
type Q15617994
['Q20058725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q20058725 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
member of the Chamber of Deputies of Brazil
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation country
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q20058725,P17,c(Q15617994))
action filter_type
action find
entity Q20058725
relation P17
type Q15617994
[ANSWER] is member of the Chamber of Deputies of [ANSWER] located in
['Q20058725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q20058725 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Brazil
Brazil is member of the Chamber of Deputies of Brazil located in
Brazil
action filter_type
action find
entity member of the Chamber of Deputies of Brazil
relation country
type designation for an administrative territorial entity
['member of the Chamber of Deputies of Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_Chamber_of_Deputies_of_Brazil property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]