Simple Question (Direct)
Simple Question
Q1606917
P26
Q502895
USER
Which people are married to Henry Jaglom ?
(Q1606917,P26,c(Q502895))
action filter_type
action find
entity Q1606917
relation P26
type Q502895
['Q1606917', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1606917 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Henry Jaglom
action filter_type
action find
entity Henry Jaglom
relation spouse
type common name
['Henry Jaglom', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Henry_Jaglom property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q7926714 Q3515222
SYSTEM
Victoria Foyt, Tanna Frederick
Q7926714 Q3515222
(Q1606917,P26,c(Q502895))
action filter_type
action find
entity Q1606917
relation P26
type Q502895
And [ANSWERS] are married to Henry Jaglom
['Q1606917', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1606917 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Victoria Foyt Tanna Frederick
And Victoria Foyt and Tanna Frederick are married to Henry Jaglom
Victoria Foyt Tanna Frederick
action filter_type
action find
entity Henry Jaglom
relation spouse
type common name
['Henry Jaglom', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Henry_Jaglom property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1606917
P106
Q28640
USER
What are the professions of Henry Jaglom ?
(Q1606917,P106,c(Q28640))
action filter_type
action find
entity Q1606917
relation P106
type Q28640
['Q1606917', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q28640 . resource:Q1606917 property:P106 ?e }
Henry Jaglom
action filter_type
action find
entity Henry Jaglom
relation occupation
type profession
['Henry Jaglom', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:profession . resource:Henry_Jaglom property:occupation ?e }
[]
profession
Q2526255 Q28389 Q3282637
SYSTEM
film director, screenwriter, film producer
Q2526255 Q3282637 Q28389 Q10800557
(Q1606917,P106,c(Q28640))
action filter_type
action find
entity Q1606917
relation P106
type Q28640
The professions of Henry Jaglom are [ANSWERS]
['Q1606917', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q28640 . resource:Q1606917 property:P106 ?e }
film director film producer screenwriter film actor
The professions of Henry Jaglom are film director, screenwriter and film producer
film director screenwriter film producer
action filter_type
action find
entity Henry Jaglom
relation occupation
type profession
['Henry Jaglom', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:profession . resource:Henry_Jaglom property:occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606917
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q2526255,P19,c(Q56061)) (Q28389,P19,c(Q56061)) (Q3282637,P19,c(Q56061))
action filter_type
action find
entity Q1606917
relation P19
type Q56061
['Q2526255', 'P19', {'concept': 'Q56061'}] ['Q28389', 'P19', {'concept': 'Q56061'}] ['Q3282637', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1606917 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Henry Jaglom
action filter_type
action find
entity Henry Jaglom
relation place of birth
type administrative territorial entity
['film director', 'place of birth', {'concept': 'administrative territorial entity'}] ['screenwriter', 'place of birth', {'concept': 'administrative territorial entity'}] ['film producer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Henry_Jaglom property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q2526255,P19,c(Q56061)) (Q28389,P19,c(Q56061)) (Q3282637,P19,c(Q56061))
action filter_type
action find
entity Q1606917
relation P19
type Q56061
That person was born in [ANSWER]
['Q2526255', 'P19', {'concept': 'Q56061'}] ['Q28389', 'P19', {'concept': 'Q56061'}] ['Q3282637', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1606917 property:P19 ?o . ?o rdf:type ontology:Q56061 }
London
That person was born in London
London
action filter_type
action find
entity Henry Jaglom
relation place of birth
type administrative territorial entity
['film director', 'place of birth', {'concept': 'administrative territorial entity'}] ['screenwriter', 'place of birth', {'concept': 'administrative territorial entity'}] ['film producer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Henry_Jaglom property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q84 Q827034 Q34820
P190
Q56061
USER
Is London twin town of Kučevice and Santo Domingo ?
(Q84,P190,Q827034) (Q84,P190,Q34820)
action is_in
entity Q84
action intersection
action find_reverse
entity Q827034
relation P190
action find_reverse
entity Q34820
relation P190
['Q84', 'P190', 'Q827034'] ['Q84', 'P190', 'Q34820']
ASK WHERE { resource:Q84 property:P190 resource:Q827034 . resource:Q84 property:P190 resource:Q34820 }
London Kučevice Santo Domingo
action is_in
entity London
action intersection
action find_reverse
entity Kučevice
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['London', 'sister city', 'Kučevice'] ['London', 'sister city', 'Santo Domingo']
ASK WHERE { resource:London property:sister_city resource:Kučevice . resource:London property:sister_city resource:Santo_Domingo }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q84,P190,Q827034) (Q84,P190,Q34820)
action is_in
entity Q84
action intersection
action find_reverse
entity Q827034
relation P190
action find_reverse
entity Q34820
relation P190
[ANSWER]
['Q84', 'P190', 'Q827034'] ['Q84', 'P190', 'Q34820']
ASK WHERE { resource:Q84 property:P190 resource:Q827034 . resource:Q84 property:P190 resource:Q34820 }
NO and YES respectively
action is_in
entity London
action intersection
action find_reverse
entity Kučevice
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['London', 'sister city', 'Kučevice'] ['London', 'sister city', 'Santo Domingo']
ASK WHERE { resource:London property:sister_city resource:Kučevice . resource:London property:sister_city resource:Santo_Domingo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2526255 Q6769252
P361
Q16334295
USER
Is film director a component of Mark Phillips ?
(Q2526255,P361,Q6769252)
action is_in
entity Q6769252
action find
entity Q2526255
relation P361
['Q2526255', 'P361', 'Q6769252']
ASK WHERE { resource:Q2526255 property:P361 resource:Q6769252 }
film director Mark Phillips
action is_in
entity Mark Phillips
action find
entity film director
relation part of
['film director', 'part of', 'Mark Phillips']
ASK WHERE { resource:film_director property:part_of resource:Mark_Phillips }
[]
group of humans
SYSTEM
NO
(Q2526255,P361,Q6769252)
action is_in
entity Q6769252
action find
entity Q2526255
relation P361
[ANSWER]
['Q2526255', 'P361', 'Q6769252']
ASK WHERE { resource:Q2526255 property:P361 resource:Q6769252 }
No
action is_in
entity Mark Phillips
action find
entity film director
relation part of
['film director', 'part of', 'Mark Phillips']
ASK WHERE { resource:film_director property:part_of resource:Mark_Phillips }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2526255
P136
Q838948
USER
Which work of art has that profession as genre ?
action filter_type
action find_reverse
entity Q2526255
relation P136
type Q838948
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P136 resource:Q2526255 }
film director
action filter_type
action find_reverse
entity film director
relation genre
type work of art
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:genre resource:film_director }
[]
work of art
Q21000942
SYSTEM
Singende Frauen Women
Q21000942
action filter_type
action find_reverse
entity Q2526255
relation P136
type Q838948
[ANSWER] has that profession as genre
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P136 resource:Q2526255 }
Singende Frauen Women
Singende Frauen Women has that profession as genre
Singende Frauen Women
action filter_type
action find_reverse
entity film director
relation genre
type work of art
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:genre resource:film_director }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used to assemble exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?s rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?o = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:fabrication_method ?y . ?y rdf:type ontology:technics . ?s rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?s rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?o = 1 ) }
gilding collage
2
action count
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:fabrication_method ?y . ?y rdf:type ontology:technics . ?s rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1148711 Q2526255
P425 P452
Q268592
USER
Which economic branches have film director as the associated field of occupation and are Paramount Vantage a part of ?
AND((Q2526255,P425,c(Q268592)), (Q1148711,P452,c(Q268592)))
action filter_type
action intersection
action find
entity Q2526255
relation P425
action find
entity Q1148711
relation P452
type Q268592
{'AND': [['Q2526255', 'P425', {'concept': 'Q268592'}], ['Q1148711', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?h WHERE { resource:Q2526255 property:P425 ?h . resource:Q1148711 property:P452 ?h . ?h rdf:type ontology:Q268592 }
Paramount Vantage film director
action filter_type
action intersection
action find
entity film director
relation field of this occupation
action find
entity Paramount Vantage
relation industry
type economic branch
{'AND': [['film director', 'field of this occupation', {'concept': 'economic branch'}], ['Paramount Vantage', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?h WHERE { resource:film_director property:field_of_this_occupation ?h . resource:Paramount_Vantage property:industry ?h . ?h rdf:type ontology:economic_branch }
[]
economic branch
Q932586
SYSTEM
filmmaking
Q932586
AND((Q2526255,P425,c(Q268592)), (Q1148711,P452,c(Q268592)))
action filter_type
action intersection
action find
entity Q2526255
relation P425
action find
entity Q1148711
relation P452
type Q268592
[ANSWER] have film director as the associated field of occupation and are Paramount Vantage a part of
{'AND': [['Q2526255', 'P425', {'concept': 'Q268592'}], ['Q1148711', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?h WHERE { resource:Q2526255 property:P425 ?h . resource:Q1148711 property:P452 ?h . ?h rdf:type ontology:Q268592 }
filmmaking
Filmmaking have film director as the associated field of occupation and are Paramount Vantage a part of
filmmaking
action filter_type
action intersection
action find
entity film director
relation field of this occupation
action find
entity Paramount Vantage
relation industry
type economic branch
{'AND': [['film director', 'field of this occupation', {'concept': 'economic branch'}], ['Paramount Vantage', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?h WHERE { resource:film_director property:field_of_this_occupation ?h . resource:Paramount_Vantage property:industry ?h . ?h rdf:type ontology:economic_branch }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1815038 Q6769252
P106
Q12737077
USER
Which occupations are the professions of Mark Phillips and Leigh Kennedy ?
AND((Q6769252,P106,c(Q12737077)), (Q1815038,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6769252
relation P106
action find
entity Q1815038
relation P106
type Q12737077
{'AND': [['Q6769252', 'P106', {'concept': 'Q12737077'}], ['Q1815038', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { resource:Q6769252 property:P106 ?v . resource:Q1815038 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Leigh Kennedy Mark Phillips
action filter_type
action intersection
action find
entity Mark Phillips
relation occupation
action find
entity Leigh Kennedy
relation occupation
type occupation
{'AND': [['Mark Phillips', 'occupation', {'concept': 'occupation'}], ['Leigh Kennedy', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { resource:Mark_Phillips property:occupation ?v . resource:Leigh_Kennedy property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q6625963 Q18844224
SYSTEM
novelist, science fiction writer
Q6625963 Q18844224
AND((Q6769252,P106,c(Q12737077)), (Q1815038,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6769252
relation P106
action find
entity Q1815038
relation P106
type Q12737077
The professions of Mark Phillips and Leigh Kennedy are a [ANSWERS]
{'AND': [['Q6769252', 'P106', {'concept': 'Q12737077'}], ['Q1815038', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { resource:Q6769252 property:P106 ?v . resource:Q1815038 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
novelist science fiction writer
The professions of Mark Phillips and Leigh Kennedy are a novelist and science fiction writer
novelist science fiction writer
action filter_type
action intersection
action find
entity Mark Phillips
relation occupation
action find
entity Leigh Kennedy
relation occupation
type occupation
{'AND': [['Mark Phillips', 'occupation', {'concept': 'occupation'}], ['Leigh Kennedy', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { resource:Mark_Phillips property:occupation ?v . resource:Leigh_Kennedy property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5568799
P106
Q502895
USER
Do Glenn Eschtruth have those occupations as his/her means of employment ?
(Q5568799,P106,Q6625963) (Q5568799,P106,Q18844224)
action is_in
entity prev_answer
action find
entity Q5568799
relation P106
['Q5568799', 'P106', 'Q6625963'] ['Q5568799', 'P106', 'Q18844224']
ASK WHERE { VALUES ( ?r ) { ( resource:Q6625963 ) ( resource:Q18844224 ) } . resource:Q5568799 property:P106 ?r }
Glenn Eschtruth
action is_in
entity prev_answer
action find
entity Glenn Eschtruth
relation occupation
['Glenn Eschtruth', 'occupation', 'novelist'] ['Glenn Eschtruth', 'occupation', 'science fiction writer']
ASK WHERE { VALUES ( ?r ) { ( resource:novelist ) ( resource:science_fiction_writer ) } . resource:Glenn_Eschtruth property:occupation ?r }
[]
common name
SYSTEM
NO
(Q5568799,P106,Q6625963) (Q5568799,P106,Q18844224)
action is_in
entity prev_answer
action find
entity Q5568799
relation P106
[ANSWER]
['Q5568799', 'P106', 'Q6625963'] ['Q5568799', 'P106', 'Q18844224']
ASK WHERE { VALUES ( ?r ) { ( resource:Q6625963 ) ( resource:Q18844224 ) } . resource:Q5568799 property:P106 ?r }
No
action is_in
entity prev_answer
action find
entity Glenn Eschtruth
relation occupation
['Glenn Eschtruth', 'occupation', 'novelist'] ['Glenn Eschtruth', 'occupation', 'science fiction writer']
ASK WHERE { VALUES ( ?r ) { ( resource:novelist ) ( resource:science_fiction_writer ) } . resource:Glenn_Eschtruth property:occupation ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q878874 Q1606917
P27
Q15617994
USER
Which administrative territories are the native countriesof Henry Jaglom or James Spriggs Payne ?
OR((Q1606917,P27,c(Q15617994)), (Q878874,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606917
relation P27
action find
entity Q878874
relation P27
type Q15617994
{'OR': [['Q1606917', 'P27', {'concept': 'Q15617994'}], ['Q878874', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q1606917 property:P27 ?m } UNION { resource:Q878874 property:P27 ?m } } }
James Spriggs Payne Henry Jaglom
action filter_type
action union
action find
entity Henry Jaglom
relation country of citizenship
action find
entity James Spriggs Payne
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henry Jaglom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['James Spriggs Payne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Henry_Jaglom property:country_of_citizenship ?m } UNION { resource:James_Spriggs_Payne property:country_of_citizenship ?m } } }
[]
designation for an administrative territorial entity
Q1014 Q30 Q145
SYSTEM
Liberia, United States of America, United Kingdom
Q1014 Q30 Q145
OR((Q1606917,P27,c(Q15617994)), (Q878874,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1606917
relation P27
action find
entity Q878874
relation P27
type Q15617994
[ANSWERS] are the native countriesof Henry Jaglom or James Spriggs Payne
{'OR': [['Q1606917', 'P27', {'concept': 'Q15617994'}], ['Q878874', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q1606917 property:P27 ?m } UNION { resource:Q878874 property:P27 ?m } } }
Liberia United States of America United Kingdom
Liberia, United States of America and United Kingdom are the native countriesof Henry Jaglom or James Spriggs Payne
Liberia United States of America United Kingdom
action filter_type
action union
action find
entity Henry Jaglom
relation country of citizenship
action find
entity James Spriggs Payne
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Henry Jaglom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['James Spriggs Payne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Henry_Jaglom property:country_of_citizenship ?m } UNION { resource:James_Spriggs_Payne property:country_of_citizenship ?m } } }
[]