Simple Question (Direct)
Simple Question
Q20801692
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Leonardo Fernández ?
(Q20801692,P27,c(Q15617994))
action filter_type
action find
entity Q20801692
relation P27
type Q15617994
['Q20801692', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q20801692 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Leonardo Fernández
action filter_type
action find
entity Leonardo Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Leonardo Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Leonardo_Fernández property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77
SYSTEM
Uruguay
Q77
(Q20801692,P27,c(Q15617994))
action filter_type
action find
entity Q20801692
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Leonardo Fernández
['Q20801692', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q20801692 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Uruguay
Uruguay is the country of citizenship of Leonardo Fernández
Uruguay
action filter_type
action find
entity Leonardo Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Leonardo Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Leonardo_Fernández property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q77
P19
Q502895
USER
Which people have birthplace at that administrative territory ?
(c(Q502895),P19,Q77)
action filter_type
action find_reverse
entity Q77
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q77']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q77 . ?p rdf:type ontology:Q502895 }
Uruguay
action filter_type
action find_reverse
entity Uruguay
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Uruguay']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:Uruguay . ?p rdf:type ontology:common_name }
[]
common name
Q977165 Q2017737 Q16297818
SYSTEM
William Martínez, Rúben Bareño, Alberto Bica
Q6137730 Q2017737 Q6121012 Q98484 Q5943655 Q7192915 Q1097174 Q5954677 Q664798 Q16297818 Q11802064 Q18419073 Q18015428 Q6167796 Q18693104 Q1506594 Q15711392 Q20668444 Q2832447 Q6007223 Q16557914 Q6277701 Q5664909 Q962204 Q5934415 Q2882672 Q16557644 Q3446592 Q11770001 Q16575074 Q3942200 Q6272935 Q6389791 Q1194117 Q3821619 Q6700438 Q457588 Q6309113 Q10538868 Q927151 Q5982691 Q22977441 Q15508427 Q16535249 Q17566626 Q26838704 Q743173 Q3736856 Q15622345 Q16488510 Q21450102 Q4069919 Q5760193 Q6526216 Q6700442 Q23419015 Q19299074 Q6060328 Q21448457 Q4006401 Q19664502 Q2857936 Q6052326 Q5664667 Q23007841 Q16014986 Q21072273 Q3941018 Q6164722 Q304124 Q951326 Q20013191 Q1291100 Q556422 Q1429479 Q1703846 Q26838705 Q26838706 Q26390699 Q16301757 Q535182 Q5935796 Q176479 Q21531359 Q16607959 Q5798332 Q2876296 Q18396777 Q16607956 Q3389162 Q19953637 Q977165 Q5042036 Q530416 Q2878587 Q6120864 Q15713576 Q444058 Q4282577 Q4893954 Q3608362 Q3608200 Q6166506 Q6700268 Q3506990 Q922759 Q817348 Q9015708 Q20942796 Q2522523 Q15710997 Q6299140
(c(Q502895),P19,Q77)
action filter_type
action find_reverse
entity Q77
relation P19
type Q502895
[ANSWERS] have birthplace at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q77']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q77 . ?p rdf:type ontology:Q502895 }
Tabaré Alonso Rúben Bareño Santiago Mastrángelo Valeria Risi Luis Eduardo González Pietro Ameglio Leopoldo Artucio Julia Möller José Vanzzino Alberto Bica Pablo Dacal Juan José Grassi Nestor Fabian Correa Willians Peralta Óscar Andrade Luis Hierro Rivera Alberto Ferrero Sergio Puglia Alejandro Furia Mauro Urtasun Domingo Márquez Jorge Aude Alejandro Colucci Rodolfo Sandoval Hugo Rivero Héber Ignacio Ratti Divino Vivas Rubén Martínez Huelmo Mario Lorenzo Hilda Viñas Romeo Corbo Jonathan Del Arco Kenneth A. Reid Julio Losada Vladimir Roslik Luis Comitante Rodrigo Arocena Julio Balparda Julio Ulises Terra Henny Trayles Luis Alberto Quevedo Lilián Abracinskas Lucyna Grobicka Baby Correa César Troncoso Santiago Ramírez Debali Francisco Cámera José Tognola Graciana del Castillo Anita Almada Dora Bagdassarián Líber Arce Celia Podestá Leonel Conde Luis Cluzeau Mortet Ernestina Méndez Reissig Graciela Bianchi Paquita Vehil Ana Meikle Solari Urbano Rivera Guillermo Sapiro Aníbal Ciocca Orestes Acquarone Domingo Sapelli Rodrigo Izqueirdo Sergio Silva Wilson Sanabria Ronald Langón Voltaire García Tomás Silva Esther Ballestrino Rosita Arrieta Eduardo Méndez Gaa Rubén Soria Florentino Guimaraens Jorge Herrán Agustín Canobbio Leonardo Fernández López Mercedes González Hormaizteguy Diego Jorge Ramos Eusebio Tejera Jorge Peirano Facio Andrés Mazali Adrián Fernández Leal Mirtha Torres Daniel Fasciolli Franco Milano César Vega Mirtha Reid José Brachi Dinorah Castiglioni William Martínez Carlos Enríquez José Urruzmendi Martín Aguirrezabala Santiago Chalar Miguel Ángel Cordone Arotxa Eduardo Martínez Bernardo Roselli Alberto Gómez Alberto Cardaccio Washington Reyes Abadie Luis Alberto Ferrizo Sylvain Estibal Juan Burgueño Benito Medero Juan Legnazzi Eduardo González Díaz Victor Piaggio Pedro Casella Juan Campodónico
William Martínez, Rúben Bareño and Alberto Bica have birthplace at that administrative territory
William Martínez Rúben Bareño Alberto Bica
action filter_type
action find_reverse
entity Uruguay
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Uruguay']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:Uruguay . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16297818
P641
Q349
USER
Which sport was that person a part of ?
(Q16297818,P641,c(Q349))
action filter_type
action find
entity Q16297818
relation P641
type Q349
['Q16297818', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q16297818 property:P641 ?s . ?s rdf:type ontology:Q349 }
Alberto Bica
action filter_type
action find
entity Alberto Bica
relation sport
type sport
['Alberto Bica', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Bica property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q977165
SYSTEM
Did you mean William Martínez ?
Q977165 Q2017737 Q16297818
(Q977165,P641,c(Q349)) (Q2017737,P641,c(Q349)) (Q16297818,P641,c(Q349))
[ANSWER]
['Q977165', 'P641', {'concept': 'Q349'}] ['Q2017737', 'P641', {'concept': 'Q349'}] ['Q16297818', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q16297818 property:P641 ?s . ?s rdf:type ontology:Q349 }
William Martínez Rúben Bareño Alberto Bica
Did you mean William Martínez ?
William Martínez
['William Martínez', 'sport', {'concept': 'sport'}] ['Rúben Bareño', 'sport', {'concept': 'sport'}] ['Alberto Bica', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Bica property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Alberto Bica. Could you tell me the answer for that?
(Q16297818,P641,c(Q349))
Q16297818
['Q16297818', 'P641', {'concept': 'Q349'}]
['Alberto Bica', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q16297818,P641,c(Q349))
action filter_type
action find
entity Q16297818
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q16297818', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q16297818 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Alberto Bica
relation sport
type sport
['Alberto Bica', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Bica property:sport ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q43229
USER
How many sports are the area of lesser number of collectables and organizations than that sport ?
(c(Q2342494)|c(Q43229),P101,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q43229
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?v WHERE { { ?r property:P101 ?v . ?v rdf:type ontology:Q349 . ?r rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q349 . ?r rdf:type ontology:Q43229 . ?r property:P101 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P101 resource:Q2736 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?s < ?m ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?v WHERE { { ?r property:field_of_work ?v . ?v rdf:type ontology:sport . ?r rdf:type ontology:collectable } UNION { ?v rdf:type ontology:sport . ?r rdf:type ontology:organization . ?r property:field_of_work ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:field_of_work resource:association_football . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?s < ?m ) }
[]
sport collectable organization
SYSTEM
0
(c(Q2342494)|c(Q43229),P101,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q43229
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?v WHERE { { ?r property:P101 ?v . ?v rdf:type ontology:Q349 . ?r rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q349 . ?r rdf:type ontology:Q43229 . ?r property:P101 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P101 resource:Q2736 . { { ?a rdf:type ontology:Q2342494 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?s < ?m ) }
0
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?v WHERE { { ?r property:field_of_work ?v . ?v rdf:type ontology:sport . ?r rdf:type ontology:collectable } UNION { ?v rdf:type ontology:sport . ?r rdf:type ontology:organization . ?r property:field_of_work ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:field_of_work resource:association_football . { { ?a rdf:type ontology:collectable } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?s < ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P466
Q1076486 Q811979
USER
How many sports venues and architectural structures were inhabited by association football ?
(c(Q1076486),P466,Q2736) (c(Q811979),P466,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P466
type Q1076486
action filter_type
action find_reverse
entity Q2736
relation P466
type Q811979
[{'concept': 'Q1076486'}, 'P466', 'Q2736'] [{'concept': 'Q811979'}, 'P466', 'Q2736']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?c rdf:type ?l }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation occupant
type sports venue
action filter_type
action find_reverse
entity association football
relation occupant
type architectural structure
[{'concept': 'sports venue'}, 'occupant', 'association football'] [{'concept': 'architectural structure'}, 'occupant', 'association football']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?c rdf:type ?l }
[]
sports venue architectural structure
SYSTEM
1 sports venues and 1 architectural structures
Q7971000 Q6800202
(c(Q1076486),P466,Q2736) (c(Q811979),P466,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P466
type Q1076486
action filter_type
action find_reverse
entity Q2736
relation P466
type Q811979
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q2736'] [{'concept': 'Q811979'}, 'P466', 'Q2736']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?c rdf:type ?l }
Warta Stadion McCarthy Stadium
1 sports venues and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity association football
relation occupant
type sports venue
action filter_type
action find_reverse
entity association football
relation occupant
type architectural structure
[{'concept': 'sports venue'}, 'occupant', 'association football'] [{'concept': 'architectural structure'}, 'occupant', 'association football']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?c rdf:type ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 3734 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3734
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?v = 3734 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3734
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?v = 3734 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3734
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?v = 3734 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3734
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?v = 3734 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q649524 Q2017737
P1344
Q15275719
USER
Which recurring events did Rúben Bareño or Tom Boyd compete in ?
OR((Q2017737,P1344,c(Q15275719)), (Q649524,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q2017737
relation P1344
action find
entity Q649524
relation P1344
type Q15275719
{'OR': [['Q2017737', 'P1344', {'concept': 'Q15275719'}], ['Q649524', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Q2017737 ) ( resource:Q649524 ) } . ?h property:P1344 ?t } . ?t rdf:type ontology:Q15275719 }
Tom Boyd Rúben Bareño
action filter_type
action union
action find
entity Rúben Bareño
relation participant of
action find
entity Tom Boyd
relation participant of
type recurring event
{'OR': [['Rúben Bareño', 'participant of', {'concept': 'recurring event'}], ['Tom Boyd', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Rúben_Bareño ) ( resource:Tom_Boyd ) } . ?h property:participant_of ?t } . ?t rdf:type ontology:recurring_event }
[]
recurring event
Q132664 Q101730
SYSTEM
1970 FIFA World Cup, 1998 FIFA World Cup
Q132664 Q101730
OR((Q2017737,P1344,c(Q15275719)), (Q649524,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q2017737
relation P1344
action find
entity Q649524
relation P1344
type Q15275719
Rúben Bareño or Tom Boyd competed in [ANSWERS]
{'OR': [['Q2017737', 'P1344', {'concept': 'Q15275719'}], ['Q649524', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Q2017737 ) ( resource:Q649524 ) } . ?h property:P1344 ?t } . ?t rdf:type ontology:Q15275719 }
1970 FIFA World Cup 1998 FIFA World Cup
Rúben Bareño or Tom Boyd competed in 1970 FIFA World Cup and 1998 FIFA World Cup
1970 FIFA World Cup 1998 FIFA World Cup
action filter_type
action union
action find
entity Rúben Bareño
relation participant of
action find
entity Tom Boyd
relation participant of
type recurring event
{'OR': [['Rúben Bareño', 'participant of', {'concept': 'recurring event'}], ['Tom Boyd', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?h ) { ( resource:Rúben_Bareño ) ( resource:Tom_Boyd ) } . ?h property:participant_of ?t } . ?t rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20801692
P641
Q349
USER
Which sport did Leonardo Fernández participate in ?
(Q20801692,P641,c(Q349))
action filter_type
action find
entity Q20801692
relation P641
type Q349
['Q20801692', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q20801692 property:P641 ?y . ?y rdf:type ontology:Q349 }
Leonardo Fernández
action filter_type
action find
entity Leonardo Fernández
relation sport
type sport
['Leonardo Fernández', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Leonardo_Fernández property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20801692,P641,c(Q349))
action filter_type
action find
entity Q20801692
relation P641
type Q349
Leonardo Fernández participated in [ANSWER]
['Q20801692', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q20801692 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Leonardo Fernández participated in association football
association football
action filter_type
action find
entity Leonardo Fernández
relation sport
type sport
['Leonardo Fernández', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Leonardo_Fernández property:sport ?y . ?y rdf:type ontology:sport }
[]