Simple Question (Direct)
Simple Question
Q5106601
P735
Q82799
USER
What is the firstname of Chris Fry ?
(Q5106601,P735,c(Q82799))
action filter_type
action find
entity Q5106601
relation P735
type Q82799
['Q5106601', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5106601 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Chris Fry
action filter_type
action find
entity Chris Fry
relation given name
type name
['Chris Fry', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Chris_Fry property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q5106601,P735,c(Q82799))
action filter_type
action find
entity Q5106601
relation P735
type Q82799
The firstname of [ANSWER] is of [ANSWER]
['Q5106601', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5106601 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Chris
The firstname of Chris is of Chris
Chris
action filter_type
action find
entity Chris Fry
relation given name
type name
['Chris Fry', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Chris_Fry property:given_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5106601
P641
Q349
USER
What did that person participate in ?
(Q339346,P641,c(Q349))
action filter_type
action find
entity Q5106601
relation P641
type Q349
['Q339346', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q5106601 property:P641 ?m }
Chris Fry
action filter_type
action find
entity Chris Fry
relation sport
type sport
['Chris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Chris_Fry property:sport ?m }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q339346,P641,c(Q349))
action filter_type
action find
entity Q5106601
relation P641
type Q349
That person participated in [ANSWER]
['Q339346', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q5106601 property:P641 ?m }
association football
That person participated in association football
association football
action filter_type
action find
entity Chris Fry
relation sport
type sport
['Chris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Chris_Fry property:sport ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5106601
P19
Q56061
USER
Where was Chris Fry born ?
(Q5106601,P19,c(Q56061))
action filter_type
action find
entity Q5106601
relation P19
type Q56061
['Q5106601', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q5106601 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Chris Fry
action filter_type
action find
entity Chris Fry
relation place of birth
type administrative territorial entity
['Chris Fry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Chris_Fry property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10690
SYSTEM
Cardiff
Q10690
(Q5106601,P19,c(Q56061))
action filter_type
action find
entity Q5106601
relation P19
type Q56061
Chris was in [ANSWER]
['Q5106601', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q5106601 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Cardiff
Chris was in Cardiff
Cardiff
action filter_type
action find
entity Chris Fry
relation place of birth
type administrative territorial entity
['Chris Fry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Chris_Fry property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are sister towns of that administrative territory ?
(Q10690,P190,c(Q56061))
action count
action filter_type
action find
entity Q10690
relation P190
type Q56061
['Q10690', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q10690 property:P190 ?v . ?v rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Cardiff
relation sister city
type administrative territorial entity
['Cardiff', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Cardiff property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
5
Q1022 Q12191 Q185289 Q134279 Q3519
(Q10690,P190,c(Q56061))
action count
action filter_type
action find
entity Q10690
relation P190
type Q56061
[ANSWER]
['Q10690', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q10690 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Stuttgart Nantes Pernik Luhansk Bari
5
action count
action filter_type
action find
entity Cardiff
relation sister city
type administrative territorial entity
['Cardiff', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Cardiff property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q15619164 Q82799
USER
How many names are named after around 1 human settlements and abstract beings ?
(c(Q82799),P138,c(Q486972)|c(Q15619164))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q15619164
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q486972 ) } . ?d rdf:type ?r } GROUP BY ?q } . FILTER ( ?k = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type abstract being
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:human_settlement ) } . ?d rdf:type ?r } GROUP BY ?q } . FILTER ( ?k = 1 ) }
[]
human settlement abstract being name
SYSTEM
5
Q27022433 Q1069827 Q17643158 Q20818054 Q20963077
(c(Q82799),P138,c(Q486972)|c(Q15619164))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q15619164
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q486972 ) } . ?d rdf:type ?r } GROUP BY ?q } . FILTER ( ?k = 1 ) }
Danziger Rosario If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman
5
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type abstract being
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:human_settlement ) } . ?d rdf:type ?r } GROUP BY ?q } . FILTER ( ?k = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10690
P276
Q500834
USER
Which tournaments are situated at Cardiff ?
(c(Q500834),P276,Q10690)
action filter_type
action find_reverse
entity Q10690
relation P276
type Q500834
[{'concept': 'Q500834'}, 'P276', 'Q10690']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q10690 . ?f rdf:type ontology:Q500834 }
Cardiff
action filter_type
action find_reverse
entity Cardiff
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'Cardiff']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Cardiff . ?f rdf:type ontology:tournament }
[]
tournament
Q1088396 Q4339781 Q18430924
SYSTEM
2004 Welsh Open, 2002 Welsh Open, 2015 Welsh Open
Q1088396 Q4339781 Q18430924 Q4339778 Q4339779 Q4339780 Q21999755 Q2559477 Q27688560
(c(Q500834),P276,Q10690)
action filter_type
action find_reverse
entity Q10690
relation P276
type Q500834
[ANSWERS] are situated at Cardiff
[{'concept': 'Q500834'}, 'P276', 'Q10690']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q10690 . ?f rdf:type ontology:Q500834 }
2004 Welsh Open 2002 Welsh Open 2015 Welsh Open 1999 Welsh Open 2000 Welsh Open 2001 Welsh Open 2016 Welsh Open 2003 Welsh Open 2017 Welsh Open
2004 Welsh Open, 2002 Welsh Open and 2015 Welsh Open are situated at Cardiff
2004 Welsh Open 2002 Welsh Open 2015 Welsh Open
action filter_type
action find_reverse
entity Cardiff
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'Cardiff']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Cardiff . ?f rdf:type ontology:tournament }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1088396 Q4339781 Q18430924
P361
Q13406554
USER
Which sport competitions are 2004 Welsh Open, 2002 Welsh Open and 2015 Welsh Open a part of ?
(Q1088396,P361,c(Q13406554)) (Q4339781,P361,c(Q13406554)) (Q18430924,P361,c(Q13406554))
action union
action filter_type
action find
entity Q1088396
relation P361
type Q13406554
action filter_type
action find
entity Q4339781
relation P361
type Q13406554
action filter_type
action find
entity Q18430924
relation P361
type Q13406554
['Q1088396', 'P361', {'concept': 'Q13406554'}] ['Q4339781', 'P361', {'concept': 'Q13406554'}] ['Q18430924', 'P361', {'concept': 'Q13406554'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q1088396 ) ( resource:Q4339781 ) } . ?j property:P361 ?p }
2004 Welsh Open 2002 Welsh Open 2015 Welsh Open
action union
action filter_type
action find
entity 2004 Welsh Open
relation part of
type sport competition
action filter_type
action find
entity 2002 Welsh Open
relation part of
type sport competition
action filter_type
action find
entity 2015 Welsh Open
relation part of
type sport competition
['2004 Welsh Open', 'part of', {'concept': 'sport competition'}] ['2002 Welsh Open', 'part of', {'concept': 'sport competition'}] ['2015 Welsh Open', 'part of', {'concept': 'sport competition'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:2004_Welsh_Open ) ( resource:2002_Welsh_Open ) } . ?j property:part_of ?p }
[]
sport competition
Q1851688 Q1809901 Q16773683
SYSTEM
Snooker season 2003/2004, Snooker season 2001/2002, Snooker season 2014/2015
Q1851688 Q1809901 Q16773683
(Q1088396,P361,c(Q13406554)) (Q4339781,P361,c(Q13406554)) (Q18430924,P361,c(Q13406554))
action union
action filter_type
action find
entity Q1088396
relation P361
type Q13406554
action filter_type
action find
entity Q4339781
relation P361
type Q13406554
action filter_type
action find
entity Q18430924
relation P361
type Q13406554
[ANSWERS] are 2004 Welsh Open, 2002 Welsh Open and 2015 Welsh Open a part of
['Q1088396', 'P361', {'concept': 'Q13406554'}] ['Q4339781', 'P361', {'concept': 'Q13406554'}] ['Q18430924', 'P361', {'concept': 'Q13406554'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q1088396 ) ( resource:Q4339781 ) } . ?j property:P361 ?p }
Snooker season 2003/2004 Snooker season 2001/2002 Snooker season 2014/2015
Snooker season 2003/2004, Snooker season 2001/2002 and Snooker season 2014/2015 are 2004 Welsh Open, 2002 Welsh Open and 2015 Welsh Open a part of
Snooker season 2003/2004 Snooker season 2001/2002 Snooker season 2014/2015
action union
action filter_type
action find
entity 2004 Welsh Open
relation part of
type sport competition
action filter_type
action find
entity 2002 Welsh Open
relation part of
type sport competition
action filter_type
action find
entity 2015 Welsh Open
relation part of
type sport competition
['2004 Welsh Open', 'part of', {'concept': 'sport competition'}] ['2002 Welsh Open', 'part of', {'concept': 'sport competition'}] ['2015 Welsh Open', 'part of', {'concept': 'sport competition'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:2004_Welsh_Open ) ( resource:2002_Welsh_Open ) } . ?j property:part_of ?p }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1088396
Q500834
USER
And which tournament?
(Q1088396,P361,c(Q500834))
action filter_type
action find
entity Q1088396
relation P361
type Q500834
['Q1088396', 'P361', {'concept': 'Q500834'}]
SELECT DISTINCT ?j WHERE { resource:Q1088396 property:P361 ?j . ?j rdf:type ontology:Q500834 }
2004 Welsh Open
action filter_type
action find
entity 2004 Welsh Open
relation part of
type tournament
['2004 Welsh Open', 'part of', {'concept': 'tournament'}]
SELECT DISTINCT ?j WHERE { resource:2004_Welsh_Open property:part_of ?j . ?j rdf:type ontology:tournament }
[]
tournament
Q603536
SYSTEM
Welsh Open
Q603536
(Q1088396,P361,c(Q500834))
action filter_type
action find
entity Q1088396
relation P361
type Q500834
[ANSWER]
['Q1088396', 'P361', {'concept': 'Q500834'}]
SELECT DISTINCT ?j WHERE { resource:Q1088396 property:P361 ?j . ?j rdf:type ontology:Q500834 }
Welsh Open
Welsh Open
action filter_type
action find
entity 2004 Welsh Open
relation part of
type tournament
['2004 Welsh Open', 'part of', {'concept': 'tournament'}]
SELECT DISTINCT ?j WHERE { resource:2004_Welsh_Open property:part_of ?j . ?j rdf:type ontology:tournament }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q603536 Q3690610
P361
Q500834
USER
Is 2009 Copa Petrobras Buenos Aires – Singles a component of that one ?
(Q3690610,P361,Q603536)
action is_in
entity Q3690610
action find
entity Q603536
relation P361
['Q3690610', 'P361', 'Q603536']
ASK WHERE { resource:Q603536 property:P361 resource:Q3690610 }
Welsh Open 2009 Copa Petrobras Buenos Aires – Singles
action is_in
entity 2009 Copa Petrobras Buenos Aires – Singles
action find
entity Welsh Open
relation part of
['2009 Copa Petrobras Buenos Aires – Singles', 'part of', 'Welsh Open']
ASK WHERE { resource:Welsh_Open property:part_of resource:2009_Copa_Petrobras_Buenos_Aires_–_Singles }
[]
tournament
SYSTEM
NO
(Q3690610,P361,Q603536)
action is_in
entity Q3690610
action find
entity Q603536
relation P361
[ANSWER]
['Q3690610', 'P361', 'Q603536']
ASK WHERE { resource:Q603536 property:P361 resource:Q3690610 }
No
action is_in
entity 2009 Copa Petrobras Buenos Aires – Singles
action find
entity Welsh Open
relation part of
['2009 Copa Petrobras Buenos Aires – Singles', 'part of', 'Welsh Open']
ASK WHERE { resource:Welsh_Open property:part_of resource:2009_Copa_Petrobras_Buenos_Aires_–_Singles }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1088396
P1346
Q502895
USER
Which person was the champion of 2004 Welsh Open ?
(Q1088396,P1346,c(Q502895))
action filter_type
action find
entity Q1088396
relation P1346
type Q502895
['Q1088396', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1088396 property:P1346 ?j }
2004 Welsh Open
action filter_type
action find
entity 2004 Welsh Open
relation winner
type common name
['2004 Welsh Open', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:2004_Welsh_Open property:winner ?j }
[]
common name
Q190782
SYSTEM
Ronnie O'Sullivan
Q190782
(Q1088396,P1346,c(Q502895))
action filter_type
action find
entity Q1088396
relation P1346
type Q502895
' [ANSWER] was the champion of 2004 Welsh Open
['Q1088396', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1088396 property:P1346 ?j }
Ronnie O'Sullivan
' Ronnie O'Sullivan was the champion of 2004 Welsh Open
Ronnie O'Sullivan
action filter_type
action find
entity 2004 Welsh Open
relation winner
type common name
['2004 Welsh Open', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:2004_Welsh_Open property:winner ?j }
[]