Simple Question (Direct)
Simple Question
Q22893630
P1346
Q502895
USER
Who were the winners of 2014 Tour de Filipinas ?
(Q22893630,P1346,c(Q502895))
action filter_type
action find
entity Q22893630
relation P1346
type Q502895
['Q22893630', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q22893630 property:P1346 ?g }
2014 Tour de Filipinas
action filter_type
action find
entity 2014 Tour de Filipinas
relation winner
type common name
['2014 Tour de Filipinas', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:2014_Tour_de_Filipinas property:winner ?g }
[]
common name
Q497725 Q16745293 Q22893639
SYSTEM
Park Sung-baek, Mark Galedo, Ariya Phounsavath
Q16745293 Q22893639 Q16855066 Q16634821 Q497725 Q22893693
(Q22893630,P1346,c(Q502895))
action filter_type
action find
entity Q22893630
relation P1346
type Q502895
The winners of 2014 Tour de Filipinas were Lee [ANSWERS]
['Q22893630', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q22893630 property:P1346 ?g }
Mark Galedo Ariya Phounsavath Alireza Asgharzadeh Eric Sheppard Park Sung-baek Brendon Meney
The winners of 2014 Tour de Filipinas were Lee Park Sung-baek, Mark Galedo and Ariya Phounsavath
Park Sung-baek Mark Galedo Ariya Phounsavath
action filter_type
action find
entity 2014 Tour de Filipinas
relation winner
type common name
['2014 Tour de Filipinas', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:2014_Tour_de_Filipinas property:winner ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22893630
P641
Q31629
USER
What was the type of sport that 2014 Tour de Filipinas was a part of ?
(Q22893630,P641,c(Q31629))
action filter_type
action find
entity Q22893630
relation P641
type Q31629
['Q22893630', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q22893630 property:P641 ?n . ?n rdf:type ontology:Q31629 }
2014 Tour de Filipinas
action filter_type
action find
entity 2014 Tour de Filipinas
relation sport
type type of sport
['2014 Tour de Filipinas', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:2014_Tour_de_Filipinas property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q22893630,P641,c(Q31629))
action filter_type
action find
entity Q22893630
relation P641
type Q31629
The type of sport that 2014 Tour de Filipinas was a part of was h [ANSWER]
['Q22893630', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q22893630 property:P641 ?n . ?n rdf:type ontology:Q31629 }
road bicycle racing
The type of sport that 2014 Tour de Filipinas was a part of was h road bicycle racing
road bicycle racing
action filter_type
action find
entity 2014 Tour de Filipinas
relation sport
type type of sport
['2014 Tour de Filipinas', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:2014_Tour_de_Filipinas property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27597900
P106
Q12737077
USER
What is the job of Vesma Baltgailis ?
(Q27597900,P106,c(Q12737077))
action filter_type
action find
entity Q27597900
relation P106
type Q12737077
['Q27597900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q27597900 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Vesma Baltgailis
action filter_type
action find
entity Vesma Baltgailis
relation occupation
type occupation
['Vesma Baltgailis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Vesma_Baltgailis property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q10873124
SYSTEM
chess player
Q10873124
(Q27597900,P106,c(Q12737077))
action filter_type
action find
entity Q27597900
relation P106
type Q12737077
The job of Vesma Baltgailis is a [ANSWER]
['Q27597900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q27597900 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
chess player
The job of Vesma Baltgailis is a chess player
chess player
action filter_type
action find
entity Vesma Baltgailis
relation occupation
type occupation
['Vesma Baltgailis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Vesma_Baltgailis property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27597900
P21
Q290
USER
Which sex does Vesma Baltgailis belong to ?
(Q27597900,P21,c(Q290))
action filter_type
action find
entity Q27597900
relation P21
type Q290
['Q27597900', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q27597900 property:P21 ?p . ?p rdf:type ontology:Q290 }
Vesma Baltgailis
action filter_type
action find
entity Vesma Baltgailis
relation gender
type sex
['Vesma Baltgailis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Vesma_Baltgailis property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q27597900,P21,c(Q290))
action filter_type
action find
entity Q27597900
relation P21
type Q290
Vesma Baltgailis belongs to [ANSWER]
['Q27597900', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q27597900 property:P21 ?p . ?p rdf:type ontology:Q290 }
female
Vesma Baltgailis belongs to female
female
action filter_type
action find
entity Vesma Baltgailis
relation gender
type sex
['Vesma Baltgailis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Vesma_Baltgailis property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11670998
Q290
USER
And also tell me about Shintarō Takahashi?
(Q11670998,P21,c(Q290))
action filter_type
action find
entity Q11670998
relation P21
type Q290
['Q11670998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q11670998 property:P21 ?v . ?v rdf:type ontology:Q290 }
Shintarō Takahashi
action filter_type
action find
entity Shintarō Takahashi
relation gender
type sex
['Shintarō Takahashi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Shintarō_Takahashi property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11670998,P21,c(Q290))
action filter_type
action find
entity Q11670998
relation P21
type Q290
[ANSWER]
['Q11670998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q11670998 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Shintarō Takahashi
relation gender
type sex
['Shintarō Takahashi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Shintarō_Takahashi property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q497725
P1346
Q18608583
USER
How many recurring sporting events were won by Park Sung-baek ?
(c(Q18608583),P1346,Q497725)
action count
action filter_type
action find_reverse
entity Q497725
relation P1346
type Q18608583
[{'concept': 'Q18608583'}, 'P1346', 'Q497725']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1346 resource:Q497725 . ?r rdf:type ontology:Q18608583 }
Park Sung-baek
action count
action filter_type
action find_reverse
entity Park Sung-baek
relation winner
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'winner', 'Park Sung-baek']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:winner resource:Park_Sung-baek . ?r rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
SYSTEM
1
Q22893630
(c(Q18608583),P1346,Q497725)
action count
action filter_type
action find_reverse
entity Q497725
relation P1346
type Q18608583
[ANSWER]
[{'concept': 'Q18608583'}, 'P1346', 'Q497725']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1346 resource:Q497725 . ?r rdf:type ontology:Q18608583 }
2014 Tour de Filipinas
1
action count
action filter_type
action find_reverse
entity Park Sung-baek
relation winner
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'winner', 'Park Sung-baek']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:winner resource:Park_Sung-baek . ?r rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q497725
P734
Q82799
USER
Who is associated with that person ?
action filter_type
action find
entity Q497725
relation P734
type Q82799
SELECT DISTINCT ?e WHERE { resource:Q497725 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Park Sung-baek
action filter_type
action find
entity Park Sung-baek
relation family name
type name
SELECT DISTINCT ?e WHERE { resource:Park_Sung-baek property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q715935
SYSTEM
Park
Q715935
action filter_type
action find
entity Q497725
relation P734
type Q82799
[ANSWER] is associated with that person
SELECT DISTINCT ?e WHERE { resource:Q497725 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Park
Park is associated with that person
Park
action filter_type
action find
entity Park Sung-baek
relation family name
type name
SELECT DISTINCT ?e WHERE { resource:Park_Sung-baek property:family_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q497725
P1344
Q18608583
USER
What recurring sporting events did that person participate in ?
(Q715935,P1344,c(Q18608583))
action filter_type
action find
entity Q497725
relation P1344
type Q18608583
['Q715935', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?x WHERE { resource:Q497725 property:P1344 ?x . ?x rdf:type ontology:Q18608583 }
Park Sung-baek
action filter_type
action find
entity Park Sung-baek
relation participant of
type recurring sporting event
['Park', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?x WHERE { resource:Park_Sung-baek property:participant_of ?x . ?x rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q244322 Q329679
SYSTEM
2010 Asian Games, 2006 Asian Games
Q244322 Q329679
(Q715935,P1344,c(Q18608583))
action filter_type
action find
entity Q497725
relation P1344
type Q18608583
That person participated in [ANSWERS]
['Q715935', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?x WHERE { resource:Q497725 property:P1344 ?x . ?x rdf:type ontology:Q18608583 }
2010 Asian Games 2006 Asian Games
That person participated in 2010 Asian Games and 2006 Asian Games
2010 Asian Games 2006 Asian Games
action filter_type
action find
entity Park Sung-baek
relation participant of
type recurring sporting event
['Park', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?x WHERE { resource:Park_Sung-baek property:participant_of ?x . ?x rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q497725
P19
Q515
USER
Which city was that person born in ?
(Q244322,P19,c(Q515)) (Q329679,P19,c(Q515))
action filter_type
action find
entity Q497725
relation P19
type Q515
['Q244322', 'P19', {'concept': 'Q515'}] ['Q329679', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q497725 property:P19 ?m . ?m rdf:type ontology:Q515 }
Park Sung-baek
action filter_type
action find
entity Park Sung-baek
relation place of birth
type city
['2010 Asian Games', 'place of birth', {'concept': 'city'}] ['2006 Asian Games', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Park_Sung-baek property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(Q244322,P19,c(Q515)) (Q329679,P19,c(Q515))
action filter_type
action find
entity Q497725
relation P19
type Q515
That person was born in [ANSWER]
['Q244322', 'P19', {'concept': 'Q515'}] ['Q329679', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q497725 property:P19 ?m . ?m rdf:type ontology:Q515 }
Seoul
That person was born in Seoul
Seoul
action filter_type
action find
entity Park Sung-baek
relation place of birth
type city
['2010 Asian Games', 'place of birth', {'concept': 'city'}] ['2006 Asian Games', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Park_Sung-baek property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q515 Q166142 Q15416
USER
How many cities are more number of applications and television programs set in than that city ?
(c(Q166142)|c(Q15416),P840,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q515
type Q166142
action find_reverse_tuple_counts
relation P840
type Q515
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q8684
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?u WHERE { { ?k property:P840 ?u . ?k rdf:type ontology:Q166142 . ?u rdf:type ontology:Q515 } UNION { ?k property:P840 ?u . ?u rdf:type ontology:Q515 . ?k rdf:type ontology:Q15416 } } GROUP BY ?u } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P840 resource:Q8684 . { { ?b rdf:type ontology:Q166142 } UNION { ?b rdf:type ontology:Q15416 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type city
type application
action find_reverse_tuple_counts
relation narrative location
type city
type television program
action count
action filter_multi_types
action find_reverse
entity Seoul
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?u WHERE { { ?k property:narrative_location ?u . ?k rdf:type ontology:application . ?u rdf:type ontology:city } UNION { ?k property:narrative_location ?u . ?u rdf:type ontology:city . ?k rdf:type ontology:television_program } } GROUP BY ?u } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:narrative_location resource:Seoul . { { ?b rdf:type ontology:application } UNION { ?b rdf:type ontology:television_program } } } } }
[]
city application television program
SYSTEM
11
Q23482 Q1533 Q19660 Q23768 Q3004 Q7473516 Q1761 Q17042 Q8652 Q3014 Q2999
(c(Q166142)|c(Q15416),P840,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q515
type Q166142
action find_reverse_tuple_counts
relation P840
type Q515
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q8684
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?u WHERE { { ?k property:P840 ?u . ?k rdf:type ontology:Q166142 . ?u rdf:type ontology:Q515 } UNION { ?k property:P840 ?u . ?u rdf:type ontology:Q515 . ?k rdf:type ontology:Q15416 } } GROUP BY ?u } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P840 resource:Q8684 . { { ?b rdf:type ontology:Q166142 } UNION { ?b rdf:type ontology:Q15416 } } } } }
Marseille Caracas Bucharest Las Vegas Ingolstadt Tokyo Dublin Oakland Miami Wolfsburg Würzburg
11
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type city
type application
action find_reverse_tuple_counts
relation narrative location
type city
type television program
action count
action filter_multi_types
action find_reverse
entity Seoul
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?u WHERE { { ?k property:narrative_location ?u . ?k rdf:type ontology:application . ?u rdf:type ontology:city } UNION { ?k property:narrative_location ?u . ?u rdf:type ontology:city . ?k rdf:type ontology:television_program } } GROUP BY ?u } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:narrative_location resource:Seoul . { { ?b rdf:type ontology:application } UNION { ?b rdf:type ontology:television_program } } } } }
[]