Simple Question (Direct)
Simple Question
Q503033
P86
Q502895
USER
Who composed The Final Countdown ?
(Q503033,P86,c(Q502895))
action filter_type
action find
entity Q503033
relation P86
type Q502895
['Q503033', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q503033 property:P86 ?n }
The Final Countdown
action filter_type
action find
entity The Final Countdown
relation composer
type common name
['The Final Countdown', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:The_Final_Countdown property:composer ?n }
[]
common name
Q1276176
SYSTEM
John Scott
Q1276176
(Q503033,P86,c(Q502895))
action filter_type
action find
entity Q503033
relation P86
type Q502895
[ANSWER] composed The Final Countdown
['Q503033', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q503033 property:P86 ?n }
John Scott
John Scott composed The Final Countdown
John Scott
action filter_type
action find
entity The Final Countdown
relation composer
type common name
['The Final Countdown', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:The_Final_Countdown property:composer ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503033
P364
Q34770
USER
Which language was used originally for the creation of The Final Countdown ?
(Q503033,P364,c(Q34770))
action filter_type
action find
entity Q503033
relation P364
type Q34770
['Q503033', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q503033 property:P364 ?z . ?z rdf:type ontology:Q34770 }
The Final Countdown
action filter_type
action find
entity The Final Countdown
relation original language of work
type language
['The Final Countdown', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:The_Final_Countdown property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q503033,P364,c(Q34770))
action filter_type
action find
entity Q503033
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Final Countdown
['Q503033', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q503033 property:P364 ?z . ?z rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Final Countdown
English
action filter_type
action find
entity The Final Countdown
relation original language of work
type language
['The Final Countdown', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:The_Final_Countdown property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q503033
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q503033
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q503033 property:P57 ?g . ?g rdf:type ontology:Q502895 }
The Final Countdown
action filter_type
action find
entity The Final Countdown
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Final_Countdown property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q558149
SYSTEM
Don Taylor
Q558149
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q503033
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q503033 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Don Taylor
Don Taylor served as the directed of that work of art
Don Taylor
action filter_type
action find
entity The Final Countdown
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Final_Countdown property:director ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503033
P58
Q502895
USER
Who were the screenwriters for The Final Countdown ?
(Q503033,P58,c(Q502895))
action filter_type
action find
entity Q503033
relation P58
type Q502895
['Q503033', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q503033 property:P58 ?o . ?o rdf:type ontology:Q502895 }
The Final Countdown
action filter_type
action find
entity The Final Countdown
relation screenwriter
type common name
['The Final Countdown', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Final_Countdown property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
common name
Q3788745 Q1319940 Q1173565
SYSTEM
Gerry Davis, Thomas Hunter, David Ambrose
Q3900915 Q3788745 Q1319940 Q1173565
(Q503033,P58,c(Q502895))
action filter_type
action find
entity Q503033
relation P58
type Q502895
The screenwriters for The Final Countdown were [ANSWERS]
['Q503033', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q503033 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Peter Powell Gerry Davis Thomas Hunter David Ambrose
The screenwriters for The Final Countdown were Gerry Davis, Thomas Hunter and David Ambrose
Gerry Davis Thomas Hunter David Ambrose
action filter_type
action find
entity The Final Countdown
relation screenwriter
type common name
['The Final Countdown', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Final_Countdown property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3788745 Q1319940 Q1173565
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Gerry Davis, Thomas Hunter and David Ambrose ?
(Q3788745,P27,c(Q15617994)) (Q1319940,P27,c(Q15617994)) (Q1173565,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3788745
relation P27
type Q15617994
action filter_type
action find
entity Q1319940
relation P27
type Q15617994
action filter_type
action find
entity Q1173565
relation P27
type Q15617994
['Q3788745', 'P27', {'concept': 'Q15617994'}] ['Q1319940', 'P27', {'concept': 'Q15617994'}] ['Q1173565', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { resource:Q3788745 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { resource:Q1319940 property:P27 ?d . ?d rdf:type ontology:Q15617994 } }
Gerry Davis Thomas Hunter David Ambrose
action union
action filter_type
action find
entity Gerry Davis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Thomas Hunter
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity David Ambrose
relation country of citizenship
type designation for an administrative territorial entity
['Gerry Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Hunter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['David Ambrose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Gerry_Davis property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Thomas_Hunter property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q145 Q30 Q145
SYSTEM
United States of America for 2nd, United Kingdom for 1st, 3rd
Q145 Q30 Q145
(Q3788745,P27,c(Q15617994)) (Q1319940,P27,c(Q15617994)) (Q1173565,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3788745
relation P27
type Q15617994
action filter_type
action find
entity Q1319940
relation P27
type Q15617994
action filter_type
action find
entity Q1173565
relation P27
type Q15617994
[ANSWERS]
['Q3788745', 'P27', {'concept': 'Q15617994'}] ['Q1319940', 'P27', {'concept': 'Q15617994'}] ['Q1173565', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { resource:Q3788745 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { resource:Q1319940 property:P27 ?d . ?d rdf:type ontology:Q15617994 } }
United Kingdom United States of America United Kingdom
United Kingdom, United States of America and United Kingdom are the countries of citizenship of Gerry Davis, Thomas Hunter and David Ambrose
United Kingdom United States of America United Kingdom
action union
action filter_type
action find
entity Gerry Davis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Thomas Hunter
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity David Ambrose
relation country of citizenship
type designation for an administrative territorial entity
['Gerry Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Hunter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['David Ambrose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Gerry_Davis property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Thomas_Hunter property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3788745
P735
Q82799
USER
Which name is that person known by ?
(Q3788745,P735,c(Q82799))
action filter_type
action find
entity Q3788745
relation P735
type Q82799
['Q3788745', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q3788745 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Gerry Davis
action filter_type
action find
entity Gerry Davis
relation given name
type name
['Gerry Davis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Gerry_Davis property:given_name ?b . ?b rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q3788745
SYSTEM
Did you mean Gerry Davis ?
Q145 Q30 Q145
(Q145,P735,c(Q82799)) (Q30,P735,c(Q82799)) (Q145,P735,c(Q82799))
[ANSWER]
['Q145', 'P735', {'concept': 'Q82799'}] ['Q30', 'P735', {'concept': 'Q82799'}] ['Q145', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q3788745 property:P735 ?b . ?b rdf:type ontology:Q82799 }
United Kingdom United States of America United Kingdom
Did you mean Gerry Davis ?
Gerry Davis
['United Kingdom', 'given name', {'concept': 'name'}] ['United States of America', 'given name', {'concept': 'name'}] ['United Kingdom', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Gerry_Davis property:given_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3788745,P735,c(Q82799))
['Q3788745', 'P735', {'concept': 'Q82799'}]
['Gerry Davis', 'given name', {'concept': 'name'}]
[]
Q1514838
SYSTEM
Gerry
Q1514838
(Q3788745,P735,c(Q82799))
action filter_type
action find
entity Q3788745
relation P735
type Q82799
That person is known as [ANSWER]
['Q3788745', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q3788745 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Gerry
That person is known as Gerry
Gerry
action filter_type
action find
entity Gerry Davis
relation given name
type name
['Gerry Davis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Gerry_Davis property:given_name ?b . ?b rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with atleast 9 administrative territories or political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 9
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?f ) WHERE { { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } UNION { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?q } . FILTER ( ?f >= 9 ) }
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?f ) WHERE { { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . FILTER ( ?f >= 9 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
19
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q225 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 9
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?f ) WHERE { { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } UNION { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?q } . FILTER ( ?f >= 9 ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia Brazil United States of America Central African Republic Italy Georgia Belarus Bosnia and Herzegovina Japan Kenya Syria Cape Verde Zambia
19
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?f ) WHERE { { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . FILTER ( ?f >= 9 ) }
[]