Simple Question (Direct)
Simple Question
Q17183178
P364
Q34770
USER
Which language was used originally for the creation of Naked Vengeance ?
(Q17183178,P364,c(Q34770))
action filter_type
action find
entity Q17183178
relation P364
type Q34770
['Q17183178', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q17183178 property:P364 ?y . ?y rdf:type ontology:Q34770 }
Naked Vengeance
action filter_type
action find
entity Naked Vengeance
relation original language of work
type language
['Naked Vengeance', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Naked_Vengeance property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q17183178,P364,c(Q34770))
action filter_type
action find
entity Q17183178
relation P364
type Q34770
[ANSWER] was used originally for the creation of Naked Vengeance
['Q17183178', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q17183178 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
English was used originally for the creation of Naked Vengeance
English
action filter_type
action find
entity Naked Vengeance
relation original language of work
type language
['Naked Vengeance', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Naked_Vengeance property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17183178
P57
Q502895
USER
Who was the director of that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q17183178
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q17183178 property:P57 ?f }
Naked Vengeance
action filter_type
action find
entity Naked Vengeance
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Naked_Vengeance property:director ?f }
[]
common name
Q457750
SYSTEM
Cirio H. Santiago
Q457750
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q17183178
relation P57
type Q502895
The director of that work of art was San [ANSWER]
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q17183178 property:P57 ?f }
Cirio H. Santiago
The director of that work of art was San Cirio H. Santiago
Cirio H. Santiago
action filter_type
action find
entity Naked Vengeance
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Naked_Vengeance property:director ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17183178 Q669802
P364
Q34770
USER
How many languages were used originally for the creation of Naked Vengeance or Quiché Department ?
(Q17183178,P364,c(Q34770)) (Q669802,P364,c(Q34770))
action count
action union
action filter_type
action find
entity Q17183178
relation P364
type Q34770
action filter_type
action find
entity Q669802
relation P364
type Q34770
['Q17183178', 'P364', {'concept': 'Q34770'}] ['Q669802', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ontology:Q34770 . resource:Q669802 property:P364 ?f } UNION { ?f rdf:type ontology:Q34770 . resource:Q17183178 property:P364 ?f } }
Naked Vengeance Quiché Department
action count
action union
action filter_type
action find
entity Naked Vengeance
relation original language of work
type language
action filter_type
action find
entity Quiché Department
relation original language of work
type language
['Naked Vengeance', 'original language of work', {'concept': 'language'}] ['Quiché Department', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ontology:language . resource:Quiché_Department property:original_language_of_work ?f } UNION { ?f rdf:type ontology:language . resource:Naked_Vengeance property:original_language_of_work ?f } }
[]
language
SYSTEM
2
Q1860 Q1321
(Q17183178,P364,c(Q34770)) (Q669802,P364,c(Q34770))
action count
action union
action filter_type
action find
entity Q17183178
relation P364
type Q34770
action filter_type
action find
entity Q669802
relation P364
type Q34770
[ANSWER]
['Q17183178', 'P364', {'concept': 'Q34770'}] ['Q669802', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ontology:Q34770 . resource:Q669802 property:P364 ?f } UNION { ?f rdf:type ontology:Q34770 . resource:Q17183178 property:P364 ?f } }
English Spanish
2
action count
action union
action filter_type
action find
entity Naked Vengeance
relation original language of work
type language
action filter_type
action find
entity Quiché Department
relation original language of work
type language
['Naked Vengeance', 'original language of work', {'concept': 'language'}] ['Quiché Department', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ontology:language . resource:Quiché_Department property:original_language_of_work ?f } UNION { ?f rdf:type ontology:language . resource:Naked_Vengeance property:original_language_of_work ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q15416 Q201658
USER
Which works of art are around 2 television programs or film genres a fork of ?
(c(Q15416)|c(Q201658),P144,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
value 2
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i property:P144 ?k . ?k rdf:type ontology:Q838948 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P144 ?k . ?k rdf:type ontology:Q838948 . ?i rdf:type ontology:Q201658 } } GROUP BY ?k } }
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
value 2
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i property:based_on ?k . ?k rdf:type ontology:work_of_art . ?i rdf:type ontology:television_program } UNION { ?i property:based_on ?k . ?k rdf:type ontology:work_of_art . ?i rdf:type ontology:film_genre } } GROUP BY ?k } }
[]
work of art television program film genre
Q1232349 Q631855 Q1137831
SYSTEM
Henry IV, Part 2, Henry IV, Part 1, Parenthood
Q1232349 Q631855 Q1137831
(c(Q15416)|c(Q201658),P144,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
value 2
[ANSWERS] are around 2 television programs or film genres a fork of
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i property:P144 ?k . ?k rdf:type ontology:Q838948 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P144 ?k . ?k rdf:type ontology:Q838948 . ?i rdf:type ontology:Q201658 } } GROUP BY ?k } }
Henry IV, Part 2 Henry IV, Part 1 Parenthood
Henry IV, Part 2, Henry IV, Part 1 and Parenthood are around 2 television programs or film genres a fork of
Henry IV, Part 2 Henry IV, Part 1 Parenthood
action approx
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
value 2
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?w = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i property:based_on ?k . ?k rdf:type ontology:work_of_art . ?i rdf:type ontology:television_program } UNION { ?i property:based_on ?k . ?k rdf:type ontology:work_of_art . ?i rdf:type ontology:film_genre } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1232349
P364 P144
Q15416
USER
Which television programs are derived from Henry IV, Part 2 and were done in English language during their inception ?
AND((c(Q15416),P144,Q1232349), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1232349
relation P144
action find_reverse
entity Q1860
relation P364
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P144', 'Q1232349'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q1232349 . ?y property:P364 resource:Q1860 . ?y rdf:type ontology:Q15416 }
English Henry IV, Part 2
action filter_type
action intersection
action find_reverse
entity Henry IV, Part 2
relation based on
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'based on', 'Henry IV, Part 2'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:Henry_IV,_Part_2 . ?y property:original_language_of_work resource:English . ?y rdf:type ontology:television_program }
[]
television program
Q24336435 Q5723554
SYSTEM
Henry IV, Part II, Henry IV, Part I and Part II
Q24336435 Q5723554
AND((c(Q15416),P144,Q1232349), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1232349
relation P144
action find_reverse
entity Q1860
relation P364
type Q15416
[ANSWERS]
{'AND': [[{'concept': 'Q15416'}, 'P144', 'Q1232349'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q1232349 . ?y property:P364 resource:Q1860 . ?y rdf:type ontology:Q15416 }
Henry IV, Part II Henry IV, Part I and Part II
Henry IV, Part II and Henry IV, Part I and Part II are derived from Henry IV, Part 2 and were done in English language during their inception
Henry IV, Part II Henry IV, Part I and Part II
action filter_type
action intersection
action find_reverse
entity Henry IV, Part 2
relation based on
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'based on', 'Henry IV, Part 2'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:Henry_IV,_Part_2 . ?y property:original_language_of_work resource:English . ?y rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12159374 Q1137831
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Parenthood or do Siliștea belong to ?
OR((Q1137831,P495,c(Q15617994)), (Q12159374,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1137831
relation P495
action find
entity Q12159374
relation P17
type Q15617994
{'OR': [['Q1137831', 'P495', {'concept': 'Q15617994'}], ['Q12159374', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q12159374 property:P17 ?v } UNION { resource:Q1137831 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Siliștea Parenthood
action filter_type
action union
action find
entity Parenthood
relation country of origin
action find
entity Siliștea
relation country
type designation for an administrative territorial entity
{'OR': [['Parenthood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Siliștea', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Siliștea property:country ?v } UNION { resource:Parenthood property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q30
SYSTEM
Romania, United States of America
Q218 Q30
OR((Q1137831,P495,c(Q15617994)), (Q12159374,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1137831
relation P495
action find
entity Q12159374
relation P17
type Q15617994
[ANSWERS] are the countries of origin of Parenthood or do Siliștea belong to
{'OR': [['Q1137831', 'P495', {'concept': 'Q15617994'}], ['Q12159374', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q12159374 property:P17 ?v } UNION { resource:Q1137831 property:P495 ?v } } . ?v rdf:type ontology:Q15617994 }
Romania United States of America
Romania and United States of America are the countries of origin of Parenthood or do Siliștea belong to
Romania United States of America
action filter_type
action union
action find
entity Parenthood
relation country of origin
action find
entity Siliștea
relation country
type designation for an administrative territorial entity
{'OR': [['Parenthood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Siliștea', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Siliștea property:country ?v } UNION { resource:Parenthood property:country_of_origin ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q1019
P463
Q43229
USER
How many organizations had United States of America and Madagascar as their member ?
(Q30,P463,c(Q43229)) (Q1019,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q1019
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}] ['Q1019', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q30 property:P463 ?e . ?e rdf:type ontology:Q43229 . resource:Q1019 property:P463 ?e . ?e rdf:type ontology:Q43229 }
United States of America Madagascar
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Madagascar
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Madagascar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:United_States_of_America property:member_of ?e . ?e rdf:type ontology:organization . resource:Madagascar property:member_of ?e . ?e rdf:type ontology:organization }
[]
organization
SYSTEM
6
Q340195 Q191384 Q899770 Q656801 Q7825 Q827525
(Q30,P463,c(Q43229)) (Q1019,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q1019
relation P463
type Q43229
[ANSWER]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q1019', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q30 property:P463 ?e . ?e rdf:type ontology:Q43229 . resource:Q1019 property:P463 ?e . ?e rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
6
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Madagascar
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Madagascar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:United_States_of_America property:member_of ?e . ?e rdf:type ontology:organization . resource:Madagascar property:member_of ?e . ?e rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
action filter_type
action find
entity Q30
relation P194
type Q11204
SELECT DISTINCT ?m WHERE { resource:Q30 property:P194 ?m . ?m rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:legislative_body ?m . ?m rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
SELECT DISTINCT ?m WHERE { resource:Q30 property:P194 ?m . ?m rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:legislative_body ?m . ?m rdf:type ontology:legislature }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q11701 Q30
P361 P194
Q11204
USER
Which legislatures represent United States of America and are United States House of Representatives a part of ?
AND((Q30,P194,c(Q11204)), (Q11701,P361,c(Q11204)))
action filter_type
action intersection
action find
entity Q30
relation P194
action find
entity Q11701
relation P361
type Q11204
{'AND': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q11701', 'P361', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?u WHERE { resource:Q30 property:P194 ?u . resource:Q11701 property:P361 ?u . ?u rdf:type ontology:Q11204 }
United States House of Representatives United States of America
action filter_type
action intersection
action find
entity United States of America
relation legislative body
action find
entity United States House of Representatives
relation part of
type legislature
{'AND': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['United States House of Representatives', 'part of', {'concept': 'legislature'}]]}
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:legislative_body ?u . resource:United_States_House_of_Representatives property:part_of ?u . ?u rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
AND((Q30,P194,c(Q11204)), (Q11701,P361,c(Q11204)))
action filter_type
action intersection
action find
entity Q30
relation P194
action find
entity Q11701
relation P361
type Q11204
The [ANSWER] represent United States of America and are United States House of Representatives a part of
{'AND': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q11701', 'P361', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?u WHERE { resource:Q30 property:P194 ?u . resource:Q11701 property:P361 ?u . ?u rdf:type ontology:Q11204 }
United States Congress
The United States Congress represent United States of America and are United States House of Representatives a part of
United States Congress
action filter_type
action intersection
action find
entity United States of America
relation legislative body
action find
entity United States House of Representatives
relation part of
type legislature
{'AND': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['United States House of Representatives', 'part of', {'concept': 'legislature'}]]}
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:legislative_body ?u . resource:United_States_House_of_Representatives property:part_of ?u . ?u rdf:type ontology:legislature }
[]