Simple Question (Direct)
Simple Question
Q71418
P20
Q515
USER
Where did the demise of Hans Kroh occur ?
(Q71418,P20,c(Q515))
action filter_type
action find
entity Q71418
relation P20
type Q515
['Q71418', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q71418 property:P20 ?j }
Hans Kroh
action filter_type
action find
entity Hans Kroh
relation place of death
type city
['Hans Kroh', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Hans_Kroh property:place_of_death ?j }
[]
city
Q2773
SYSTEM
Braunschweig
Q2773
(Q71418,P20,c(Q515))
action filter_type
action find
entity Q71418
relation P20
type Q515
The demise of Hans Kroh occurred in [ANSWER]
['Q71418', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q71418 property:P20 ?j }
Braunschweig
The demise of Hans Kroh occurred in Braunschweig
Braunschweig
action filter_type
action find
entity Hans Kroh
relation place of death
type city
['Hans Kroh', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Hans_Kroh property:place_of_death ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q71418
P607
Q1190554
USER
What wars was that person a part of ?
(Q2773,P607,c(Q1190554))
action filter_type
action find
entity Q71418
relation P607
type Q1190554
['Q2773', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q71418 property:P607 ?a . ?a rdf:type ontology:Q1190554 }
Hans Kroh
action filter_type
action find
entity Hans Kroh
relation conflict
type event
['Braunschweig', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:Hans_Kroh property:conflict ?a . ?a rdf:type ontology:event }
[]
event
Q153316 Q714223
SYSTEM
Battle of Crete, Battle for Brest
Q153316 Q714223
(Q2773,P607,c(Q1190554))
action filter_type
action find
entity Q71418
relation P607
type Q1190554
[ANSWERS]
['Q2773', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q71418 property:P607 ?a . ?a rdf:type ontology:Q1190554 }
Battle of Crete Battle for Brest
What wars were that person a part of
Battle of Crete Battle for Brest
action filter_type
action find
entity Hans Kroh
relation conflict
type event
['Braunschweig', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:Hans_Kroh property:conflict ?a . ?a rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076157
P241
Q781132
USER
Which military branch contains Charles Cawetzka as its part ?
(Q5076157,P241,c(Q781132))
action filter_type
action find
entity Q5076157
relation P241
type Q781132
['Q5076157', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q5076157 property:P241 ?f . ?f rdf:type ontology:Q781132 }
Charles Cawetzka
action filter_type
action find
entity Charles Cawetzka
relation military branch
type military branch
['Charles Cawetzka', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Cawetzka property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q5076157,P241,c(Q781132))
action filter_type
action find
entity Q5076157
relation P241
type Q781132
U [ANSWER] contains Charles Cawetzka as its part
['Q5076157', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q5076157 property:P241 ?f . ?f rdf:type ontology:Q781132 }
United States Army
U United States Army contains Charles Cawetzka as its part
United States Army
action filter_type
action find
entity Charles Cawetzka
relation military branch
type military branch
['Charles Cawetzka', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Cawetzka property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5002386
Q781132
USER
And what about Butch Gautreaux?
(Q5002386,P241,c(Q781132))
action filter_type
action find
entity Q5002386
relation P241
type Q781132
['Q5002386', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q5002386 property:P241 ?c . ?c rdf:type ontology:Q781132 }
Butch Gautreaux
action filter_type
action find
entity Butch Gautreaux
relation military branch
type military branch
['Butch Gautreaux', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Butch_Gautreaux property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q5002386,P241,c(Q781132))
action filter_type
action find
entity Q5002386
relation P241
type Q781132
[ANSWER]
['Q5002386', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q5002386 property:P241 ?c . ?c rdf:type ontology:Q781132 }
United States Navy
United States Navy
action filter_type
action find
entity Butch Gautreaux
relation military branch
type military branch
['Butch Gautreaux', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Butch_Gautreaux property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5002386
P102
Q7210356
USER
Which party does that person belong to ?
(Q11220,P102,c(Q7210356))
action filter_type
action find
entity Q5002386
relation P102
type Q7210356
['Q11220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q5002386 property:P102 ?x }
Butch Gautreaux
action filter_type
action find
entity Butch Gautreaux
relation member of political party
type political organization
['United States Navy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Butch_Gautreaux property:member_of_political_party ?x }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q11220,P102,c(Q7210356))
action filter_type
action find
entity Q5002386
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q11220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q5002386 property:P102 ?x }
Democratic Party
That person belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Butch Gautreaux
relation member of political party
type political organization
['United States Navy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Butch_Gautreaux property:member_of_political_party ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29552 Q1290319 Q6736461
P17
Q15617994
USER
Is that political organization present in Kallstadt and Maine School Administrative District 63 ?
(Q29552,P17,Q1290319) (Q29552,P17,Q6736461)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q1290319
relation P17
action find_reverse
entity Q6736461
relation P17
['Q29552', 'P17', 'Q1290319'] ['Q29552', 'P17', 'Q6736461']
ASK WHERE { resource:Q29552 property:P17 resource:Q1290319 . resource:Q29552 property:P17 resource:Q6736461 }
Democratic Party Kallstadt Maine School Administrative District 63
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Kallstadt
relation country
action find_reverse
entity Maine School Administrative District 63
relation country
['Democratic Party', 'country', 'Kallstadt'] ['Democratic Party', 'country', 'Maine School Administrative District 63']
ASK WHERE { resource:Democratic_Party property:country resource:Kallstadt . resource:Democratic_Party property:country resource:Maine_School_Administrative_District_63 }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29552,P17,Q1290319) (Q29552,P17,Q6736461)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q1290319
relation P17
action find_reverse
entity Q6736461
relation P17
[ANSWER]
['Q29552', 'P17', 'Q1290319'] ['Q29552', 'P17', 'Q6736461']
ASK WHERE { resource:Q29552 property:P17 resource:Q1290319 . resource:Q29552 property:P17 resource:Q6736461 }
No
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Kallstadt
relation country
action find_reverse
entity Maine School Administrative District 63
relation country
['Democratic Party', 'country', 'Kallstadt'] ['Democratic Party', 'country', 'Maine School Administrative District 63']
ASK WHERE { resource:Democratic_Party property:country resource:Kallstadt . resource:Democratic_Party property:country resource:Maine_School_Administrative_District_63 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21919490 Q1290319
P17
Q1048835
USER
Which political territories are Kallstadt or Bluey Creek a part of ?
OR((Q1290319,P17,c(Q1048835)), (Q21919490,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1290319
relation P17
action find
entity Q21919490
relation P17
type Q1048835
{'OR': [['Q1290319', 'P17', {'concept': 'Q1048835'}], ['Q21919490', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { VALUES ( ?q ) { ( resource:Q1290319 ) ( resource:Q21919490 ) } . ?q property:P17 ?y } }
Bluey Creek Kallstadt
action filter_type
action union
action find
entity Kallstadt
relation country
action find
entity Bluey Creek
relation country
type political territorial entity
{'OR': [['Kallstadt', 'country', {'concept': 'political territorial entity'}], ['Bluey Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { VALUES ( ?q ) { ( resource:Kallstadt ) ( resource:Bluey_Creek ) } . ?q property:country ?y } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1290319,P17,c(Q1048835)), (Q21919490,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1290319
relation P17
action find
entity Q21919490
relation P17
type Q1048835
[ANSWERS] are Kallstadt or Bluey Creek a part of
{'OR': [['Q1290319', 'P17', {'concept': 'Q1048835'}], ['Q21919490', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { VALUES ( ?q ) { ( resource:Q1290319 ) ( resource:Q21919490 ) } . ?q property:P17 ?y } }
Australia Germany
Australia and Germany are Kallstadt or Bluey Creek a part of
Australia Germany
action filter_type
action union
action find
entity Kallstadt
relation country
action find
entity Bluey Creek
relation country
type political territorial entity
{'OR': [['Kallstadt', 'country', {'concept': 'political territorial entity'}], ['Bluey Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { VALUES ( ?q ) { ( resource:Kallstadt ) ( resource:Bluey_Creek ) } . ?q property:country ?y } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q31629 Q878123
USER
How many political territories gives the origination point of around the same number of types of sport and racings as that political territory ?
(c(Q31629)|c(Q878123),P1427,c(Q1048835))
[[{'concept': 'Q31629'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
[[{'concept': 'type of sport'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]
political territorial entity type of sport racing
Comparative|Count over More/Less|Mult. entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
(c(Q31629)|c(Q878123),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q31629'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
Did you mean Germany ?
Germany
[[{'concept': 'type of sport'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q31629)|c(Q878123),P1427,c(Q1048835))
[[{'concept': 'Q31629'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'type of sport'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
[]
SYSTEM
17
Q1556707 Q55480 Q183 Q2264671 Q49661 Q1766072 Q1625868 Q832991 Q474080 Q499184 Q668016 Q913277 Q601112 Q743741 Q492420 Q672483 Q987453
(c(Q31629)|c(Q878123),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q31629'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q31629 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
Vila Nova de Cacela Colmenar Viejo Germany El Palomar Mauren Santo Domingo de Silos Alcañices Sóller Amorebieta-Etxano Roquetas de Mar Iurreta Mazarrón Pollença Felanitx Getxo Ordizia San Javier
17
[[{'concept': 'type of sport'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:type_of_sport . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]