Simple Question (Direct)
Simple Question
Q26234619
P1532
Q15617994
USER
Which administrative territory is played by Mariam Ibekwe ?
(Q26234619,P1532,c(Q15617994))
action filter_type
action find
entity Q26234619
relation P1532
type Q15617994
['Q26234619', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q26234619 property:P1532 ?i }
Mariam Ibekwe
action filter_type
action find
entity Mariam Ibekwe
relation country for sport
type designation for an administrative territorial entity
['Mariam Ibekwe', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariam_Ibekwe property:country_for_sport ?i }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q26234619,P1532,c(Q15617994))
action filter_type
action find
entity Q26234619
relation P1532
type Q15617994
We [ANSWER] is played by Mariam Ibekwe
['Q26234619', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q26234619 property:P1532 ?i }
Nigeria
We Nigeria is played by Mariam Ibekwe
Nigeria
action filter_type
action find
entity Mariam Ibekwe
relation country for sport
type designation for an administrative territorial entity
['Mariam Ibekwe', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariam_Ibekwe property:country_for_sport ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26234619
P1344
Q167170
USER
What multi-sport events did Mariam Ibekwe participate in ?
(Q26234619,P1344,c(Q167170))
action filter_type
action find
entity Q26234619
relation P1344
type Q167170
['Q26234619', 'P1344', {'concept': 'Q167170'}]
SELECT DISTINCT ?t WHERE { resource:Q26234619 property:P1344 ?t . ?t rdf:type ontology:Q167170 }
Mariam Ibekwe
action filter_type
action find
entity Mariam Ibekwe
relation participant of
type multi-sport event
['Mariam Ibekwe', 'participant of', {'concept': 'multi-sport event'}]
SELECT DISTINCT ?t WHERE { resource:Mariam_Ibekwe property:participant_of ?t . ?t rdf:type ontology:multi-sport_event }
[]
multi-sport event
Q1186074 Q1210653
SYSTEM
1991 All-Africa Games, 2003 All-Africa Games
Q1186074 Q1210653
(Q26234619,P1344,c(Q167170))
action filter_type
action find
entity Q26234619
relation P1344
type Q167170
Mariam Ibekwe participated in [ANSWERS]
['Q26234619', 'P1344', {'concept': 'Q167170'}]
SELECT DISTINCT ?t WHERE { resource:Q26234619 property:P1344 ?t . ?t rdf:type ontology:Q167170 }
1991 All-Africa Games 2003 All-Africa Games
Mariam Ibekwe participated in 1991 All-Africa Games and 2003 All-Africa Games
1991 All-Africa Games 2003 All-Africa Games
action filter_type
action find
entity Mariam Ibekwe
relation participant of
type multi-sport event
['Mariam Ibekwe', 'participant of', {'concept': 'multi-sport event'}]
SELECT DISTINCT ?t WHERE { resource:Mariam_Ibekwe property:participant_of ?t . ?t rdf:type ontology:multi-sport_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26234619
P106
Q12737077
USER
What is the profession of that person ?
(Q1186074,P106,c(Q12737077)) (Q1210653,P106,c(Q12737077))
action filter_type
action find
entity Q26234619
relation P106
type Q12737077
['Q1186074', 'P106', {'concept': 'Q12737077'}] ['Q1210653', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q26234619 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Mariam Ibekwe
action filter_type
action find
entity Mariam Ibekwe
relation occupation
type occupation
['1991 All-Africa Games', 'occupation', {'concept': 'occupation'}] ['2003 All-Africa Games', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Mariam_Ibekwe property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q18534714
SYSTEM
shot putter
Q18534714
(Q1186074,P106,c(Q12737077)) (Q1210653,P106,c(Q12737077))
action filter_type
action find
entity Q26234619
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q1186074', 'P106', {'concept': 'Q12737077'}] ['Q1210653', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q26234619 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
shot putter
The profession of that person is a shot putter
shot putter
action filter_type
action find
entity Mariam Ibekwe
relation occupation
type occupation
['1991 All-Africa Games', 'occupation', {'concept': 'occupation'}] ['2003 All-Africa Games', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Mariam_Ibekwe property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q838948 Q2342494
USER
How many administrative territories are depicted in exactly 1 works of art and collectables ?
(c(Q838948)|c(Q2342494),P180,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?g rdf:type ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 1
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?g rdf:type ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
designation for an administrative territorial entity work of art collectable
SYSTEM
5
Q1028 Q298 Q79 Q1011 Q913434
(c(Q838948)|c(Q2342494),P180,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?g rdf:type ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
Morocco Chile Egypt Cape Verde Les Halles
5
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 1
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?g rdf:type ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1033
P276
Q198
USER
Which war has its location as Nigeria ?
(c(Q198),P276,Q1033)
action filter_type
action find_reverse
entity Q1033
relation P276
type Q198
[{'concept': 'Q198'}, 'P276', 'Q1033']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . ?j property:P276 resource:Q1033 }
Nigeria
action filter_type
action find_reverse
entity Nigeria
relation location
type war
[{'concept': 'war'}, 'location', 'Nigeria']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . ?j property:location resource:Nigeria }
[]
war
Q17507684
SYSTEM
military intervention against ISIL
Q17507684
(c(Q198),P276,Q1033)
action filter_type
action find_reverse
entity Q1033
relation P276
type Q198
The [ANSWER] has its location as Nigeria
[{'concept': 'Q198'}, 'P276', 'Q1033']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . ?j property:P276 resource:Q1033 }
military intervention against ISIL
The military intervention against ISIL has its location as Nigeria
military intervention against ISIL
action filter_type
action find_reverse
entity Nigeria
relation location
type war
[{'concept': 'war'}, 'location', 'Nigeria']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . ?j property:location resource:Nigeria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1033
P740
Q43229
USER
Which organization originated at that administrative territory ?
(c(Q43229),P740,Q17507684)
action filter_type
action find_reverse
entity Q1033
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q17507684']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q1033 . ?x rdf:type ontology:Q43229 }
Nigeria
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'military intervention against ISIL']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Nigeria . ?x rdf:type ontology:organization }
[]
organization
Q4045343
SYSTEM
Nigerian Postal Service
Q4045343
(c(Q43229),P740,Q17507684)
action filter_type
action find_reverse
entity Q1033
relation P740
type Q43229
[ANSWER] originated at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q17507684']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q1033 . ?x rdf:type ontology:Q43229 }
Nigerian Postal Service
Nigerian Postal Service originated at that administrative territory
Nigerian Postal Service
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'military intervention against ISIL']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Nigeria . ?x rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1033 Q142
P530
Q15617994
USER
How many administrative territories have diplomatic associations with Nigeria and France ?
(c(Q15617994),P530,Q1033) (c(Q15617994),P530,Q142)
action count
action intersection
action filter_type
action find_reverse
entity Q1033
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q1033'] [{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q1033 . ?j property:P530 resource:Q142 . ?j rdf:type ontology:Q15617994 }
Nigeria France
action count
action intersection
action filter_type
action find_reverse
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Nigeria'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Nigeria . ?j property:diplomatic_relation resource:France . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q929
(c(Q15617994),P530,Q1033) (c(Q15617994),P530,Q142)
action count
action intersection
action filter_type
action find_reverse
entity Q1033
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q1033'] [{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q1033 . ?j property:P530 resource:Q142 . ?j rdf:type ontology:Q15617994 }
Brazil Central African Republic
2
action count
action intersection
action filter_type
action find_reverse
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Nigeria'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Nigeria . ?j property:diplomatic_relation resource:France . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]