Simple Question (Direct)
Simple Question
Q1065634
P551
Q15617994
USER
Where did Wolfgang Přiklopil reside ?
(Q1065634,P551,c(Q15617994))
action filter_type
action find
entity Q1065634
relation P551
type Q15617994
['Q1065634', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1065634 property:P551 ?e . ?e rdf:type ontology:Q15617994 }
Wolfgang Přiklopil
action filter_type
action find
entity Wolfgang Přiklopil
relation residence
type designation for an administrative territorial entity
['Wolfgang Přiklopil', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Wolfgang_Přiklopil property:residence ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q667057
SYSTEM
Strasshof an der Nordbahn
Q667057
(Q1065634,P551,c(Q15617994))
action filter_type
action find
entity Q1065634
relation P551
type Q15617994
Wolfgang Přiklopil resided [ANSWER]
['Q1065634', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1065634 property:P551 ?e . ?e rdf:type ontology:Q15617994 }
Strasshof an der Nordbahn
Wolfgang Přiklopil resided Strasshof an der Nordbahn
Strasshof an der Nordbahn
action filter_type
action find
entity Wolfgang Přiklopil
relation residence
type designation for an administrative territorial entity
['Wolfgang Přiklopil', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Wolfgang_Přiklopil property:residence ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065634
P1196
Q1914636
USER
Which situation led to the death of Wolfgang Přiklopil ?
(Q1065634,P1196,c(Q1914636))
action filter_type
action find
entity Q1065634
relation P1196
type Q1914636
['Q1065634', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q1065634 property:P1196 ?a . ?a rdf:type ontology:Q1914636 }
Wolfgang Přiklopil
action filter_type
action find
entity Wolfgang Přiklopil
relation manner of death
type activity
['Wolfgang Přiklopil', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Přiklopil property:manner_of_death ?a . ?a rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q1065634,P1196,c(Q1914636))
action filter_type
action find
entity Q1065634
relation P1196
type Q1914636
[ANSWER] led to the death of Wolfgang Přiklopil
['Q1065634', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q1065634 property:P1196 ?a . ?a rdf:type ontology:Q1914636 }
suicide
Suicide led to the death of Wolfgang Přiklopil
suicide
action filter_type
action find
entity Wolfgang Přiklopil
relation manner of death
type activity
['Wolfgang Přiklopil', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:Wolfgang_Přiklopil property:manner_of_death ?a . ?a rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065634
P27
Q1048835
USER
Which political territory is Wolfgang Přiklopil a civilian of ?
(Q1065634,P27,c(Q1048835))
action filter_type
action find
entity Q1065634
relation P27
type Q1048835
['Q1065634', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1065634 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Wolfgang Přiklopil
action filter_type
action find
entity Wolfgang Přiklopil
relation country of citizenship
type political territorial entity
['Wolfgang Přiklopil', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Přiklopil property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1065634,P27,c(Q1048835))
action filter_type
action find
entity Q1065634
relation P27
type Q1048835
[ANSWER] is Wolfgang Přiklopil a civilian of
['Q1065634', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1065634 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Austria
Austria is Wolfgang Přiklopil a civilian of
Austria
action filter_type
action find
entity Wolfgang Přiklopil
relation country of citizenship
type political territorial entity
['Wolfgang Přiklopil', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Přiklopil property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1560416
Q1048835
USER
And also tell me about Günter Duffrer?
(Q1560416,P27,c(Q1048835))
action filter_type
action find
entity Q1560416
relation P27
type Q1048835
['Q1560416', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1560416 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Günter Duffrer
action filter_type
action find
entity Günter Duffrer
relation country of citizenship
type political territorial entity
['Günter Duffrer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Günter_Duffrer property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1560416,P27,c(Q1048835))
action filter_type
action find
entity Q1560416
relation P27
type Q1048835
[ANSWER]
['Q1560416', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1560416 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Günter Duffrer
relation country of citizenship
type political territorial entity
['Günter Duffrer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Günter_Duffrer property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q5457721 Q64
P36
Q56061
USER
Does that political territory contains Flat Bay Brook, Newfoundland and Labrador and Berlin as its capital ?
(Q183,P36,Q5457721) (Q183,P36,Q64)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5457721
relation P36
action find_reverse
entity Q64
relation P36
['Q183', 'P36', 'Q5457721'] ['Q183', 'P36', 'Q64']
ASK WHERE { resource:Q183 property:P36 resource:Q64 . resource:Q183 property:P36 resource:Q5457721 }
Germany Flat Bay Brook, Newfoundland and Labrador Berlin
action is_in
entity Germany
action intersection
action find_reverse
entity Flat Bay Brook, Newfoundland and Labrador
relation capital
action find_reverse
entity Berlin
relation capital
['Germany', 'capital', 'Flat Bay Brook, Newfoundland and Labrador'] ['Germany', 'capital', 'Berlin']
ASK WHERE { resource:Germany property:capital resource:Berlin . resource:Germany property:capital resource:Flat_Bay_Brook,_Newfoundland_and_Labrador }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P36,Q5457721) (Q183,P36,Q64)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5457721
relation P36
action find_reverse
entity Q64
relation P36
[ANSWER]
['Q183', 'P36', 'Q5457721'] ['Q183', 'P36', 'Q64']
ASK WHERE { resource:Q183 property:P36 resource:Q64 . resource:Q183 property:P36 resource:Q5457721 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Flat Bay Brook, Newfoundland and Labrador
relation capital
action find_reverse
entity Berlin
relation capital
['Germany', 'capital', 'Flat Bay Brook, Newfoundland and Labrador'] ['Germany', 'capital', 'Berlin']
ASK WHERE { resource:Germany property:capital resource:Berlin . resource:Germany property:capital resource:Flat_Bay_Brook,_Newfoundland_and_Labrador }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P495
Q6619679 Q178561
USER
How many fictional humanoids and battles have Germany as their place of origin ?
(c(Q6619679),P495,Q183) (c(Q178561),P495,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q6619679
action filter_type
action find_reverse
entity Q183
relation P495
type Q178561
[{'concept': 'Q6619679'}, 'P495', 'Q183'] [{'concept': 'Q178561'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:Q178561 . ?h property:P495 resource:Q183 } UNION { ?h property:P495 resource:Q183 . ?h rdf:type ontology:Q6619679 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type fictional humanoid
action filter_type
action find_reverse
entity Germany
relation country of origin
type battle
[{'concept': 'fictional humanoid'}, 'country of origin', 'Germany'] [{'concept': 'battle'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:battle . ?h property:country_of_origin resource:Germany } UNION { ?h property:country_of_origin resource:Germany . ?h rdf:type ontology:fictional_humanoid } }
[]
fictional humanoid battle
SYSTEM
1 fictional humanoids and 2 battles
Q4632736 Q1017961 Q212910
(c(Q6619679),P495,Q183) (c(Q178561),P495,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q6619679
action filter_type
action find_reverse
entity Q183
relation P495
type Q178561
[ANSWER]
[{'concept': 'Q6619679'}, 'P495', 'Q183'] [{'concept': 'Q178561'}, 'P495', 'Q183']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:Q178561 . ?h property:P495 resource:Q183 } UNION { ?h property:P495 resource:Q183 . ?h rdf:type ontology:Q6619679 } }
28 cm Haubitze L/12 Butler Parker 21 cm Kanone 38
1 fictional humanoids and 2 battles
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type fictional humanoid
action filter_type
action find_reverse
entity Germany
relation country of origin
type battle
[{'concept': 'fictional humanoid'}, 'country of origin', 'Germany'] [{'concept': 'battle'}, 'country of origin', 'Germany']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:battle . ?h property:country_of_origin resource:Germany } UNION { ?h property:country_of_origin resource:Germany . ?h rdf:type ontology:fictional_humanoid } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q7743 Q1002697
USER
Which political territories do atleast 1 homes or periodical literatures belong to ?
(c(Q7743)|c(Q1002697),P127,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
value 1
[[{'concept': 'Q7743'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1002697 } UNION { ?x property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q7743 } } GROUP BY ?j } . FILTER ( ?b >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
value 1
[[{'concept': 'home'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:periodical_literature } UNION { ?x property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:home } } GROUP BY ?j } . FILTER ( ?b >= 1 ) }
[]
political territorial entity home periodical literature
Q193317 Q40 Q206926
SYSTEM
Pardubice Region, Austria, North Ayrshire
Q193317 Q40 Q206926
(c(Q7743)|c(Q1002697),P127,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
value 1
[ANSWERS] atleast 1 homes or periodical literatures belong to
[[{'concept': 'Q7743'}, {'concept': 'Q1002697'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1002697 } UNION { ?x property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q7743 } } GROUP BY ?j } . FILTER ( ?b >= 1 ) }
Pardubice Region Austria North Ayrshire
Pardubice Region, Austria and North Ayrshire atleast 1 homes or periodical literatures belong to
Pardubice Region Austria North Ayrshire
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
value 1
[[{'concept': 'home'}, {'concept': 'periodical literature'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:periodical_literature } UNION { ?x property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:home } } GROUP BY ?j } . FILTER ( ?b >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q206926
P126
Q12280
USER
Which bridge is that political territory responsible for ?
(c(Q12280),P126,Q206926)
action filter_type
action find_reverse
entity Q206926
relation P126
type Q12280
[{'concept': 'Q12280'}, 'P126', 'Q206926']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12280 . ?t property:P126 resource:Q206926 }
North Ayrshire
action filter_type
action find_reverse
entity North Ayrshire
relation maintained by
type bridge
[{'concept': 'bridge'}, 'maintained by', 'North Ayrshire']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:bridge . ?t property:maintained_by resource:North_Ayrshire }
[]
bridge
Clarification for simple ques.
Q206926
SYSTEM
Did you mean North Ayrshire ?
Q193317 Q40 Q206926
(c(Q12280),P126,Q193317) (c(Q12280),P126,Q40) (c(Q12280),P126,Q206926)
[ANSWER]
[{'concept': 'Q12280'}, 'P126', 'Q193317'] [{'concept': 'Q12280'}, 'P126', 'Q40'] [{'concept': 'Q12280'}, 'P126', 'Q206926']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12280 . ?t property:P126 resource:Q206926 }
Pardubice Region Austria North Ayrshire
Did you mean North Ayrshire ?
North Ayrshire
[{'concept': 'bridge'}, 'maintained by', 'Pardubice Region'] [{'concept': 'bridge'}, 'maintained by', 'Austria'] [{'concept': 'bridge'}, 'maintained by', 'North Ayrshire']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:bridge . ?t property:maintained_by resource:North_Ayrshire }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12280),P126,Q206926)
[{'concept': 'Q12280'}, 'P126', 'Q206926']
[{'concept': 'bridge'}, 'maintained by', 'North Ayrshire']
[]
Q5348079
SYSTEM
Eglinton Tournament Bridge
Q5348079
(c(Q12280),P126,Q206926)
action filter_type
action find_reverse
entity Q206926
relation P126
type Q12280
Which bridge is that political territory responsible for
[{'concept': 'Q12280'}, 'P126', 'Q206926']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12280 . ?t property:P126 resource:Q206926 }
Eglinton Tournament Bridge
Which bridge is that political territory responsible for
Eglinton Tournament Bridge
action filter_type
action find_reverse
entity North Ayrshire
relation maintained by
type bridge
[{'concept': 'bridge'}, 'maintained by', 'North Ayrshire']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:bridge . ?t property:maintained_by resource:North_Ayrshire }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5348079 Q635622 Q145
P17
Q15617994
USER
Is that bridge present in Medow and United Kingdom ?
(Q5348079,P17,Q635622) (Q5348079,P17,Q145)
action is_in
entity Q5348079
action intersection
action find_reverse
entity Q635622
relation P17
action find_reverse
entity Q145
relation P17
['Q5348079', 'P17', 'Q635622'] ['Q5348079', 'P17', 'Q145']
ASK WHERE { resource:Q5348079 property:P17 resource:Q635622 . resource:Q5348079 property:P17 resource:Q145 }
Eglinton Tournament Bridge Medow United Kingdom
action is_in
entity Eglinton Tournament Bridge
action intersection
action find_reverse
entity Medow
relation country
action find_reverse
entity United Kingdom
relation country
['Eglinton Tournament Bridge', 'country', 'Medow'] ['Eglinton Tournament Bridge', 'country', 'United Kingdom']
ASK WHERE { resource:Eglinton_Tournament_Bridge property:country resource:Medow . resource:Eglinton_Tournament_Bridge property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5348079,P17,Q635622) (Q5348079,P17,Q145)
action is_in
entity Q5348079
action intersection
action find_reverse
entity Q635622
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q5348079', 'P17', 'Q635622'] ['Q5348079', 'P17', 'Q145']
ASK WHERE { resource:Q5348079 property:P17 resource:Q635622 . resource:Q5348079 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Eglinton Tournament Bridge
action intersection
action find_reverse
entity Medow
relation country
action find_reverse
entity United Kingdom
relation country
['Eglinton Tournament Bridge', 'country', 'Medow'] ['Eglinton Tournament Bridge', 'country', 'United Kingdom']
ASK WHERE { resource:Eglinton_Tournament_Bridge property:country resource:Medow . resource:Eglinton_Tournament_Bridge property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q667057 Q1606045
P17
Q1048835
USER
Is Strasshof an der Nordbahn a part of Cabezón de Liébana ?
(Q667057,P17,Q1606045)
action is_in
entity Q1606045
action find
entity Q667057
relation P17
['Q667057', 'P17', 'Q1606045']
ASK WHERE { resource:Q667057 property:P17 resource:Q1606045 }
Strasshof an der Nordbahn Cabezón de Liébana
action is_in
entity Cabezón de Liébana
action find
entity Strasshof an der Nordbahn
relation country
['Strasshof an der Nordbahn', 'country', 'Cabezón de Liébana']
ASK WHERE { resource:Strasshof_an_der_Nordbahn property:country resource:Cabezón_de_Liébana }
[]
political territorial entity
SYSTEM
NO
(Q667057,P17,Q1606045)
action is_in
entity Q1606045
action find
entity Q667057
relation P17
[ANSWER]
['Q667057', 'P17', 'Q1606045']
ASK WHERE { resource:Q667057 property:P17 resource:Q1606045 }
No
action is_in
entity Cabezón de Liébana
action find
entity Strasshof an der Nordbahn
relation country
['Strasshof an der Nordbahn', 'country', 'Cabezón de Liébana']
ASK WHERE { resource:Strasshof_an_der_Nordbahn property:country resource:Cabezón_de_Liébana }
[]