Simple Question (Direct)
Simple Question
Q2128476
P937
Q56061
USER
Which administrative territory is the work location of Rainer Wimmer ?
(Q2128476,P937,c(Q56061))
action filter_type
action find
entity Q2128476
relation P937
type Q56061
['Q2128476', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2128476 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Rainer Wimmer
action filter_type
action find
entity Rainer Wimmer
relation work location
type administrative territorial entity
['Rainer Wimmer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rainer_Wimmer property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q2128476,P937,c(Q56061))
action filter_type
action find
entity Q2128476
relation P937
type Q56061
[ANSWER] is the work location of Rainer Wimmer
['Q2128476', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2128476 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Vienna
Vienna is the work location of Rainer Wimmer
Vienna
action filter_type
action find
entity Rainer Wimmer
relation work location
type administrative territorial entity
['Rainer Wimmer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rainer_Wimmer property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2128476
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q1741,P39,c(Q12737077))
action filter_type
action find
entity Q2128476
relation P39
type Q12737077
['Q1741', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q2128476 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Rainer Wimmer
action filter_type
action find
entity Rainer Wimmer
relation position held
type occupation
['Vienna', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Rainer_Wimmer property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q17535155
SYSTEM
Member of the National Council of Austria
Q17535155
(Q1741,P39,c(Q12737077))
action filter_type
action find
entity Q2128476
relation P39
type Q12737077
The [ANSWER] was a position occupied by that person
['Q1741', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q2128476 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Member of the National Council of Austria
The Member of the National Council of Austria was a position occupied by that person
Member of the National Council of Austria
action filter_type
action find
entity Rainer Wimmer
relation position held
type occupation
['Vienna', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Rainer_Wimmer property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11274884 Q2128476
P39 P106
Q12737077
USER
Which occupations were the positions for which Rainer Wimmer were appointed or are the professions of Erik Egeberg ?
OR((Q2128476,P39,c(Q12737077)), (Q11274884,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2128476
relation P39
action find
entity Q11274884
relation P106
type Q12737077
{'OR': [['Q2128476', 'P39', {'concept': 'Q12737077'}], ['Q11274884', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2128476 property:P39 ?t } UNION { resource:Q11274884 property:P106 ?t } } . ?t rdf:type ontology:Q12737077 }
Erik Egeberg Rainer Wimmer
action filter_type
action union
action find
entity Rainer Wimmer
relation position held
action find
entity Erik Egeberg
relation occupation
type occupation
{'OR': [['Rainer Wimmer', 'position held', {'concept': 'occupation'}], ['Erik Egeberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Rainer_Wimmer property:position_held ?t } UNION { resource:Erik_Egeberg property:occupation ?t } } . ?t rdf:type ontology:occupation }
[]
occupation
Q17535155 Q333634
SYSTEM
Member of the National Council of Austria, translator
Q17535155 Q333634
OR((Q2128476,P39,c(Q12737077)), (Q11274884,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2128476
relation P39
action find
entity Q11274884
relation P106
type Q12737077
[ANSWERS] were the positions for which Rainer Wimmer were appointed or are the professions of Erik Egeberg
{'OR': [['Q2128476', 'P39', {'concept': 'Q12737077'}], ['Q11274884', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2128476 property:P39 ?t } UNION { resource:Q11274884 property:P106 ?t } } . ?t rdf:type ontology:Q12737077 }
Member of the National Council of Austria translator
Member of the National Council of Austria and translator were the positions for which Rainer Wimmer were appointed or are the professions of Erik Egeberg
Member of the National Council of Austria translator
action filter_type
action union
action find
entity Rainer Wimmer
relation position held
action find
entity Erik Egeberg
relation occupation
type occupation
{'OR': [['Rainer Wimmer', 'position held', {'concept': 'occupation'}], ['Erik Egeberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Rainer_Wimmer property:position_held ?t } UNION { resource:Erik_Egeberg property:occupation ?t } } . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2128476
P102
Q7210356
USER
Which political organization is Rainer Wimmer a member of ?
(Q2128476,P102,c(Q7210356))
action filter_type
action find
entity Q2128476
relation P102
type Q7210356
['Q2128476', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q2128476 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Rainer Wimmer
action filter_type
action find
entity Rainer Wimmer
relation member of political party
type political organization
['Rainer Wimmer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Rainer_Wimmer property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q179111
SYSTEM
Social Democratic Party of Austria
Q179111
(Q2128476,P102,c(Q7210356))
action filter_type
action find
entity Q2128476
relation P102
type Q7210356
The [ANSWER] is Rainer Wimmer a member of
['Q2128476', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q2128476 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Social Democratic Party of Austria
The Social Democratic Party of Austria is Rainer Wimmer a member of
Social Democratic Party of Austria
action filter_type
action find
entity Rainer Wimmer
relation member of political party
type political organization
['Rainer Wimmer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Rainer_Wimmer property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5043617
Q7210356
USER
And how about Carmen Yulín Cruz?
(Q5043617,P102,c(Q7210356))
action filter_type
action find
entity Q5043617
relation P102
type Q7210356
['Q5043617', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q5043617 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Carmen Yulín Cruz
action filter_type
action find
entity Carmen Yulín Cruz
relation member of political party
type political organization
['Carmen Yulín Cruz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Carmen_Yulín_Cruz property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q199319
SYSTEM
Popular Democratic Party
Q199319
(Q5043617,P102,c(Q7210356))
action filter_type
action find
entity Q5043617
relation P102
type Q7210356
[ANSWER]
['Q5043617', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q5043617 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Popular Democratic Party
Popular Democratic Party
action filter_type
action find
entity Carmen Yulín Cruz
relation member of political party
type political organization
['Carmen Yulín Cruz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Carmen_Yulín_Cruz property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q967762
P748
Q1752346 Q502895 Q12737077
USER
How many occupations were appointed by greater number of assemblies or people than United States Secretary of Education ?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q967762
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { { ?c property:P748 ?m . ?m rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q12737077 } UNION { ?c property:P748 ?m . ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } } GROUP BY ?c } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q967762 property:P748 ?b . { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } } } }
United States Secretary of Education
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of Education
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { { ?c property:appointed_by ?m . ?m rdf:type ontology:assembly . ?c rdf:type ontology:occupation } UNION { ?c property:appointed_by ?m . ?c rdf:type ontology:occupation . ?m rdf:type ontology:common_name } } GROUP BY ?c } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:United_States_Secretary_of_Education property:appointed_by ?b . { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } } } }
[]
assembly common name occupation
SYSTEM
50
Q1846384 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q15305714 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q842386 Q835586 Q19056310 Q4970706 Q890030 Q796593 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q862559 Q7574264 Q182762 Q1060844 Q3397406 Q691615 Q152814 Q3409203 Q195965 Q327948 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q1370482 Q3315134 Q3777749 Q111784 Q1362216 Q628102 Q25860233
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q967762
relation P748
type Q1752346
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { { ?c property:P748 ?m . ?m rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q12737077 } UNION { ?c property:P748 ?m . ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } } GROUP BY ?c } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q967762 property:P748 ?b . { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } } } }
Secretary of State for Wales Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Russia Prime Minister of Serbia President of Botswana Federal Chancellor of Germany State President of South Africa President of Malta Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Malaysia Speaker of the Hellenic Parliament Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta President of Greece Governor of Gibraltar President of Israel Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office President of Cuba Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland President of Nauru Secretary of State for Exiting the European Union
50
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of Education
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { { ?c property:appointed_by ?m . ?m rdf:type ontology:assembly . ?c rdf:type ontology:occupation } UNION { ?c property:appointed_by ?m . ?c rdf:type ontology:occupation . ?m rdf:type ontology:common_name } } GROUP BY ?c } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:United_States_Secretary_of_Education property:appointed_by ?b . { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4122271
P748
Q1752346 Q502895 Q12737077
USER
And how about Premier of the People's Republic of China?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q4122271
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?p WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q4122271 property:P748 ?b . { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } } } . FILTER ( ?c > ?y ) }
Premier of the People's Republic of China
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Premier of the People's Republic of China
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?p WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Premier_of_the_People's_Republic_of_China property:appointed_by ?b . { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } } } . FILTER ( ?c > ?y ) }
[]
assembly common name occupation
SYSTEM
50
Q1846384 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q15305714 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q842386 Q835586 Q19056310 Q4970706 Q890030 Q796593 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q862559 Q7574264 Q182762 Q1060844 Q3397406 Q691615 Q152814 Q3409203 Q195965 Q327948 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q1370482 Q3315134 Q3777749 Q111784 Q1362216 Q628102 Q25860233
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q4122271
relation P748
type Q1752346
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?p WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q4122271 property:P748 ?b . { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } } } . FILTER ( ?c > ?y ) }
Secretary of State for Wales Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Russia Prime Minister of Serbia President of Botswana Federal Chancellor of Germany State President of South Africa President of Malta Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Malaysia Speaker of the Hellenic Parliament Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta President of Greece Governor of Gibraltar President of Israel Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office President of Cuba Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland President of Nauru Secretary of State for Exiting the European Union
50
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Premier of the People's Republic of China
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?p WHERE { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Premier_of_the_People's_Republic_of_China property:appointed_by ?b . { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } } } . FILTER ( ?c > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52066
P47
Q15617994
USER
Which administrative territories are next to the border of Bibbiena ?
(c(Q15617994),P47,Q52066)
action filter_type
action find
entity Q52066
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q52066']
SELECT DISTINCT ?z WHERE { resource:Q52066 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Bibbiena
action filter_type
action find
entity Bibbiena
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bibbiena']
SELECT DISTINCT ?z WHERE { resource:Bibbiena property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52077 Q99933 Q52095
SYSTEM
Chiusi della Verna, Bagno di Romagna, Poppi
Q99933 Q52077 Q52095 Q52070 Q52091
(c(Q15617994),P47,Q52066)
action filter_type
action find
entity Q52066
relation P47
type Q15617994
[ANSWERS] are next to the border of Bibbiena
[{'concept': 'Q15617994'}, 'P47', 'Q52066']
SELECT DISTINCT ?z WHERE { resource:Q52066 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Bagno di Romagna Chiusi della Verna Poppi Castel Focognano Ortignano Raggiolo
Chiusi della Verna, Bagno di Romagna and Poppi are next to the border of Bibbiena
Chiusi della Verna Bagno di Romagna Poppi
action filter_type
action find
entity Bibbiena
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bibbiena']
SELECT DISTINCT ?z WHERE { resource:Bibbiena property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q52077
P190
Q15617994
USER
Which administrative territory is partner town of that one ?
(c(Q15617994),P190,Q52077)
action filter_type
action find
entity Q52077
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q52077']
SELECT DISTINCT ?e WHERE { resource:Q52077 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Chiusi della Verna
action filter_type
action find
entity Chiusi della Verna
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Chiusi della Verna']
SELECT DISTINCT ?e WHERE { resource:Chiusi_della_Verna property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q52095
SYSTEM
Did you mean Poppi ?
Q52077 Q99933 Q52095
(c(Q15617994),P190,Q52077) (c(Q15617994),P190,Q99933) (c(Q15617994),P190,Q52095)
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q52077'] [{'concept': 'Q15617994'}, 'P190', 'Q99933'] [{'concept': 'Q15617994'}, 'P190', 'Q52095']
SELECT DISTINCT ?e WHERE { resource:Q52077 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Chiusi della Verna Bagno di Romagna Poppi
Did you mean Poppi ?
Poppi
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Chiusi della Verna'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bagno di Romagna'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Poppi']
SELECT DISTINCT ?e WHERE { resource:Chiusi_della_Verna property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Chiusi della Verna. Could you tell me the answer for that?
(c(Q15617994),P190,Q52077)
Q52077
[{'concept': 'Q15617994'}, 'P190', 'Q52077']
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Chiusi della Verna']
[]
Q504431
SYSTEM
Helmstadt
Q504431
(c(Q15617994),P190,Q52077)
action filter_type
action find
entity Q52077
relation P190
type Q15617994
[ANSWER] is partner town of that one
[{'concept': 'Q15617994'}, 'P190', 'Q52077']
SELECT DISTINCT ?e WHERE { resource:Q52077 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Helmstadt
Helmstadt is partner town of that one
Helmstadt
action filter_type
action find
entity Chiusi della Verna
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Chiusi della Verna']
SELECT DISTINCT ?e WHERE { resource:Chiusi_della_Verna property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]