Simple Question (Direct)
Simple Question
Q5659882
P172
Q2472587
USER
What is the race of Harold A. Stevens ?
(Q5659882,P172,c(Q2472587))
action filter_type
action find
entity Q5659882
relation P172
type Q2472587
['Q5659882', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?d WHERE { resource:Q5659882 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
Harold A. Stevens
action filter_type
action find
entity Harold A. Stevens
relation ethnic group
type people
['Harold A. Stevens', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?d WHERE { resource:Harold_A._Stevens property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q5659882,P172,c(Q2472587))
action filter_type
action find
entity Q5659882
relation P172
type Q2472587
[ANSWER] . the race of Harold A is
['Q5659882', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?d WHERE { resource:Q5659882 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
African Americans
African Americans . the race of Harold A is
African Americans
action filter_type
action find
entity Harold A. Stevens
relation ethnic group
type people
['Harold A. Stevens', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?d WHERE { resource:Harold_A._Stevens property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5659882
P69
Q3918
USER
Where was Harold A. Stevens educated ?
(Q5659882,P69,c(Q3918))
action filter_type
action find
entity Q5659882
relation P69
type Q3918
['Q5659882', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q5659882 property:P69 ?g . ?g rdf:type ontology:Q3918 }
Harold A. Stevens
action filter_type
action find
entity Harold A. Stevens
relation educated at
type university
['Harold A. Stevens', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Harold_A._Stevens property:educated_at ?g . ?g rdf:type ontology:university }
[]
university
Q1024426
SYSTEM
University of South Carolina
Q1024426
(Q5659882,P69,c(Q3918))
action filter_type
action find
entity Q5659882
relation P69
type Q3918
[ANSWER]
['Q5659882', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q5659882 property:P69 ?g . ?g rdf:type ontology:Q3918 }
University of South Carolina
University of South Carolina
action filter_type
action find
entity Harold A. Stevens
relation educated at
type university
['Harold A. Stevens', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Harold_A._Stevens property:educated_at ?g . ?g rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P127
Q11032 Q811979
USER
How many newspapers and architectural structures belongs to that university ?
(c(Q11032),P127,Q1024426) (c(Q811979),P127,Q1024426) (c(Q11032),P127,Q1024426) (c(Q811979),P127,Q1024426)
action count
action union
action filter_type
action find_reverse
entity Q1024426
relation P127
type Q11032
action filter_type
action find_reverse
entity Q1024426
relation P127
type Q811979
[{'concept': 'Q11032'}, 'P127', 'Q1024426'] [{'concept': 'Q811979'}, 'P127', 'Q1024426'] [{'concept': 'Q11032'}, 'P127', 'Q1024426'] [{'concept': 'Q811979'}, 'P127', 'Q1024426']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { ?a property:P127 resource:Q1024426 . ?a rdf:type ontology:Q811979 } UNION { ?a property:P127 resource:Q1024426 . ?a rdf:type ontology:Q11032 } }
action count
action union
action filter_type
action find_reverse
entity University of South Carolina
relation owned by
type newspaper
action filter_type
action find_reverse
entity University of South Carolina
relation owned by
type architectural structure
[{'concept': 'newspaper'}, 'owned by', 'University of South Carolina'] [{'concept': 'architectural structure'}, 'owned by', 'University of South Carolina'] [{'concept': 'newspaper'}, 'owned by', 'University of South Carolina'] [{'concept': 'architectural structure'}, 'owned by', 'University of South Carolina']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { ?a property:owned_by resource:University_of_South_Carolina . ?a rdf:type ontology:architectural_structure } UNION { ?a property:owned_by resource:University_of_South_Carolina . ?a rdf:type ontology:newspaper } }
[]
newspaper architectural structure
SYSTEM
1 newspapers and 1 architectural structures
Q5407196 Q7728651
(c(Q11032),P127,Q1024426) (c(Q811979),P127,Q1024426) (c(Q11032),P127,Q1024426) (c(Q811979),P127,Q1024426)
action count
action union
action filter_type
action find_reverse
entity Q1024426
relation P127
type Q11032
action filter_type
action find_reverse
entity Q1024426
relation P127
type Q811979
[ANSWER]
[{'concept': 'Q11032'}, 'P127', 'Q1024426'] [{'concept': 'Q811979'}, 'P127', 'Q1024426'] [{'concept': 'Q11032'}, 'P127', 'Q1024426'] [{'concept': 'Q811979'}, 'P127', 'Q1024426']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { ?a property:P127 resource:Q1024426 . ?a rdf:type ontology:Q811979 } UNION { ?a property:P127 resource:Q1024426 . ?a rdf:type ontology:Q11032 } }
Eugene E. Stone III Stadium The Daily Gamecock
1 newspapers and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity University of South Carolina
relation owned by
type newspaper
action filter_type
action find_reverse
entity University of South Carolina
relation owned by
type architectural structure
[{'concept': 'newspaper'}, 'owned by', 'University of South Carolina'] [{'concept': 'architectural structure'}, 'owned by', 'University of South Carolina'] [{'concept': 'newspaper'}, 'owned by', 'University of South Carolina'] [{'concept': 'architectural structure'}, 'owned by', 'University of South Carolina']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { { ?a property:owned_by resource:University_of_South_Carolina . ?a rdf:type ontology:architectural_structure } UNION { ?a property:owned_by resource:University_of_South_Carolina . ?a rdf:type ontology:newspaper } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1547129 Q5659882
P27
Q15617994
USER
Which administrative territories are the native countriesof Harold A. Stevens or Alexandre Paixão ?
OR((Q5659882,P27,c(Q15617994)), (Q1547129,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5659882
relation P27
action find
entity Q1547129
relation P27
type Q15617994
{'OR': [['Q5659882', 'P27', {'concept': 'Q15617994'}], ['Q1547129', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5659882 property:P27 ?r } UNION { resource:Q1547129 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Alexandre Paixão Harold A. Stevens
action filter_type
action union
action find
entity Harold A. Stevens
relation country of citizenship
action find
entity Alexandre Paixão
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harold A. Stevens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexandre Paixão', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Harold_A._Stevens property:country_of_citizenship ?r } UNION { resource:Alexandre_Paixão property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q45
SYSTEM
United States of America, Portugal
Q30 Q45
OR((Q5659882,P27,c(Q15617994)), (Q1547129,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5659882
relation P27
action find
entity Q1547129
relation P27
type Q15617994
[ANSWERS] are the native countriesof Harold A. Stevens or Alexandre Paixão
{'OR': [['Q5659882', 'P27', {'concept': 'Q15617994'}], ['Q1547129', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5659882 property:P27 ?r } UNION { resource:Q1547129 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America Portugal
United States of America and Portugal are the native countriesof Harold A. Stevens or Alexandre Paixão
United States of America Portugal
action filter_type
action union
action find
entity Harold A. Stevens
relation country of citizenship
action find
entity Alexandre Paixão
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harold A. Stevens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexandre Paixão', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Harold_A._Stevens property:country_of_citizenship ?r } UNION { resource:Alexandre_Paixão property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q564428
P17
Q42889
USER
Are Flexity Swift present in those administrative territories ?
(Q564428,P17,Q30) (Q564428,P17,Q45)
action is_in
entity prev_answer
action find
entity Q564428
relation P17
['Q564428', 'P17', 'Q30'] ['Q564428', 'P17', 'Q45']
ASK WHERE { VALUES ( ?m ) { ( resource:Q30 ) ( resource:Q45 ) } . resource:Q564428 property:P17 ?m }
Flexity Swift
action is_in
entity prev_answer
action find
entity Flexity Swift
relation country
['Flexity Swift', 'country', 'United States of America'] ['Flexity Swift', 'country', 'Portugal']
ASK WHERE { VALUES ( ?m ) { ( resource:United_States_of_America ) ( resource:Portugal ) } . resource:Flexity_Swift property:country ?m }
[]
vehicle
SYSTEM
YES
(Q564428,P17,Q30) (Q564428,P17,Q45)
action is_in
entity prev_answer
action find
entity Q564428
relation P17
[ANSWER]
['Q564428', 'P17', 'Q30'] ['Q564428', 'P17', 'Q45']
ASK WHERE { VALUES ( ?m ) { ( resource:Q30 ) ( resource:Q45 ) } . resource:Q564428 property:P17 ?m }
Yes
action is_in
entity prev_answer
action find
entity Flexity Swift
relation country
['Flexity Swift', 'country', 'United States of America'] ['Flexity Swift', 'country', 'Portugal']
ASK WHERE { VALUES ( ?m ) { ( resource:United_States_of_America ) ( resource:Portugal ) } . resource:Flexity_Swift property:country ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1130957
P122
Q43229 Q22676587 Q15617994
USER
How many administrative territories have around the same number of organizations and monarchic systems as government as Courtdale ?
(c(Q15617994),P122,c(Q43229)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q1130957
relation P122
type Q43229
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?x WHERE { { ?x property:P122 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q22676587 } UNION { ?x property:P122 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q43229 } } GROUP BY ?x } . FILTER ( ?b = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q1130957 property:P122 ?i . { { ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q22676587 } } } } }
Courtdale
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Courtdale
relation basic form of government
type organization
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?x WHERE { { ?x property:basic_form_of_government ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:monarchic_system } UNION { ?x property:basic_form_of_government ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:organization } } GROUP BY ?x } . FILTER ( ?b = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Courtdale property:basic_form_of_government ?i . { { ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:monarchic_system } } } } }
[]
organization monarchic system designation for an administrative territorial entity
SYSTEM
93
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q43229)|c(Q22676587))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q1130957
relation P122
type Q43229
type Q22676587
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?x WHERE { { ?x property:P122 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q22676587 } UNION { ?x property:P122 ?t . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q43229 } } GROUP BY ?x } . FILTER ( ?b = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q1130957 property:P122 ?i . { { ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q22676587 } } } } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
93
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Courtdale
relation basic form of government
type organization
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?x WHERE { { ?x property:basic_form_of_government ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:monarchic_system } UNION { ?x property:basic_form_of_government ?t . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:organization } } GROUP BY ?x } . FILTER ( ?b = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Courtdale property:basic_form_of_government ?i . { { ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:monarchic_system } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2041947 Q564428
P47 P17
Q1048835
USER
Which political territories are Flexity Swift situated in or have a shared border with Llaurí ?
OR((Q564428,P17,c(Q1048835)), (Q2041947,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q564428
relation P17
action find
entity Q2041947
relation P47
type Q1048835
{'OR': [['Q564428', 'P17', {'concept': 'Q1048835'}], ['Q2041947', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q564428 property:P17 ?v } UNION { resource:Q2041947 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Llaurí Flexity Swift
action filter_type
action union
action find
entity Flexity Swift
relation country
action find
entity Llaurí
relation shares border with
type political territorial entity
{'OR': [['Flexity Swift', 'country', {'concept': 'political territorial entity'}], ['Llaurí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Flexity_Swift property:country ?v } UNION { resource:Llaurí property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q1826684 Q986733 Q408 Q2045828 Q2264681
SYSTEM
Germany, Favara, Cullera, Australia, Corbera, Fortaleny
Q183 Q1826684 Q986733 Q408 Q2045828 Q2264681
OR((Q564428,P17,c(Q1048835)), (Q2041947,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q564428
relation P17
action find
entity Q2041947
relation P47
type Q1048835
Flexity Swift are situated have South [ANSWERS]
{'OR': [['Q564428', 'P17', {'concept': 'Q1048835'}], ['Q2041947', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q564428 property:P17 ?v } UNION { resource:Q2041947 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Germany Favara Cullera Australia Corbera Fortaleny
Flexity Swift are situated have South Germany, Favara, Cullera, Australia, Corbera and Fortaleny
Germany Favara Cullera Australia Corbera Fortaleny
action filter_type
action union
action find
entity Flexity Swift
relation country
action find
entity Llaurí
relation shares border with
type political territorial entity
{'OR': [['Flexity Swift', 'country', {'concept': 'political territorial entity'}], ['Llaurí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Flexity_Swift property:country ?v } UNION { resource:Llaurí property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q183 Q1826684 Q986733 Q408 Q2045828 Q2264681
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of Germany, Favara, Cullera, Australia, Corbera and Fortaleny ?
(Q183,P1313,c(Q12737077)) (Q1826684,P1313,c(Q12737077)) (Q986733,P1313,c(Q12737077)) (Q408,P1313,c(Q12737077)) (Q2045828,P1313,c(Q12737077)) (Q2264681,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q183
relation P1313
type Q12737077
action filter_type
action find
entity Q1826684
relation P1313
type Q12737077
action filter_type
action find
entity Q986733
relation P1313
type Q12737077
action filter_type
action find
entity Q408
relation P1313
type Q12737077
action filter_type
action find
entity Q2045828
relation P1313
type Q12737077
action filter_type
action find
entity Q2264681
relation P1313
type Q12737077
['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q1826684', 'P1313', {'concept': 'Q12737077'}] ['Q986733', 'P1313', {'concept': 'Q12737077'}] ['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q2045828', 'P1313', {'concept': 'Q12737077'}] ['Q2264681', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { resource:Q1826684 property:P1313 ?w . ?w rdf:type ontology:Q12737077 } UNION { resource:Q183 property:P1313 ?w . ?w rdf:type ontology:Q12737077 } }
Germany Favara Cullera Australia Corbera Fortaleny
action union
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
action filter_type
action find
entity Favara
relation office held by head of government
type occupation
action filter_type
action find
entity Cullera
relation office held by head of government
type occupation
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
action filter_type
action find
entity Corbera
relation office held by head of government
type occupation
action filter_type
action find
entity Fortaleny
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Favara', 'office held by head of government', {'concept': 'occupation'}] ['Cullera', 'office held by head of government', {'concept': 'occupation'}] ['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Corbera', 'office held by head of government', {'concept': 'occupation'}] ['Fortaleny', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { resource:Favara property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation } UNION { resource:Germany property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation } }
[]
occupation
Q4970706 Q319145 Q26696710
SYSTEM
Federal Chancellor of Germany, Prime Minister of Australia, mayor of Favareta
Q4970706 Q26696710 Q26702519 Q319145 Q26697647 Q26697711
(Q183,P1313,c(Q12737077)) (Q1826684,P1313,c(Q12737077)) (Q986733,P1313,c(Q12737077)) (Q408,P1313,c(Q12737077)) (Q2045828,P1313,c(Q12737077)) (Q2264681,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q183
relation P1313
type Q12737077
action filter_type
action find
entity Q1826684
relation P1313
type Q12737077
action filter_type
action find
entity Q986733
relation P1313
type Q12737077
action filter_type
action find
entity Q408
relation P1313
type Q12737077
action filter_type
action find
entity Q2045828
relation P1313
type Q12737077
action filter_type
action find
entity Q2264681
relation P1313
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of Germany, Favara, Cullera, Australia, Corbera and Fortaleny
['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q1826684', 'P1313', {'concept': 'Q12737077'}] ['Q986733', 'P1313', {'concept': 'Q12737077'}] ['Q408', 'P1313', {'concept': 'Q12737077'}] ['Q2045828', 'P1313', {'concept': 'Q12737077'}] ['Q2264681', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { resource:Q1826684 property:P1313 ?w . ?w rdf:type ontology:Q12737077 } UNION { resource:Q183 property:P1313 ?w . ?w rdf:type ontology:Q12737077 } }
Federal Chancellor of Germany mayor of Favareta mayor of Cullera Prime Minister of Australia mayor of Corbera mayor of Fortaleny
Federal Chancellor of Germany, Prime Minister of Australia and mayor of Favareta serve as the political office that are fulfilled by the head of the government of Germany, Favara, Cullera, Australia, Corbera and Fortaleny
Federal Chancellor of Germany Prime Minister of Australia mayor of Favareta
action union
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
action filter_type
action find
entity Favara
relation office held by head of government
type occupation
action filter_type
action find
entity Cullera
relation office held by head of government
type occupation
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
action filter_type
action find
entity Corbera
relation office held by head of government
type occupation
action filter_type
action find
entity Fortaleny
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Favara', 'office held by head of government', {'concept': 'occupation'}] ['Cullera', 'office held by head of government', {'concept': 'occupation'}] ['Australia', 'office held by head of government', {'concept': 'occupation'}] ['Corbera', 'office held by head of government', {'concept': 'occupation'}] ['Fortaleny', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { resource:Favara property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation } UNION { resource:Germany property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4970706 Q319145 Q26696710
P1313
Q1048835
USER
Which political territories have those occupations as title of head of government ?
(c(Q1048835),P1313,Q4970706) (c(Q1048835),P1313,Q319145) (c(Q1048835),P1313,Q26696710)
action filter_type
action find_reverse
entity prev_answer
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q4970706'] [{'concept': 'Q1048835'}, 'P1313', 'Q319145'] [{'concept': 'Q1048835'}, 'P1313', 'Q26696710']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . VALUES ( ?s ) { ( resource:Q4970706 ) ( resource:Q26696710 ) ( resource:Q26702519 ) } . ?m property:P1313 ?s }
Federal Chancellor of Germany Prime Minister of Australia mayor of Favareta
action filter_type
action find_reverse
entity prev_answer
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'Federal Chancellor of Germany'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'Prime Minister of Australia'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Favareta']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . VALUES ( ?s ) { ( resource:Federal_Chancellor_of_Germany ) ( resource:mayor_of_Favareta ) ( resource:mayor_of_Cullera ) } . ?m property:office_held_by_head_of_government ?s }
[]
political territorial entity
Q183 Q408 Q1826684
SYSTEM
Germany, Australia, Favara
Q183 Q408 Q1826684
(c(Q1048835),P1313,Q4970706) (c(Q1048835),P1313,Q319145) (c(Q1048835),P1313,Q26696710)
action filter_type
action find_reverse
entity prev_answer
relation P1313
type Q1048835
[ANSWERS] have those occupations as title of head of government
[{'concept': 'Q1048835'}, 'P1313', 'Q4970706'] [{'concept': 'Q1048835'}, 'P1313', 'Q319145'] [{'concept': 'Q1048835'}, 'P1313', 'Q26696710']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . VALUES ( ?s ) { ( resource:Q4970706 ) ( resource:Q26696710 ) ( resource:Q26702519 ) } . ?m property:P1313 ?s }
Germany Australia Favara
Germany, Australia and Favara have those occupations as title of head of government
Germany Australia Favara
action filter_type
action find_reverse
entity prev_answer
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'Federal Chancellor of Germany'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'Prime Minister of Australia'] [{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Favareta']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . VALUES ( ?s ) { ( resource:Federal_Chancellor_of_Germany ) ( resource:mayor_of_Favareta ) ( resource:mayor_of_Cullera ) } . ?m property:office_held_by_head_of_government ?s }
[]