Simple Question (Direct)
Simple Question
Q6793447
P27
Q15617994
USER
Which administrative territory does Maurice Roberts belong to ?
(Q6793447,P27,c(Q15617994))
action filter_type
action find
entity Q6793447
relation P27
type Q15617994
['Q6793447', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6793447 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Maurice Roberts
action filter_type
action find
entity Maurice Roberts
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Maurice_Roberts property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6793447,P27,c(Q15617994))
action filter_type
action find
entity Q6793447
relation P27
type Q15617994
Maurice Roberts belongs to [ANSWER]
['Q6793447', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6793447 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Maurice Roberts belongs to United States of America
United States of America
action filter_type
action find
entity Maurice Roberts
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Maurice_Roberts property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6793447
P641
Q349
USER
What was the sport that Maurice Roberts was a part of ?
(Q6793447,P641,c(Q349))
action filter_type
action find
entity Q6793447
relation P641
type Q349
['Q6793447', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6793447 property:P641 ?p . ?p rdf:type ontology:Q349 }
Maurice Roberts
action filter_type
action find
entity Maurice Roberts
relation sport
type sport
['Maurice Roberts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Roberts property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6793447,P641,c(Q349))
action filter_type
action find
entity Q6793447
relation P641
type Q349
The sport that Maurice Roberts was a part of was h [ANSWER]
['Q6793447', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6793447 property:P641 ?p . ?p rdf:type ontology:Q349 }
ice hockey
The sport that Maurice Roberts was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Maurice Roberts
relation sport
type sport
['Maurice Roberts', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Roberts property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q698944
Q349
USER
And what about Simon Cziommer?
(Q698944,P641,c(Q349))
action filter_type
action find
entity Q698944
relation P641
type Q349
['Q698944', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q698944 property:P641 ?h . ?h rdf:type ontology:Q349 }
Simon Cziommer
action filter_type
action find
entity Simon Cziommer
relation sport
type sport
['Simon Cziommer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Simon_Cziommer property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q698944,P641,c(Q349))
action filter_type
action find
entity Q698944
relation P641
type Q349
[ANSWER]
['Q698944', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q698944 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Simon Cziommer
relation sport
type sport
['Simon Cziommer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Simon_Cziommer property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q698944
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q698944
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q698944 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Simon Cziommer
action filter_type
action find
entity Simon Cziommer
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Simon_Cziommer property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q17354166
SYSTEM
Team 2006
Q17354166
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q698944
relation P54
type Q1194951
That person a member of is a [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q698944 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Team 2006
That person a member of is a Team 2006
Team 2006
action filter_type
action find
entity Simon Cziommer
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Simon_Cziommer property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q698944
P21
Q290
USER
What is the sex of that person ?
(Q17354166,P21,c(Q290))
action filter_type
action find
entity Q698944
relation P21
type Q290
['Q17354166', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q698944 property:P21 ?v . ?v rdf:type ontology:Q290 }
Simon Cziommer
action filter_type
action find
entity Simon Cziommer
relation gender
type sex
['Team 2006', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Cziommer property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17354166,P21,c(Q290))
action filter_type
action find
entity Q698944
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q17354166', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q698944 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Simon Cziommer
relation gender
type sex
['Team 2006', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Cziommer property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q12737077 Q4164871 Q15617994
USER
Which administrative territories have around 1 occupations and positions as the type of government ?
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?w WHERE { { ?w property:P122 ?e . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q12737077 } UNION { ?e rdf:type ontology:Q4164871 . ?w rdf:type ontology:Q15617994 . ?w property:P122 ?e } } GROUP BY ?w } }
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?w WHERE { { ?w property:basic_form_of_government ?e . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:occupation } UNION { ?e rdf:type ontology:position . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:basic_form_of_government ?e } } GROUP BY ?w } }
[]
occupation position designation for an administrative territorial entity
Q228 Q541991 Q313175
SYSTEM
Andorra, Hummelfeld, Saxe-Lauenburg
Q541991 Q313175 Q228 Q696651
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[ANSWERS] have around 1 occupations and positions as the type of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?w WHERE { { ?w property:P122 ?e . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q12737077 } UNION { ?e rdf:type ontology:Q4164871 . ?w rdf:type ontology:Q15617994 . ?w property:P122 ?e } } GROUP BY ?w } }
Hummelfeld Saxe-Lauenburg Andorra Saxe-Eisenach
Andorra, Hummelfeld and Saxe-Lauenburg have around 1 occupations and positions as the type of government
Andorra Hummelfeld Saxe-Lauenburg
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?w WHERE { { ?w property:basic_form_of_government ?e . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:occupation } UNION { ?e rdf:type ontology:position . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:basic_form_of_government ?e } } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q541991
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q541991,P47,c(Q15617994))
action filter_type
action find
entity Q541991
relation P47
type Q15617994
['Q541991', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q541991 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Hummelfeld
action filter_type
action find
entity Hummelfeld
relation shares border with
type designation for an administrative territorial entity
['Hummelfeld', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hummelfeld property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q313175
SYSTEM
Did you mean Saxe-Lauenburg ?
Q228 Q541991 Q313175
(Q228,P47,c(Q15617994)) (Q541991,P47,c(Q15617994)) (Q313175,P47,c(Q15617994))
[ANSWER]
['Q228', 'P47', {'concept': 'Q15617994'}] ['Q541991', 'P47', {'concept': 'Q15617994'}] ['Q313175', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q541991 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Andorra Hummelfeld Saxe-Lauenburg
Did you mean Saxe-Lauenburg ?
Saxe-Lauenburg
['Andorra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Hummelfeld', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Saxe-Lauenburg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hummelfeld property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Hummelfeld. Could you tell me the answer for that?
(Q541991,P47,c(Q15617994))
Q541991
['Q541991', 'P47', {'concept': 'Q15617994'}]
['Hummelfeld', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
Q556042 Q553122 Q570466
SYSTEM
Hütten, Güby, Ascheffel
Q556042 Q553122 Q541982 Q570466 Q545048
(Q541991,P47,c(Q15617994))
action filter_type
action find
entity Q541991
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q541991', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q541991 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Hütten Güby Fleckeby Ascheffel Osterby
Hütten, Güby and Ascheffel are bordered by that one
Hütten Güby Ascheffel
action filter_type
action find
entity Hummelfeld
relation shares border with
type designation for an administrative territorial entity
['Hummelfeld', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hummelfeld property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories have an adjacent border with that administrative territory ?
(c(Q15617994),P47,Q570466)
[{'concept': 'Q15617994'}, 'P47', 'Q570466']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q24220686 . ?z rdf:type ontology:Q15617994 }
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ascheffel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Ascheffel . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q556042
SYSTEM
Did you mean Hütten ?
(c(Q15617994),P47,Q556042) (c(Q15617994),P47,Q553122) (c(Q15617994),P47,Q570466)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q556042'] [{'concept': 'Q15617994'}, 'P47', 'Q553122'] [{'concept': 'Q15617994'}, 'P47', 'Q570466']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q24220686 . ?z rdf:type ontology:Q15617994 }
Did you mean Hütten ?
Hütten
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Hütten'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Güby'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ascheffel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Ascheffel . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ascheffel. Could you tell me the answer for that?
(c(Q15617994),P47,Q570466)
Q570466
[{'concept': 'Q15617994'}, 'P47', 'Q570466']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ascheffel']
[]
SYSTEM
2
Q632363 Q541991
(c(Q15617994),P47,Q570466)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q570466']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q24220686 . ?z rdf:type ontology:Q15617994 }
Brekendorf Hummelfeld
2
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ascheffel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Ascheffel . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]