Simple Question (Direct)
Simple Question
Q10402922
P641
Q349
USER
What was the sport that Marko Grgić was a part of ?
(Q10402922,P641,c(Q349))
action filter_type
action find
entity Q10402922
relation P641
type Q349
['Q10402922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q10402922 property:P641 ?q . ?q rdf:type ontology:Q349 }
Marko Grgić
action filter_type
action find
entity Marko Grgić
relation sport
type sport
['Marko Grgić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Marko_Grgić property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10402922,P641,c(Q349))
action filter_type
action find
entity Q10402922
relation P641
type Q349
The sport that Marko Grgić was a part of was the [ANSWER]
['Q10402922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q10402922 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Marko Grgić was a part of was the association football
association football
action filter_type
action find
entity Marko Grgić
relation sport
type sport
['Marko Grgić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Marko_Grgić property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10402922
P21
Q290
USER
Which sex does Marko Grgić possess ?
(Q10402922,P21,c(Q290))
action filter_type
action find
entity Q10402922
relation P21
type Q290
['Q10402922', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q10402922 property:P21 ?o }
Marko Grgić
action filter_type
action find
entity Marko Grgić
relation gender
type sex
['Marko Grgić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marko_Grgić property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10402922,P21,c(Q290))
action filter_type
action find
entity Q10402922
relation P21
type Q290
Marko Grgić possesses un [ANSWER]
['Q10402922', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q10402922 property:P21 ?o }
male
Marko Grgić possesses un male
male
action filter_type
action find
entity Marko Grgić
relation gender
type sex
['Marko Grgić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marko_Grgić property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10402922
P19
Q56061
USER
Which administrative territory is the birthplace of Marko Grgić ?
(Q10402922,P19,c(Q56061))
action filter_type
action find
entity Q10402922
relation P19
type Q56061
['Q10402922', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q10402922 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Marko Grgić
action filter_type
action find
entity Marko Grgić
relation place of birth
type administrative territorial entity
['Marko Grgić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Grgić property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q93347
SYSTEM
Mostar
Q93347
(Q10402922,P19,c(Q56061))
action filter_type
action find
entity Q10402922
relation P19
type Q56061
[ANSWER] is the birthplace of Marko Grgić
['Q10402922', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q10402922 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Mostar
Mostar is the birthplace of Marko Grgić
Mostar
action filter_type
action find
entity Marko Grgić
relation place of birth
type administrative territorial entity
['Marko Grgić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Grgić property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19887434
Q56061
USER
And how about Purificación Causapié?
(Q19887434,P19,c(Q56061))
action filter_type
action find
entity Q19887434
relation P19
type Q56061
['Q19887434', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q19887434 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Purificación Causapié
action filter_type
action find
entity Purificación Causapié
relation place of birth
type administrative territorial entity
['Purificación Causapié', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Purificación_Causapié property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11953
SYSTEM
Guadalajara
Q11953
(Q19887434,P19,c(Q56061))
action filter_type
action find
entity Q19887434
relation P19
type Q56061
[ANSWER]
['Q19887434', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q19887434 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Guadalajara
Guadalajara
action filter_type
action find
entity Purificación Causapié
relation place of birth
type administrative territorial entity
['Purificación Causapié', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Purificación_Causapié property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19887434
P1412
Q34770
USER
Which language is spoken by Purificación Causapié ?
(Q19887434,P1412,c(Q34770))
action filter_type
action find
entity Q19887434
relation P1412
type Q34770
['Q19887434', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q19887434 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Purificación Causapié
action filter_type
action find
entity Purificación Causapié
relation languages spoken, written or signed
type language
['Purificación Causapié', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Purificación_Causapié property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q19887434,P1412,c(Q34770))
action filter_type
action find
entity Q19887434
relation P1412
type Q34770
[ANSWER] is spoken by Purificación Causapié
['Q19887434', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q19887434 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by Purificación Causapié
Spanish
action filter_type
action find
entity Purificación Causapié
relation languages spoken, written or signed
type language
['Purificación Causapié', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Purificación_Causapié property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19887434
P39
Q12737077
USER
Which occupation was a position held by Purificación Causapié ?
(Q19887434,P39,c(Q12737077))
action filter_type
action find
entity Q19887434
relation P39
type Q12737077
['Q19887434', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q19887434 property:P39 ?e }
Purificación Causapié
action filter_type
action find
entity Purificación Causapié
relation position held
type occupation
['Purificación Causapié', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Purificación_Causapié property:position_held ?e }
[]
occupation
Q22978391
SYSTEM
Madrid Councillor
Q22978391
(Q19887434,P39,c(Q12737077))
action filter_type
action find
entity Q19887434
relation P39
type Q12737077
[ANSWER] was a position held by Purificación Causapié
['Q19887434', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q19887434 property:P39 ?e }
Madrid Councillor
Madrid Councillor was a position held by Purificación Causapié
Madrid Councillor
action filter_type
action find
entity Purificación Causapié
relation position held
type occupation
['Purificación Causapié', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Purificación_Causapié property:position_held ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q11953
P276
Q1190554 Q15259995
USER
How many events and recurring tournaments are situated at Guadalajara ?
(c(Q1190554),P276,Q11953) (c(Q15259995),P276,Q11953)
action count
action union
action filter_type
action find_reverse
entity Q11953
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q11953
relation P276
type Q15259995
[{'concept': 'Q1190554'}, 'P276', 'Q11953'] [{'concept': 'Q15259995'}, 'P276', 'Q11953']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P276 resource:Q11953 . ?w rdf:type ontology:Q15259995 } UNION { ?w rdf:type ontology:Q1190554 . ?w property:P276 resource:Q11953 } }
Guadalajara
action count
action union
action filter_type
action find_reverse
entity Guadalajara
relation location
type event
action filter_type
action find_reverse
entity Guadalajara
relation location
type recurring tournament
[{'concept': 'event'}, 'location', 'Guadalajara'] [{'concept': 'recurring tournament'}, 'location', 'Guadalajara']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:location resource:Guadalajara . ?w rdf:type ontology:recurring_tournament } UNION { ?w rdf:type ontology:event . ?w property:location resource:Guadalajara } }
[]
event recurring tournament
SYSTEM
1 events and 1 recurring tournaments
Q1641241 Q533740
(c(Q1190554),P276,Q11953) (c(Q15259995),P276,Q11953)
action count
action union
action filter_type
action find_reverse
entity Q11953
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q11953
relation P276
type Q15259995
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q11953'] [{'concept': 'Q15259995'}, 'P276', 'Q11953']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P276 resource:Q11953 . ?w rdf:type ontology:Q15259995 } UNION { ?w rdf:type ontology:Q1190554 . ?w property:P276 resource:Q11953 } }
Battle of Guadalajara 2013 World Men's Handball Championship
1 events and 1 recurring tournaments
action count
action union
action filter_type
action find_reverse
entity Guadalajara
relation location
type event
action filter_type
action find_reverse
entity Guadalajara
relation location
type recurring tournament
[{'concept': 'event'}, 'location', 'Guadalajara'] [{'concept': 'recurring tournament'}, 'location', 'Guadalajara']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:location resource:Guadalajara . ?w rdf:type ontology:recurring_tournament } UNION { ?w rdf:type ontology:event . ?w property:location resource:Guadalajara } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q2342494
USER
How many occupations were the main subjects in the work exactly 2 works and collectables ?
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 2
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?o rdf:type ?u } GROUP BY ?x } . FILTER ( ?v = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 2
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:collectable ) } . ?o rdf:type ?u } GROUP BY ?x } . FILTER ( ?v = 2 ) }
[]
occupation work collectable
SYSTEM
2
Q11631 Q9402
(c(Q386724)|c(Q2342494),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q2342494 ) } . ?o rdf:type ?u } GROUP BY ?x } . FILTER ( ?v = 2 ) }
astronaut ninja
2
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 2
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?v ) WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:collectable ) } . ?o rdf:type ?u } GROUP BY ?x } . FILTER ( ?v = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2736 property:P495 ?x . ?x rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:association_football property:country_of_origin ?x . ?x rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of association football is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2736 property:P495 ?x . ?x rdf:type ontology:Q1496967 }
England
The origin of association football is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:association_football property:country_of_origin ?x . ?x rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P172
Q502895
USER
Which people have that territory as his/her race ?
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?g WHERE { ?g property:P172 resource:Q21 . ?g rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?g WHERE { ?g property:ethnic_group resource:England . ?g rdf:type ontology:common_name }
[]
common name
Q21151748 Q7341902 Q5730252
SYSTEM
Rosemary Stjernstedt, Robert Barrington-Ward, Henry William Wilberforce
Q6829817 Q7683973 Q4767120 Q5424077 Q5107509 Q7519325 Q8006577 Q7341902 Q5730252 Q21151748
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[ANSWERS] have that territory as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?g WHERE { ?g property:P172 resource:Q21 . ?g rdf:type ontology:Q502895 }
Michael Derrick Tanya Beckett Anna Jones F. W. Micklethwaite Chris Morris Simon McCoy William Carpenter Robert Barrington-Ward Henry William Wilberforce Rosemary Stjernstedt
Rosemary Stjernstedt, Robert Barrington-Ward and Henry William Wilberforce have that territory as his/her race
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?g WHERE { ?g property:ethnic_group resource:England . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5730252
P69
Q1244442
USER
Where was Henry William Wilberforce educated ?
(Q5730252,P69,c(Q1244442))
action filter_type
action find
entity Q5730252
relation P69
type Q1244442
['Q5730252', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?e WHERE { resource:Q5730252 property:P69 ?e . ?e rdf:type ontology:Q1244442 }
Henry William Wilberforce
action filter_type
action find
entity Henry William Wilberforce
relation educated at
type school building
['Henry William Wilberforce', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?e WHERE { resource:Henry_William_Wilberforce property:educated_at ?e . ?e rdf:type ontology:school_building }
[]
school building
Q81170
SYSTEM
Oriel College
Q81170
(Q5730252,P69,c(Q1244442))
action filter_type
action find
entity Q5730252
relation P69
type Q1244442
Henry William Wilberforce was educated at [ANSWER]
['Q5730252', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?e WHERE { resource:Q5730252 property:P69 ?e . ?e rdf:type ontology:Q1244442 }
Oriel College
Henry William Wilberforce was educated at Oriel College
Oriel College
action filter_type
action find
entity Henry William Wilberforce
relation educated at
type school building
['Henry William Wilberforce', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?e WHERE { resource:Henry_William_Wilberforce property:educated_at ?e . ?e rdf:type ontology:school_building }
[]