Simple Question (Direct)
Simple Question
Q16325320
P58
Q502895
USER
Who was the screenwriter for Jacky in Women's Kingdom ?
(Q16325320,P58,c(Q502895))
action filter_type
action find
entity Q16325320
relation P58
type Q502895
['Q16325320', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16325320 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Jacky in Women's Kingdom
action filter_type
action find
entity Jacky in Women's Kingdom
relation screenwriter
type common name
["Jacky in Women's Kingdom", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Jacky_in_Women's_Kingdom property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3430005
SYSTEM
Riad Sattouf
Q3430005
(Q16325320,P58,c(Q502895))
action filter_type
action find
entity Q16325320
relation P58
type Q502895
The screenwriter for Jacky in Women's Kingdom was born [ANSWER]
['Q16325320', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16325320 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Riad Sattouf
The screenwriter for Jacky in Women's Kingdom was born Riad Sattouf
Riad Sattouf
action filter_type
action find
entity Jacky in Women's Kingdom
relation screenwriter
type common name
["Jacky in Women's Kingdom", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Jacky_in_Women's_Kingdom property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3430005
P1346
Q618779
USER
Which award was won by that person ?
(c(Q618779),P1346,Q3430005)
action filter_type
action find_reverse
entity Q3430005
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q3430005']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q3430005 . ?s rdf:type ontology:Q618779 }
Riad Sattouf
action filter_type
action find_reverse
entity Riad Sattouf
relation winner
type award
[{'concept': 'award'}, 'winner', 'Riad Sattouf']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:Riad_Sattouf . ?s rdf:type ontology:award }
[]
award
Q655056
SYSTEM
César Award for Best First Feature Film
Q655056
(c(Q618779),P1346,Q3430005)
action filter_type
action find_reverse
entity Q3430005
relation P1346
type Q618779
The [ANSWER] was won by that person
[{'concept': 'Q618779'}, 'P1346', 'Q3430005']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q3430005 . ?s rdf:type ontology:Q618779 }
César Award for Best First Feature Film
The César Award for Best First Feature Film was won by that person
César Award for Best First Feature Film
action filter_type
action find_reverse
entity Riad Sattouf
relation winner
type award
[{'concept': 'award'}, 'winner', 'Riad Sattouf']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:Riad_Sattouf . ?s rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3807853 Q16325320
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of Jacky in Women's Kingdom or are the native countriesof Jenaro Vicente Estrada Cajigal ?
OR((Q16325320,P495,c(Q15617994)), (Q3807853,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16325320
relation P495
action find
entity Q3807853
relation P27
type Q15617994
{'OR': [['Q16325320', 'P495', {'concept': 'Q15617994'}], ['Q3807853', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q16325320 property:P495 ?l } UNION { resource:Q3807853 property:P27 ?l } } }
Jenaro Vicente Estrada Cajigal Jacky in Women's Kingdom
action filter_type
action union
action find
entity Jacky in Women's Kingdom
relation country of origin
action find
entity Jenaro Vicente Estrada Cajigal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Jacky in Women's Kingdom", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Jenaro Vicente Estrada Cajigal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jacky_in_Women's_Kingdom property:country_of_origin ?l } UNION { resource:Jenaro_Vicente_Estrada_Cajigal property:country_of_citizenship ?l } } }
[]
designation for an administrative territorial entity
Q142 Q96
SYSTEM
France, Mexico
Q142 Q96
OR((Q16325320,P495,c(Q15617994)), (Q3807853,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16325320
relation P495
action find
entity Q3807853
relation P27
type Q15617994
[ANSWERS] are the countries of origin of Jacky in Women's Kingdom or are the native countriesof Jenaro Vicente Estrada Cajigal
{'OR': [['Q16325320', 'P495', {'concept': 'Q15617994'}], ['Q3807853', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q16325320 property:P495 ?l } UNION { resource:Q3807853 property:P27 ?l } } }
France Mexico
France and Mexico are the countries of origin of Jacky in Women's Kingdom or are the native countriesof Jenaro Vicente Estrada Cajigal
France Mexico
action filter_type
action union
action find
entity Jacky in Women's Kingdom
relation country of origin
action find
entity Jenaro Vicente Estrada Cajigal
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Jacky in Women's Kingdom", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Jenaro Vicente Estrada Cajigal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jacky_in_Women's_Kingdom property:country_of_origin ?l } UNION { resource:Jenaro_Vicente_Estrada_Cajigal property:country_of_citizenship ?l } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with that administrative territory ?
(Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835))
['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Mexico. Could you tell me the answer for that?
(Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835))
Q96
['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}]
['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
4
Q155 Q408 Q38 Q183
(Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q96,P530,c(Q15617994)) (Q96,P530,c(Q1048835))
[ANSWER]
['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}] ['Q96', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q2294975 property:P530 ?z } UNION { resource:Q2294975 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Brazil Australia Italy Germany
4
['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Mexico property:diplomatic_relation ?z } UNION { resource:Mexico property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P463
Q1129645 Q820655
USER
How many trade blocs and statutes were Mexico a member of ?
(Q96,P463,c(Q1129645)) (Q96,P463,c(Q820655))
action count
action union
action filter_type
action find
entity Q96
relation P463
type Q1129645
action filter_type
action find
entity Q96
relation P463
type Q820655
['Q96', 'P463', {'concept': 'Q1129645'}] ['Q96', 'P463', {'concept': 'Q820655'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { resource:Q96 property:P463 ?k . ?k rdf:type ontology:Q1129645 } UNION { resource:Q96 property:P463 ?k . ?k rdf:type ontology:Q820655 } }
Mexico
action count
action union
action filter_type
action find
entity Mexico
relation member of
type trade bloc
action filter_type
action find
entity Mexico
relation member of
type statute
['Mexico', 'member of', {'concept': 'trade bloc'}] ['Mexico', 'member of', {'concept': 'statute'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { resource:Mexico property:member_of ?k . ?k rdf:type ontology:trade_bloc } UNION { resource:Mexico property:member_of ?k . ?k rdf:type ontology:statute } }
[]
trade bloc statute
SYSTEM
1 trade blocs and 1 statutes
Q181574 Q469076
(Q96,P463,c(Q1129645)) (Q96,P463,c(Q820655))
action count
action union
action filter_type
action find
entity Q96
relation P463
type Q1129645
action filter_type
action find
entity Q96
relation P463
type Q820655
[ANSWER]
['Q96', 'P463', {'concept': 'Q1129645'}] ['Q96', 'P463', {'concept': 'Q820655'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { resource:Q96 property:P463 ?k . ?k rdf:type ontology:Q1129645 } UNION { resource:Q96 property:P463 ?k . ?k rdf:type ontology:Q820655 } }
North American Free Trade Agreement American Convention on Human Rights
1 trade blocs and 1 statutes
action count
action union
action filter_type
action find
entity Mexico
relation member of
type trade bloc
action filter_type
action find
entity Mexico
relation member of
type statute
['Mexico', 'member of', {'concept': 'trade bloc'}] ['Mexico', 'member of', {'concept': 'statute'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { resource:Mexico property:member_of ?k . ?k rdf:type ontology:trade_bloc } UNION { resource:Mexico property:member_of ?k . ?k rdf:type ontology:statute } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q56061 Q515
USER
Which administrative territories have atleast 2 administrative territories or cities as their capital ?
(c(Q56061)|c(Q515),P1376,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?e WHERE { { ?r property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q515 } } GROUP BY ?e } . FILTER ( ?z >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?e WHERE { { ?r property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:city } } GROUP BY ?e } . FILTER ( ?z >= 2 ) }
[]
designation for an administrative territorial entity administrative territorial entity city
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q252 Q258 Q155 Q1020 Q41 Q30 Q38 Q1033 Q199688 Q12536 Q517333 Q924 Q17 Q160307
(c(Q56061)|c(Q515),P1376,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[ANSWERS] have atleast 2 administrative territories or cities as their capital
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?e WHERE { { ?r property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q515 } } GROUP BY ?e } . FILTER ( ?z >= 2 ) }
Yemen Indonesia South Africa Brazil Malawi Greece United States of America Italy Nigeria Almohad Abbasid caliphate Principality of Polotsk Tanzania Japan Fatimid caliphate
Italy, Brazil and United States of America have atleast 2 administrative territories or cities as their capital
Italy Brazil United States of America
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?e WHERE { { ?r property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:city } } GROUP BY ?e } . FILTER ( ?z >= 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P1001
Q12737077
USER
Which occupations have jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q38) (c(Q12737077),P1001,Q155) (c(Q12737077),P1001,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q38'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P1001 ?p . ?h rdf:type ontology:Q12737077 . VALUES ( ?p ) { ( resource:Q805 ) ( resource:Q252 ) ( resource:Q258 ) } }
Italy Brazil United States of America
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction ?p . ?h rdf:type ontology:occupation . VALUES ( ?p ) { ( resource:Yemen ) ( resource:Indonesia ) ( resource:South_Africa ) } }
[]
occupation
Q5176750 Q967750 Q332711
SYSTEM
President of Brazil, United States Secretary of Labor, President of Italy
Q13653224 Q23554157 Q18558478 Q3858501 Q26877839 Q6092845 Q6092842 Q26877879 Q3687266 Q1321872 Q796897 Q670106 Q1541071 Q826589 Q26912078 Q658082 Q332711 Q3705737 Q7477985 Q11805434 Q3721646 Q6360077 Q1714174 Q1538785 Q5097042 Q2978540 Q18964326 Q5176750 Q20058725 Q912994 Q2297543 Q1140848 Q1753094 Q1434880 Q1006696 Q2305968 Q1029955 Q7643465 Q13217683 Q1057168 Q735015 Q18694588 Q18390053 Q2529166 Q7889554 Q7603534 Q4215834 Q13218630 Q5168039 Q2287650 Q642859 Q1658460 Q967762 Q2419102 Q967750 Q2666591 Q967737 Q1029968 Q730465 Q940135 Q2301213 Q2643659 Q636207 Q2003296 Q2419581
(c(Q12737077),P1001,Q38) (c(Q12737077),P1001,Q155) (c(Q12737077),P1001,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q38'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P1001 ?p . ?h rdf:type ontology:Q12737077 . VALUES ( ?p ) { ( resource:Q805 ) ( resource:Q252 ) ( resource:Q258 ) } }
member of the Italian Senate Minister of Federal Reforms member of the Chamber of Deputies of the Italian Republic Italian minister minister of War of Italy Italian Minister of Transports Italian Minister of Infrastructures minister of the Navy of Italy member of City Council Minister of Foreign Affairs Prime Minister of Italy sindaco Italian Minister of the Interior senatore a vita minister of Air Force of Italy Italian Minister of Agriculture President of Italy member of the Constituent Assembly of Italy President of the Italian Senate Italian Minister of Economic Development Italian Minister of Education President of the Chamber of Deputies of Italy judge of the Constitutional Court of Italy Italian Minister of Defence Chief of Staff of Brazil Vice President of Brazil Member of the Senate of Brazil President of Brazil member of the Chamber of Deputies of Brazil speaker of the United States House of Representatives United States Deputy Secretary of Defense President pro tempore of the United States Senate United States Postmaster General Surgeon General of the United States United States federal judge United States Secretary of Health and Human Services United States Secretary of Agriculture Superintendent of Finance of the United States United States Senator Director of the Federal Bureau of Investigation United States Secretary of Defense Member of the United States House of Representatives from Virginia Member of the United States Securities and Exchange Commission lieutenant governor United States Attorney for the District of New Jersey state senator United States Secretary of the Treasury United States representative Coordinator for Counterterrorism United States Secretary of the Interior United States Secretary of Homeland Security United States Secretary of Veterans Affairs United States Secretary of Education United States Secretary of War United States Secretary of Labor Chair of the Federal Reserve United States Secretary of Transportation United States Secretary of Energy Director of Policy Planning United States Secretary of the Navy United States Deputy Secretary of State Indian agent United States Attorney General United States Secretary of Commerce United States Secretary of Housing and Urban Development
President of Brazil, United States Secretary of Labor and President of Italy have jurisdiction over those administrative territories
President of Brazil United States Secretary of Labor President of Italy
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction ?p . ?h rdf:type ontology:occupation . VALUES ( ?p ) { ( resource:Yemen ) ( resource:Indonesia ) ( resource:South_Africa ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5176750 Q967750 Q332711
P39
Q502895
USER
Who were responsible for occupying the position of President of Brazil, United States Secretary of Labor and President of Italy ?
(c(Q502895),P39,Q5176750) (c(Q502895),P39,Q967750) (c(Q502895),P39,Q332711)
action union
action filter_type
action find_reverse
entity Q5176750
relation P39
type Q502895
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
action filter_type
action find_reverse
entity Q332711
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q5176750'] [{'concept': 'Q502895'}, 'P39', 'Q967750'] [{'concept': 'Q502895'}, 'P39', 'Q332711']
SELECT DISTINCT ?q WHERE { { ?q property:P39 resource:Q967750 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q5176750 } }
President of Brazil United States Secretary of Labor President of Italy
action union
action filter_type
action find_reverse
entity President of Brazil
relation position held
type common name
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
action filter_type
action find_reverse
entity President of Italy
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Brazil'] [{'concept': 'common name'}, 'position held', 'United States Secretary of Labor'] [{'concept': 'common name'}, 'position held', 'President of Italy']
SELECT DISTINCT ?q WHERE { { ?q property:position_held resource:United_States_Secretary_of_Labor . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:position_held resource:President_of_Brazil } }
[]
common name
Q1224 Q3956186 Q230578
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Fernando Henrique Cardoso
Q296679 Q485946 Q310230 Q463533 Q230578 Q40722 Q37181 Q236503 Q155824 Q244997 Q310123 Q200812 Q294241 Q456483 Q433650 Q263322 Q284635 Q292340 Q50610 Q723828 Q718828 Q239571 Q7793121 Q456907 Q1245 Q1241 Q1240 Q1242 Q1220 Q1238 Q1230 Q1233 Q1235 Q1228 Q1224 Q3956186
(c(Q502895),P39,Q5176750) (c(Q502895),P39,Q967750) (c(Q502895),P39,Q332711)
action union
action filter_type
action find_reverse
entity Q5176750
relation P39
type Q502895
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
action filter_type
action find_reverse
entity Q332711
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of President of Brazil, United States Secretary of Labor and President of Italy
[{'concept': 'Q502895'}, 'P39', 'Q5176750'] [{'concept': 'Q502895'}, 'P39', 'Q967750'] [{'concept': 'Q502895'}, 'P39', 'Q332711']
SELECT DISTINCT ?q WHERE { { ?q property:P39 resource:Q967750 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q5176750 } }
Eurico Gaspar Dutra Itamar Franco Prudente de Morais Michel Temer Fernando Henrique Cardoso Dilma Rousseff Luiz Inácio Lula da Silva Fernando Collor de Mello Juscelino Kubitschek José Sarney Jânio Quadros Deodoro da Fonseca Ernesto Geisel William Usery Ann McLaughlin Korologos Elaine Chao Maurice J. Tobin Alexis Herman Hilda Solis William Bauchop Wilson Robert Reich Elizabeth Dole Thomas Perez James P. Mitchell Enrico De Nicola Giovanni Gronchi Antonio Segni Luigi Einaudi Giorgio Napolitano Giuseppe Saragat Francesco Cossiga Sandro Pertini Giovanni Leone Oscar Luigi Scalfaro Carlo Azeglio Ciampi Sergio Mattarella
Carlo Azeglio Ciampi, Sergio Mattarella and Fernando Henrique Cardoso were responsible for occupying the position of President of Brazil, United States Secretary of Labor and President of Italy
Carlo Azeglio Ciampi Sergio Mattarella Fernando Henrique Cardoso
action union
action filter_type
action find_reverse
entity President of Brazil
relation position held
type common name
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
action filter_type
action find_reverse
entity President of Italy
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Brazil'] [{'concept': 'common name'}, 'position held', 'United States Secretary of Labor'] [{'concept': 'common name'}, 'position held', 'President of Italy']
SELECT DISTINCT ?q WHERE { { ?q property:position_held resource:United_States_Secretary_of_Labor . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:position_held resource:President_of_Brazil } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1224 Q3956186 Q230578
P35
Q15617994
USER
Which administrative territories have those people as their chief of state ?
(c(Q15617994),P35,Q1224) (c(Q15617994),P35,Q3956186) (c(Q15617994),P35,Q230578)
action filter_type
action find_reverse
entity prev_answer
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q1224'] [{'concept': 'Q15617994'}, 'P35', 'Q3956186'] [{'concept': 'Q15617994'}, 'P35', 'Q230578']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . VALUES ( ?b ) { ( resource:Q296679 ) ( resource:Q485946 ) ( resource:Q310230 ) } . ?f property:P35 ?b }
Carlo Azeglio Ciampi Sergio Mattarella Fernando Henrique Cardoso
action filter_type
action find_reverse
entity prev_answer
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Carlo Azeglio Ciampi'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Sergio Mattarella'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Fernando Henrique Cardoso']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?b ) { ( resource:Eurico_Gaspar_Dutra ) ( resource:Itamar_Franco ) ( resource:Prudente_de_Morais ) } . ?f property:head_of_state ?b }
[]
designation for an administrative territorial entity
Q38 Q38 Q155
SYSTEM
Brazil for 3rd, Italy for 1st, 2nd
Q38 Q38 Q155
(c(Q15617994),P35,Q1224) (c(Q15617994),P35,Q3956186) (c(Q15617994),P35,Q230578)
action filter_type
action find_reverse
entity prev_answer
relation P35
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P35', 'Q1224'] [{'concept': 'Q15617994'}, 'P35', 'Q3956186'] [{'concept': 'Q15617994'}, 'P35', 'Q230578']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . VALUES ( ?b ) { ( resource:Q296679 ) ( resource:Q485946 ) ( resource:Q310230 ) } . ?f property:P35 ?b }
Italy Italy Brazil
Italy, Italy and Brazil have those people as their chief of state
Italy Italy Brazil
action filter_type
action find_reverse
entity prev_answer
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Carlo Azeglio Ciampi'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Sergio Mattarella'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Fernando Henrique Cardoso']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?b ) { ( resource:Eurico_Gaspar_Dutra ) ( resource:Itamar_Franco ) ( resource:Prudente_de_Morais ) } . ?f property:head_of_state ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967750
P361
Q35798
USER
Which executive branch is United States Secretary of Labor a component of ?
(Q967750,P361,c(Q35798))
action filter_type
action find
entity Q967750
relation P361
type Q35798
['Q967750', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q35798 . resource:Q967750 property:P361 ?f }
United States Secretary of Labor
action filter_type
action find
entity United States Secretary of Labor
relation part of
type executive branch
['United States Secretary of Labor', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:executive_branch . resource:United_States_Secretary_of_Labor property:part_of ?f }
[]
executive branch
Q639738
SYSTEM
United States Cabinet
Q639738
(Q967750,P361,c(Q35798))
action filter_type
action find
entity Q967750
relation P361
type Q35798
Cabinet [ANSWER] is United States Secretary of Labor a component of
['Q967750', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q35798 . resource:Q967750 property:P361 ?f }
United States Cabinet
Cabinet United States Cabinet is United States Secretary of Labor a component of
United States Cabinet
action filter_type
action find
entity United States Secretary of Labor
relation part of
type executive branch
['United States Secretary of Labor', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:executive_branch . resource:United_States_Secretary_of_Labor property:part_of ?f }
[]