Simple Question (Direct)
Simple Question
Q448283
P106
Q12737077
USER
What are the job of Karen Brødsgaard ?
(Q448283,P106,c(Q12737077))
action filter_type
action find
entity Q448283
relation P106
type Q12737077
['Q448283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q448283 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Karen Brødsgaard
action filter_type
action find
entity Karen Brødsgaard
relation occupation
type occupation
['Karen Brødsgaard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Karen_Brødsgaard property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13365117 Q937857
SYSTEM
handball player, association football player
Q13365117 Q937857
(Q448283,P106,c(Q12737077))
action filter_type
action find
entity Q448283
relation P106
type Q12737077
The job of Karen Brødsgaard are a [ANSWERS]
['Q448283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q448283 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
handball player association football player
The job of Karen Brødsgaard are a handball player and association football player
handball player association football player
action filter_type
action find
entity Karen Brødsgaard
relation occupation
type occupation
['Karen Brødsgaard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Karen_Brødsgaard property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13365117 Q937857
P425
Q349
USER
Which sports are associated with the field of occupation those ones ?
(Q13365117,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q13365117', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . ?q property:P425 ?r . VALUES ( ?q ) { ( resource:Q13365117 ) ( resource:Q937857 ) } }
handball player association football player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['handball player', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . ?q property:field_of_this_occupation ?r . VALUES ( ?q ) { ( resource:handball_player ) ( resource:association_football_player ) } }
[]
sport
Q8418 Q2736
SYSTEM
handball, association football
Q8418 Q2736
(Q13365117,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
[ANSWERS] are associated with the field of occupation those ones
['Q13365117', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . ?q property:P425 ?r . VALUES ( ?q ) { ( resource:Q13365117 ) ( resource:Q937857 ) } }
handball association football
Handball and association football are associated with the field of occupation those ones
handball association football
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['handball player', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . ?q property:field_of_this_occupation ?r . VALUES ( ?q ) { ( resource:handball_player ) ( resource:association_football_player ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q448283
P641
Q349
USER
What did Karen Brødsgaard participate in ?
(Q448283,P641,c(Q349))
action filter_type
action find
entity Q448283
relation P641
type Q349
['Q448283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q448283 property:P641 ?n . ?n rdf:type ontology:Q349 }
Karen Brødsgaard
action filter_type
action find
entity Karen Brødsgaard
relation sport
type sport
['Karen Brødsgaard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Karen_Brødsgaard property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q8418
SYSTEM
handball
Q8418
(Q448283,P641,c(Q349))
action filter_type
action find
entity Q448283
relation P641
type Q349
Karen Brødsgaard participated in [ANSWER]
['Q448283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q448283 property:P641 ?n . ?n rdf:type ontology:Q349 }
handball
Karen Brødsgaard participated in handball
handball
action filter_type
action find
entity Karen Brødsgaard
relation sport
type sport
['Karen Brødsgaard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Karen_Brødsgaard property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q448283
P27
Q1048835
USER
Which political territory is the country of citizenship of Karen Brødsgaard ?
(Q448283,P27,c(Q1048835))
action filter_type
action find
entity Q448283
relation P27
type Q1048835
['Q448283', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q448283 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Karen Brødsgaard
action filter_type
action find
entity Karen Brødsgaard
relation country of citizenship
type political territorial entity
['Karen Brødsgaard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Karen_Brødsgaard property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q448283,P27,c(Q1048835))
action filter_type
action find
entity Q448283
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Karen Brødsgaard
['Q448283', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q448283 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Denmark
Denmark is the country of citizenship of Karen Brødsgaard
Denmark
action filter_type
action find
entity Karen Brødsgaard
relation country of citizenship
type political territorial entity
['Karen Brødsgaard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Karen_Brødsgaard property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q448283
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q35,P19,c(Q56061))
action filter_type
action find
entity Q448283
relation P19
type Q56061
['Q35', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q448283 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Karen Brødsgaard
action filter_type
action find
entity Karen Brødsgaard
relation place of birth
type administrative territorial entity
['Denmark', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Karen_Brødsgaard property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q190235
SYSTEM
Horsens
Q190235
(Q35,P19,c(Q56061))
action filter_type
action find
entity Q448283
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q35', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q448283 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Horsens
Horsens is the place of birth of that person
Horsens
action filter_type
action find
entity Karen Brødsgaard
relation place of birth
type administrative territorial entity
['Denmark', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Karen_Brødsgaard property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q809102 Q448283
P54
Q12973014
USER
Which sports teams have Karen Brødsgaard or Barry Tallackson as their member ?
OR((Q448283,P54,c(Q12973014)), (Q809102,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q448283
relation P54
action find
entity Q809102
relation P54
type Q12973014
{'OR': [['Q448283', 'P54', {'concept': 'Q12973014'}], ['Q809102', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q809102 property:P54 ?k } UNION { resource:Q448283 property:P54 ?k } } . ?k rdf:type ontology:Q12973014 }
Barry Tallackson Karen Brødsgaard
action filter_type
action union
action find
entity Karen Brødsgaard
relation member of sports team
action find
entity Barry Tallackson
relation member of sports team
type sports team
{'OR': [['Karen Brødsgaard', 'member of sports team', {'concept': 'sports team'}], ['Barry Tallackson', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Barry_Tallackson property:member_of_sports_team ?k } UNION { resource:Karen_Brødsgaard property:member_of_sports_team ?k } } . ?k rdf:type ontology:sports_team }
[]
sports team
Q192081 Q928991
SYSTEM
New Jersey Devils, Aalborg DH
Q192081 Q928991
OR((Q448283,P54,c(Q12973014)), (Q809102,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q448283
relation P54
action find
entity Q809102
relation P54
type Q12973014
[ANSWERS] have Karen Brødsgaard or Barry Tallackson as their member
{'OR': [['Q448283', 'P54', {'concept': 'Q12973014'}], ['Q809102', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q809102 property:P54 ?k } UNION { resource:Q448283 property:P54 ?k } } . ?k rdf:type ontology:Q12973014 }
New Jersey Devils Aalborg DH
New Jersey Devils and Aalborg DH have Karen Brødsgaard or Barry Tallackson as their member
New Jersey Devils Aalborg DH
action filter_type
action union
action find
entity Karen Brødsgaard
relation member of sports team
action find
entity Barry Tallackson
relation member of sports team
type sports team
{'OR': [['Karen Brødsgaard', 'member of sports team', {'concept': 'sports team'}], ['Barry Tallackson', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Barry_Tallackson property:member_of_sports_team ?k } UNION { resource:Karen_Brødsgaard property:member_of_sports_team ?k } } . ?k rdf:type ontology:sports_team }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that sports team present in ?
(Q192081,P17,c(Q15617994))
['Q192081', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q192081 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['New Jersey Devils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Jersey_Devils property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q928991
SYSTEM
Did you mean Aalborg DH ?
(Q192081,P17,c(Q15617994)) (Q928991,P17,c(Q15617994))
[ANSWER]
['Q192081', 'P17', {'concept': 'Q15617994'}] ['Q928991', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q192081 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Aalborg DH ?
Aalborg DH
['New Jersey Devils', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Aalborg DH', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Jersey_Devils property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant New Jersey Devils. Could you tell me the answer for that?
(Q192081,P17,c(Q15617994))
Q192081
['Q192081', 'P17', {'concept': 'Q15617994'}]
['New Jersey Devils', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q192081,P17,c(Q15617994))
[ANSWER]
['Q192081', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q192081 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['New Jersey Devils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Jersey_Devils property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6865833
P748
Q701632 Q1307214 Q12737077
USER
How many occupations did more number of municipal councils and forms of government appoint than Minister for Finance ?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q1307214 ) ( ontology:Q701632 ) } . ?t rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } } . resource:Q6865833 property:P748 ?q } } . FILTER ( ?z > ?a ) }
Minister for Finance
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:form_of_government ) ( ontology:municipal_council ) } . ?t rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } } . resource:Minister_for_Finance property:appointed_by ?q } } . FILTER ( ?z > ?a ) }
[]
municipal council form of government occupation
SYSTEM
30
Q20748656 Q20890913 Q21371106 Q1355456 Q1507619 Q21013169 Q910308 Q1753754 Q943379 Q20872382 Q20872273 Q20891385 Q21384866 Q20194364 Q21383592 Q583809 Q2962001 Q20859388 Q20867550 Q20872296 Q213107 Q20872339 Q162754 Q26209358 Q217217 Q20992515 Q1281611 Q26721218 Q1752225 Q687908
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q701632
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q1307214 ) ( ontology:Q701632 ) } . ?t rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } } . resource:Q6865833 property:P748 ?q } } . FILTER ( ?z > ?a ) }
municipal executive of Zoetermeer municipal executive of Eindhoven municipal executive of Amersfoort Lord Chamberlain Deputy Prime Minister of the United Kingdom municipal executive of The Hague Lord Privy Seal Master of the Rolls Lord President of the Council municipal executive of Coevorden municipal executive of Boxmeer municipal executive of Deventer municipal executive of Rotterdam municipal executive of Amsterdam municipal executive of Haarlem Solicitor General for England and Wales Chief of the Defence Staff municipal executive of Mierlo municipal executive of Gorinchem municipal executive of Almere Prime Minister of Belgium municipal executive of Woerden Chancellor of the Duchy of Lancaster municipal executive of Warffum Lord Chancellor municipal executive of Utrecht Lieutenant Governor of Jersey municipal executive of Almere Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
30
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:form_of_government ) ( ontology:municipal_council ) } . ?t rdf:type ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } } . resource:Minister_for_Finance property:appointed_by ?q } } . FILTER ( ?z > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20128098
P748
Q701632 Q1307214 Q12737077
USER
And what about Mayor of Deventer?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q20128098
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1307214 ) ( ontology:Q701632 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q20128098 property:P748 ?i . { { ?i rdf:type ontology:Q1307214 } UNION { ?i rdf:type ontology:Q701632 } } } } . FILTER ( ?d > ?y ) }
Mayor of Deventer
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Mayor of Deventer
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:form_of_government ) ( ontology:municipal_council ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Mayor_of_Deventer property:appointed_by ?i . { { ?i rdf:type ontology:form_of_government } UNION { ?i rdf:type ontology:municipal_council } } } } . FILTER ( ?d > ?y ) }
[]
municipal council form of government occupation
SYSTEM
30
Q20748656 Q20890913 Q21371106 Q1355456 Q1507619 Q21013169 Q910308 Q1753754 Q943379 Q20872382 Q20872273 Q20891385 Q21384866 Q20194364 Q21383592 Q583809 Q2962001 Q20859388 Q20867550 Q20872296 Q213107 Q20872339 Q162754 Q26209358 Q217217 Q20992515 Q1281611 Q26721218 Q1752225 Q687908
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q20128098
relation P748
type Q701632
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1307214 ) ( ontology:Q701632 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q20128098 property:P748 ?i . { { ?i rdf:type ontology:Q1307214 } UNION { ?i rdf:type ontology:Q701632 } } } } . FILTER ( ?d > ?y ) }
municipal executive of Zoetermeer municipal executive of Eindhoven municipal executive of Amersfoort Lord Chamberlain Deputy Prime Minister of the United Kingdom municipal executive of The Hague Lord Privy Seal Master of the Rolls Lord President of the Council municipal executive of Coevorden municipal executive of Boxmeer municipal executive of Deventer municipal executive of Rotterdam municipal executive of Amsterdam municipal executive of Haarlem Solicitor General for England and Wales Chief of the Defence Staff municipal executive of Mierlo municipal executive of Gorinchem municipal executive of Almere Prime Minister of Belgium municipal executive of Woerden Chancellor of the Duchy of Lancaster municipal executive of Warffum Lord Chancellor municipal executive of Utrecht Lieutenant Governor of Jersey municipal executive of Almere Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
30
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Mayor of Deventer
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:form_of_government ) ( ontology:municipal_council ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Mayor_of_Deventer property:appointed_by ?i . { { ?i rdf:type ontology:form_of_government } UNION { ?i rdf:type ontology:municipal_council } } } } . FILTER ( ?d > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190235
P36
Q3976655
USER
Which Dutch administrative territory has Horsens as its administrative centre ?
(c(Q3976655),P36,Q190235)
action filter_type
action find_reverse
entity Q190235
relation P36
type Q3976655
[{'concept': 'Q3976655'}, 'P36', 'Q190235']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q190235 . ?a rdf:type ontology:Q3976655 }
Horsens
action filter_type
action find_reverse
entity Horsens
relation capital
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'capital', 'Horsens']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Horsens . ?a rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q512064
SYSTEM
Horsens Municipality
Q512064
(c(Q3976655),P36,Q190235)
action filter_type
action find_reverse
entity Q190235
relation P36
type Q3976655
[ANSWER] has Horsens as its administrative centre
[{'concept': 'Q3976655'}, 'P36', 'Q190235']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q190235 . ?a rdf:type ontology:Q3976655 }
Horsens Municipality
Horsens Municipality has Horsens as its administrative centre
Horsens Municipality
action filter_type
action find_reverse
entity Horsens
relation capital
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'capital', 'Horsens']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Horsens . ?a rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q512064
P6
Q502895
USER
Which person has that Dutch administrative territory as its head of government ?
(Q512064,P6,c(Q502895))
action filter_type
action find
entity Q512064
relation P6
type Q502895
['Q512064', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q512064 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Horsens Municipality
action filter_type
action find
entity Horsens Municipality
relation head of government
type common name
['Horsens Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Horsens_Municipality property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Q12331736
SYSTEM
Peter Sørensen
Q12331736
(Q512064,P6,c(Q502895))
action filter_type
action find
entity Q512064
relation P6
type Q502895
[ANSWER] has that Dutch administrative territory as its head of government
['Q512064', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q512064 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Peter Sørensen
Peter Sørensen has that Dutch administrative territory as its head of government
Peter Sørensen
action filter_type
action find
entity Horsens Municipality
relation head of government
type common name
['Horsens Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Horsens_Municipality property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q512064
P127
Q483110
USER
Which stadium is under posessision of that Dutch administrative territory ?
(c(Q483110),P127,Q12331736)
action filter_type
action find_reverse
entity Q512064
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q12331736']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q512064 . ?w rdf:type ontology:Q483110 }
Horsens Municipality
action filter_type
action find_reverse
entity Horsens Municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Peter Sørensen']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Horsens_Municipality . ?w rdf:type ontology:stadium }
[]
stadium
Q1022855
SYSTEM
CASA Arena Horsens
Q1022855
(c(Q483110),P127,Q12331736)
action filter_type
action find_reverse
entity Q512064
relation P127
type Q483110
[ANSWER] is under posessision of that Dutch administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q12331736']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q512064 . ?w rdf:type ontology:Q483110 }
CASA Arena Horsens
CASA Arena Horsens is under posessision of that Dutch administrative territory
CASA Arena Horsens
action filter_type
action find_reverse
entity Horsens Municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Peter Sørensen']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Horsens_Municipality . ?w rdf:type ontology:stadium }
[]