Simple Question (Direct)
Simple Question
Q1651398
P27
Q1048835
USER
Which political territory does Karlheinz Volz belong to ?
(Q1651398,P27,c(Q1048835))
action filter_type
action find
entity Q1651398
relation P27
type Q1048835
['Q1651398', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q1651398 property:P27 ?e }
Karlheinz Volz
action filter_type
action find
entity Karlheinz Volz
relation country of citizenship
type political territorial entity
['Karlheinz Volz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Karlheinz_Volz property:country_of_citizenship ?e }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1651398,P27,c(Q1048835))
action filter_type
action find
entity Q1651398
relation P27
type Q1048835
Karlheinz Volz belongs to [ANSWER]
['Q1651398', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q1651398 property:P27 ?e }
Germany
Karlheinz Volz belongs to Germany
Germany
action filter_type
action find
entity Karlheinz Volz
relation country of citizenship
type political territorial entity
['Karlheinz Volz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Karlheinz_Volz property:country_of_citizenship ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1651398
P641
Q349
USER
Which sport was that person a part of ?
(Q183,P641,c(Q349))
action filter_type
action find
entity Q1651398
relation P641
type Q349
['Q183', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q1651398 property:P641 ?a . ?a rdf:type ontology:Q349 }
Karlheinz Volz
action filter_type
action find
entity Karlheinz Volz
relation sport
type sport
['Germany', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Karlheinz_Volz property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q183,P641,c(Q349))
action filter_type
action find
entity Q1651398
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q183', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q1651398 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Karlheinz Volz
relation sport
type sport
['Germany', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Karlheinz_Volz property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1651398
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1651398
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q1651398 property:P106 ?k }
Karlheinz Volz
action filter_type
action find
entity Karlheinz Volz
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Karlheinz_Volz property:occupation ?k }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1651398
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q1651398 property:P106 ?k }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Karlheinz Volz
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Karlheinz_Volz property:occupation ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q2235308 Q43229
USER
How many political territories are the owners of around 1 ship types or organizations ?
(c(Q2235308)|c(Q43229),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q43229 } UNION { ?x property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?d } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 1
[[{'concept': 'ship type'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:organization } UNION { ?x property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:ship_type } } GROUP BY ?d } . FILTER ( ?a = 1 ) }
[]
political territorial entity ship type organization
SYSTEM
14
Q170322 Q6040 Q6053 Q8543 Q6041 Q2379199 Q8178 Q8551 Q202174 Q6047 Q6045 Q8182 Q408 Q16
(c(Q2235308)|c(Q43229),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q43229 } UNION { ?x property:P127 ?d . ?d rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?d } . FILTER ( ?a = 1 ) }
Qingdao Goslar Gifhorn Germersheim Wolfenbüttel politics of Edinburgh Karlsruhe Südliche Weinstraße Argyll and Bute Helmstedt Peine Rastatt Australia Canada
14
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 1
[[{'concept': 'ship type'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?d WHERE { { ?x property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:organization } UNION { ?x property:owned_by ?d . ?d rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:ship_type } } GROUP BY ?d } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P1071
Q987767
USER
Which container has Athens as its terminal assembly location ?
(c(Q987767),P1071,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P1071
type Q987767
[{'concept': 'Q987767'}, 'P1071', 'Q1524']
SELECT DISTINCT ?y WHERE { ?y property:P1071 resource:Q1524 . ?y rdf:type ontology:Q987767 }
Athens
action filter_type
action find_reverse
entity Athens
relation location of final assembly
type container
[{'concept': 'container'}, 'location of final assembly', 'Athens']
SELECT DISTINCT ?y WHERE { ?y property:location_of_final_assembly resource:Athens . ?y rdf:type ontology:container }
[]
container
Q17354841
SYSTEM
Judgement of Paris Amphora
Q17354841
(c(Q987767),P1071,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P1071
type Q987767
Judge [ANSWER] has Athens as its terminal assembly location
[{'concept': 'Q987767'}, 'P1071', 'Q1524']
SELECT DISTINCT ?y WHERE { ?y property:P1071 resource:Q1524 . ?y rdf:type ontology:Q987767 }
Judgement of Paris Amphora
Judge Judgement of Paris Amphora has Athens as its terminal assembly location
Judgement of Paris Amphora
action filter_type
action find_reverse
entity Athens
relation location of final assembly
type container
[{'concept': 'container'}, 'location of final assembly', 'Athens']
SELECT DISTINCT ?y WHERE { ?y property:location_of_final_assembly resource:Athens . ?y rdf:type ontology:container }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17354841
P195
Q33506
USER
Which museum has that container in it ?
(Q17354841,P195,c(Q33506))
action filter_type
action find
entity Q17354841
relation P195
type Q33506
['Q17354841', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?t WHERE { resource:Q17354841 property:P195 ?t . ?t rdf:type ontology:Q33506 }
Judgement of Paris Amphora
action filter_type
action find
entity Judgement of Paris Amphora
relation collection
type museum
['Judgement of Paris Amphora', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?t WHERE { resource:Judgement_of_Paris_Amphora property:collection ?t . ?t rdf:type ontology:museum }
[]
museum
Q511
SYSTEM
Museum of Fine Arts of Lyon
Q511
(Q17354841,P195,c(Q33506))
action filter_type
action find
entity Q17354841
relation P195
type Q33506
[ANSWER] has that container in it
['Q17354841', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?t WHERE { resource:Q17354841 property:P195 ?t . ?t rdf:type ontology:Q33506 }
Museum of Fine Arts of Lyon
Museum of Fine Arts of Lyon has that container in it
Museum of Fine Arts of Lyon
action filter_type
action find
entity Judgement of Paris Amphora
relation collection
type museum
['Judgement of Paris Amphora', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?t WHERE { resource:Judgement_of_Paris_Amphora property:collection ?t . ?t rdf:type ontology:museum }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q56061 Q553036 Q1048835
USER
Which political territories have their location as around 1 administrative territories or natural region of Germanys ?
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } . ?s rdf:type ?d } GROUP BY ?e } }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?s rdf:type ?d } GROUP BY ?e } }
[]
administrative territorial entity natural region of Germany political territorial entity
Q1747689 Q8583 Q8593
SYSTEM
Ancient Rome, Vulkaneifel, Mayen-Koblenz
Q1747689 Q8583 Q8593
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
value 1
[ANSWERS] have their location as around 1 administrative territories or natural region of Germanys
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } . ?s rdf:type ?d } GROUP BY ?e } }
Ancient Rome Vulkaneifel Mayen-Koblenz
Ancient Rome, Vulkaneifel and Mayen-Koblenz have their location as around 1 administrative territories or natural region of Germanys
Ancient Rome Vulkaneifel Mayen-Koblenz
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?s rdf:type ?d } GROUP BY ?e } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8593
P47
Q515
USER
Which city is bordered by that political territory ?
(c(Q515),P47,Q8593)
action filter_type
action find
entity Q8593
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q8593']
SELECT DISTINCT ?g WHERE { resource:Q8593 property:P47 ?g . ?g rdf:type ontology:Q515 }
Mayen-Koblenz
action filter_type
action find
entity Mayen-Koblenz
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Mayen-Koblenz']
SELECT DISTINCT ?g WHERE { resource:Mayen-Koblenz property:shares_border_with ?g . ?g rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q8593
SYSTEM
Did you mean Mayen-Koblenz ?
Q1747689 Q8583 Q8593
(c(Q515),P47,Q1747689) (c(Q515),P47,Q8583) (c(Q515),P47,Q8593)
[ANSWER]
[{'concept': 'Q515'}, 'P47', 'Q1747689'] [{'concept': 'Q515'}, 'P47', 'Q8583'] [{'concept': 'Q515'}, 'P47', 'Q8593']
SELECT DISTINCT ?g WHERE { resource:Q8593 property:P47 ?g . ?g rdf:type ontology:Q515 }
Ancient Rome Vulkaneifel Mayen-Koblenz
Did you mean Mayen-Koblenz ?
Mayen-Koblenz
[{'concept': 'city'}, 'shares border with', 'Ancient Rome'] [{'concept': 'city'}, 'shares border with', 'Vulkaneifel'] [{'concept': 'city'}, 'shares border with', 'Mayen-Koblenz']
SELECT DISTINCT ?g WHERE { resource:Mayen-Koblenz property:shares_border_with ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q515),P47,Q8593)
[{'concept': 'Q515'}, 'P47', 'Q8593']
[{'concept': 'city'}, 'shares border with', 'Mayen-Koblenz']
[]
Q3104
SYSTEM
Koblenz
Q3104
(c(Q515),P47,Q8593)
action filter_type
action find
entity Q8593
relation P47
type Q515
The [ANSWER] is bordered by that political territory
[{'concept': 'Q515'}, 'P47', 'Q8593']
SELECT DISTINCT ?g WHERE { resource:Q8593 property:P47 ?g . ?g rdf:type ontology:Q515 }
Koblenz
The Koblenz is bordered by that political territory
Koblenz
action filter_type
action find
entity Mayen-Koblenz
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Mayen-Koblenz']
SELECT DISTINCT ?g WHERE { resource:Mayen-Koblenz property:shares_border_with ?g . ?g rdf:type ontology:city }
[]