Simple Question (Direct)
Simple Question
Q21994000
P344
Q502895
USER
Who is appointed as the cinematographer of The Stranger ?
(Q21994000,P344,c(Q502895))
action filter_type
action find
entity Q21994000
relation P344
type Q502895
['Q21994000', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q21994000 property:P344 ?y . ?y rdf:type ontology:Q502895 }
The Stranger
action filter_type
action find
entity The Stranger
relation director of photography
type common name
['The Stranger', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Stranger property:director_of_photography ?y . ?y rdf:type ontology:common_name }
[]
common name
Q709992
SYSTEM
Arthur Ornitz
Q709992
(Q21994000,P344,c(Q502895))
action filter_type
action find
entity Q21994000
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of The Stranger
['Q21994000', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q21994000 property:P344 ?y . ?y rdf:type ontology:Q502895 }
Arthur Ornitz
Arthur Ornitz is appointed as the cinematographer of The Stranger
Arthur Ornitz
action filter_type
action find
entity The Stranger
relation director of photography
type common name
['The Stranger', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Stranger property:director_of_photography ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q709992
P57
Q838948
USER
Which work of art did that person direct ?
(c(Q838948),P57,Q709992)
action filter_type
action find_reverse
entity Q709992
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q709992']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q709992 . ?t rdf:type ontology:Q838948 }
Arthur Ornitz
action filter_type
action find_reverse
entity Arthur Ornitz
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Arthur Ornitz']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Arthur_Ornitz . ?t rdf:type ontology:work_of_art }
[]
work of art
Q2548546
SYSTEM
Wanted – A Master
Q2548546
(c(Q838948),P57,Q709992)
action filter_type
action find_reverse
entity Q709992
relation P57
type Q838948
That person directed to [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q709992']
SELECT DISTINCT ?t WHERE { ?t property:P57 resource:Q709992 . ?t rdf:type ontology:Q838948 }
Wanted – A Master
That person directed to Wanted – A Master
Wanted – A Master
action filter_type
action find_reverse
entity Arthur Ornitz
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Arthur Ornitz']
SELECT DISTINCT ?t WHERE { ?t property:director resource:Arthur_Ornitz . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q709992
P20
Q56061
USER
Which administrative territory is the place of death of Arthur Ornitz ?
(Q709992,P20,c(Q56061))
action filter_type
action find
entity Q709992
relation P20
type Q56061
['Q709992', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q709992 property:P20 ?s }
Arthur Ornitz
action filter_type
action find
entity Arthur Ornitz
relation place of death
type administrative territorial entity
['Arthur Ornitz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Arthur_Ornitz property:place_of_death ?s }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q709992,P20,c(Q56061))
action filter_type
action find
entity Q709992
relation P20
type Q56061
[ANSWER] is the place of death of Arthur Ornitz
['Q709992', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q709992 property:P20 ?s }
New York City
New York City is the place of death of Arthur Ornitz
New York City
action filter_type
action find
entity Arthur Ornitz
relation place of death
type administrative territorial entity
['Arthur Ornitz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Arthur_Ornitz property:place_of_death ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3168457 Q709992
P27
Q15617994
USER
Which administrative territories are the native countriesof Arthur Ornitz or Jean-Paul Desgranges ?
OR((Q709992,P27,c(Q15617994)), (Q3168457,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q709992
relation P27
action find
entity Q3168457
relation P27
type Q15617994
{'OR': [['Q709992', 'P27', {'concept': 'Q15617994'}], ['Q3168457', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { ?p property:P27 ?t . VALUES ( ?p ) { ( resource:Q709992 ) ( resource:Q3168457 ) } } }
Jean-Paul Desgranges Arthur Ornitz
action filter_type
action union
action find
entity Arthur Ornitz
relation country of citizenship
action find
entity Jean-Paul Desgranges
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur Ornitz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Paul Desgranges', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?p property:country_of_citizenship ?t . VALUES ( ?p ) { ( resource:Arthur_Ornitz ) ( resource:Jean-Paul_Desgranges ) } } }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q709992,P27,c(Q15617994)), (Q3168457,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q709992
relation P27
action find
entity Q3168457
relation P27
type Q15617994
[ANSWERS] are the native countriesof Arthur Ornitz or Jean-Paul Desgranges
{'OR': [['Q709992', 'P27', {'concept': 'Q15617994'}], ['Q3168457', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { ?p property:P27 ?t . VALUES ( ?p ) { ( resource:Q709992 ) ( resource:Q3168457 ) } } }
France United States of America
France and United States of America are the native countriesof Arthur Ornitz or Jean-Paul Desgranges
France United States of America
action filter_type
action union
action find
entity Arthur Ornitz
relation country of citizenship
action find
entity Jean-Paul Desgranges
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur Ornitz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Paul Desgranges', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?p property:country_of_citizenship ?t . VALUES ( ?p ) { ( resource:Arthur_Ornitz ) ( resource:Jean-Paul_Desgranges ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q716536
P291
Q1002697
USER
How many periodical literatures have United States of America or Sunndalsøra as their publication place ?
(c(Q1002697),P291,Q30) (c(Q1002697),P291,Q716536)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P291
type Q1002697
action filter_type
action find_reverse
entity Q716536
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q30'] [{'concept': 'Q1002697'}, 'P291', 'Q716536']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:P291 resource:Q30 . ?h rdf:type ontology:Q1002697 } UNION { ?h property:P291 resource:Q716536 . ?h rdf:type ontology:Q1002697 } }
United States of America Sunndalsøra
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of publication
type periodical literature
action filter_type
action find_reverse
entity Sunndalsøra
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'United States of America'] [{'concept': 'periodical literature'}, 'place of publication', 'Sunndalsøra']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:place_of_publication resource:United_States_of_America . ?h rdf:type ontology:periodical_literature } UNION { ?h property:place_of_publication resource:Sunndalsøra . ?h rdf:type ontology:periodical_literature } }
[]
periodical literature
SYSTEM
2
Q17086738 Q1764770
(c(Q1002697),P291,Q30) (c(Q1002697),P291,Q716536)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P291
type Q1002697
action filter_type
action find_reverse
entity Q716536
relation P291
type Q1002697
[ANSWER]
[{'concept': 'Q1002697'}, 'P291', 'Q30'] [{'concept': 'Q1002697'}, 'P291', 'Q716536']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:P291 resource:Q30 . ?h rdf:type ontology:Q1002697 } UNION { ?h property:P291 resource:Q716536 . ?h rdf:type ontology:Q1002697 } }
The Times-Gazette Aura Avis
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of publication
type periodical literature
action filter_type
action find_reverse
entity Sunndalsøra
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'United States of America'] [{'concept': 'periodical literature'}, 'place of publication', 'Sunndalsøra']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:place_of_publication resource:United_States_of_America . ?h rdf:type ontology:periodical_literature } UNION { ?h property:place_of_publication resource:Sunndalsøra . ?h rdf:type ontology:periodical_literature } }
[]