Simple Question (Direct)
Simple Question
Q324723
P641
Q349
USER
Which sport was Max Grün a part of ?
(Q324723,P641,c(Q349))
action filter_type
action find
entity Q324723
relation P641
type Q349
['Q324723', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q324723 property:P641 ?t }
Max Grün
action filter_type
action find
entity Max Grün
relation sport
type sport
['Max Grün', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Max_Grün property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q324723,P641,c(Q349))
action filter_type
action find
entity Q324723
relation P641
type Q349
[ANSWER]
['Q324723', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q324723 property:P641 ?t }
association football
association football
action filter_type
action find
entity Max Grün
relation sport
type sport
['Max Grün', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Max_Grün property:sport ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q324723
P19
Q486972
USER
Where was Max Grün born ?
(Q324723,P19,c(Q486972))
action filter_type
action find
entity Q324723
relation P19
type Q486972
['Q324723', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q324723 property:P19 ?f . ?f rdf:type ontology:Q486972 }
Max Grün
action filter_type
action find
entity Max Grün
relation place of birth
type human settlement
['Max Grün', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Max_Grün property:place_of_birth ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q507854
SYSTEM
Karlstadt am Main
Q507854
(Q324723,P19,c(Q486972))
action filter_type
action find
entity Q324723
relation P19
type Q486972
[ANSWER]
['Q324723', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q324723 property:P19 ?f . ?f rdf:type ontology:Q486972 }
Karlstadt am Main
Karlstadt am Main
action filter_type
action find
entity Max Grün
relation place of birth
type human settlement
['Max Grün', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Max_Grün property:place_of_birth ?f . ?f rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q507854 Q617892 Q183
P17
Q1048835
USER
Is that human settlement located in Valle del Zalabí and Germany ?
(Q507854,P17,Q617892) (Q507854,P17,Q183)
action is_in
entity Q507854
action intersection
action find_reverse
entity Q617892
relation P17
action find_reverse
entity Q183
relation P17
['Q507854', 'P17', 'Q617892'] ['Q507854', 'P17', 'Q183']
ASK WHERE { resource:Q507854 property:P17 resource:Q617892 . resource:Q507854 property:P17 resource:Q183 }
Karlstadt am Main Valle del Zalabí Germany
action is_in
entity Karlstadt am Main
action intersection
action find_reverse
entity Valle del Zalabí
relation country
action find_reverse
entity Germany
relation country
['Karlstadt am Main', 'country', 'Valle del Zalabí'] ['Karlstadt am Main', 'country', 'Germany']
ASK WHERE { resource:Karlstadt_am_Main property:country resource:Valle_del_Zalabí . resource:Karlstadt_am_Main property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q507854,P17,Q617892) (Q507854,P17,Q183)
action is_in
entity Q507854
action intersection
action find_reverse
entity Q617892
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q507854', 'P17', 'Q617892'] ['Q507854', 'P17', 'Q183']
ASK WHERE { resource:Q507854 property:P17 resource:Q617892 . resource:Q507854 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Karlstadt am Main
action intersection
action find_reverse
entity Valle del Zalabí
relation country
action find_reverse
entity Germany
relation country
['Karlstadt am Main', 'country', 'Valle del Zalabí'] ['Karlstadt am Main', 'country', 'Germany']
ASK WHERE { resource:Karlstadt_am_Main property:country resource:Valle_del_Zalabí . resource:Karlstadt_am_Main property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q507854
P36
Q1048835
USER
Which political territory consists of that human settlement as its capital ?
action filter_type
action find_reverse
entity Q507854
relation P36
type Q1048835
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q507854 . ?s rdf:type ontology:Q1048835 }
Karlstadt am Main
action filter_type
action find_reverse
entity Karlstadt am Main
relation capital
type political territorial entity
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Karlstadt_am_Main . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10469
SYSTEM
Main-Spessart
Q10469
action filter_type
action find_reverse
entity Q507854
relation P36
type Q1048835
[ANSWER]
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q507854 . ?s rdf:type ontology:Q1048835 }
Main-Spessart
Main-Spessart
action filter_type
action find_reverse
entity Karlstadt am Main
relation capital
type political territorial entity
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Karlstadt_am_Main . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q507854
P1376
Q1048835
USER
Which political territory has that human settlement as its county seat ?
(Q10469,P1376,c(Q1048835))
action filter_type
action find
entity Q507854
relation P1376
type Q1048835
['Q10469', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q507854 property:P1376 ?v . ?v rdf:type ontology:Q1048835 }
Karlstadt am Main
action filter_type
action find
entity Karlstadt am Main
relation capital of
type political territorial entity
['Main-Spessart', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Karlstadt_am_Main property:capital_of ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10469
SYSTEM
Main-Spessart
Q10469
(Q10469,P1376,c(Q1048835))
action filter_type
action find
entity Q507854
relation P1376
type Q1048835
[ANSWER]
['Q10469', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q507854 property:P1376 ?v . ?v rdf:type ontology:Q1048835 }
Main-Spessart
Main-Spessart
action filter_type
action find
entity Karlstadt am Main
relation capital of
type political territorial entity
['Main-Spessart', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Karlstadt_am_Main property:capital_of ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12343270 Q507854
P27 P1376
Q1048835
USER
Which political territories have Karlstadt am Main as their county seat or are Torben Juul Nielsen a civilian of ?
OR((Q507854,P1376,c(Q1048835)), (Q12343270,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q507854
relation P1376
action find
entity Q12343270
relation P27
type Q1048835
{'OR': [['Q507854', 'P1376', {'concept': 'Q1048835'}], ['Q12343270', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q507854 property:P1376 ?w } UNION { resource:Q12343270 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Torben Juul Nielsen Karlstadt am Main
action filter_type
action union
action find
entity Karlstadt am Main
relation capital of
action find
entity Torben Juul Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Karlstadt am Main', 'capital of', {'concept': 'political territorial entity'}], ['Torben Juul Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Karlstadt_am_Main property:capital_of ?w } UNION { resource:Torben_Juul_Nielsen property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10469 Q35
SYSTEM
Main-Spessart, Denmark
Q10469 Q35
OR((Q507854,P1376,c(Q1048835)), (Q12343270,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q507854
relation P1376
action find
entity Q12343270
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q507854', 'P1376', {'concept': 'Q1048835'}], ['Q12343270', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q507854 property:P1376 ?w } UNION { resource:Q12343270 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Main-Spessart Denmark
Main-Spessart Denmark
action filter_type
action union
action find
entity Karlstadt am Main
relation capital of
action find
entity Torben Juul Nielsen
relation country of citizenship
type political territorial entity
{'OR': [['Karlstadt am Main', 'capital of', {'concept': 'political territorial entity'}], ['Torben Juul Nielsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Karlstadt_am_Main property:capital_of ?w } UNION { resource:Torben_Juul_Nielsen property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10469
P47
Q1048835
USER
Which political territories are bordered by that one ?
(c(Q1048835),P47,Q10469)
action filter_type
action find
entity Q10469
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q10469']
SELECT DISTINCT ?e WHERE { resource:Q10469 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Main-Spessart
action filter_type
action find
entity Main-Spessart
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Main-Spessart']
SELECT DISTINCT ?e WHERE { resource:Main-Spessart property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q10469
SYSTEM
Did you mean Main-Spessart ?
Q10469 Q35
(c(Q1048835),P47,Q10469) (c(Q1048835),P47,Q35)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q10469'] [{'concept': 'Q1048835'}, 'P47', 'Q35']
SELECT DISTINCT ?e WHERE { resource:Q10469 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Main-Spessart Denmark
Did you mean Main-Spessart ?
Main-Spessart
[{'concept': 'political territorial entity'}, 'shares border with', 'Main-Spessart'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ?e WHERE { resource:Main-Spessart property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1048835),P47,Q10469)
[{'concept': 'Q1048835'}, 'P47', 'Q10469']
[{'concept': 'political territorial entity'}, 'shares border with', 'Main-Spessart']
[]
Q10472 Q10461 Q7911
SYSTEM
Miltenberg, Schweinfurt, Main-Kinzig-Kreis
Q10461 Q10471 Q10472 Q10466 Q8517 Q10458 Q7911
(c(Q1048835),P47,Q10469)
action filter_type
action find
entity Q10469
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q10469']
SELECT DISTINCT ?e WHERE { resource:Q10469 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Schweinfurt Aschaffenburg Miltenberg Bad Kissingen Main-Tauber Würzburg Main-Kinzig-Kreis
Miltenberg Schweinfurt Main-Kinzig-Kreis
action filter_type
action find
entity Main-Spessart
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Main-Spessart']
SELECT DISTINCT ?e WHERE { resource:Main-Spessart property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q35
P137
Q3084961 Q2424752
USER
How many product linings and products can be described as service operator of Denmark ?
(c(Q3084961),P137,Q35) (c(Q2424752),P137,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q35
relation P137
type Q2424752
[{'concept': 'Q3084961'}, 'P137', 'Q35'] [{'concept': 'Q2424752'}, 'P137', 'Q35']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?a ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } . ?t rdf:type ?a }
Denmark
action count
action union
action filter_type
action find_reverse
entity Denmark
relation operator
type product lining
action filter_type
action find_reverse
entity Denmark
relation operator
type product
[{'concept': 'product lining'}, 'operator', 'Denmark'] [{'concept': 'product'}, 'operator', 'Denmark']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?a ) { ( ontology:product_lining ) ( ontology:product ) } . ?t rdf:type ?a }
[]
product lining product
SYSTEM
1 product linings and 1 products
Q58725 Q18015697
(c(Q3084961),P137,Q35) (c(Q2424752),P137,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q35
relation P137
type Q2424752
[ANSWER]
[{'concept': 'Q3084961'}, 'P137', 'Q35'] [{'concept': 'Q2424752'}, 'P137', 'Q35']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?a ) { ( ontology:Q3084961 ) ( ontology:Q2424752 ) } . ?t rdf:type ?a }
T-33 Shooting Star Meteor NF11
1 product linings and 1 products
action count
action union
action filter_type
action find_reverse
entity Denmark
relation operator
type product lining
action filter_type
action find_reverse
entity Denmark
relation operator
type product
[{'concept': 'product lining'}, 'operator', 'Denmark'] [{'concept': 'product'}, 'operator', 'Denmark']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?a ) { ( ontology:product_lining ) ( ontology:product ) } . ?t rdf:type ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7911
P190
Q56061
USER
Which administrative territory is twin town of Main-Kinzig-Kreis ?
(Q7911,P190,c(Q56061))
action filter_type
action find
entity Q7911
relation P190
type Q56061
['Q7911', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7911 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Main-Kinzig-Kreis
action filter_type
action find
entity Main-Kinzig-Kreis
relation sister city
type administrative territorial entity
['Main-Kinzig-Kreis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Main-Kinzig-Kreis property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q192807
SYSTEM
Ramat Gan
Q192807
(Q7911,P190,c(Q56061))
action filter_type
action find
entity Q7911
relation P190
type Q56061
[ANSWER]
['Q7911', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7911 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Ramat Gan
Ramat Gan
action filter_type
action find
entity Main-Kinzig-Kreis
relation sister city
type administrative territorial entity
['Main-Kinzig-Kreis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Main-Kinzig-Kreis property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]