Simple Question (Direct)
Simple Question
Q5427766
P19
Q15617994
USER
Which administrative territory was Fabien Pithia born at ?
(Q5427766,P19,c(Q15617994))
action filter_type
action find
entity Q5427766
relation P19
type Q15617994
['Q5427766', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5427766 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Fabien Pithia
action filter_type
action find
entity Fabien Pithia
relation place of birth
type designation for an administrative territorial entity
['Fabien Pithia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Fabien_Pithia property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1027
SYSTEM
Mauritius
Q1027
(Q5427766,P19,c(Q15617994))
action filter_type
action find
entity Q5427766
relation P19
type Q15617994
Fabien Pithia was born in [ANSWER]
['Q5427766', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5427766 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Mauritius
Fabien Pithia was born in Mauritius
Mauritius
action filter_type
action find
entity Fabien Pithia
relation place of birth
type designation for an administrative territorial entity
['Fabien Pithia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Fabien_Pithia property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5427766
P27
Q15617994
USER
Which administrative territory is Fabien Pithia an inhabitant of ?
(Q5427766,P27,c(Q15617994))
action filter_type
action find
entity Q5427766
relation P27
type Q15617994
['Q5427766', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5427766 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Fabien Pithia
action filter_type
action find
entity Fabien Pithia
relation country of citizenship
type designation for an administrative territorial entity
['Fabien Pithia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fabien_Pithia property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1027
SYSTEM
Mauritius
Q1027
(Q5427766,P27,c(Q15617994))
action filter_type
action find
entity Q5427766
relation P27
type Q15617994
[ANSWER] is Fabien Pithia an inhabitant of
['Q5427766', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5427766 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Mauritius
Mauritius is Fabien Pithia an inhabitant of
Mauritius
action filter_type
action find
entity Fabien Pithia
relation country of citizenship
type designation for an administrative territorial entity
['Fabien Pithia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Fabien_Pithia property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17353061
Q15617994
USER
And what about Seid Waddell?
(Q17353061,P27,c(Q15617994))
action filter_type
action find
entity Q17353061
relation P27
type Q15617994
['Q17353061', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q17353061 property:P27 ?a }
Seid Waddell
action filter_type
action find
entity Seid Waddell
relation country of citizenship
type designation for an administrative territorial entity
['Seid Waddell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Seid_Waddell property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17353061,P27,c(Q15617994))
action filter_type
action find
entity Q17353061
relation P27
type Q15617994
[ANSWER]
['Q17353061', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q17353061 property:P27 ?a }
United States of America
United States of America
action filter_type
action find
entity Seid Waddell
relation country of citizenship
type designation for an administrative territorial entity
['Seid Waddell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Seid_Waddell property:country_of_citizenship ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3769542 Q17353061
P106
Q12737077
USER
Which occupations have Seid Waddell and Giulio Cattaneo as his/her as a career ?
AND((Q17353061,P106,c(Q12737077)), (Q3769542,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q17353061
relation P106
action find
entity Q3769542
relation P106
type Q12737077
{'AND': [['Q17353061', 'P106', {'concept': 'Q12737077'}], ['Q3769542', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { resource:Q3769542 property:P106 ?g . resource:Q17353061 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Giulio Cattaneo Seid Waddell
action filter_type
action intersection
action find
entity Seid Waddell
relation occupation
action find
entity Giulio Cattaneo
relation occupation
type occupation
{'AND': [['Seid Waddell', 'occupation', {'concept': 'occupation'}], ['Giulio Cattaneo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { resource:Giulio_Cattaneo property:occupation ?g . resource:Seid_Waddell property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q17353061,P106,c(Q12737077)), (Q3769542,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q17353061
relation P106
action find
entity Q3769542
relation P106
type Q12737077
The [ANSWER] have Seid Waddell and Giulio Cattaneo as his/her as a career
{'AND': [['Q17353061', 'P106', {'concept': 'Q12737077'}], ['Q3769542', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { resource:Q3769542 property:P106 ?g . resource:Q17353061 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
The politician have Seid Waddell and Giulio Cattaneo as his/her as a career
politician
action filter_type
action intersection
action find
entity Seid Waddell
relation occupation
action find
entity Giulio Cattaneo
relation occupation
type occupation
{'AND': [['Seid Waddell', 'occupation', {'concept': 'occupation'}], ['Giulio Cattaneo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { resource:Giulio_Cattaneo property:occupation ?g . resource:Seid_Waddell property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q691227 Q5427766
P641
Q349
USER
Which sports were Fabien Pithia or Mark Brown a part of ?
OR((Q5427766,P641,c(Q349)), (Q691227,P641,c(Q349)))
action filter_type
action union
action find
entity Q5427766
relation P641
action find
entity Q691227
relation P641
type Q349
{'OR': [['Q5427766', 'P641', {'concept': 'Q349'}], ['Q691227', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?r ) { ( resource:Q5427766 ) ( resource:Q691227 ) } . ?r property:P641 ?j } . ?j rdf:type ontology:Q349 }
Mark Brown Fabien Pithia
action filter_type
action union
action find
entity Fabien Pithia
relation sport
action find
entity Mark Brown
relation sport
type sport
{'OR': [['Fabien Pithia', 'sport', {'concept': 'sport'}], ['Mark Brown', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?r ) { ( resource:Fabien_Pithia ) ( resource:Mark_Brown ) } . ?r property:sport ?j } . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q5427766,P641,c(Q349)), (Q691227,P641,c(Q349)))
action filter_type
action union
action find
entity Q5427766
relation P641
action find
entity Q691227
relation P641
type Q349
The [ANSWER] was Fabien Pithia or Mark Brown a part of
{'OR': [['Q5427766', 'P641', {'concept': 'Q349'}], ['Q691227', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?r ) { ( resource:Q5427766 ) ( resource:Q691227 ) } . ?r property:P641 ?j } . ?j rdf:type ontology:Q349 }
association football
The association football was Fabien Pithia or Mark Brown a part of
association football
action filter_type
action union
action find
entity Fabien Pithia
relation sport
action find
entity Mark Brown
relation sport
type sport
{'OR': [['Fabien Pithia', 'sport', {'concept': 'sport'}], ['Mark Brown', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?r ) { ( resource:Fabien_Pithia ) ( resource:Mark_Brown ) } . ?r property:sport ?j } . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691227
P162
Q838948
USER
Which work of art has been developed by Mark Brown ?
(c(Q838948),P162,Q2736)
action filter_type
action find_reverse
entity Q691227
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q2736']
SELECT DISTINCT ?b WHERE { ?b property:P162 resource:Q691227 . ?b rdf:type ontology:Q838948 }
Mark Brown
action filter_type
action find_reverse
entity Mark Brown
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'association football']
SELECT DISTINCT ?b WHERE { ?b property:producer resource:Mark_Brown . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3989169
SYSTEM
The Seat Filler
Q3989169
(c(Q838948),P162,Q2736)
action filter_type
action find_reverse
entity Q691227
relation P162
type Q838948
[ANSWER] has been developed by Mark Brown
[{'concept': 'Q838948'}, 'P162', 'Q2736']
SELECT DISTINCT ?b WHERE { ?b property:P162 resource:Q691227 . ?b rdf:type ontology:Q838948 }
The Seat Filler
The Seat Filler has been developed by Mark Brown
The Seat Filler
action filter_type
action find_reverse
entity Mark Brown
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'association football']
SELECT DISTINCT ?b WHERE { ?b property:producer resource:Mark_Brown . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1027
P530
Q1048835
USER
Who has diplomatic relationships with Mauritius ?
(Q1027,P530,c(Q1048835))
action filter_type
action find
entity Q1027
relation P530
type Q1048835
['Q1027', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1027 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Mauritius
action filter_type
action find
entity Mauritius
relation diplomatic relation
type political territorial entity
['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mauritius property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1027,P530,c(Q1048835))
action filter_type
action find
entity Q1027
relation P530
type Q1048835
[ANSWER] has diplomatic relationships with Mauritius
['Q1027', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1027 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Australia has diplomatic relationships with Mauritius
Australia
action filter_type
action find
entity Mauritius
relation diplomatic relation
type political territorial entity
['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mauritius property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1005
Q1048835
USER
And what about Gambia?
(Q1005,P530,c(Q1048835))
action filter_type
action find
entity Q1005
relation P530
type Q1048835
['Q1005', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1005 property:P530 ?j . ?j rdf:type ontology:Q1048835 }
Gambia
action filter_type
action find
entity Gambia
relation diplomatic relation
type political territorial entity
['Gambia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Gambia property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1005,P530,c(Q1048835))
action filter_type
action find
entity Q1005
relation P530
type Q1048835
[ANSWER]
['Q1005', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1005 property:P530 ?j . ?j rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Gambia
relation diplomatic relation
type political territorial entity
['Gambia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Gambia property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1005
P495
Q15416
USER
What originates at that administrative territory ?
(c(Q15416),P495,Q183)
action filter_type
action find_reverse
entity Q1005
relation P495
type Q15416
[{'concept': 'Q15416'}, 'P495', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q1005 . ?f rdf:type ontology:Q15416 }
Gambia
action filter_type
action find_reverse
entity Gambia
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Gambia . ?f rdf:type ontology:television_program }
[]
television program
Q4855868
SYSTEM
Banjul Cops
Q4855868
(c(Q15416),P495,Q183)
action filter_type
action find_reverse
entity Q1005
relation P495
type Q15416
[ANSWER] originates at that administrative territory
[{'concept': 'Q15416'}, 'P495', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q1005 . ?f rdf:type ontology:Q15416 }
Banjul Cops
Banjul Cops originates at that administrative territory
Banjul Cops
action filter_type
action find_reverse
entity Gambia
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Gambia . ?f rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P138
Q334453 Q376799
USER
How many divisions and transport infrastructures have Australia as their namesake ?
(c(Q334453),P138,Q408) (c(Q376799),P138,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P138
type Q334453
action filter_type
action find_reverse
entity Q408
relation P138
type Q376799
[{'concept': 'Q334453'}, 'P138', 'Q408'] [{'concept': 'Q376799'}, 'P138', 'Q408']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P138 resource:Q408 . ?p rdf:type ontology:Q334453 } UNION { ?p property:P138 resource:Q408 . ?p rdf:type ontology:Q376799 } }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation named after
type division
action filter_type
action find_reverse
entity Australia
relation named after
type transport infrastructure
[{'concept': 'division'}, 'named after', 'Australia'] [{'concept': 'transport infrastructure'}, 'named after', 'Australia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:named_after resource:Australia . ?p rdf:type ontology:division } UNION { ?p property:named_after resource:Australia . ?p rdf:type ontology:transport_infrastructure } }
[]
division transport infrastructure
SYSTEM
1 divisions and 1 transport infrastructures
Q25172715 Q21098129
(c(Q334453),P138,Q408) (c(Q376799),P138,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P138
type Q334453
action filter_type
action find_reverse
entity Q408
relation P138
type Q376799
[ANSWER]
[{'concept': 'Q334453'}, 'P138', 'Q408'] [{'concept': 'Q376799'}, 'P138', 'Q408']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P138 resource:Q408 . ?p rdf:type ontology:Q334453 } UNION { ?p property:P138 resource:Q408 . ?p rdf:type ontology:Q376799 } }
Ministry of Sound Australia promenade d'Australie
1 divisions and 1 transport infrastructures
action count
action union
action filter_type
action find_reverse
entity Australia
relation named after
type division
action filter_type
action find_reverse
entity Australia
relation named after
type transport infrastructure
[{'concept': 'division'}, 'named after', 'Australia'] [{'concept': 'transport infrastructure'}, 'named after', 'Australia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:named_after resource:Australia . ?p rdf:type ontology:division } UNION { ?p property:named_after resource:Australia . ?p rdf:type ontology:transport_infrastructure } }
[]