Simple Question (Direct)
Simple Question
Q274104
P641
Q31629
USER
What was the type of sport that Benita Johnson was a part of ?
(Q274104,P641,c(Q31629))
action filter_type
action find
entity Q274104
relation P641
type Q31629
['Q274104', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q31629 . resource:Q274104 property:P641 ?m }
Benita Johnson
action filter_type
action find
entity Benita Johnson
relation sport
type type of sport
['Benita Johnson', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_sport . resource:Benita_Johnson property:sport ?m }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q274104,P641,c(Q31629))
action filter_type
action find
entity Q274104
relation P641
type Q31629
The type of sport that Benita Johnson was a part of was p [ANSWER]
['Q274104', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q31629 . resource:Q274104 property:P641 ?m }
athletics
The type of sport that Benita Johnson was a part of was p athletics
athletics
action filter_type
action find
entity Benita Johnson
relation sport
type type of sport
['Benita Johnson', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_sport . resource:Benita_Johnson property:sport ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274104
P2416
Q31629
USER
Which type of sport was that person a contender for ?
(Q542,P2416,c(Q31629))
action filter_type
action find
entity Q274104
relation P2416
type Q31629
['Q542', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q274104 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
Benita Johnson
action filter_type
action find
entity Benita Johnson
relation sports discipline competed in
type type of sport
['athletics', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Benita_Johnson property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q40244
SYSTEM
marathon
Q40244
(Q542,P2416,c(Q31629))
action filter_type
action find
entity Q274104
relation P2416
type Q31629
The [ANSWER] was that person a contender for
['Q542', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q274104 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
marathon
The marathon was that person a contender for
marathon
action filter_type
action find
entity Benita Johnson
relation sports discipline competed in
type type of sport
['athletics', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Benita_Johnson property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40244
P138
Q728001
USER
Which derivation is the eponym of that type of sport ?
(c(Q728001),P138,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P138
type Q728001
[{'concept': 'Q728001'}, 'P138', 'Q40244']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q728001 . ?k property:P138 resource:Q40244 }
marathon
action filter_type
action find_reverse
entity marathon
relation named after
type derivation
[{'concept': 'derivation'}, 'named after', 'marathon']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:derivation . ?k property:named_after resource:marathon }
[]
derivation
Q1619206
SYSTEM
telethon
Q1619206
(c(Q728001),P138,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P138
type Q728001
[ANSWER] is the eponym of that type of sport
[{'concept': 'Q728001'}, 'P138', 'Q40244']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q728001 . ?k property:P138 resource:Q40244 }
telethon
Telethon is the eponym of that type of sport
telethon
action filter_type
action find_reverse
entity marathon
relation named after
type derivation
[{'concept': 'derivation'}, 'named after', 'marathon']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:derivation . ?k property:named_after resource:marathon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40244
P425
Q12737077
USER
Which occupation does that type of sport belong to ?
(c(Q12737077),P425,Q1619206)
action filter_type
action find_reverse
entity Q40244
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q1619206']
SELECT DISTINCT ?l WHERE { ?l property:P425 resource:Q40244 . ?l rdf:type ontology:Q12737077 }
marathon
action filter_type
action find_reverse
entity marathon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'telethon']
SELECT DISTINCT ?l WHERE { ?l property:field_of_this_occupation resource:marathon . ?l rdf:type ontology:occupation }
[]
occupation
Q13382460
SYSTEM
marathon runner
Q13382460
(c(Q12737077),P425,Q1619206)
action filter_type
action find_reverse
entity Q40244
relation P425
type Q12737077
That type of sport belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q1619206']
SELECT DISTINCT ?l WHERE { ?l property:P425 resource:Q40244 . ?l rdf:type ontology:Q12737077 }
marathon runner
That type of sport belongs to the marathon runner
marathon runner
action filter_type
action find_reverse
entity marathon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'telethon']
SELECT DISTINCT ?l WHERE { ?l property:field_of_this_occupation resource:marathon . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40244
P101
Q502895
USER
Which people have specialisation in marathon ?
(c(Q502895),P101,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q40244']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q40244 . ?s rdf:type ontology:Q502895 }
marathon
action filter_type
action find_reverse
entity marathon
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'marathon']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:marathon . ?s rdf:type ontology:common_name }
[]
common name
Q171500 Q21777832 Q1927083
SYSTEM
Haile Gebrselassie, Carol Galea, Michael Buchleitner
Q171500 Q2336382 Q4767410 Q6820977 Q21642724 Q21777832 Q21401997 Q1927083
(c(Q502895),P101,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P101
type Q502895
[ANSWERS] have specialisation in marathon
[{'concept': 'Q502895'}, 'P101', 'Q40244']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q40244 . ?s rdf:type ontology:Q502895 }
Haile Gebrselassie Tonnie Dirks Anna Pichrtová Meryem Erdoğan Matt Llano Carol Galea Isaac Korir Michael Buchleitner
Haile Gebrselassie, Carol Galea and Michael Buchleitner have specialisation in marathon
Haile Gebrselassie Carol Galea Michael Buchleitner
action filter_type
action find_reverse
entity marathon
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'marathon']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:marathon . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1927083
P1344
Q13406554
USER
Which sport competitions did that person take part in ?
(Q1927083,P1344,c(Q13406554))
action filter_type
action find
entity Q1927083
relation P1344
type Q13406554
['Q1927083', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?s WHERE { resource:Q1927083 property:P1344 ?s . ?s rdf:type ontology:Q13406554 }
Michael Buchleitner
action filter_type
action find
entity Michael Buchleitner
relation participant of
type sport competition
['Michael Buchleitner', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?s WHERE { resource:Michael_Buchleitner property:participant_of ?s . ?s rdf:type ontology:sport_competition }
[]
sport competition
Clarification for simple ques.
Q1927083
SYSTEM
Did you mean Michael Buchleitner ?
Q171500 Q21777832 Q1927083
(Q171500,P1344,c(Q13406554)) (Q21777832,P1344,c(Q13406554)) (Q1927083,P1344,c(Q13406554))
[ANSWER]
['Q171500', 'P1344', {'concept': 'Q13406554'}] ['Q21777832', 'P1344', {'concept': 'Q13406554'}] ['Q1927083', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?s WHERE { resource:Q1927083 property:P1344 ?s . ?s rdf:type ontology:Q13406554 }
Haile Gebrselassie Carol Galea Michael Buchleitner
Did you mean Michael Buchleitner ?
Michael Buchleitner
['Haile Gebrselassie', 'participant of', {'concept': 'sport competition'}] ['Carol Galea', 'participant of', {'concept': 'sport competition'}] ['Michael Buchleitner', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?s WHERE { resource:Michael_Buchleitner property:participant_of ?s . ?s rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1927083,P1344,c(Q13406554))
['Q1927083', 'P1344', {'concept': 'Q13406554'}]
['Michael Buchleitner', 'participant of', {'concept': 'sport competition'}]
[]
Q132444 Q651450 Q155589
SYSTEM
1999 World Championships in Athletics, 1997 World Championships in Athletics, 1993 World Championships in Athletics
Q132444 Q651450 Q155589
(Q1927083,P1344,c(Q13406554))
action filter_type
action find
entity Q1927083
relation P1344
type Q13406554
[ANSWERS] that person took in part
['Q1927083', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?s WHERE { resource:Q1927083 property:P1344 ?s . ?s rdf:type ontology:Q13406554 }
1999 World Championships in Athletics 1997 World Championships in Athletics 1993 World Championships in Athletics
1999 World Championships in Athletics, 1997 World Championships in Athletics and 1993 World Championships in Athletics that person took in part
1999 World Championships in Athletics 1997 World Championships in Athletics 1993 World Championships in Athletics
action filter_type
action find
entity Michael Buchleitner
relation participant of
type sport competition
['Michael Buchleitner', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?s WHERE { resource:Michael_Buchleitner property:participant_of ?s . ?s rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q31629 Q13406554
USER
Which types of sport were max number of sport competitions a part of ?
(c(Q13406554),P641,Q5300110)
action argmax
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
[{'concept': 'Q13406554'}, 'P641', 'Q5300110']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P641 ?w . ?w rdf:type ontology:Q31629 . ?c rdf:type ontology:Q13406554 } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P641 ?l . ?l rdf:type ontology:Q31629 . ?j rdf:type ontology:Q13406554 } GROUP BY ?l } . FILTER ( ?a = ?t ) }
action argmax
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
[{'concept': 'sport competition'}, 'sport', 'double trap']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:sport ?w . ?w rdf:type ontology:type_of_sport . ?c rdf:type ontology:sport_competition } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:sport ?l . ?l rdf:type ontology:type_of_sport . ?j rdf:type ontology:sport_competition } GROUP BY ?l } . FILTER ( ?a = ?t ) }
[]
type of sport sport competition
Q542
SYSTEM
athletics
Q542
(c(Q13406554),P641,Q5300110)
action argmax
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
[ANSWER] was max number of sport competitions a part of
[{'concept': 'Q13406554'}, 'P641', 'Q5300110']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P641 ?w . ?w rdf:type ontology:Q31629 . ?c rdf:type ontology:Q13406554 } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P641 ?l . ?l rdf:type ontology:Q31629 . ?j rdf:type ontology:Q13406554 } GROUP BY ?l } . FILTER ( ?a = ?t ) }
athletics
Athletics was max number of sport competitions a part of
athletics
action argmax
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
[{'concept': 'sport competition'}, 'sport', 'double trap']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:sport ?w . ?w rdf:type ontology:type_of_sport . ?c rdf:type ontology:sport_competition } GROUP BY ?w } } . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:sport ?l . ?l rdf:type ontology:type_of_sport . ?j rdf:type ontology:sport_competition } GROUP BY ?l } . FILTER ( ?a = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q295602
P1444
Q15617994 Q31629
USER
How many administrative territories do less number of types of sport finally stop at than Mezzolombardo ?
(c(Q31629),P1444,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find_reverse
entity Q295602
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?i ) WHERE { ?t rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q31629 . ?c property:P1444 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P1444 resource:Q295602 . ?z rdf:type ontology:Q31629 } } . FILTER ( ?i < ?w ) }
Mezzolombardo
action count
action less
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find_reverse
entity Mezzolombardo
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?i ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_sport . ?c property:destination_point ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:destination_point resource:Mezzolombardo . ?z rdf:type ontology:type_of_sport } } . FILTER ( ?i < ?w ) }
[]
designation for an administrative territorial entity type of sport
SYSTEM
62
Q49605 Q668 Q19946 Q502710 Q54739 Q52695 Q40416 Q603221 Q116840 Q298424 Q41040 Q39778 Q96 Q142 Q47372 Q47036 Q100916 Q50195 Q194081 Q58637 Q47428 Q18021 Q99937 Q10226 Q683578 Q6231 Q23700 Q102547 Q23194 Q10302 Q5475 Q72130 Q266941 Q72114 Q207395 Q56084 Q80580 Q8971 Q188547 Q55958 Q100084 Q41056 Q9409 Q9039 Q13320 Q3639 Q207530 Q25082 Q252 Q176 Q46941 Q159 Q8611 Q40813 Q10263 Q13616 Q519972 Q246705 Q9284 Q47578 Q18356 Q270761
(c(Q31629),P1444,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find_reverse
entity Q295602
relation P1444
type Q31629
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?i ) WHERE { ?t rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q31629 . ?c property:P1444 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P1444 resource:Q295602 . ?z rdf:type ontology:Q31629 } } . FILTER ( ?i < ?w ) }
Montecatini Terme India Cherasco Greiz Serra San Bruno Viggiano Desio Os Ancares Fiuggi Pergine Valsugana Aprica Taino Mexico France Magreglio Crespano del Grappa Salsomaggiore Terme Imola Sestri Levante Gricignano di Aversa Valdobbiadene Biella Cesenatico Rivarolo Canavese Superga Cremona Stresa Abetone Margherita di Savoia Sestriere Treviso Grumo Nevano Chiavari Forio Montecopiolo Offida Ascea Agliè Castiglione della Pescaia San Giorgio del Sannio Pavullo nel Frignano Cittiglio Ivrea Bardonecchia Savona Verbania Saltara Borkum Indonesia Quebec Negrar Russia La Spezia Seregno San Francesco al Campo Matera Ilsfeld Brentonico Cirié Vittorio Veneto Barolo Laigueglia
62
action count
action less
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find_reverse
entity Mezzolombardo
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?i ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_sport . ?c property:destination_point ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:destination_point resource:Mezzolombardo . ?z rdf:type ontology:type_of_sport } } . FILTER ( ?i < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q50138
P1444
Q15617994 Q31629
USER
And also tell me about Roccaraso?
(c(Q31629),P1444,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find_reverse
entity Q50138
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P1444 ?u . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q31629 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:Q31629 . ?b property:P1444 resource:Q50138 } } . FILTER ( ?c < ?x ) }
Roccaraso
action count
action less
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find_reverse
entity Roccaraso
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:destination_point ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_sport } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:type_of_sport . ?b property:destination_point resource:Roccaraso } } . FILTER ( ?c < ?x ) }
[]
designation for an administrative territorial entity type of sport
SYSTEM
62
Q49605 Q668 Q19946 Q502710 Q54739 Q52695 Q40416 Q603221 Q116840 Q298424 Q41040 Q39778 Q96 Q142 Q47372 Q47036 Q100916 Q50195 Q194081 Q58637 Q47428 Q18021 Q99937 Q10226 Q683578 Q6231 Q23700 Q102547 Q23194 Q10302 Q5475 Q72130 Q266941 Q72114 Q207395 Q56084 Q80580 Q8971 Q188547 Q55958 Q100084 Q41056 Q9409 Q9039 Q13320 Q3639 Q207530 Q25082 Q252 Q176 Q46941 Q159 Q8611 Q40813 Q10263 Q13616 Q519972 Q246705 Q9284 Q47578 Q18356 Q270761
(c(Q31629),P1444,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find_reverse
entity Q50138
relation P1444
type Q31629
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P1444 ?u . ?u rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q31629 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:Q31629 . ?b property:P1444 resource:Q50138 } } . FILTER ( ?c < ?x ) }
Montecatini Terme India Cherasco Greiz Serra San Bruno Viggiano Desio Os Ancares Fiuggi Pergine Valsugana Aprica Taino Mexico France Magreglio Crespano del Grappa Salsomaggiore Terme Imola Sestri Levante Gricignano di Aversa Valdobbiadene Biella Cesenatico Rivarolo Canavese Superga Cremona Stresa Abetone Margherita di Savoia Sestriere Treviso Grumo Nevano Chiavari Forio Montecopiolo Offida Ascea Agliè Castiglione della Pescaia San Giorgio del Sannio Pavullo nel Frignano Cittiglio Ivrea Bardonecchia Savona Verbania Saltara Borkum Indonesia Quebec Negrar Russia La Spezia Seregno San Francesco al Campo Matera Ilsfeld Brentonico Cirié Vittorio Veneto Barolo Laigueglia
62
action count
action less
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find_reverse
entity Roccaraso
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:destination_point ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_sport } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:type_of_sport . ?b property:destination_point resource:Roccaraso } } . FILTER ( ?c < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171500
P921
Q838948
USER
Which work of art is Haile Gebrselassie a main subject of ?
(c(Q838948),P921,Q171500)
action filter_type
action find_reverse
entity Q171500
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q171500']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P921 resource:Q171500 }
Haile Gebrselassie
action filter_type
action find_reverse
entity Haile Gebrselassie
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Haile Gebrselassie']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:main_subject resource:Haile_Gebrselassie }
[]
work of art
Q5376656
SYSTEM
Endurance
Q5376656
(c(Q838948),P921,Q171500)
action filter_type
action find_reverse
entity Q171500
relation P921
type Q838948
[ANSWER] is Haile Gebrselassie a main subject of
[{'concept': 'Q838948'}, 'P921', 'Q171500']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P921 resource:Q171500 }
Endurance
Endurance is Haile Gebrselassie a main subject of
Endurance
action filter_type
action find_reverse
entity Haile Gebrselassie
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Haile Gebrselassie']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:main_subject resource:Haile_Gebrselassie }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5376656
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q5376656,P58,c(Q502895))
action filter_type
action find
entity Q5376656
relation P58
type Q502895
['Q5376656', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5376656 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Endurance
action filter_type
action find
entity Endurance
relation screenwriter
type common name
['Endurance', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Endurance property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
common name
Q6531252
SYSTEM
Leslie Woodhead
Q6531252
(Q5376656,P58,c(Q502895))
action filter_type
action find
entity Q5376656
relation P58
type Q502895
For [ANSWER] wrote the screenplay for that work of art
['Q5376656', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5376656 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Leslie Woodhead
For Leslie Woodhead wrote the screenplay for that work of art
Leslie Woodhead
action filter_type
action find
entity Endurance
relation screenwriter
type common name
['Endurance', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Endurance property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6531252 Q1860
P1412
Q34770
USER
Does Leslie Woodhead speak in English ?
(Q6531252,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q6531252
relation P1412
['Q6531252', 'P1412', 'Q1860']
ASK WHERE { resource:Q6531252 property:P1412 resource:Q1860 }
Leslie Woodhead English
action is_in
entity English
action find
entity Leslie Woodhead
relation languages spoken, written or signed
['Leslie Woodhead', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Leslie_Woodhead property:languages_spoken,_written_or_signed resource:English }
[]
language
SYSTEM
YES
(Q6531252,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q6531252
relation P1412
[ANSWER]
['Q6531252', 'P1412', 'Q1860']
ASK WHERE { resource:Q6531252 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Leslie Woodhead
relation languages spoken, written or signed
['Leslie Woodhead', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Leslie_Woodhead property:languages_spoken,_written_or_signed resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6531252
P57
Q838948
USER
Which work of art did Leslie Woodhead direct ?
(c(Q838948),P57,Q6531252)
action filter_type
action find_reverse
entity Q6531252
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q6531252']
SELECT DISTINCT ?h WHERE { ?h property:P57 resource:Q6531252 . ?h rdf:type ontology:Q838948 }
Leslie Woodhead
action filter_type
action find_reverse
entity Leslie Woodhead
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Leslie Woodhead']
SELECT DISTINCT ?h WHERE { ?h property:director resource:Leslie_Woodhead . ?h rdf:type ontology:work_of_art }
[]
work of art
Q5376656
SYSTEM
Endurance
Q5376656
(c(Q838948),P57,Q6531252)
action filter_type
action find_reverse
entity Q6531252
relation P57
type Q838948
Leslie Woodhead directed The [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q6531252']
SELECT DISTINCT ?h WHERE { ?h property:P57 resource:Q6531252 . ?h rdf:type ontology:Q838948 }
Endurance
Leslie Woodhead directed The Endurance
Endurance
action filter_type
action find_reverse
entity Leslie Woodhead
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Leslie Woodhead']
SELECT DISTINCT ?h WHERE { ?h property:director resource:Leslie_Woodhead . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5376656
P750
Q43229
USER
Who is the distributor of that work of art ?
(Q5376656,P750,c(Q43229))
action filter_type
action find
entity Q5376656
relation P750
type Q43229
['Q5376656', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q5376656 property:P750 ?u . ?u rdf:type ontology:Q43229 }
Endurance
action filter_type
action find
entity Endurance
relation distributor
type organization
['Endurance', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Endurance property:distributor ?u . ?u rdf:type ontology:organization }
[]
organization
Q1323594
SYSTEM
Walt Disney Studios Motion Pictures
Q1323594
(Q5376656,P750,c(Q43229))
action filter_type
action find
entity Q5376656
relation P750
type Q43229
The distributor of that work of art is the [ANSWER]
['Q5376656', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q5376656 property:P750 ?u . ?u rdf:type ontology:Q43229 }
Walt Disney Studios Motion Pictures
The distributor of that work of art is the Walt Disney Studios Motion Pictures
Walt Disney Studios Motion Pictures
action filter_type
action find
entity Endurance
relation distributor
type organization
['Endurance', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Endurance property:distributor ?u . ?u rdf:type ontology:organization }
[]