Simple Question (Direct)
Simple Question
Q26594
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Bustillo del Páramo ?
(Q26594,P1313,c(Q12737077))
action filter_type
action find
entity Q26594
relation P1313
type Q12737077
['Q26594', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q26594 property:P1313 ?v }
Bustillo del Páramo
action filter_type
action find
entity Bustillo del Páramo
relation office held by head of government
type occupation
['Bustillo del Páramo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Bustillo_del_Páramo property:office_held_by_head_of_government ?v }
[]
occupation
Q26697810
SYSTEM
mayor of Bustillo del Páramo
Q26697810
(Q26594,P1313,c(Q12737077))
action filter_type
action find
entity Q26594
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Bustillo del Páramo
['Q26594', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q26594 property:P1313 ?v }
mayor of Bustillo del Páramo
The mayor of Bustillo del Páramo serves as the political office that is fulfilled by the head of the government of Bustillo del Páramo
mayor of Bustillo del Páramo
action filter_type
action find
entity Bustillo del Páramo
relation office held by head of government
type occupation
['Bustillo del Páramo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Bustillo_del_Páramo property:office_held_by_head_of_government ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26594
P6
Q502895
USER
Who is the head of the government of that political territory ?
(Q26697810,P6,c(Q502895))
action filter_type
action find
entity Q26594
relation P6
type Q502895
['Q26697810', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q26594 property:P6 ?c }
Bustillo del Páramo
action filter_type
action find
entity Bustillo del Páramo
relation head of government
type common name
['mayor of Bustillo del Páramo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Bustillo_del_Páramo property:head_of_government ?c }
[]
common name
Q14086756
SYSTEM
Faustino Sutil Honrado
Q14086756
(Q26697810,P6,c(Q502895))
action filter_type
action find
entity Q26594
relation P6
type Q502895
The head of the government of that political territory is Domingo [ANSWER]
['Q26697810', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q26594 property:P6 ?c }
Faustino Sutil Honrado
The head of the government of that political territory is Domingo Faustino Sutil Honrado
Faustino Sutil Honrado
action filter_type
action find
entity Bustillo del Páramo
relation head of government
type common name
['mayor of Bustillo del Páramo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Bustillo_del_Páramo property:head_of_government ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14086756
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q14086756,P27,c(Q15617994))
action filter_type
action find
entity Q14086756
relation P27
type Q15617994
['Q14086756', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q14086756 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Faustino Sutil Honrado
action filter_type
action find
entity Faustino Sutil Honrado
relation country of citizenship
type designation for an administrative territorial entity
['Faustino Sutil Honrado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Faustino_Sutil_Honrado property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q14086756,P27,c(Q15617994))
action filter_type
action find
entity Q14086756
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q14086756', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q14086756 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Spain
The Spain is that person an inhabitant of
Spain
action filter_type
action find
entity Faustino Sutil Honrado
relation country of citizenship
type designation for an administrative territorial entity
['Faustino Sutil Honrado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Faustino_Sutil_Honrado property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1796765
Q15617994
USER
And how about Monika Hutter?
(Q1796765,P27,c(Q15617994))
action filter_type
action find
entity Q1796765
relation P27
type Q15617994
['Q1796765', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1796765 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Monika Hutter
action filter_type
action find
entity Monika Hutter
relation country of citizenship
type designation for an administrative territorial entity
['Monika Hutter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Monika_Hutter property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1796765,P27,c(Q15617994))
action filter_type
action find
entity Q1796765
relation P27
type Q15617994
[ANSWER]
['Q1796765', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1796765 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Switzerland
Switzerland
action filter_type
action find
entity Monika Hutter
relation country of citizenship
type designation for an administrative territorial entity
['Monika Hutter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Monika_Hutter property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15463 Q26594
P47
Q1048835
USER
Which political territories do Bustillo del Páramo or Vilanova del Vallès share a border with ?
OR((c(Q1048835),P47,Q26594), (c(Q1048835),P47,Q15463))
action filter_type
action union
action find_reverse
entity Q26594
relation P47
action find_reverse
entity Q15463
relation P47
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q26594'], [{'concept': 'Q1048835'}, 'P47', 'Q15463']]}
SELECT DISTINCT ?l WHERE { { ?l property:P47 ?r . VALUES ( ?r ) { ( resource:Q26594 ) ( resource:Q15463 ) } } . ?l rdf:type ontology:Q1048835 }
Vilanova del Vallès Bustillo del Páramo
action filter_type
action union
action find_reverse
entity Bustillo del Páramo
relation shares border with
action find_reverse
entity Vilanova del Vallès
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Bustillo del Páramo'], [{'concept': 'political territorial entity'}, 'shares border with', 'Vilanova del Vallès']]}
SELECT DISTINCT ?l WHERE { { ?l property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Bustillo_del_Páramo ) ( resource:Vilanova_del_Vallès ) } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q138220 Q15439 Q15460 Q918080 Q15433 Q12075 Q138239 Q12080 Q848293 Q141270
SYSTEM
San Pedro Bercianos, La Roca del Vallès, Vallromanes, Villadangos del Páramo, Montornès del Vallès, Vilassar de Dalt, Santa Marina del Rey, Òrrius, Hospital de Órbigo, Chozas de Abajo
Q138220 Q15439 Q15460 Q918080 Q15433 Q12075 Q138239 Q12080 Q848293 Q141270
OR((c(Q1048835),P47,Q26594), (c(Q1048835),P47,Q15463))
action filter_type
action union
action find_reverse
entity Q26594
relation P47
action find_reverse
entity Q15463
relation P47
type Q1048835
[ANSWERS] Bustillo del Páramo or Vilanova del Vallès share a border with
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q26594'], [{'concept': 'Q1048835'}, 'P47', 'Q15463']]}
SELECT DISTINCT ?l WHERE { { ?l property:P47 ?r . VALUES ( ?r ) { ( resource:Q26594 ) ( resource:Q15463 ) } } . ?l rdf:type ontology:Q1048835 }
San Pedro Bercianos La Roca del Vallès Vallromanes Villadangos del Páramo Montornès del Vallès Vilassar de Dalt Santa Marina del Rey Òrrius Hospital de Órbigo Chozas de Abajo
San Pedro Bercianos, La Roca del Vallès, Vallromanes, Villadangos del Páramo, Montornès del Vallès, Vilassar de Dalt, Santa Marina del Rey, Òrrius, Hospital de Órbigo and Chozas de Abajo Bustillo del Páramo or Vilanova del Vallès share a border with
San Pedro Bercianos La Roca del Vallès Vallromanes Villadangos del Páramo Montornès del Vallès Vilassar de Dalt Santa Marina del Rey Òrrius Hospital de Órbigo Chozas de Abajo
action filter_type
action union
action find_reverse
entity Bustillo del Páramo
relation shares border with
action find_reverse
entity Vilanova del Vallès
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Bustillo del Páramo'], [{'concept': 'political territorial entity'}, 'shares border with', 'Vilanova del Vallès']]}
SELECT DISTINCT ?l WHERE { { ?l property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Bustillo_del_Páramo ) ( resource:Vilanova_del_Vallès ) } } . ?l rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q766
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have diplomatic relations with greater number of administrative territories or political territories than Jamaica ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q766
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?z rdf:type ?q } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P530 resource:Q766 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q1048835 } } } } . FILTER ( ?r > ?a ) }
Jamaica
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?h WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?q } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:diplomatic_relation resource:Jamaica . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?r > ?a ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q766
relation P530
type Q15617994
type Q1048835
[ANSWERS] have diplomatic relations with greater number of administrative territories or political territories than Jamaica
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?z rdf:type ?q } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P530 resource:Q766 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q1048835 } } } } . FILTER ( ?r > ?a ) }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have diplomatic relations with greater number of administrative territories or political territories than Jamaica
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?h WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?q } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:diplomatic_relation resource:Jamaica . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?r > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q35
P530
Q1048835 Q15617994 Q1048835
USER
And also tell me about Denmark?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q35
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?s WHERE { { ?p property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P530 resource:Q35 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q1048835 } } } } . FILTER ( ?a > ?k ) }
Denmark
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?s WHERE { { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:diplomatic_relation resource:Denmark . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?a > ?k ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q35
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?s WHERE { { ?p property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P530 resource:Q35 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q1048835 } } } } . FILTER ( ?a > ?k ) }
Germany Australia Canada
Germany Australia Canada
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?s WHERE { { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:diplomatic_relation resource:Denmark . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?a > ?k ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q73831
P530
Q15617994
USER
Do Fiuminata have diplomatic associations with those political territories ?
(Q73831,P530,Q183) (Q73831,P530,Q408) (Q73831,P530,Q16)
action is_in
entity prev_answer
action find
entity Q73831
relation P530
['Q73831', 'P530', 'Q183'] ['Q73831', 'P530', 'Q408'] ['Q73831', 'P530', 'Q16']
ASK WHERE { VALUES ( ?a ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . resource:Q73831 property:P530 ?a }
Fiuminata
action is_in
entity prev_answer
action find
entity Fiuminata
relation diplomatic relation
['Fiuminata', 'diplomatic relation', 'Germany'] ['Fiuminata', 'diplomatic relation', 'Australia'] ['Fiuminata', 'diplomatic relation', 'Canada']
ASK WHERE { VALUES ( ?a ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . resource:Fiuminata property:diplomatic_relation ?a }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q73831,P530,Q183) (Q73831,P530,Q408) (Q73831,P530,Q16)
action is_in
entity prev_answer
action find
entity Q73831
relation P530
[ANSWER]
['Q73831', 'P530', 'Q183'] ['Q73831', 'P530', 'Q408'] ['Q73831', 'P530', 'Q16']
ASK WHERE { VALUES ( ?a ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . resource:Q73831 property:P530 ?a }
No
action is_in
entity prev_answer
action find
entity Fiuminata
relation diplomatic relation
['Fiuminata', 'diplomatic relation', 'Germany'] ['Fiuminata', 'diplomatic relation', 'Australia'] ['Fiuminata', 'diplomatic relation', 'Canada']
ASK WHERE { VALUES ( ?a ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . resource:Fiuminata property:diplomatic_relation ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5408264 Q766
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Jamaica and are Eugenio Centenaro Kerrigan a civilian of ?
AND((Q766,P530,c(Q15617994)), (Q5408264,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q766
relation P530
action find
entity Q5408264
relation P27
type Q15617994
{'AND': [['Q766', 'P530', {'concept': 'Q15617994'}], ['Q5408264', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5408264 property:P27 ?l . resource:Q766 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
Eugenio Centenaro Kerrigan Jamaica
action filter_type
action intersection
action find
entity Jamaica
relation diplomatic relation
action find
entity Eugenio Centenaro Kerrigan
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Jamaica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eugenio Centenaro Kerrigan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Eugenio_Centenaro_Kerrigan property:country_of_citizenship ?l . resource:Jamaica property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q766,P530,c(Q15617994)), (Q5408264,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q766
relation P530
action find
entity Q5408264
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Jamaica and are Eugenio Centenaro Kerrigan a civilian of
{'AND': [['Q766', 'P530', {'concept': 'Q15617994'}], ['Q5408264', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5408264 property:P27 ?l . resource:Q766 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
Brazil
Brazil holds diplomatic relationship with Jamaica and are Eugenio Centenaro Kerrigan a civilian of
Brazil
action filter_type
action intersection
action find
entity Jamaica
relation diplomatic relation
action find
entity Eugenio Centenaro Kerrigan
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Jamaica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eugenio Centenaro Kerrigan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Eugenio_Centenaro_Kerrigan property:country_of_citizenship ?l . resource:Jamaica property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5408264
P58
Q201658
USER
Which film genre is Eugenio Centenaro Kerrigan a screenwriter of ?
(c(Q201658),P58,Q5408264)
action filter_type
action find_reverse
entity Q5408264
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q5408264']
SELECT DISTINCT ?h WHERE { ?h property:P58 resource:Q5408264 . ?h rdf:type ontology:Q201658 }
Eugenio Centenaro Kerrigan
action filter_type
action find_reverse
entity Eugenio Centenaro Kerrigan
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Eugenio Centenaro Kerrigan']
SELECT DISTINCT ?h WHERE { ?h property:screenwriter resource:Eugenio_Centenaro_Kerrigan . ?h rdf:type ontology:film_genre }
[]
film genre
Q5169701
SYSTEM
Corações em Suplício
Q5169701
(c(Q201658),P58,Q5408264)
action filter_type
action find_reverse
entity Q5408264
relation P58
type Q201658
[ANSWER] is Eugenio Centenaro Kerrigan a screenwriter of
[{'concept': 'Q201658'}, 'P58', 'Q5408264']
SELECT DISTINCT ?h WHERE { ?h property:P58 resource:Q5408264 . ?h rdf:type ontology:Q201658 }
Corações em Suplício
Corações em Suplício is Eugenio Centenaro Kerrigan a screenwriter of
Corações em Suplício
action filter_type
action find_reverse
entity Eugenio Centenaro Kerrigan
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Eugenio Centenaro Kerrigan']
SELECT DISTINCT ?h WHERE { ?h property:screenwriter resource:Eugenio_Centenaro_Kerrigan . ?h rdf:type ontology:film_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5408264
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q5169701,P19,c(Q56061))
action filter_type
action find
entity Q5408264
relation P19
type Q56061
['Q5169701', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5408264 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Eugenio Centenaro Kerrigan
action filter_type
action find
entity Eugenio Centenaro Kerrigan
relation place of birth
type administrative territorial entity
['Corações em Suplício', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eugenio_Centenaro_Kerrigan property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q279
SYSTEM
Modena
Q279
(Q5169701,P19,c(Q56061))
action filter_type
action find
entity Q5408264
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q5169701', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5408264 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Modena
Modena is the place of birth of that person
Modena
action filter_type
action find
entity Eugenio Centenaro Kerrigan
relation place of birth
type administrative territorial entity
['Corações em Suplício', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eugenio_Centenaro_Kerrigan property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]