Simple Question (Direct)
Simple Question
Q6111378
P19
Q515
USER
Which city is the place of birth of Jack Brand ?
(Q6111378,P19,c(Q515))
action filter_type
action find
entity Q6111378
relation P19
type Q515
['Q6111378', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q6111378 property:P19 ?w . ?w rdf:type ontology:Q515 }
Jack Brand
action filter_type
action find
entity Jack Brand
relation place of birth
type city
['Jack Brand', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Jack_Brand property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
city
Q2773
SYSTEM
Braunschweig
Q2773
(Q6111378,P19,c(Q515))
action filter_type
action find
entity Q6111378
relation P19
type Q515
[ANSWER] is the place of birth of Jack Brand
['Q6111378', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q6111378 property:P19 ?w . ?w rdf:type ontology:Q515 }
Braunschweig
Braunschweig is the place of birth of Jack Brand
Braunschweig
action filter_type
action find
entity Jack Brand
relation place of birth
type city
['Jack Brand', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Jack_Brand property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2773
P291
Q2342494
USER
Which collectable was published in that city ?
(c(Q2342494),P291,Q2773)
action filter_type
action find_reverse
entity Q2773
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q2773']
SELECT DISTINCT ?d WHERE { ?d property:P291 resource:Q2773 . ?d rdf:type ontology:Q2342494 }
Braunschweig
action filter_type
action find_reverse
entity Braunschweig
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Braunschweig']
SELECT DISTINCT ?d WHERE { ?d property:place_of_publication resource:Braunschweig . ?d rdf:type ontology:collectable }
[]
collectable
Q3504851
SYSTEM
Supplementum Plantarum
Q3504851
(c(Q2342494),P291,Q2773)
action filter_type
action find_reverse
entity Q2773
relation P291
type Q2342494
[ANSWER] was published in that city
[{'concept': 'Q2342494'}, 'P291', 'Q2773']
SELECT DISTINCT ?d WHERE { ?d property:P291 resource:Q2773 . ?d rdf:type ontology:Q2342494 }
Supplementum Plantarum
Supplementum Plantarum was published in that city
Supplementum Plantarum
action filter_type
action find_reverse
entity Braunschweig
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Braunschweig']
SELECT DISTINCT ?d WHERE { ?d property:place_of_publication resource:Braunschweig . ?d rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2773
P47
Q1048835
USER
Which political territories do that city share a border with ?
(c(Q1048835),P47,Q3504851)
action filter_type
action find
entity Q2773
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q3504851']
SELECT DISTINCT ?k WHERE { resource:Q2773 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Braunschweig
action filter_type
action find
entity Braunschweig
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Supplementum Plantarum']
SELECT DISTINCT ?k WHERE { resource:Braunschweig property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6053 Q6041 Q6047
SYSTEM
Gifhorn, Wolfenbüttel, Helmstedt
Q6047 Q6045 Q6053 Q6041
(c(Q1048835),P47,Q3504851)
action filter_type
action find
entity Q2773
relation P47
type Q1048835
[ANSWERS] that city share a border with
[{'concept': 'Q1048835'}, 'P47', 'Q3504851']
SELECT DISTINCT ?k WHERE { resource:Q2773 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Helmstedt Peine Gifhorn Wolfenbüttel
Gifhorn, Wolfenbüttel and Helmstedt that city share a border with
Gifhorn Wolfenbüttel Helmstedt
action filter_type
action find
entity Braunschweig
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Supplementum Plantarum']
SELECT DISTINCT ?k WHERE { resource:Braunschweig property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q515 Q1048835
USER
How many cities and political territories do that political territory share a border with ?
(c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6041) (c(Q1048835),P47,Q6041) (c(Q515),P47,Q6047) (c(Q1048835),P47,Q6047)
[{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6041'] [{'concept': 'Q1048835'}, 'P47', 'Q6041'] [{'concept': 'Q515'}, 'P47', 'Q6047'] [{'concept': 'Q1048835'}, 'P47', 'Q6047']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q6041 } UNION { ?y property:P47 resource:Q6041 } UNION { ?z property:P47 resource:Q6047 } UNION { ?y property:P47 resource:Q6047 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'political territorial entity'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'city'}, 'shares border with', 'Helmstedt'] [{'concept': 'political territorial entity'}, 'shares border with', 'Helmstedt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Wolfenbüttel } UNION { ?y property:shares_border_with resource:Wolfenbüttel } UNION { ?z property:shares_border_with resource:Helmstedt } UNION { ?y property:shares_border_with resource:Helmstedt } } . ?z rdf:type ontology:city . ?y rdf:type ontology:political_territorial_entity }
[]
city political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q6041
SYSTEM
Did you mean Wolfenbüttel ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q6041 } UNION { ?y property:P47 resource:Q6041 } UNION { ?z property:P47 resource:Q6047 } UNION { ?y property:P47 resource:Q6047 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1048835 }
Did you mean Wolfenbüttel ?
Wolfenbüttel
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Wolfenbüttel } UNION { ?y property:shares_border_with resource:Wolfenbüttel } UNION { ?z property:shares_border_with resource:Helmstedt } UNION { ?y property:shares_border_with resource:Helmstedt } } . ?z rdf:type ontology:city . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gifhorn. Could you tell me the answer for that?
(c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6041) (c(Q1048835),P47,Q6041) (c(Q515),P47,Q6047) (c(Q1048835),P47,Q6047)
Q6053
[{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6041'] [{'concept': 'Q1048835'}, 'P47', 'Q6041'] [{'concept': 'Q515'}, 'P47', 'Q6047'] [{'concept': 'Q1048835'}, 'P47', 'Q6047']
[{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'political territorial entity'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'city'}, 'shares border with', 'Helmstedt'] [{'concept': 'political territorial entity'}, 'shares border with', 'Helmstedt']
[]
SYSTEM
2 cities and 7 political territories
Q5915 Q6047 Q6045 Q5919 Q6064 Q3014 Q5963 Q6061 Q2773
(c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6053) (c(Q1048835),P47,Q6053) (c(Q515),P47,Q6041) (c(Q1048835),P47,Q6041) (c(Q515),P47,Q6047) (c(Q1048835),P47,Q6047)
[ANSWER]
[{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6053'] [{'concept': 'Q1048835'}, 'P47', 'Q6053'] [{'concept': 'Q515'}, 'P47', 'Q6041'] [{'concept': 'Q1048835'}, 'P47', 'Q6041'] [{'concept': 'Q515'}, 'P47', 'Q6047'] [{'concept': 'Q1048835'}, 'P47', 'Q6047']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q14813 } UNION { ?y property:P47 resource:Q14813 } UNION { ?z property:P47 resource:Q6041 } UNION { ?y property:P47 resource:Q6041 } UNION { ?z property:P47 resource:Q6047 } UNION { ?y property:P47 resource:Q6047 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1048835 }
Uelzen Helmstedt Peine Celle Börde Wolfsburg Hanover region Altmarkkreis Salzwedel Braunschweig
2 cities and 7 political territories
[{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Gifhorn'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gifhorn'] [{'concept': 'city'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'political territorial entity'}, 'shares border with', 'Wolfenbüttel'] [{'concept': 'city'}, 'shares border with', 'Helmstedt'] [{'concept': 'political territorial entity'}, 'shares border with', 'Helmstedt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Gifhorn } UNION { ?y property:shares_border_with resource:Gifhorn } UNION { ?z property:shares_border_with resource:Wolfenbüttel } UNION { ?y property:shares_border_with resource:Wolfenbüttel } UNION { ?z property:shares_border_with resource:Helmstedt } UNION { ?y property:shares_border_with resource:Helmstedt } } . ?z rdf:type ontology:city . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6041
P127
Q43229
USER
Which organization is owned by Wolfenbüttel ?
(c(Q43229),P127,Q6041)
action filter_type
action find_reverse
entity Q6041
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q6041']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q6041 . ?c rdf:type ontology:Q43229 }
Wolfenbüttel
action filter_type
action find_reverse
entity Wolfenbüttel
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Wolfenbüttel']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Wolfenbüttel . ?c rdf:type ontology:organization }
[]
organization
Q22073378
SYSTEM
Allianz für die Region
Q22073378
(c(Q43229),P127,Q6041)
action filter_type
action find_reverse
entity Q6041
relation P127
type Q43229
[ANSWER] is owned by Wolfenbüttel
[{'concept': 'Q43229'}, 'P127', 'Q6041']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q6041 . ?c rdf:type ontology:Q43229 }
Allianz für die Region
Allianz für die Region is owned by Wolfenbüttel
Allianz für die Region
action filter_type
action find_reverse
entity Wolfenbüttel
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Wolfenbüttel']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Wolfenbüttel . ?c rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6041
P36
Q15617994
USER
Which administrative territory is known as the capital of Wolfenbüttel ?
(Q6041,P36,c(Q15617994))
action filter_type
action find
entity Q6041
relation P36
type Q15617994
['Q6041', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q6041 property:P36 ?s }
Wolfenbüttel
action filter_type
action find
entity Wolfenbüttel
relation capital
type designation for an administrative territorial entity
['Wolfenbüttel', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wolfenbüttel property:capital ?s }
[]
designation for an administrative territorial entity
Q4122
SYSTEM
Wolfenbüttel
Q4122
(Q6041,P36,c(Q15617994))
action filter_type
action find
entity Q6041
relation P36
type Q15617994
Büttel [ANSWER] is known as the capital of [ANSWER]
['Q6041', 'P36', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q6041 property:P36 ?s }
Wolfenbüttel
Büttel Wolfenbüttel is known as the capital of Wolfenbüttel
Wolfenbüttel
action filter_type
action find
entity Wolfenbüttel
relation capital
type designation for an administrative territorial entity
['Wolfenbüttel', 'capital', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wolfenbüttel property:capital ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q451110 Q2773
P710 P6
Q502895
USER
Which people are the head of government of Braunschweig and were the artist who participated in German presidential election, 1999 ?
AND((Q2773,P6,c(Q502895)), (Q451110,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q2773
relation P6
action find
entity Q451110
relation P710
type Q502895
{'AND': [['Q2773', 'P6', {'concept': 'Q502895'}], ['Q451110', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { resource:Q2773 property:P6 ?v . resource:Q451110 property:P710 ?v . ?v rdf:type ontology:Q502895 }
German presidential election, 1999 Braunschweig
action filter_type
action intersection
action find
entity Braunschweig
relation head of government
action find
entity German presidential election, 1999
relation participant
type common name
{'AND': [['Braunschweig', 'head of government', {'concept': 'common name'}], ['German presidential election, 1999', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { resource:Braunschweig property:head_of_government ?v . resource:German_presidential_election,_1999 property:participant ?v . ?v rdf:type ontology:common_name }
[]
common name
Q87640
SYSTEM
Gerhard Glogowski
Q87640
AND((Q2773,P6,c(Q502895)), (Q451110,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q2773
relation P6
action find
entity Q451110
relation P710
type Q502895
[ANSWER] is the head of government of Braunschweig and were the artist who participated in German presidential election, 1999
{'AND': [['Q2773', 'P6', {'concept': 'Q502895'}], ['Q451110', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { resource:Q2773 property:P6 ?v . resource:Q451110 property:P710 ?v . ?v rdf:type ontology:Q502895 }
Gerhard Glogowski
Gerhard Glogowski is the head of government of Braunschweig and were the artist who participated in German presidential election, 1999
Gerhard Glogowski
action filter_type
action intersection
action find
entity Braunschweig
relation head of government
action find
entity German presidential election, 1999
relation participant
type common name
{'AND': [['Braunschweig', 'head of government', {'concept': 'common name'}], ['German presidential election, 1999', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { resource:Braunschweig property:head_of_government ?v . resource:German_presidential_election,_1999 property:participant ?v . ?v rdf:type ontology:common_name }
[]