Simple Question (Direct)
Simple Question
Q5258866
P264
Q334453
USER
Which division sponsored the recording of Dennis Provisor ?
(Q5258866,P264,c(Q334453))
action filter_type
action find
entity Q5258866
relation P264
type Q334453
['Q5258866', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q5258866 property:P264 ?r . ?r rdf:type ontology:Q334453 }
Dennis Provisor
action filter_type
action find
entity Dennis Provisor
relation record label
type division
['Dennis Provisor', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Dennis_Provisor property:record_label ?r . ?r rdf:type ontology:division }
[]
division
Q1780995
SYSTEM
20th Century Fox Records
Q1780995
(Q5258866,P264,c(Q334453))
action filter_type
action find
entity Q5258866
relation P264
type Q334453
Records [ANSWER] sponsored the recording of Dennis Provisor
['Q5258866', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { resource:Q5258866 property:P264 ?r . ?r rdf:type ontology:Q334453 }
20th Century Fox Records
Records 20th Century Fox Records sponsored the recording of Dennis Provisor
20th Century Fox Records
action filter_type
action find
entity Dennis Provisor
relation record label
type division
['Dennis Provisor', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { resource:Dennis_Provisor property:record_label ?r . ?r rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1780995 Q30
P17
Q15617994
USER
Is that division situated in United States of America ?
(Q1780995,P17,Q30)
action is_in
entity Q30
action find
entity Q1780995
relation P17
['Q1780995', 'P17', 'Q30']
ASK WHERE { resource:Q1780995 property:P17 resource:Q30 }
20th Century Fox Records United States of America
action is_in
entity United States of America
action find
entity 20th Century Fox Records
relation country
['20th Century Fox Records', 'country', 'United States of America']
ASK WHERE { resource:20th_Century_Fox_Records property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1780995,P17,Q30)
action is_in
entity Q30
action find
entity Q1780995
relation P17
[ANSWER]
['Q1780995', 'P17', 'Q30']
ASK WHERE { resource:Q1780995 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity 20th Century Fox Records
relation country
['20th Century Fox Records', 'country', 'United States of America']
ASK WHERE { resource:20th_Century_Fox_Records property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q230 Q1780995
P530 P17
Q15617994
USER
Which administrative territories do 20th Century Fox Records belong to or have diplomatic relations with Georgia ?
OR((Q1780995,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q1780995
relation P17
action find
entity Q230
relation P530
type Q15617994
{'OR': [['Q1780995', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1780995 property:P17 ?m } UNION { resource:Q230 property:P530 ?m } } . ?m rdf:type ontology:Q15617994 }
Georgia 20th Century Fox Records
action filter_type
action union
action find
entity 20th Century Fox Records
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['20th Century Fox Records', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:20th_Century_Fox_Records property:country ?m } UNION { resource:Georgia property:diplomatic_relation ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q902 Q1007 Q1013 Q851 Q1008 Q79 Q1016 Q889 Q784
SYSTEM
Some of them are Israel, Bangladesh, Guinea-Bissau, Lesotho, Saudi Arabia, Côte d'Ivoire, Egypt, Libya, Afghanistan, Dominica
Q986 Q805 Q1007 Q1006 Q801 Q800 Q184 Q1008 Q971 Q822 Q241 Q736 Q786 Q686 Q347 Q414 Q399 Q424 Q227 Q225 Q29 Q222 Q1005 Q145 Q262 Q189 Q784 Q31 Q229 Q228 Q32 Q17 Q30 Q37 Q79 Q851 Q1011 Q38 Q902 Q1009 Q878 Q874 Q739 Q774 Q423 Q710 Q810 Q983 Q668 Q965 Q1016 Q967 Q974 Q734 Q1013 Q191 Q115 Q114 Q117 Q398 Q970 Q750 Q252 Q963 Q211 Q43 Q155 Q792 Q219 Q796 Q794 Q954 Q889 Q27 Q921 Q819 Q884 Q953 Q881 Q916
OR((Q1780995,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q1780995
relation P17
action find
entity Q230
relation P530
type Q15617994
[ANSWERS] 20th Century Fox Records belong to or have diplomatic relations with Georgia
{'OR': [['Q1780995', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1780995 property:P17 ?m } UNION { resource:Q230 property:P530 ?m } } . ?m rdf:type ontology:Q15617994 }
Eritrea Yemen Guinea-Bissau Guinea Israel Costa Rica Belarus Côte d'Ivoire Republic of the Congo Lebanon Cuba Ecuador Dominican Republic Vanuatu Liechtenstein Argentina Armenia Cambodia Azerbaijan Bosnia and Herzegovina Spain Albania Gambia United Kingdom Algeria Iceland Dominica Belgium Cyprus Andorra Luxembourg Japan United States of America Lithuania Egypt Saudi Arabia Cape Verde Italy Bangladesh Cameroon United Arab Emirates Turkmenistan Colombia Guatemala North Korea Kiribati Jordan Equatorial Guinea India Burkina Faso Libya Burundi Democratic Republic of the Congo Guyana Lesotho Estonia Ethiopia Kenya Ghana Bahrain Comoros Bolivia Indonesia Botswana Latvia Turkey Brazil El Salvador Bulgaria Iraq Iran Zimbabwe Afghanistan Ireland Brunei Laos South Korea Zambia Vietnam Angola
Israel, Bangladesh, Guinea-Bissau, Lesotho, Saudi Arabia, Côte d'Ivoire, Egypt, Libya, Afghanistan and Dominica 20th Century Fox Records belong to or have diplomatic relations with Georgia
Israel Bangladesh Guinea-Bissau Lesotho Saudi Arabia Côte d'Ivoire Egypt Libya Afghanistan Dominica
action filter_type
action union
action find
entity 20th Century Fox Records
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['20th Century Fox Records', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:20th_Century_Fox_Records property:country ?m } UNION { resource:Georgia property:diplomatic_relation ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P276
Q350604 Q1190554
USER
How many armed conflicts and events are situated at that administrative territory ?
(c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q801) (c(Q1190554),P276,Q801) (c(Q350604),P276,Q902) (c(Q1190554),P276,Q902) (c(Q350604),P276,Q1007) (c(Q1190554),P276,Q1007) (c(Q350604),P276,Q1013) (c(Q1190554),P276,Q1013) (c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q1008) (c(Q1190554),P276,Q1008) (c(Q350604),P276,Q79) (c(Q1190554),P276,Q79) (c(Q350604),P276,Q1016) (c(Q1190554),P276,Q1016) (c(Q350604),P276,Q889) (c(Q1190554),P276,Q889) (c(Q350604),P276,Q784) (c(Q1190554),P276,Q784)
[{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q801'] [{'concept': 'Q1190554'}, 'P276', 'Q801'] [{'concept': 'Q350604'}, 'P276', 'Q902'] [{'concept': 'Q1190554'}, 'P276', 'Q902'] [{'concept': 'Q350604'}, 'P276', 'Q1007'] [{'concept': 'Q1190554'}, 'P276', 'Q1007'] [{'concept': 'Q350604'}, 'P276', 'Q1013'] [{'concept': 'Q1190554'}, 'P276', 'Q1013'] [{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q1008'] [{'concept': 'Q1190554'}, 'P276', 'Q1008'] [{'concept': 'Q350604'}, 'P276', 'Q79'] [{'concept': 'Q1190554'}, 'P276', 'Q79'] [{'concept': 'Q350604'}, 'P276', 'Q1016'] [{'concept': 'Q1190554'}, 'P276', 'Q1016'] [{'concept': 'Q350604'}, 'P276', 'Q889'] [{'concept': 'Q1190554'}, 'P276', 'Q889'] [{'concept': 'Q350604'}, 'P276', 'Q784'] [{'concept': 'Q1190554'}, 'P276', 'Q784']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q234180 } UNION { ?y property:Q17334923 resource:Q234180 } UNION { ?z property:Q17334923 resource:Q4855255 } UNION { ?y property:Q17334923 resource:Q4855255 } UNION { ?z property:Q17334923 resource:Q1007 } UNION { ?y property:Q17334923 resource:Q1007 } UNION { ?z property:Q17334923 resource:Q1013 } UNION { ?y property:Q17334923 resource:Q1013 } UNION { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q1008 } UNION { ?y property:Q17334923 resource:Q1008 } UNION { ?z property:Q17334923 resource:Q1249091 } UNION { ?y property:Q17334923 resource:Q1249091 } UNION { ?z property:Q17334923 resource:Q1016 } UNION { ?y property:Q17334923 resource:Q1016 } UNION { ?z property:Q17334923 resource:Q27715795 } UNION { ?y property:Q17334923 resource:Q27715795 } UNION { ?z property:Q17334923 resource:Q784 } UNION { ?y property:Q17334923 resource:Q784 } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 }
[{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', 'Israel'] [{'concept': 'event'}, 'location', 'Israel'] [{'concept': 'armed conflict'}, 'location', 'Bangladesh'] [{'concept': 'event'}, 'location', 'Bangladesh'] [{'concept': 'armed conflict'}, 'location', 'Guinea-Bissau'] [{'concept': 'event'}, 'location', 'Guinea-Bissau'] [{'concept': 'armed conflict'}, 'location', 'Lesotho'] [{'concept': 'event'}, 'location', 'Lesotho'] [{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', "Côte d'Ivoire"] [{'concept': 'event'}, 'location', "Côte d'Ivoire"] [{'concept': 'armed conflict'}, 'location', 'Egypt'] [{'concept': 'event'}, 'location', 'Egypt'] [{'concept': 'armed conflict'}, 'location', 'Libya'] [{'concept': 'event'}, 'location', 'Libya'] [{'concept': 'armed conflict'}, 'location', 'Afghanistan'] [{'concept': 'event'}, 'location', 'Afghanistan'] [{'concept': 'armed conflict'}, 'location', 'Dominica'] [{'concept': 'event'}, 'location', 'Dominica']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Israel } UNION { ?y property:location resource:Israel } UNION { ?z property:location resource:Bangladesh } UNION { ?y property:location resource:Bangladesh } UNION { ?z property:location resource:Guinea-Bissau } UNION { ?y property:location resource:Guinea-Bissau } UNION { ?z property:location resource:Lesotho } UNION { ?y property:location resource:Lesotho } UNION { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Côte_d'Ivoire } UNION { ?y property:location resource:Côte_d'Ivoire } UNION { ?z property:location resource:Egypt } UNION { ?y property:location resource:Egypt } UNION { ?z property:location resource:Libya } UNION { ?y property:location resource:Libya } UNION { ?z property:location resource:Afghanistan } UNION { ?y property:location resource:Afghanistan } UNION { ?z property:location resource:Dominica } UNION { ?y property:location resource:Dominica } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event }
[]
armed conflict event
Quantitative|Count|Mult. entity type|Clarification
Q902
SYSTEM
Did you mean Bangladesh ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q234180 } UNION { ?y property:Q17334923 resource:Q234180 } UNION { ?z property:Q17334923 resource:Q4855255 } UNION { ?y property:Q17334923 resource:Q4855255 } UNION { ?z property:Q17334923 resource:Q1007 } UNION { ?y property:Q17334923 resource:Q1007 } UNION { ?z property:Q17334923 resource:Q1013 } UNION { ?y property:Q17334923 resource:Q1013 } UNION { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q1008 } UNION { ?y property:Q17334923 resource:Q1008 } UNION { ?z property:Q17334923 resource:Q1249091 } UNION { ?y property:Q17334923 resource:Q1249091 } UNION { ?z property:Q17334923 resource:Q1016 } UNION { ?y property:Q17334923 resource:Q1016 } UNION { ?z property:Q17334923 resource:Q27715795 } UNION { ?y property:Q17334923 resource:Q27715795 } UNION { ?z property:Q17334923 resource:Q784 } UNION { ?y property:Q17334923 resource:Q784 } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 }
Did you mean Bangladesh ?
Bangladesh
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Israel } UNION { ?y property:location resource:Israel } UNION { ?z property:location resource:Bangladesh } UNION { ?y property:location resource:Bangladesh } UNION { ?z property:location resource:Guinea-Bissau } UNION { ?y property:location resource:Guinea-Bissau } UNION { ?z property:location resource:Lesotho } UNION { ?y property:location resource:Lesotho } UNION { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Côte_d'Ivoire } UNION { ?y property:location resource:Côte_d'Ivoire } UNION { ?z property:location resource:Egypt } UNION { ?y property:location resource:Egypt } UNION { ?z property:location resource:Libya } UNION { ?y property:location resource:Libya } UNION { ?z property:location resource:Afghanistan } UNION { ?y property:location resource:Afghanistan } UNION { ?z property:location resource:Dominica } UNION { ?y property:location resource:Dominica } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Saudi Arabia. Could you tell me the answer for that?
(c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q801) (c(Q1190554),P276,Q801) (c(Q350604),P276,Q902) (c(Q1190554),P276,Q902) (c(Q350604),P276,Q1007) (c(Q1190554),P276,Q1007) (c(Q350604),P276,Q1013) (c(Q1190554),P276,Q1013) (c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q1008) (c(Q1190554),P276,Q1008) (c(Q350604),P276,Q79) (c(Q1190554),P276,Q79) (c(Q350604),P276,Q1016) (c(Q1190554),P276,Q1016) (c(Q350604),P276,Q889) (c(Q1190554),P276,Q889) (c(Q350604),P276,Q784) (c(Q1190554),P276,Q784)
Q851
[{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q801'] [{'concept': 'Q1190554'}, 'P276', 'Q801'] [{'concept': 'Q350604'}, 'P276', 'Q902'] [{'concept': 'Q1190554'}, 'P276', 'Q902'] [{'concept': 'Q350604'}, 'P276', 'Q1007'] [{'concept': 'Q1190554'}, 'P276', 'Q1007'] [{'concept': 'Q350604'}, 'P276', 'Q1013'] [{'concept': 'Q1190554'}, 'P276', 'Q1013'] [{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q1008'] [{'concept': 'Q1190554'}, 'P276', 'Q1008'] [{'concept': 'Q350604'}, 'P276', 'Q79'] [{'concept': 'Q1190554'}, 'P276', 'Q79'] [{'concept': 'Q350604'}, 'P276', 'Q1016'] [{'concept': 'Q1190554'}, 'P276', 'Q1016'] [{'concept': 'Q350604'}, 'P276', 'Q889'] [{'concept': 'Q1190554'}, 'P276', 'Q889'] [{'concept': 'Q350604'}, 'P276', 'Q784'] [{'concept': 'Q1190554'}, 'P276', 'Q784']
[{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', 'Israel'] [{'concept': 'event'}, 'location', 'Israel'] [{'concept': 'armed conflict'}, 'location', 'Bangladesh'] [{'concept': 'event'}, 'location', 'Bangladesh'] [{'concept': 'armed conflict'}, 'location', 'Guinea-Bissau'] [{'concept': 'event'}, 'location', 'Guinea-Bissau'] [{'concept': 'armed conflict'}, 'location', 'Lesotho'] [{'concept': 'event'}, 'location', 'Lesotho'] [{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', "Côte d'Ivoire"] [{'concept': 'event'}, 'location', "Côte d'Ivoire"] [{'concept': 'armed conflict'}, 'location', 'Egypt'] [{'concept': 'event'}, 'location', 'Egypt'] [{'concept': 'armed conflict'}, 'location', 'Libya'] [{'concept': 'event'}, 'location', 'Libya'] [{'concept': 'armed conflict'}, 'location', 'Afghanistan'] [{'concept': 'event'}, 'location', 'Afghanistan'] [{'concept': 'armed conflict'}, 'location', 'Dominica'] [{'concept': 'event'}, 'location', 'Dominica']
[]
SYSTEM
1 armed conflicts and 1 events
Q5027889 Q37643
(c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q801) (c(Q1190554),P276,Q801) (c(Q350604),P276,Q902) (c(Q1190554),P276,Q902) (c(Q350604),P276,Q1007) (c(Q1190554),P276,Q1007) (c(Q350604),P276,Q1013) (c(Q1190554),P276,Q1013) (c(Q350604),P276,Q851) (c(Q1190554),P276,Q851) (c(Q350604),P276,Q1008) (c(Q1190554),P276,Q1008) (c(Q350604),P276,Q79) (c(Q1190554),P276,Q79) (c(Q350604),P276,Q1016) (c(Q1190554),P276,Q1016) (c(Q350604),P276,Q889) (c(Q1190554),P276,Q889) (c(Q350604),P276,Q784) (c(Q1190554),P276,Q784)
[ANSWER]
[{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q801'] [{'concept': 'Q1190554'}, 'P276', 'Q801'] [{'concept': 'Q350604'}, 'P276', 'Q902'] [{'concept': 'Q1190554'}, 'P276', 'Q902'] [{'concept': 'Q350604'}, 'P276', 'Q1007'] [{'concept': 'Q1190554'}, 'P276', 'Q1007'] [{'concept': 'Q350604'}, 'P276', 'Q1013'] [{'concept': 'Q1190554'}, 'P276', 'Q1013'] [{'concept': 'Q350604'}, 'P276', 'Q851'] [{'concept': 'Q1190554'}, 'P276', 'Q851'] [{'concept': 'Q350604'}, 'P276', 'Q1008'] [{'concept': 'Q1190554'}, 'P276', 'Q1008'] [{'concept': 'Q350604'}, 'P276', 'Q79'] [{'concept': 'Q1190554'}, 'P276', 'Q79'] [{'concept': 'Q350604'}, 'P276', 'Q1016'] [{'concept': 'Q1190554'}, 'P276', 'Q1016'] [{'concept': 'Q350604'}, 'P276', 'Q889'] [{'concept': 'Q1190554'}, 'P276', 'Q889'] [{'concept': 'Q350604'}, 'P276', 'Q784'] [{'concept': 'Q1190554'}, 'P276', 'Q784']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q234180 } UNION { ?y property:Q17334923 resource:Q234180 } UNION { ?z property:Q17334923 resource:Q4855255 } UNION { ?y property:Q17334923 resource:Q4855255 } UNION { ?z property:Q17334923 resource:Q1007 } UNION { ?y property:Q17334923 resource:Q1007 } UNION { ?z property:Q17334923 resource:Q1013 } UNION { ?y property:Q17334923 resource:Q1013 } UNION { ?z property:Q17334923 resource:Q851 } UNION { ?y property:Q17334923 resource:Q851 } UNION { ?z property:Q17334923 resource:Q1008 } UNION { ?y property:Q17334923 resource:Q1008 } UNION { ?z property:Q17334923 resource:Q1249091 } UNION { ?y property:Q17334923 resource:Q1249091 } UNION { ?z property:Q17334923 resource:Q1016 } UNION { ?y property:Q17334923 resource:Q1016 } UNION { ?z property:Q17334923 resource:Q27715795 } UNION { ?y property:Q17334923 resource:Q27715795 } UNION { ?z property:Q17334923 resource:Q784 } UNION { ?y property:Q17334923 resource:Q784 } } . ?z rdf:type ontology:Q350604 . ?y rdf:type ontology:Q5416694 }
Campaigns of the Arab Revolt Gulf War
1 armed conflicts and 1 events
[{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', 'Israel'] [{'concept': 'event'}, 'location', 'Israel'] [{'concept': 'armed conflict'}, 'location', 'Bangladesh'] [{'concept': 'event'}, 'location', 'Bangladesh'] [{'concept': 'armed conflict'}, 'location', 'Guinea-Bissau'] [{'concept': 'event'}, 'location', 'Guinea-Bissau'] [{'concept': 'armed conflict'}, 'location', 'Lesotho'] [{'concept': 'event'}, 'location', 'Lesotho'] [{'concept': 'armed conflict'}, 'location', 'Saudi Arabia'] [{'concept': 'event'}, 'location', 'Saudi Arabia'] [{'concept': 'armed conflict'}, 'location', "Côte d'Ivoire"] [{'concept': 'event'}, 'location', "Côte d'Ivoire"] [{'concept': 'armed conflict'}, 'location', 'Egypt'] [{'concept': 'event'}, 'location', 'Egypt'] [{'concept': 'armed conflict'}, 'location', 'Libya'] [{'concept': 'event'}, 'location', 'Libya'] [{'concept': 'armed conflict'}, 'location', 'Afghanistan'] [{'concept': 'event'}, 'location', 'Afghanistan'] [{'concept': 'armed conflict'}, 'location', 'Dominica'] [{'concept': 'event'}, 'location', 'Dominica']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Israel } UNION { ?y property:location resource:Israel } UNION { ?z property:location resource:Bangladesh } UNION { ?y property:location resource:Bangladesh } UNION { ?z property:location resource:Guinea-Bissau } UNION { ?y property:location resource:Guinea-Bissau } UNION { ?z property:location resource:Lesotho } UNION { ?y property:location resource:Lesotho } UNION { ?z property:location resource:Saudi_Arabia } UNION { ?y property:location resource:Saudi_Arabia } UNION { ?z property:location resource:Côte_d'Ivoire } UNION { ?y property:location resource:Côte_d'Ivoire } UNION { ?z property:location resource:Egypt } UNION { ?y property:location resource:Egypt } UNION { ?z property:location resource:Libya } UNION { ?y property:location resource:Libya } UNION { ?z property:location resource:Afghanistan } UNION { ?y property:location resource:Afghanistan } UNION { ?z property:location resource:Dominica } UNION { ?y property:location resource:Dominica } } . ?z rdf:type ontology:armed_conflict . ?y rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P1001
Q12737077
USER
Which occupations preside the jurisdiction over Israel ?
(c(Q12737077),P1001,Q801)
action filter_type
action find_reverse
entity Q801
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q801']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . ?j property:P1001 resource:Q801 }
Israel
action filter_type
action find_reverse
entity Israel
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Israel']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . ?j property:applies_to_jurisdiction resource:Israel }
[]
occupation
Q208487 Q15722817 Q15710855
SYSTEM
Prime Minister of Israel, Minister of Finance, Minister of Foreign Affairs
Q2566297 Q24055705 Q20021264 Q20021262 Q7040859 Q4047513 Q15710855 Q15731446 Q15733044 Q208487 Q15722454 Q15735049 Q20021291 Q1622615 Q15722942 Q15731462 Q20021270 Q2457733 Q15722817 Q24055719 Q15728439 Q742063 Q327948 Q19803218 Q15732368 Q15732343 Q890855 Q2433405 Q13222899 Q2668563
(c(Q12737077),P1001,Q801)
action filter_type
action find_reverse
entity Q801
relation P1001
type Q12737077
[ANSWERS] preside the jurisdiction over Israel
[{'concept': 'Q12737077'}, 'P1001', 'Q801']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . ?j property:P1001 resource:Q801 }
Minister of Diaspora Affairs Chief Justice of the Supreme Court of Israel Minister of Construction Minister of Immigrant Absorption Deputy Prime Minister of Israel Knesset member Minister of Foreign Affairs Minister of Transport and Road Safety Minister without portfolio Prime Minister of Israel Minister of Tourism Deputy Minister of Foreign Affairs Education Minister of Israel Chief Rabbinate of Israel Minister of Health Minister of Agriculture and Rural Development Minister of Communications Leader of the Opposition Minister of Finance Justice of the Supreme Court of Israel Deputy Minister of Defense Justice Minister of Israel President of Israel Social Equality Minister of Israel Deputy Minister of Health Minister of National Infrastructure, Energy, and Water Labor Minister of Israel Internal Affairs Minister of Israel Minister of Defence Speaker of the Knesset
Prime Minister of Israel, Minister of Finance and Minister of Foreign Affairs preside the jurisdiction over Israel
Prime Minister of Israel Minister of Finance Minister of Foreign Affairs
action filter_type
action find_reverse
entity Israel
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Israel']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . ?j property:applies_to_jurisdiction resource:Israel }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15710855
P361
Q35798
USER
What is that occupation a portion of ?
(Q15710855,P361,c(Q35798))
action filter_type
action find
entity Q15710855
relation P361
type Q35798
['Q15710855', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?g WHERE { resource:Q15710855 property:P361 ?g . ?g rdf:type ontology:Q35798 }
Minister of Foreign Affairs
action filter_type
action find
entity Minister of Foreign Affairs
relation part of
type executive branch
['Minister of Foreign Affairs', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?g WHERE { resource:Minister_of_Foreign_Affairs property:part_of ?g . ?g rdf:type ontology:executive_branch }
[]
executive branch
Clarification for simple ques.
Q15710855
SYSTEM
Did you mean Minister of Foreign Affairs ?
Q208487 Q15722817 Q15710855
(Q208487,P361,c(Q35798)) (Q15722817,P361,c(Q35798)) (Q15710855,P361,c(Q35798))
[ANSWER]
['Q208487', 'P361', {'concept': 'Q35798'}] ['Q15722817', 'P361', {'concept': 'Q35798'}] ['Q15710855', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?g WHERE { resource:Q15710855 property:P361 ?g . ?g rdf:type ontology:Q35798 }
Prime Minister of Israel Minister of Finance Minister of Foreign Affairs
Did you mean Minister of Foreign Affairs ?
Minister of Foreign Affairs
['Prime Minister of Israel', 'part of', {'concept': 'executive branch'}] ['Minister of Finance', 'part of', {'concept': 'executive branch'}] ['Minister of Foreign Affairs', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?g WHERE { resource:Minister_of_Foreign_Affairs property:part_of ?g . ?g rdf:type ontology:executive_branch }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15710855,P361,c(Q35798))
['Q15710855', 'P361', {'concept': 'Q35798'}]
['Minister of Foreign Affairs', 'part of', {'concept': 'executive branch'}]
[]
Q2578249
SYSTEM
Cabinet of Israel
Q2578249
(Q15710855,P361,c(Q35798))
action filter_type
action find
entity Q15710855
relation P361
type Q35798
That occupation a portion of is the [ANSWER]
['Q15710855', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?g WHERE { resource:Q15710855 property:P361 ?g . ?g rdf:type ontology:Q35798 }
Cabinet of Israel
That occupation a portion of is the Cabinet of Israel
Cabinet of Israel
action filter_type
action find
entity Minister of Foreign Affairs
relation part of
type executive branch
['Minister of Foreign Affairs', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?g WHERE { resource:Minister_of_Foreign_Affairs property:part_of ?g . ?g rdf:type ontology:executive_branch }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2578249 Q350744
P108
Q502895
USER
Is Isser Harel working for that executive branch ?
(Q350744,P108,Q2578249)
action is_in
entity Q2578249
action find
entity Q350744
relation P108
['Q350744', 'P108', 'Q2578249']
ASK WHERE { resource:Q350744 property:P108 resource:Q2578249 }
Cabinet of Israel Isser Harel
action is_in
entity Cabinet of Israel
action find
entity Isser Harel
relation employer
['Isser Harel', 'employer', 'Cabinet of Israel']
ASK WHERE { resource:Isser_Harel property:employer resource:Cabinet_of_Israel }
[]
common name
SYSTEM
YES
(Q350744,P108,Q2578249)
action is_in
entity Q2578249
action find
entity Q350744
relation P108
[ANSWER]
['Q350744', 'P108', 'Q2578249']
ASK WHERE { resource:Q350744 property:P108 resource:Q2578249 }
Yes
action is_in
entity Cabinet of Israel
action find
entity Isser Harel
relation employer
['Isser Harel', 'employer', 'Cabinet of Israel']
ASK WHERE { resource:Isser_Harel property:employer resource:Cabinet_of_Israel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2578249
P463
Q12737077
USER
Which occupations have a membership of that executive branch ?
action filter_type
action find_reverse
entity Q2578249
relation P463
type Q12737077
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q2578249 . ?c rdf:type ontology:Q12737077 }
Cabinet of Israel
action filter_type
action find_reverse
entity Cabinet of Israel
relation member of
type occupation
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Cabinet_of_Israel . ?c rdf:type ontology:occupation }
[]
occupation
Q2433405 Q208487 Q15722817
SYSTEM
Internal Affairs Minister of Israel, Prime Minister of Israel, Minister of Finance
Q2433405 Q208487 Q15722817
action filter_type
action find_reverse
entity Q2578249
relation P463
type Q12737077
The [ANSWERS] have a membership of that executive branch
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q2578249 . ?c rdf:type ontology:Q12737077 }
Internal Affairs Minister of Israel Prime Minister of Israel Minister of Finance
The Internal Affairs Minister of Israel, Prime Minister of Israel and Minister of Finance have a membership of that executive branch
Internal Affairs Minister of Israel Prime Minister of Israel Minister of Finance
action filter_type
action find_reverse
entity Cabinet of Israel
relation member of
type occupation
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Cabinet_of_Israel . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2433405 Q208487 Q15722817
P17
Q15617994
USER
Which administrative territories do Internal Affairs Minister of Israel, Prime Minister of Israel and Minister of Finance belong to ?
(Q2433405,P17,c(Q15617994)) (Q208487,P17,c(Q15617994)) (Q15722817,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2433405
relation P17
type Q15617994
action filter_type
action find
entity Q208487
relation P17
type Q15617994
action filter_type
action find
entity Q15722817
relation P17
type Q15617994
['Q2433405', 'P17', {'concept': 'Q15617994'}] ['Q208487', 'P17', {'concept': 'Q15617994'}] ['Q15722817', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q208487 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q2433405 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
Internal Affairs Minister of Israel Prime Minister of Israel Minister of Finance
action union
action filter_type
action find
entity Internal Affairs Minister of Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Finance
relation country
type designation for an administrative territorial entity
['Internal Affairs Minister of Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Finance', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Prime_Minister_of_Israel property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Internal_Affairs_Minister_of_Israel property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q801 Q801 Q801
SYSTEM
Israel
Q801 Q801 Q801
(Q2433405,P17,c(Q15617994)) (Q208487,P17,c(Q15617994)) (Q15722817,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2433405
relation P17
type Q15617994
action filter_type
action find
entity Q208487
relation P17
type Q15617994
action filter_type
action find
entity Q15722817
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] Internal Affairs Minister of [ANSWER], Prime Minister of [ANSWER] and Minister of Finance belong to
['Q2433405', 'P17', {'concept': 'Q15617994'}] ['Q208487', 'P17', {'concept': 'Q15617994'}] ['Q15722817', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q208487 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q2433405 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
Israel Israel Israel
Israel Israel, Israel and Israel Internal Affairs Minister of Israel, Prime Minister of Israel and Minister of Finance belong to
Israel Israel Israel
action union
action filter_type
action find
entity Internal Affairs Minister of Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Finance
relation country
type designation for an administrative territorial entity
['Internal Affairs Minister of Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Finance', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Prime_Minister_of_Israel property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Internal_Affairs_Minister_of_Israel property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208487
P748
Q12737077
USER
Which occupation is responsible for appointment of Prime Minister of Israel ?
(Q208487,P748,c(Q12737077))
action filter_type
action find
entity Q208487
relation P748
type Q12737077
['Q208487', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q208487 property:P748 ?y }
Prime Minister of Israel
action filter_type
action find
entity Prime Minister of Israel
relation appointed by
type occupation
['Prime Minister of Israel', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Prime_Minister_of_Israel property:appointed_by ?y }
[]
occupation
Q327948
SYSTEM
President of Israel
Q327948
(Q208487,P748,c(Q12737077))
action filter_type
action find
entity Q208487
relation P748
type Q12737077
The [ANSWER] is responsible for appointment of Prime Minister of Israel
['Q208487', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q208487 property:P748 ?y }
President of Israel
The President of Israel is responsible for appointment of Prime Minister of Israel
President of Israel
action filter_type
action find
entity Prime Minister of Israel
relation appointed by
type occupation
['Prime Minister of Israel', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Prime_Minister_of_Israel property:appointed_by ?y }
[]