Simple Question (Direct)
Simple Question
Q6272557
P27
Q15617994
USER
Which administrative territory is Jonathan Bell a civilian of ?
(Q6272557,P27,c(Q15617994))
action filter_type
action find
entity Q6272557
relation P27
type Q15617994
['Q6272557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6272557 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Jonathan Bell
action filter_type
action find
entity Jonathan Bell
relation country of citizenship
type designation for an administrative territorial entity
['Jonathan Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Jonathan_Bell property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6272557,P27,c(Q15617994))
action filter_type
action find
entity Q6272557
relation P27
type Q15617994
[ANSWER] is Jonathan Bell a civilian of
['Q6272557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6272557 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Jonathan Bell a civilian of
United Kingdom
action filter_type
action find
entity Jonathan Bell
relation country of citizenship
type designation for an administrative territorial entity
['Jonathan Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Jonathan_Bell property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P463
Q484652
USER
Which organizations were that administrative territory a member of ?
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P463 ?n . ?n rdf:type ontology:Q484652 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q19771 Q7785 Q1065 Q188822 Q37143 Q7184 Q42262 Q1043527
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
[ANSWERS] were that administrative territory a member of
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P463 ?n . ?n rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 Commonwealth of Nations United Nations Asian Development Bank G8 North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and European Space Agency were that administrative territory a member of
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42262
P159
Q56061
USER
Where is the headquarter of that international organization located ?
(Q42262,P159,c(Q56061))
action filter_type
action find
entity Q42262
relation P159
type Q56061
['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q42262 property:P159 ?u . ?u rdf:type ontology:Q56061 }
European Space Agency
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:European_Space_Agency property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q42262
SYSTEM
Did you mean European Space Agency ?
Q81299 Q19771 Q42262
(Q81299,P159,c(Q56061)) (Q19771,P159,c(Q56061)) (Q42262,P159,c(Q56061))
[ANSWER]
['Q81299', 'P159', {'concept': 'Q56061'}] ['Q19771', 'P159', {'concept': 'Q56061'}] ['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q42262 property:P159 ?u . ?u rdf:type ontology:Q56061 }
Organization for Security and Co-operation in Europe G20 European Space Agency
Did you mean European Space Agency ?
European Space Agency
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}] ['G20', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:European_Space_Agency property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q42262,P159,c(Q56061))
['Q42262', 'P159', {'concept': 'Q56061'}]
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q42262,P159,c(Q56061))
action filter_type
action find
entity Q42262
relation P159
type Q56061
Is the headquarter of that international organization located in [ANSWER]
['Q42262', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q42262 property:P159 ?u . ?u rdf:type ontology:Q56061 }
Paris
Is the headquarter of that international organization located in Paris
Paris
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:European_Space_Agency property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q90 Q794914
P20
Q502895
USER
Does Ricardo Esgaio have that administrative territory as the location of death ?
(Q794914,P20,Q90)
action is_in
entity Q794914
action find
entity Q90
relation P20
['Q794914', 'P20', 'Q90']
ASK WHERE { resource:Q90 property:P20 resource:Q794914 }
Paris Ricardo Esgaio
action is_in
entity Ricardo Esgaio
action find
entity Paris
relation place of death
['Ricardo Esgaio', 'place of death', 'Paris']
ASK WHERE { resource:Paris property:place_of_death resource:Ricardo_Esgaio }
[]
common name
SYSTEM
NO
(Q794914,P20,Q90)
action is_in
entity Q794914
action find
entity Q90
relation P20
[ANSWER]
['Q794914', 'P20', 'Q90']
ASK WHERE { resource:Q90 property:P20 resource:Q794914 }
No
action is_in
entity Ricardo Esgaio
action find
entity Paris
relation place of death
['Ricardo Esgaio', 'place of death', 'Paris']
ASK WHERE { resource:Paris property:place_of_death resource:Ricardo_Esgaio }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6272557 Q1185894
P102
Q7210356
USER
Does Jonathan Bell belong to The Democrats ?
(Q6272557,P102,Q1185894)
action is_in
entity Q1185894
action find
entity Q6272557
relation P102
['Q6272557', 'P102', 'Q1185894']
ASK WHERE { resource:Q6272557 property:P102 resource:Q1185894 }
Jonathan Bell The Democrats
action is_in
entity The Democrats
action find
entity Jonathan Bell
relation member of political party
['Jonathan Bell', 'member of political party', 'The Democrats']
ASK WHERE { resource:Jonathan_Bell property:member_of_political_party resource:The_Democrats }
[]
political organization
SYSTEM
NO
(Q6272557,P102,Q1185894)
action is_in
entity Q1185894
action find
entity Q6272557
relation P102
[ANSWER]
['Q6272557', 'P102', 'Q1185894']
ASK WHERE { resource:Q6272557 property:P102 resource:Q1185894 }
No
action is_in
entity The Democrats
action find
entity Jonathan Bell
relation member of political party
['Jonathan Bell', 'member of political party', 'The Democrats']
ASK WHERE { resource:Jonathan_Bell property:member_of_political_party resource:The_Democrats }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6272557
P106
Q12737077
USER
What does that person do for a living ?
action filter_type
action find
entity Q6272557
relation P106
type Q12737077
SELECT DISTINCT ?h WHERE { resource:Q6272557 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jonathan Bell
action filter_type
action find
entity Jonathan Bell
relation occupation
type occupation
SELECT DISTINCT ?h WHERE { resource:Jonathan_Bell property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q6272557
relation P106
type Q12737077
[ANSWER] that person does for a living
SELECT DISTINCT ?h WHERE { resource:Q6272557 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Jonathan Bell
relation occupation
type occupation
SELECT DISTINCT ?h WHERE { resource:Jonathan_Bell property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of around 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P417 ?x . ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?x } }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:patron_saint ?x . ?x rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?x } }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P417 ?x . ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?x } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:patron_saint ?x . ?x rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?x } }
[]