Simple Question (Direct)
Simple Question
Q7154016
P54
Q43229
USER
What is the team that Paul Tierney is a member of ?
(Q7154016,P54,c(Q43229))
action filter_type
action find
entity Q7154016
relation P54
type Q43229
['Q7154016', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q7154016 property:P54 ?k . ?k rdf:type ontology:Q43229 }
Paul Tierney
action filter_type
action find
entity Paul Tierney
relation member of sports team
type organization
['Paul Tierney', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Tierney property:member_of_sports_team ?k . ?k rdf:type ontology:organization }
[]
organization
Q18656
SYSTEM
Manchester United F.C.
Q18656
(Q7154016,P54,c(Q43229))
action filter_type
action find
entity Q7154016
relation P54
type Q43229
The team that Paul Tierney is a member of is [ANSWER]
['Q7154016', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q7154016 property:P54 ?k . ?k rdf:type ontology:Q43229 }
Manchester United F.C.
The team that Paul Tierney is a member of is Manchester United F.C.
Manchester United F.C.
action filter_type
action find
entity Paul Tierney
relation member of sports team
type organization
['Paul Tierney', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Tierney property:member_of_sports_team ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7154016
P641
Q349
USER
What was the sport that Paul Tierney was a part of ?
(Q7154016,P641,c(Q349))
action filter_type
action find
entity Q7154016
relation P641
type Q349
['Q7154016', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q7154016 property:P641 ?t . ?t rdf:type ontology:Q349 }
Paul Tierney
action filter_type
action find
entity Paul Tierney
relation sport
type sport
['Paul Tierney', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Tierney property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7154016,P641,c(Q349))
action filter_type
action find
entity Q7154016
relation P641
type Q349
The sport that Paul Tierney was a part of was the [ANSWER]
['Q7154016', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q7154016 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
The sport that Paul Tierney was a part of was the association football
association football
action filter_type
action find
entity Paul Tierney
relation sport
type sport
['Paul Tierney', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Tierney property:sport ?t . ?t rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q4981081 Q7154016
P641
Q349
USER
And also Marie Ståhlberg
AND((Q7154016,P641,c(Q349)), (Q4981081,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q7154016
relation P641
action find
entity Q4981081
relation P641
type Q349
{'AND': [['Q7154016', 'P641', {'concept': 'Q349'}], ['Q4981081', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { resource:Q7154016 property:P641 ?l . resource:Q4981081 property:P641 ?l . ?l rdf:type ontology:Q349 }
Marie Ståhlberg Paul Tierney
action filter_type
action intersection
action find
entity Paul Tierney
relation sport
action find
entity Marie Ståhlberg
relation sport
type sport
{'AND': [['Paul Tierney', 'sport', {'concept': 'sport'}], ['Marie Ståhlberg', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { resource:Paul_Tierney property:sport ?l . resource:Marie_Ståhlberg property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q7154016,P641,c(Q349)), (Q4981081,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q7154016
relation P641
action find
entity Q4981081
relation P641
type Q349
[ANSWER]
{'AND': [['Q7154016', 'P641', {'concept': 'Q349'}], ['Q4981081', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { resource:Q7154016 property:P641 ?l . resource:Q4981081 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Paul Tierney
relation sport
action find
entity Marie Ståhlberg
relation sport
type sport
{'AND': [['Paul Tierney', 'sport', {'concept': 'sport'}], ['Marie Ståhlberg', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { resource:Paul_Tierney property:sport ?l . resource:Marie_Ståhlberg property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4981081
P27
Q15617994
USER
Which administrative territory is the native country of Marie Ståhlberg ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4981081
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4981081 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Marie Ståhlberg
action filter_type
action find
entity Marie Ståhlberg
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marie_Ståhlberg property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4981081
relation P27
type Q15617994
[ANSWER] is the native country of Marie Ståhlberg
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4981081 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Marie Ståhlberg
Sweden
action filter_type
action find
entity Marie Ståhlberg
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marie_Ståhlberg property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with that administrative territory ?
(Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835)) (Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P530
type Q15617994
action filter_type
action find
entity Q34
relation P530
type Q1048835
['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}] ['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?d rdf:type ?f }
action count
action union
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?d rdf:type ?f }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q928 Q16 Q408 Q38 Q183
(Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835)) (Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P530
type Q15617994
action filter_type
action find
entity Q34
relation P530
type Q1048835
[ANSWER]
['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}] ['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?d rdf:type ?f }
Philippines Canada Australia Italy Germany
5
action count
action union
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?d rdf:type ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4829642 Q4981081
P106
Q12737077
USER
Which occupations are the professions of Marie Ståhlberg or Awa Santesson-Sey ?
OR((Q4981081,P106,c(Q12737077)), (Q4829642,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4981081
relation P106
action find
entity Q4829642
relation P106
type Q12737077
{'OR': [['Q4981081', 'P106', {'concept': 'Q12737077'}], ['Q4829642', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4981081 property:P106 ?o } UNION { resource:Q4829642 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Awa Santesson-Sey Marie Ståhlberg
action filter_type
action union
action find
entity Marie Ståhlberg
relation occupation
action find
entity Awa Santesson-Sey
relation occupation
type occupation
{'OR': [['Marie Ståhlberg', 'occupation', {'concept': 'occupation'}], ['Awa Santesson-Sey', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Marie_Ståhlberg property:occupation ?o } UNION { resource:Awa_Santesson-Sey property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q937857 Q177220
SYSTEM
association football player, singer
Q937857 Q177220
OR((Q4981081,P106,c(Q12737077)), (Q4829642,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4981081
relation P106
action find
entity Q4829642
relation P106
type Q12737077
The [ANSWERS] are the professions of Marie Ståhlberg or Awa Santesson-Sey
{'OR': [['Q4981081', 'P106', {'concept': 'Q12737077'}], ['Q4829642', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4981081 property:P106 ?o } UNION { resource:Q4829642 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
association football player singer
The association football player and singer are the professions of Marie Ståhlberg or Awa Santesson-Sey
association football player singer
action filter_type
action union
action find
entity Marie Ståhlberg
relation occupation
action find
entity Awa Santesson-Sey
relation occupation
type occupation
{'OR': [['Marie Ståhlberg', 'occupation', {'concept': 'occupation'}], ['Awa Santesson-Sey', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Marie_Ståhlberg property:occupation ?o } UNION { resource:Awa_Santesson-Sey property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1663467
P106
Q502895
USER
Do Ingvar Olsson have those occupations as his/her means of employment ?
(Q1663467,P106,Q937857) (Q1663467,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q1663467
relation P106
['Q1663467', 'P106', 'Q937857'] ['Q1663467', 'P106', 'Q177220']
ASK WHERE { VALUES ( ?f ) { ( resource:Q937857 ) ( resource:Q177220 ) } . resource:Q1663467 property:P106 ?f }
Ingvar Olsson
action is_in
entity prev_answer
action find
entity Ingvar Olsson
relation occupation
['Ingvar Olsson', 'occupation', 'association football player'] ['Ingvar Olsson', 'occupation', 'singer']
ASK WHERE { VALUES ( ?f ) { ( resource:association_football_player ) ( resource:singer ) } . resource:Ingvar_Olsson property:occupation ?f }
[]
common name
SYSTEM
YES
(Q1663467,P106,Q937857) (Q1663467,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q1663467
relation P106
[ANSWER]
['Q1663467', 'P106', 'Q937857'] ['Q1663467', 'P106', 'Q177220']
ASK WHERE { VALUES ( ?f ) { ( resource:Q937857 ) ( resource:Q177220 ) } . resource:Q1663467 property:P106 ?f }
Yes
action is_in
entity prev_answer
action find
entity Ingvar Olsson
relation occupation
['Ingvar Olsson', 'occupation', 'association football player'] ['Ingvar Olsson', 'occupation', 'singer']
ASK WHERE { VALUES ( ?f ) { ( resource:association_football_player ) ( resource:singer ) } . resource:Ingvar_Olsson property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7154016
P19
Q56061
USER
Which administrative territory was Paul Tierney born in ?
(Q7154016,P19,c(Q56061))
action filter_type
action find
entity Q7154016
relation P19
type Q56061
['Q7154016', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7154016 property:P19 ?x }
Paul Tierney
action filter_type
action find
entity Paul Tierney
relation place of birth
type administrative territorial entity
['Paul Tierney', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Paul_Tierney property:place_of_birth ?x }
[]
administrative territorial entity
Q47952
SYSTEM
Salford
Q47952
(Q7154016,P19,c(Q56061))
action filter_type
action find
entity Q7154016
relation P19
type Q56061
Paul Tierney was born in [ANSWER]
['Q7154016', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q7154016 property:P19 ?x }
Salford
Paul Tierney was born in Salford
Salford
action filter_type
action find
entity Paul Tierney
relation place of birth
type administrative territorial entity
['Paul Tierney', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Paul_Tierney property:place_of_birth ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q47952 Q6555
P190
Q56061
USER
Is Narbonne sister town of that one ?
(Q47952,P190,Q6555)
action is_in
entity Q6555
action find
entity Q47952
relation P190
['Q47952', 'P190', 'Q6555']
ASK WHERE { resource:Q47952 property:P190 resource:Q6555 }
Salford Narbonne
action is_in
entity Narbonne
action find
entity Salford
relation sister city
['Salford', 'sister city', 'Narbonne']
ASK WHERE { resource:Salford property:sister_city resource:Narbonne }
[]
administrative territorial entity
SYSTEM
YES
(Q47952,P190,Q6555)
action is_in
entity Q6555
action find
entity Q47952
relation P190
[ANSWER]
['Q47952', 'P190', 'Q6555']
ASK WHERE { resource:Q47952 property:P190 resource:Q6555 }
Yes
action is_in
entity Narbonne
action find
entity Salford
relation sister city
['Salford', 'sister city', 'Narbonne']
ASK WHERE { resource:Salford property:sister_city resource:Narbonne }
[]