Simple Question (Direct)
Simple Question
Q403437
P54
Q1194951
USER
What is Ismail Matar a member of ?
(Q403437,P54,c(Q1194951))
action filter_type
action find
entity Q403437
relation P54
type Q1194951
['Q403437', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q403437 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Ismail Matar
action filter_type
action find
entity Ismail Matar
relation member of sports team
type national sports team
['Ismail Matar', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Ismail_Matar property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q235910
SYSTEM
United Arab Emirates national football team
Q235910
(Q403437,P54,c(Q1194951))
action filter_type
action find
entity Q403437
relation P54
type Q1194951
Ismail Matar a member of is the [ANSWER]
['Q403437', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q403437 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
United Arab Emirates national football team
Ismail Matar a member of is the United Arab Emirates national football team
United Arab Emirates national football team
action filter_type
action find
entity Ismail Matar
relation member of sports team
type national sports team
['Ismail Matar', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Ismail_Matar property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403437
P21
Q290
USER
What is the sex of that person ?
(Q235910,P21,c(Q290))
action filter_type
action find
entity Q403437
relation P21
type Q290
['Q235910', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q403437 property:P21 ?w . ?w rdf:type ontology:Q290 }
Ismail Matar
action filter_type
action find
entity Ismail Matar
relation gender
type sex
['United Arab Emirates national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Ismail_Matar property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q235910,P21,c(Q290))
action filter_type
action find
entity Q403437
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q235910', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q403437 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ismail Matar
relation gender
type sex
['United Arab Emirates national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Ismail_Matar property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q24844363 Q403437
P21
Q290
USER
Or William M. Furnish?
OR((Q403437,P21,c(Q290)), (Q24844363,P21,c(Q290)))
action filter_type
action union
action find
entity Q403437
relation P21
action find
entity Q24844363
relation P21
type Q290
{'OR': [['Q403437', 'P21', {'concept': 'Q290'}], ['Q24844363', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q403437 property:P21 ?l } UNION { resource:Q24844363 property:P21 ?l } } . ?l rdf:type ontology:Q290 }
William M. Furnish Ismail Matar
action filter_type
action union
action find
entity Ismail Matar
relation gender
action find
entity William M. Furnish
relation gender
type sex
{'OR': [['Ismail Matar', 'gender', {'concept': 'sex'}], ['William M. Furnish', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Ismail_Matar property:gender ?l } UNION { resource:William_M._Furnish property:gender ?l } } . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q403437,P21,c(Q290)), (Q24844363,P21,c(Q290)))
action filter_type
action union
action find
entity Q403437
relation P21
action find
entity Q24844363
relation P21
type Q290
[ANSWER]
{'OR': [['Q403437', 'P21', {'concept': 'Q290'}], ['Q24844363', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q403437 property:P21 ?l } UNION { resource:Q24844363 property:P21 ?l } } . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Ismail Matar
relation gender
action find
entity William M. Furnish
relation gender
type sex
{'OR': [['Ismail Matar', 'gender', {'concept': 'sex'}], ['William M. Furnish', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Ismail_Matar property:gender ?l } UNION { resource:William_M._Furnish property:gender ?l } } . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q361108 Q24844363
P106
Q12737077
USER
Which occupations do William M. Furnish or Sanctorius do for a living ?
OR((Q24844363,P106,c(Q12737077)), (Q361108,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q24844363
relation P106
action find
entity Q361108
relation P106
type Q12737077
{'OR': [['Q24844363', 'P106', {'concept': 'Q12737077'}], ['Q361108', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q24844363 property:P106 ?u } UNION { resource:Q361108 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
Sanctorius William M. Furnish
action filter_type
action union
action find
entity William M. Furnish
relation occupation
action find
entity Sanctorius
relation occupation
type occupation
{'OR': [['William M. Furnish', 'occupation', {'concept': 'occupation'}], ['Sanctorius', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:William_M._Furnish property:occupation ?u } UNION { resource:Sanctorius property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
occupation
Q1662561 Q39631
SYSTEM
paleontologist, physician
Q1662561 Q39631
OR((Q24844363,P106,c(Q12737077)), (Q361108,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q24844363
relation P106
action find
entity Q361108
relation P106
type Q12737077
William M. Furnish or Sanctorius do for a living [ANSWERS]
{'OR': [['Q24844363', 'P106', {'concept': 'Q12737077'}], ['Q361108', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q24844363 property:P106 ?u } UNION { resource:Q361108 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
paleontologist physician
William M. Furnish or Sanctorius do for a living paleontologist and physician
paleontologist physician
action filter_type
action union
action find
entity William M. Furnish
relation occupation
action find
entity Sanctorius
relation occupation
type occupation
{'OR': [['William M. Furnish', 'occupation', {'concept': 'occupation'}], ['Sanctorius', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:William_M._Furnish property:occupation ?u } UNION { resource:Sanctorius property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361108
P20
Q56061
USER
Which administrative territory is the place of death of Sanctorius ?
(Q1662561,P20,c(Q56061)) (Q39631,P20,c(Q56061))
action filter_type
action find
entity Q361108
relation P20
type Q56061
['Q1662561', 'P20', {'concept': 'Q56061'}] ['Q39631', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q361108 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Sanctorius
action filter_type
action find
entity Sanctorius
relation place of death
type administrative territorial entity
['paleontologist', 'place of death', {'concept': 'administrative territorial entity'}] ['physician', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sanctorius property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q1662561,P20,c(Q56061)) (Q39631,P20,c(Q56061))
action filter_type
action find
entity Q361108
relation P20
type Q56061
[ANSWER] is the place of death of Sanctorius
['Q1662561', 'P20', {'concept': 'Q56061'}] ['Q39631', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q361108 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Venice
Venice is the place of death of Sanctorius
Venice
action filter_type
action find
entity Sanctorius
relation place of death
type administrative territorial entity
['paleontologist', 'place of death', {'concept': 'administrative territorial entity'}] ['physician', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sanctorius property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
Which administrative territories have adopted around the same number of holidays as patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q641
relation P417
type Q56061
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?c ) WHERE { ?e property:P417 ?g . ?g rdf:type ontology:Q1445650 . ?e rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?c = ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q641 property:P417 ?p . ?p rdf:type ontology:Q56061 } } }
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Venice
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?c ) WHERE { ?e property:patron_saint ?g . ?g rdf:type ontology:holiday . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?c = ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Venice property:patron_saint ?p . ?p rdf:type ontology:administrative_territorial_entity } } }
[]
holiday administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q264716 Q5818 Q187352 Q11974 Q12883498 Q40801 Q212841 Q54494 Q454875 Q14209773 Q50057 Q34111 Q117388 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q6221 Q2028 Q46718 Q929022 Q641 Q46165 Q649 Q58463 Q3395964 Q73489 Q54119 Q53825 Q200908 Q15090 Q81258 Q36647 Q13375 Q47074 Q59257 Q15088 Q4361 Q2914723 Q10305 Q53265 Q6340 Q101229 Q100129 Q52547 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q82208 Q116440 Q2284679 Q3557616 Q374108 Q3562704 Q220 Q90 Q496890 Q297224 Q431389 Q5991813 Q380189 Q617 Q470461 Q259039 Q733574 Q54556 Q932648 Q487786 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q100943 Q51400 Q504216 Q244193 Q1747381 Q51315 Q492475 Q334577 Q210470 Q39493 Q11959 Q329984 Q47034 Q15095 Q215080 Q270288 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q102820 Q15487 Q244207 Q1957 Q50074 Q1897 Q46864
(c(Q56061),P417,c(Q1445650))
action approx
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q641
relation P417
type Q56061
[ANSWERS] have adopted around the same number of holidays as patron saint as that administrative territory
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?c ) WHERE { ?e property:P417 ?g . ?g rdf:type ontology:Q1445650 . ?e rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?c = ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q641 property:P417 ?p . ?p rdf:type ontology:Q56061 } } }
Carzano Córdoba Kavala Las Palmas de Gran Canaria Pano Platres Borca di Cadore Drama Belvedere di Spinello Amarante Municipality San Lorenzo de' Picenardi Cagnano Amiterno Pozzallo Strangolagalli Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Brescia Verona Carrè Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Koufalia Camerino San Pedro Altilia Rethymno Lleida Padula Cork Pisa Aielli Montefortino Tarragona Curitiba Nemausus Zaragoza Gemona del Friuli Castel Giorgio Martinengo Calvenzano Campomaggiore Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Kastritsa Arpino General Alvear, Mendoza Platres Altrei Molista Rome Paris Balestrate Padergnone Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Giardinello Istiaia Africo Didymoteicho Orihuela Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Sorbolo Spoltore St. Martin in Passeier Cagno Polykastro Villamagna Valença Quetzaltenango Katerini Cantello Alicante Úbeda Espoo Albacete Machala Riccò del Golfo di Spezia Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Nibbiano Berga Campione d'Italia Vologda Castellafiume Cagliari Arcugnano
Moscow, Madrid and Milan have adopted around the same number of holidays as patron saint as that administrative territory
Moscow Madrid Milan
action approx
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Venice
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?c ) WHERE { ?e property:patron_saint ?g . ?g rdf:type ontology:holiday . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?c = ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Venice property:patron_saint ?p . ?p rdf:type ontology:administrative_territorial_entity } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5322166 Q39631
P106
Q502895
USER
Which people have a job as physician and designer ?
AND((c(Q502895),P106,Q39631), (c(Q502895),P106,Q5322166))
action filter_type
action intersection
action find_reverse
entity Q39631
relation P106
action find_reverse
entity Q5322166
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q39631'], [{'concept': 'Q502895'}, 'P106', 'Q5322166']]}
SELECT DISTINCT ?q WHERE { ?q property:P106 resource:Q39631 . ?q property:P106 resource:Q5322166 . ?q rdf:type ontology:Q502895 }
designer physician
action filter_type
action intersection
action find_reverse
entity physician
relation occupation
action find_reverse
entity designer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'physician'], [{'concept': 'common name'}, 'occupation', 'designer']]}
SELECT DISTINCT ?q WHERE { ?q property:occupation resource:physician . ?q property:occupation resource:designer . ?q rdf:type ontology:common_name }
[]
common name
Q193300
SYSTEM
Osamu Tezuka
Q193300
AND((c(Q502895),P106,Q39631), (c(Q502895),P106,Q5322166))
action filter_type
action intersection
action find_reverse
entity Q39631
relation P106
action find_reverse
entity Q5322166
relation P106
type Q502895
[ANSWER] have a job as physician and designer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q39631'], [{'concept': 'Q502895'}, 'P106', 'Q5322166']]}
SELECT DISTINCT ?q WHERE { ?q property:P106 resource:Q39631 . ?q property:P106 resource:Q5322166 . ?q rdf:type ontology:Q502895 }
Osamu Tezuka
Osamu Tezuka have a job as physician and designer
Osamu Tezuka
action filter_type
action intersection
action find_reverse
entity physician
relation occupation
action find_reverse
entity designer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'physician'], [{'concept': 'common name'}, 'occupation', 'designer']]}
SELECT DISTINCT ?q WHERE { ?q property:occupation resource:physician . ?q property:occupation resource:designer . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q193300 Q11496951 Q6724933
P40
Q502895
USER
Does that person have Rumiko Tezuka and Makoto Tezuka as an offspring ?
(Q193300,P40,Q11496951) (Q193300,P40,Q6724933)
action is_in
entity Q193300
action intersection
action find_reverse
entity Q11496951
relation P40
action find_reverse
entity Q6724933
relation P40
['Q193300', 'P40', 'Q11496951'] ['Q193300', 'P40', 'Q6724933']
ASK WHERE { resource:Q193300 property:P40 resource:Q11496951 . resource:Q193300 property:P40 resource:Q6724933 }
Osamu Tezuka Rumiko Tezuka Makoto Tezuka
action is_in
entity Osamu Tezuka
action intersection
action find_reverse
entity Rumiko Tezuka
relation child
action find_reverse
entity Makoto Tezuka
relation child
['Osamu Tezuka', 'child', 'Rumiko Tezuka'] ['Osamu Tezuka', 'child', 'Makoto Tezuka']
ASK WHERE { resource:Osamu_Tezuka property:child resource:Rumiko_Tezuka . resource:Osamu_Tezuka property:child resource:Makoto_Tezuka }
[]
common name
SYSTEM
YES
(Q193300,P40,Q11496951) (Q193300,P40,Q6724933)
action is_in
entity Q193300
action intersection
action find_reverse
entity Q11496951
relation P40
action find_reverse
entity Q6724933
relation P40
[ANSWER]
['Q193300', 'P40', 'Q11496951'] ['Q193300', 'P40', 'Q6724933']
ASK WHERE { resource:Q193300 property:P40 resource:Q11496951 . resource:Q193300 property:P40 resource:Q6724933 }
Yes
action is_in
entity Osamu Tezuka
action intersection
action find_reverse
entity Rumiko Tezuka
relation child
action find_reverse
entity Makoto Tezuka
relation child
['Osamu Tezuka', 'child', 'Rumiko Tezuka'] ['Osamu Tezuka', 'child', 'Makoto Tezuka']
ASK WHERE { resource:Osamu_Tezuka property:child resource:Rumiko_Tezuka . resource:Osamu_Tezuka property:child resource:Makoto_Tezuka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P1444
Q31629
USER
Which types of sport finally halts at Madrid ?
(c(Q31629),P1444,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', 'Q2807']
SELECT DISTINCT ?y WHERE { ?y property:P1444 resource:Q2807 . ?y rdf:type ontology:Q31629 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Madrid']
SELECT DISTINCT ?y WHERE { ?y property:destination_point resource:Madrid . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q21996991 Q20680831
SYSTEM
2016 Vuelta a España, Stage 21, 2015 Vuelta a España, Stage 21
Q21996991 Q20680831
(c(Q31629),P1444,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1444
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', 'Q2807']
SELECT DISTINCT ?y WHERE { ?y property:P1444 resource:Q2807 . ?y rdf:type ontology:Q31629 }
2016 Vuelta a España, Stage 21 2015 Vuelta a España, Stage 21
The 2016 Vuelta a España, Stage 21 and 2015 Vuelta a España, Stage 21 finally halter at Madrid
2016 Vuelta a España, Stage 21 2015 Vuelta a España, Stage 21
action filter_type
action find_reverse
entity Madrid
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Madrid']
SELECT DISTINCT ?y WHERE { ?y property:destination_point resource:Madrid . ?y rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21996991 Q20680831
P361
Q22348500
USER
Which cycling race classes are those types of sport a portion of ?
(Q21996991,P361,c(Q22348500)) (Q20680831,P361,c(Q22348500))
action filter_type
action find
entity prev_answer
relation P361
type Q22348500
['Q21996991', 'P361', {'concept': 'Q22348500'}] ['Q20680831', 'P361', {'concept': 'Q22348500'}]
SELECT DISTINCT ?q WHERE { ?f property:P361 ?q . ?q rdf:type ontology:Q22348500 . VALUES ( ?f ) { ( resource:Q21996991 ) ( resource:Q20680831 ) } }
2016 Vuelta a España, Stage 21 2015 Vuelta a España, Stage 21
action filter_type
action find
entity prev_answer
relation part of
type cycling race class defined by the International Cycling Union
['2016 Vuelta a España, Stage 21', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}] ['2015 Vuelta a España, Stage 21', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?q WHERE { ?f property:part_of ?q . ?q rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . VALUES ( ?f ) { ( resource:2016_Vuelta_a_España,_Stage_21 ) ( resource:2015_Vuelta_a_España,_Stage_21 ) } }
[]
cycling race class defined by the International Cycling Union
Q20882755 Q18752244
SYSTEM
2016 Vuelta a España, 2015 Vuelta a España
Q20882755 Q18752244
(Q21996991,P361,c(Q22348500)) (Q20680831,P361,c(Q22348500))
action filter_type
action find
entity prev_answer
relation P361
type Q22348500
And [ANSWERS] are those types of sport a portion of
['Q21996991', 'P361', {'concept': 'Q22348500'}] ['Q20680831', 'P361', {'concept': 'Q22348500'}]
SELECT DISTINCT ?q WHERE { ?f property:P361 ?q . ?q rdf:type ontology:Q22348500 . VALUES ( ?f ) { ( resource:Q21996991 ) ( resource:Q20680831 ) } }
2016 Vuelta a España 2015 Vuelta a España
And 2016 Vuelta a España and 2015 Vuelta a España are those types of sport a portion of
2016 Vuelta a España 2015 Vuelta a España
action filter_type
action find
entity prev_answer
relation part of
type cycling race class defined by the International Cycling Union
['2016 Vuelta a España, Stage 21', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}] ['2015 Vuelta a España, Stage 21', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?q WHERE { ?f property:part_of ?q . ?q rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . VALUES ( ?f ) { ( resource:2016_Vuelta_a_España,_Stage_21 ) ( resource:2015_Vuelta_a_España,_Stage_21 ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20882755 Q18752244
P361
Q31629
USER
Which types of sport are a part of those cycling race classes ?
(c(Q31629),P361,Q20882755) (c(Q31629),P361,Q18752244)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q31629
[{'concept': 'Q31629'}, 'P361', 'Q20882755'] [{'concept': 'Q31629'}, 'P361', 'Q18752244']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q31629 . ?l property:P361 ?f . VALUES ( ?f ) { ( resource:Q20882755 ) ( resource:Q18752244 ) } }
2016 Vuelta a España 2015 Vuelta a España
action filter_type
action find_reverse
entity prev_answer
relation part of
type type of sport
[{'concept': 'type of sport'}, 'part of', '2016 Vuelta a España'] [{'concept': 'type of sport'}, 'part of', '2015 Vuelta a España']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_sport . ?l property:part_of ?f . VALUES ( ?f ) { ( resource:2016_Vuelta_a_España ) ( resource:2015_Vuelta_a_España ) } }
[]
type of sport
Q21996963 Q21996985 Q21996988
SYSTEM
2016 Vuelta a España, Stage 1, 2016 Vuelta a España, Stage 17, 2016 Vuelta a España, Stage 19
Q21996965 Q21996963 Q21996979 Q21996978 Q21996977 Q21996975 Q21996974 Q21996973 Q21996971 Q21996964 Q21996967 Q21996968 Q21996969 Q21996991 Q21996988 Q21996989 Q21996986 Q21996985 Q21996982 Q21996983 Q21996981 Q20680831 Q20680830 Q20680827 Q20680826 Q20680824 Q20680825 Q20680823 Q20680820 Q20680813 Q20680812 Q20680811 Q20680810 Q20680817 Q20680816 Q20680815 Q20680819 Q20680818 Q20680807 Q20680808 Q20680809 Q20680821
(c(Q31629),P361,Q20882755) (c(Q31629),P361,Q18752244)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P361', 'Q20882755'] [{'concept': 'Q31629'}, 'P361', 'Q18752244']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q31629 . ?l property:P361 ?f . VALUES ( ?f ) { ( resource:Q20882755 ) ( resource:Q18752244 ) } }
2016 Vuelta a España, Stage 3 2016 Vuelta a España, Stage 1 2016 Vuelta a España, Stage 13 2016 Vuelta a España, Stage 12 2016 Vuelta a España, Stage 11 2016 Vuelta a España, Stage 10 2016 Vuelta a España, Stage 9 2016 Vuelta a España, Stage 8 2016 Vuelta a España, Stage 7 2016 Vuelta a España, Stage 2 2016 Vuelta a España, Stage 4 2016 Vuelta a España, Stage 5 2016 Vuelta a España, Stage 6 2016 Vuelta a España, Stage 21 2016 Vuelta a España, Stage 19 2016 Vuelta a España, Stage 20 2016 Vuelta a España, Stage 18 2016 Vuelta a España, Stage 17 2016 Vuelta a España, Stage 15 2016 Vuelta a España, Stage 16 2016 Vuelta a España, Stage 14 2015 Vuelta a España, Stage 21 2015 Vuelta a España, Stage 20 2015 Vuelta a España, Stage 19 2015 Vuelta a España, Stage 18 2015 Vuelta a España, Stage 16 2015 Vuelta a España, Stage 17 2015 Vuelta a España, Stage 15 2015 Vuelta a España, Stage 13 2015 Vuelta a España, Stage 7 2015 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 5 2015 Vuelta a España, Stage 4 2015 Vuelta a España, Stage 10 2015 Vuelta a España, Stage 9 2015 Vuelta a España, Stage 8 2015 Vuelta a España, Stage 12 2015 Vuelta a España, Stage 11 2015 Vuelta a España, Stage 1 2015 Vuelta a España, Stage 2 2015 Vuelta a España, Stage 3 2015 Vuelta a España, Stage 14
2016 Vuelta a España, Stage 1, 2016 Vuelta a España, Stage 17 and 2016 Vuelta a España, Stage 19 are a part of those cycling race classes
2016 Vuelta a España, Stage 1 2016 Vuelta a España, Stage 17 2016 Vuelta a España, Stage 19
action filter_type
action find_reverse
entity prev_answer
relation part of
type type of sport
[{'concept': 'type of sport'}, 'part of', '2016 Vuelta a España'] [{'concept': 'type of sport'}, 'part of', '2015 Vuelta a España']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_sport . ?l property:part_of ?f . VALUES ( ?f ) { ( resource:2016_Vuelta_a_España ) ( resource:2015_Vuelta_a_España ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21996985
P1346
Q502895
USER
Who were the winners of that type of sport ?
(Q21996985,P1346,c(Q502895))
action filter_type
action find
entity Q21996985
relation P1346
type Q502895
['Q21996985', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q21996985 property:P1346 ?c . ?c rdf:type ontology:Q502895 }
2016 Vuelta a España, Stage 17
action filter_type
action find
entity 2016 Vuelta a España, Stage 17
relation winner
type common name
['2016 Vuelta a España, Stage 17', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:2016_Vuelta_a_España,_Stage_17 property:winner ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q21996985
SYSTEM
Did you mean 2016 Vuelta a España, Stage 17 ?
Q21996963 Q21996985 Q21996988
(Q21996963,P1346,c(Q502895)) (Q21996985,P1346,c(Q502895)) (Q21996988,P1346,c(Q502895))
[ANSWER]
['Q21996963', 'P1346', {'concept': 'Q502895'}] ['Q21996985', 'P1346', {'concept': 'Q502895'}] ['Q21996988', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q21996985 property:P1346 ?c . ?c rdf:type ontology:Q502895 }
2016 Vuelta a España, Stage 1 2016 Vuelta a España, Stage 17 2016 Vuelta a España, Stage 19
Did you mean 2016 Vuelta a España, Stage 17 ?
2016 Vuelta a España, Stage 17
['2016 Vuelta a España, Stage 1', 'winner', {'concept': 'common name'}] ['2016 Vuelta a España, Stage 17', 'winner', {'concept': 'common name'}] ['2016 Vuelta a España, Stage 19', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:2016_Vuelta_a_España,_Stage_17 property:winner ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21996985,P1346,c(Q502895))
['Q21996985', 'P1346', {'concept': 'Q502895'}]
['2016 Vuelta a España, Stage 17', 'winner', {'concept': 'common name'}]
[]
Q286183 Q359977 Q319591
SYSTEM
Alejandro Valverde, Robert Gesink, Chris Froome
Q590930 Q286183 Q984528 Q722223 Q359977 Q319591 Q511856 Q501951
(Q21996985,P1346,c(Q502895))
action filter_type
action find
entity Q21996985
relation P1346
type Q502895
The winners of that type of sport were also [ANSWERS]
['Q21996985', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q21996985 property:P1346 ?c . ?c rdf:type ontology:Q502895 }
Mathias Frank Alejandro Valverde Esteban Chaves Leopold König Robert Gesink Chris Froome Nairo Quintana Kenny Elissonde
The winners of that type of sport were also Alejandro Valverde, Robert Gesink and Chris Froome
Alejandro Valverde Robert Gesink Chris Froome
action filter_type
action find
entity 2016 Vuelta a España, Stage 17
relation winner
type common name
['2016 Vuelta a España, Stage 17', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:2016_Vuelta_a_España,_Stage_17 property:winner ?c . ?c rdf:type ontology:common_name }
[]