Simple Question (Direct)
Simple Question
Q20649952
P344
Q502895
USER
Which person is the cinematographer of The Star of Rio ?
(Q20649952,P344,c(Q502895))
action filter_type
action find
entity Q20649952
relation P344
type Q502895
['Q20649952', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q20649952 property:P344 ?w . ?w rdf:type ontology:Q502895 }
The Star of Rio
action filter_type
action find
entity The Star of Rio
relation director of photography
type common name
['The Star of Rio', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Star_of_Rio property:director_of_photography ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1519854
SYSTEM
Willy Winterstein
Q1519854
(Q20649952,P344,c(Q502895))
action filter_type
action find
entity Q20649952
relation P344
type Q502895
[ANSWER] is the cinematographer of The Star of Rio
['Q20649952', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q20649952 property:P344 ?w . ?w rdf:type ontology:Q502895 }
Willy Winterstein
Willy Winterstein is the cinematographer of The Star of Rio
Willy Winterstein
action filter_type
action find
entity The Star of Rio
relation director of photography
type common name
['The Star of Rio', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Star_of_Rio property:director_of_photography ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20649952
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q1519854,P364,c(Q34770))
action filter_type
action find
entity Q20649952
relation P364
type Q34770
['Q1519854', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q20649952 property:P364 ?w . ?w rdf:type ontology:Q34770 }
The Star of Rio
action filter_type
action find
entity The Star of Rio
relation original language of work
type language
['Willy Winterstein', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:The_Star_of_Rio property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1519854,P364,c(Q34770))
action filter_type
action find
entity Q20649952
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q1519854', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q20649952 property:P364 ?w . ?w rdf:type ontology:Q34770 }
Italian
Italian was used originally for the creation of that work of art
Italian
action filter_type
action find
entity The Star of Rio
relation original language of work
type language
['Willy Winterstein', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:The_Star_of_Rio property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20649952
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q652,P495,c(Q15617994))
action filter_type
action find
entity Q20649952
relation P495
type Q15617994
['Q652', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q20649952 property:P495 ?f }
The Star of Rio
action filter_type
action find
entity The Star of Rio
relation country of origin
type designation for an administrative territorial entity
['Italian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Star_of_Rio property:country_of_origin ?f }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q652,P495,c(Q15617994))
action filter_type
action find
entity Q20649952
relation P495
type Q15617994
The country of origin of that work of art is in [ANSWER]
['Q652', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q20649952 property:P495 ?f }
Italy
The country of origin of that work of art is in Italy
Italy
action filter_type
action find
entity The Star of Rio
relation country of origin
type designation for an administrative territorial entity
['Italian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Star_of_Rio property:country_of_origin ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20649952
P57
Q502895
USER
Which person directed The Star of Rio ?
(Q20649952,P57,c(Q502895))
action filter_type
action find
entity Q20649952
relation P57
type Q502895
['Q20649952', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q20649952 property:P57 ?v . ?v rdf:type ontology:Q502895 }
The Star of Rio
action filter_type
action find
entity The Star of Rio
relation director
type common name
['The Star of Rio', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Star_of_Rio property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q69843
SYSTEM
Kurt Neumann
Q69843
(Q20649952,P57,c(Q502895))
action filter_type
action find
entity Q20649952
relation P57
type Q502895
[ANSWER] directed The Star of Rio
['Q20649952', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q20649952 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Kurt Neumann
Kurt Neumann directed The Star of Rio
Kurt Neumann
action filter_type
action find
entity The Star of Rio
relation director
type common name
['The Star of Rio', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Star_of_Rio property:director ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q69843 Q4109794
P27
Q1048835
USER
Is Kurt Neumann a civilian of Vesele ?
(Q69843,P27,Q4109794)
action is_in
entity Q4109794
action find
entity Q69843
relation P27
['Q69843', 'P27', 'Q4109794']
ASK WHERE { resource:Q69843 property:P27 resource:Q4109794 }
Kurt Neumann Vesele
action is_in
entity Vesele
action find
entity Kurt Neumann
relation country of citizenship
['Kurt Neumann', 'country of citizenship', 'Vesele']
ASK WHERE { resource:Kurt_Neumann property:country_of_citizenship resource:Vesele }
[]
political territorial entity
SYSTEM
NO
(Q69843,P27,Q4109794)
action is_in
entity Q4109794
action find
entity Q69843
relation P27
[ANSWER]
['Q69843', 'P27', 'Q4109794']
ASK WHERE { resource:Q69843 property:P27 resource:Q4109794 }
No
action is_in
entity Vesele
action find
entity Kurt Neumann
relation country of citizenship
['Kurt Neumann', 'country of citizenship', 'Vesele']
ASK WHERE { resource:Kurt_Neumann property:country_of_citizenship resource:Vesele }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q1442451 Q4206020
P530
Q1048835
USER
Is Italy known to have diplomatic connections with Villamartín and Yosypivka ?
(Q38,P530,Q1442451) (Q38,P530,Q4206020)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1442451
relation P530
action find_reverse
entity Q4206020
relation P530
['Q38', 'P530', 'Q1442451'] ['Q38', 'P530', 'Q4206020']
ASK WHERE { resource:Q38 property:P530 resource:Q1442451 . resource:Q38 property:P530 resource:Q4206020 }
Italy Villamartín Yosypivka
action is_in
entity Italy
action intersection
action find_reverse
entity Villamartín
relation diplomatic relation
action find_reverse
entity Yosypivka
relation diplomatic relation
['Italy', 'diplomatic relation', 'Villamartín'] ['Italy', 'diplomatic relation', 'Yosypivka']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Villamartín . resource:Italy property:diplomatic_relation resource:Yosypivka }
[]
political territorial entity
SYSTEM
NO
(Q38,P530,Q1442451) (Q38,P530,Q4206020)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1442451
relation P530
action find_reverse
entity Q4206020
relation P530
[ANSWER]
['Q38', 'P530', 'Q1442451'] ['Q38', 'P530', 'Q4206020']
ASK WHERE { resource:Q38 property:P530 resource:Q1442451 . resource:Q38 property:P530 resource:Q4206020 }
No
action is_in
entity Italy
action intersection
action find_reverse
entity Villamartín
relation diplomatic relation
action find_reverse
entity Yosypivka
relation diplomatic relation
['Italy', 'diplomatic relation', 'Villamartín'] ['Italy', 'diplomatic relation', 'Yosypivka']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Villamartín . resource:Italy property:diplomatic_relation resource:Yosypivka }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q94380 Q69843
P20
Q56061
USER
Which administrative territories did Kurt Neumann or Johann Georg Ramsauer die ?
OR((Q69843,P20,c(Q56061)), (Q94380,P20,c(Q56061)))
action filter_type
action union
action find
entity Q69843
relation P20
action find
entity Q94380
relation P20
type Q56061
{'OR': [['Q69843', 'P20', {'concept': 'Q56061'}], ['Q94380', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q69843 property:P20 ?r } UNION { resource:Q94380 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Johann Georg Ramsauer Kurt Neumann
action filter_type
action union
action find
entity Kurt Neumann
relation place of death
action find
entity Johann Georg Ramsauer
relation place of death
type administrative territorial entity
{'OR': [['Kurt Neumann', 'place of death', {'concept': 'administrative territorial entity'}], ['Johann Georg Ramsauer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Kurt_Neumann property:place_of_death ?r } UNION { resource:Johann_Georg_Ramsauer property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q41329
SYSTEM
Los Angeles, Linz
Q65 Q41329
OR((Q69843,P20,c(Q56061)), (Q94380,P20,c(Q56061)))
action filter_type
action union
action find
entity Q69843
relation P20
action find
entity Q94380
relation P20
type Q56061
Kurt Neumann or Johann Georg Ramsauer died in [ANSWERS]
{'OR': [['Q69843', 'P20', {'concept': 'Q56061'}], ['Q94380', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q69843 property:P20 ?r } UNION { resource:Q94380 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Los Angeles Linz
Kurt Neumann or Johann Georg Ramsauer died in Los Angeles and Linz
Los Angeles Linz
action filter_type
action union
action find
entity Kurt Neumann
relation place of death
action find
entity Johann Georg Ramsauer
relation place of death
type administrative territorial entity
{'OR': [['Kurt Neumann', 'place of death', {'concept': 'administrative territorial entity'}], ['Johann Georg Ramsauer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Kurt_Neumann property:place_of_death ?r } UNION { resource:Johann_Georg_Ramsauer property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q475476
P361
Q838948 Q502895 Q2342494
USER
Which works of art are greater number of people or collectables a component of than diptych ?
(c(Q502895)|c(Q2342494),P361,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q475476
relation P361
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P361 resource:Q475476 . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?a > ?y ) }
diptych
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity diptych
relation part of
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:collectable ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:part_of resource:diptych . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:collectable ) } } } } . FILTER ( ?a > ?y ) }
[]
work of art common name collectable
Q213053 Q10512738 Q1762957
SYSTEM
Superman, Göta kanal eller Vem drog ur proppen?, Release the Prisoners to Spring
Q1762957 Q22260775 Q10550583 Q1195466 Q6519361 Q2905386 Q213053 Q283134 Q1297233 Q10512738
(c(Q502895)|c(Q2342494),P361,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q475476
relation P361
type Q502895
type Q2342494
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P361 resource:Q475476 . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?a > ?y ) }
Release the Prisoners to Spring Sonar Kella Kurt Olsson – filmen om mitt liv som mig själv The Man on the Roof Leif Black Jack Superman Supergirl Ferdinand the Bull Göta kanal eller Vem drog ur proppen?
Superman, Göta kanal eller Vem drog ur proppen and Release the Prisoners to Spring are greater number of people or collectables a component of than diptych
Superman Göta kanal eller Vem drog ur proppen? Release the Prisoners to Spring
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity diptych
relation part of
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?a ) WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:collectable ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:part_of resource:diptych . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:collectable ) } } } } . FILTER ( ?a > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q478748
P361
Q838948 Q502895 Q2342494
USER
And how about The Holiday?
(c(Q502895)|c(Q2342494),P361,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q478748
relation P361
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P361 resource:Q478748 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?z > ?x ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P361 ?i . ?i rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P361 ?i . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } } GROUP BY ?i } }
The Holiday
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity The Holiday
relation part of
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:part_of resource:The_Holiday . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?z > ?x ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:part_of ?i . ?i rdf:type ontology:work_of_art . ?m rdf:type ontology:collectable } UNION { ?m property:part_of ?i . ?m rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } } GROUP BY ?i } }
[]
work of art common name collectable
Q213053 Q10512738 Q1762957
SYSTEM
Superman, Göta kanal eller Vem drog ur proppen?, Release the Prisoners to Spring
Q1762957 Q22260775 Q10550583 Q1195466 Q6519361 Q2905386 Q213053 Q283134 Q1297233 Q10512738
(c(Q502895)|c(Q2342494),P361,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q478748
relation P361
type Q502895
type Q2342494
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P361 resource:Q478748 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?z > ?x ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P361 ?i . ?i rdf:type ontology:Q838948 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P361 ?i . ?m rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } } GROUP BY ?i } }
Release the Prisoners to Spring Sonar Kella Kurt Olsson – filmen om mitt liv som mig själv The Man on the Roof Leif Black Jack Superman Supergirl Ferdinand the Bull Göta kanal eller Vem drog ur proppen?
Superman Göta kanal eller Vem drog ur proppen? Release the Prisoners to Spring
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type common name
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity The Holiday
relation part of
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:part_of resource:The_Holiday . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?z > ?x ) . { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:part_of ?i . ?i rdf:type ontology:work_of_art . ?m rdf:type ontology:collectable } UNION { ?m property:part_of ?i . ?m rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1762957
P361
Q502895
USER
How many people are parts of Release the Prisoners to Spring ?
(c(Q502895),P361,Q1762957)
action count
action filter_type
action find_reverse
entity Q1762957
relation P361
type Q502895
[{'concept': 'Q502895'}, 'P361', 'Q1762957']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P361 resource:Q1762957 . ?c rdf:type ontology:Q502895 }
Release the Prisoners to Spring
action count
action filter_type
action find_reverse
entity Release the Prisoners to Spring
relation part of
type common name
[{'concept': 'common name'}, 'part of', 'Release the Prisoners to Spring']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:part_of resource:Release_the_Prisoners_to_Spring . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q6209151
(c(Q502895),P361,Q1762957)
action count
action filter_type
action find_reverse
entity Q1762957
relation P361
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P361', 'Q1762957']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P361 resource:Q1762957 . ?c rdf:type ontology:Q502895 }
Johan Thorén
1
action count
action filter_type
action find_reverse
entity Release the Prisoners to Spring
relation part of
type common name
[{'concept': 'common name'}, 'part of', 'Release the Prisoners to Spring']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:part_of resource:Release_the_Prisoners_to_Spring . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65
P47
Q56061
USER
Which administrative territories share border with Los Angeles ?
(c(Q56061),P47,Q65)
action filter_type
action find_reverse
entity Q65
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q65']
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q65 . ?z rdf:type ontology:Q56061 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Los Angeles']
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Los_Angeles . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q983859 Q621549 Q485716
SYSTEM
El Segundo, Inglewood, Glendale
Q983859 Q621549 Q485716
(c(Q56061),P47,Q65)
action filter_type
action find_reverse
entity Q65
relation P47
type Q56061
[ANSWERS] share border with Los Angeles
[{'concept': 'Q56061'}, 'P47', 'Q65']
SELECT DISTINCT ?z WHERE { ?z property:P47 resource:Q65 . ?z rdf:type ontology:Q56061 }
El Segundo Inglewood Glendale
El Segundo, Inglewood and Glendale share border with Los Angeles
El Segundo Inglewood Glendale
action filter_type
action find_reverse
entity Los Angeles
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Los Angeles']
SELECT DISTINCT ?z WHERE { ?z property:shares_border_with resource:Los_Angeles . ?z rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q485716
P119
Q502895
USER
Which person has that administrative territory as place of burial ?
(c(Q502895),P119,Q485716)
action filter_type
action find_reverse
entity Q485716
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q485716']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P119 resource:Q485716 }
Glendale
action filter_type
action find_reverse
entity Glendale
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Glendale']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_burial resource:Glendale }
[]
common name
Clarification for simple ques.
Q621549
SYSTEM
Did you mean Inglewood ?
Q983859 Q621549 Q485716
(c(Q502895),P119,Q983859) (c(Q502895),P119,Q621549) (c(Q502895),P119,Q485716)
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q983859'] [{'concept': 'Q502895'}, 'P119', 'Q621549'] [{'concept': 'Q502895'}, 'P119', 'Q485716']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P119 resource:Q485716 }
El Segundo Inglewood Glendale
Did you mean Inglewood ?
Inglewood
[{'concept': 'common name'}, 'place of burial', 'El Segundo'] [{'concept': 'common name'}, 'place of burial', 'Inglewood'] [{'concept': 'common name'}, 'place of burial', 'Glendale']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_burial resource:Glendale }
[]
Simple Question (Coreferenced)
USER
No, I meant Glendale. Could you tell me the answer for that?
(c(Q502895),P119,Q485716)
Q485716
[{'concept': 'Q502895'}, 'P119', 'Q485716']
[{'concept': 'common name'}, 'place of burial', 'Glendale']
[]
Q1129334
SYSTEM
Les Horvath
Q1129334
(c(Q502895),P119,Q485716)
action filter_type
action find_reverse
entity Q485716
relation P119
type Q502895
[ANSWER] has that administrative territory as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q485716']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P119 resource:Q485716 }
Les Horvath
Les Horvath has that administrative territory as place of burial
Les Horvath
action filter_type
action find_reverse
entity Glendale
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Glendale']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_burial resource:Glendale }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q69843
P162 P495
Q838948
USER
Which works of art have been developed by Kurt Neumann and have United States of America as their place of origin ?
AND((c(Q838948),P162,Q69843), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q69843
relation P162
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q69843'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q69843 . ?u property:P495 resource:Q30 . ?u rdf:type ontology:Q838948 }
United States of America Kurt Neumann
action filter_type
action intersection
action find_reverse
entity Kurt Neumann
relation producer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Kurt Neumann'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:producer resource:Kurt_Neumann . ?u property:country_of_origin resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
work of art
Q1791128 Q277605
SYSTEM
Tarzan and the Huntress, Tarzan and the Amazons
Q1791128 Q277605
AND((c(Q838948),P162,Q69843), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q69843
relation P162
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have been developed by Kurt Neumann and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q69843'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q69843 . ?u property:P495 resource:Q30 . ?u rdf:type ontology:Q838948 }
Tarzan and the Huntress Tarzan and the Amazons
Tarzan and the Huntress and Tarzan and the Amazons have been developed by Kurt Neumann and have United States of America as their place of origin
Tarzan and the Huntress Tarzan and the Amazons
action filter_type
action intersection
action find_reverse
entity Kurt Neumann
relation producer
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Kurt Neumann'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:producer resource:Kurt_Neumann . ?u property:country_of_origin resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]