Simple Question (Direct)
Simple Question
Q15533576
P161
Q502895
USER
Which people are in Muita Calma Nessa Hora 2 ?
(Q15533576,P161,c(Q502895))
action filter_type
action find
entity Q15533576
relation P161
type Q502895
['Q15533576', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15533576 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Muita Calma Nessa Hora 2
action filter_type
action find
entity Muita Calma Nessa Hora 2
relation cast member
type common name
['Muita Calma Nessa Hora 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Muita_Calma_Nessa_Hora_2 property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6756484 Q3321300 Q9667642
SYSTEM
Marcelo Adnet, Andréia Horta, Bruno Mazzeo
Q10281196 Q6756484 Q3321300 Q9667642
(Q15533576,P161,c(Q502895))
action filter_type
action find
entity Q15533576
relation P161
type Q502895
[ANSWERS] are in Muita Calma Nessa Hora 2
['Q15533576', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15533576 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Fernanda Souza Marcelo Adnet Andréia Horta Bruno Mazzeo
Marcelo Adnet, Andréia Horta and Bruno Mazzeo are in Muita Calma Nessa Hora 2
Marcelo Adnet Andréia Horta Bruno Mazzeo
action filter_type
action find
entity Muita Calma Nessa Hora 2
relation cast member
type common name
['Muita Calma Nessa Hora 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Muita_Calma_Nessa_Hora_2 property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15533576
P495
Q15617994
USER
Which administrative territory is the country of origin of that work of art ?
(Q6756484,P495,c(Q15617994)) (Q3321300,P495,c(Q15617994)) (Q9667642,P495,c(Q15617994))
action filter_type
action find
entity Q15533576
relation P495
type Q15617994
['Q6756484', 'P495', {'concept': 'Q15617994'}] ['Q3321300', 'P495', {'concept': 'Q15617994'}] ['Q9667642', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15533576 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Muita Calma Nessa Hora 2
action filter_type
action find
entity Muita Calma Nessa Hora 2
relation country of origin
type designation for an administrative territorial entity
['Marcelo Adnet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Andréia Horta', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Bruno Mazzeo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Muita_Calma_Nessa_Hora_2 property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q6756484,P495,c(Q15617994)) (Q3321300,P495,c(Q15617994)) (Q9667642,P495,c(Q15617994))
action filter_type
action find
entity Q15533576
relation P495
type Q15617994
The [ANSWER] is the country of origin of that work of art
['Q6756484', 'P495', {'concept': 'Q15617994'}] ['Q3321300', 'P495', {'concept': 'Q15617994'}] ['Q9667642', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15533576 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Brazil
The Brazil is the country of origin of that work of art
Brazil
action filter_type
action find
entity Muita Calma Nessa Hora 2
relation country of origin
type designation for an administrative territorial entity
['Marcelo Adnet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Andréia Horta', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Bruno Mazzeo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Muita_Calma_Nessa_Hora_2 property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q155 Q10270891
P27
Q502895
USER
Is Edwaldo Pacote a native of that administrative territory ?
(Q10270891,P27,Q155)
action is_in
entity Q155
action find
entity Q10270891
relation P27
['Q10270891', 'P27', 'Q155']
ASK WHERE { resource:Q10270891 property:P27 resource:Q155 }
Brazil Edwaldo Pacote
action is_in
entity Brazil
action find
entity Edwaldo Pacote
relation country of citizenship
['Edwaldo Pacote', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Edwaldo_Pacote property:country_of_citizenship resource:Brazil }
[]
common name
SYSTEM
YES
(Q10270891,P27,Q155)
action is_in
entity Q155
action find
entity Q10270891
relation P27
[ANSWER]
['Q10270891', 'P27', 'Q155']
ASK WHERE { resource:Q10270891 property:P27 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Edwaldo Pacote
relation country of citizenship
['Edwaldo Pacote', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Edwaldo_Pacote property:country_of_citizenship resource:Brazil }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3321300 Q1601810
P27
Q15617994
USER
Is Heldenstein the native country of Andréia Horta ?
(Q3321300,P27,Q1601810)
action is_in
entity Q1601810
action find
entity Q3321300
relation P27
['Q3321300', 'P27', 'Q1601810']
ASK WHERE { resource:Q3321300 property:P27 resource:Q1601810 }
Andréia Horta Heldenstein
action is_in
entity Heldenstein
action find
entity Andréia Horta
relation country of citizenship
['Andréia Horta', 'country of citizenship', 'Heldenstein']
ASK WHERE { resource:Andréia_Horta property:country_of_citizenship resource:Heldenstein }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3321300,P27,Q1601810)
action is_in
entity Q1601810
action find
entity Q3321300
relation P27
[ANSWER]
['Q3321300', 'P27', 'Q1601810']
ASK WHERE { resource:Q3321300 property:P27 resource:Q1601810 }
No
action is_in
entity Heldenstein
action find
entity Andréia Horta
relation country of citizenship
['Andréia Horta', 'country of citizenship', 'Heldenstein']
ASK WHERE { resource:Andréia_Horta property:country_of_citizenship resource:Heldenstein }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3321300
P161
Q838948
USER
How many works of art stars Andréia Horta as actor ?
(c(Q838948),P161,Q3321300)
action count
action filter_type
action find_reverse
entity Q3321300
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3321300']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q3321300 }
Andréia Horta
action count
action filter_type
action find_reverse
entity Andréia Horta
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Andréia Horta']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Andréia_Horta }
[]
work of art
SYSTEM
1
Q15533576
(c(Q838948),P161,Q3321300)
action count
action filter_type
action find_reverse
entity Q3321300
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3321300']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q838948 . ?x property:P161 resource:Q3321300 }
Muita Calma Nessa Hora 2
1
action count
action filter_type
action find_reverse
entity Andréia Horta
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Andréia Horta']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:work_of_art . ?x property:cast_member resource:Andréia_Horta }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q461540 Q15533576
P915
Q56061
USER
Which administrative territories were Muita Calma Nessa Hora 2 or Hellboy filmed ?
OR((Q15533576,P915,c(Q56061)), (Q461540,P915,c(Q56061)))
action filter_type
action union
action find
entity Q15533576
relation P915
action find
entity Q461540
relation P915
type Q56061
{'OR': [['Q15533576', 'P915', {'concept': 'Q56061'}], ['Q461540', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q15533576 property:P915 ?j } UNION { resource:Q461540 property:P915 ?j } } . ?j rdf:type ontology:Q56061 }
Hellboy Muita Calma Nessa Hora 2
action filter_type
action union
action find
entity Muita Calma Nessa Hora 2
relation filming location
action find
entity Hellboy
relation filming location
type administrative territorial entity
{'OR': [['Muita Calma Nessa Hora 2', 'filming location', {'concept': 'administrative territorial entity'}], ['Hellboy', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Muita_Calma_Nessa_Hora_2 property:filming_location ?j } UNION { resource:Hellboy property:filming_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q1085
SYSTEM
Rio de Janeiro, Prague
Q8678 Q1085
OR((Q15533576,P915,c(Q56061)), (Q461540,P915,c(Q56061)))
action filter_type
action union
action find
entity Q15533576
relation P915
action find
entity Q461540
relation P915
type Q56061
[ANSWERS] were Muita Calma Nessa Hora 2 or Hellboy filmed
{'OR': [['Q15533576', 'P915', {'concept': 'Q56061'}], ['Q461540', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q15533576 property:P915 ?j } UNION { resource:Q461540 property:P915 ?j } } . ?j rdf:type ontology:Q56061 }
Rio de Janeiro Prague
Rio de Janeiro and Prague were Muita Calma Nessa Hora 2 or Hellboy filmed
Rio de Janeiro Prague
action filter_type
action union
action find
entity Muita Calma Nessa Hora 2
relation filming location
action find
entity Hellboy
relation filming location
type administrative territorial entity
{'OR': [['Muita Calma Nessa Hora 2', 'filming location', {'concept': 'administrative territorial entity'}], ['Hellboy', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Muita_Calma_Nessa_Hora_2 property:filming_location ?j } UNION { resource:Hellboy property:filming_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q461540
P161
Q502895
USER
How many people are in Hellboy ?
(Q461540,P161,c(Q502895))
action count
action filter_type
action find
entity Q461540
relation P161
type Q502895
['Q461540', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q461540 property:P161 ?l }
Hellboy
action count
action filter_type
action find
entity Hellboy
relation cast member
type common name
['Hellboy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:common_name . resource:Hellboy property:cast_member ?l }
[]
common name
SYSTEM
10
Q645496 Q320204 Q463683 Q200405 Q373976 Q3644509 Q461309 Q220698 Q1132632 Q264748
(Q461540,P161,c(Q502895))
action count
action filter_type
action find
entity Q461540
relation P161
type Q502895
[ANSWER]
['Q461540', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q461540 property:P161 ?l }
Rupert Evans Jeffrey Tambor Karel Roden John Hurt David Hyde Pierce Brian Steele Doug Jones Ron Perlman Corey Johnson Selma Blair
10
action count
action filter_type
action find
entity Hellboy
relation cast member
type common name
['Hellboy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:common_name . resource:Hellboy property:cast_member ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461540
P840
Q56061
USER
Which administrative territory is the narrative location of that work of art ?
action filter_type
action find
entity Q461540
relation P840
type Q56061
SELECT DISTINCT ?n WHERE { resource:Q461540 property:P840 ?n . ?n rdf:type ontology:Q56061 }
Hellboy
action filter_type
action find
entity Hellboy
relation narrative location
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Hellboy property:narrative_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
action filter_type
action find
entity Q461540
relation P840
type Q56061
[ANSWER] is the narrative location of that work of art
SELECT DISTINCT ?n WHERE { resource:Q461540 property:P840 ?n . ?n rdf:type ontology:Q56061 }
New York City
New York City is the narrative location of that work of art
New York City
action filter_type
action find
entity Hellboy
relation narrative location
type administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Hellboy property:narrative_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]