Simple Question (Direct)
Simple Question
Q20681039
P19
Q56061
USER
Which administrative territory is the birthplace of Walter Montoya ?
(Q20681039,P19,c(Q56061))
action filter_type
action find
entity Q20681039
relation P19
type Q56061
['Q20681039', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q20681039 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Walter Montoya
action filter_type
action find
entity Walter Montoya
relation place of birth
type administrative territorial entity
['Walter Montoya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Montoya property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1579325
SYSTEM
Machagai
Q1579325
(Q20681039,P19,c(Q56061))
action filter_type
action find
entity Q20681039
relation P19
type Q56061
[ANSWER] is the birthplace of Walter Montoya
['Q20681039', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q20681039 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Machagai
Machagai is the birthplace of Walter Montoya
Machagai
action filter_type
action find
entity Walter Montoya
relation place of birth
type administrative territorial entity
['Walter Montoya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Montoya property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20681039
P1412
Q34770
USER
Which language can Walter Montoya read ?
(Q20681039,P1412,c(Q34770))
action filter_type
action find
entity Q20681039
relation P1412
type Q34770
['Q20681039', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q20681039 property:P1412 ?h }
Walter Montoya
action filter_type
action find
entity Walter Montoya
relation languages spoken, written or signed
type language
['Walter Montoya', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Walter_Montoya property:languages_spoken,_written_or_signed ?h }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20681039,P1412,c(Q34770))
action filter_type
action find
entity Q20681039
relation P1412
type Q34770
Walter Montoya can read in [ANSWER]
['Q20681039', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q20681039 property:P1412 ?h }
Spanish
Walter Montoya can read in Spanish
Spanish
action filter_type
action find
entity Walter Montoya
relation languages spoken, written or signed
type language
['Walter Montoya', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Walter_Montoya property:languages_spoken,_written_or_signed ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8209
P282
Q9779 Q34770
USER
Which alphabets are the writing systems of lesser number of languages known as than Cyrillic script ?
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { ?e rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 . ?i property:P282 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P282 resource:Q8209 . ?t rdf:type ontology:Q34770 } } . FILTER ( ?y < ?n ) }
Cyrillic script
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { ?e rdf:type ontology:alphabet . ?i rdf:type ontology:language . ?i property:writing_system ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:writing_system resource:Cyrillic_script . ?t rdf:type ontology:language } } . FILTER ( ?y < ?n ) }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[ANSWERS] are the writing systems of lesser number of languages known as than Cyrillic script
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { ?e rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 . ?i property:P282 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P282 resource:Q8209 . ?t rdf:type ontology:Q34770 } } . FILTER ( ?y < ?n ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are the writing systems of lesser number of languages known as than Cyrillic script
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { ?e rdf:type ontology:alphabet . ?i rdf:type ontology:language . ?i property:writing_system ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:writing_system resource:Cyrillic_script . ?t rdf:type ontology:language } } . FILTER ( ?y < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q829464
P282
Q9779 Q34770
USER
And also tell me about Serbian Cyrillic alphabet?
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q829464
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q34770 . ?b rdf:type ontology:Q9779 . ?n property:P282 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P282 resource:Q829464 . ?z rdf:type ontology:Q34770 } } . FILTER ( ?l < ?s ) }
Serbian Cyrillic alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Serbian Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:language . ?b rdf:type ontology:alphabet . ?n property:writing_system ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:writing_system resource:Serbian_Cyrillic_alphabet . ?z rdf:type ontology:language } } . FILTER ( ?l < ?s ) }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q829464
relation P282
type Q34770
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q34770 . ?b rdf:type ontology:Q9779 . ?n property:P282 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P282 resource:Q829464 . ?z rdf:type ontology:Q34770 } } . FILTER ( ?l < ?s ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Serbian Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:language . ?b rdf:type ontology:alphabet . ?n property:writing_system ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:writing_system resource:Serbian_Cyrillic_alphabet . ?z rdf:type ontology:language } } . FILTER ( ?l < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1579325
P17
Q15617994
USER
Which administrative territory is Machagai situated in ?
(Q1579325,P17,c(Q15617994))
action filter_type
action find
entity Q1579325
relation P17
type Q15617994
['Q1579325', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1579325 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Machagai
action filter_type
action find
entity Machagai
relation country
type designation for an administrative territorial entity
['Machagai', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Machagai property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1579325,P17,c(Q15617994))
action filter_type
action find
entity Q1579325
relation P17
type Q15617994
Machagai is situated in [ANSWER]
['Q1579325', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1579325 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Argentina
Machagai is situated in Argentina
Argentina
action filter_type
action find
entity Machagai
relation country
type designation for an administrative territorial entity
['Machagai', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Machagai property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P1532
Q502895
USER
Which people represent that administrative territory ?
(c(Q502895),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q414']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q414 . ?l rdf:type ontology:Q502895 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Argentina . ?l rdf:type ontology:common_name }
[]
common name
Q615 Q545382 Q1199190
SYSTEM
Lionel Messi, Marcos Mondaini, Denis Stracqualursi
Q19047002 Q24260637 Q545382 Q5400776 Q6165587 Q1199190 Q615 Q133646 Q161571 Q25713915 Q1042752 Q24255941
(c(Q502895),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q502895
[ANSWERS] represent that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q414']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q414 . ?l rdf:type ontology:Q502895 }
Cristian Guanca Belén Casetta Marcos Mondaini Esteban Dreer Javier Klimowicz Denis Stracqualursi Lionel Messi Emanuel Herrera Javier Mascherano Viviana Chávez Carlos Bielicki Valeria Chiaraviglio
Lionel Messi, Marcos Mondaini and Denis Stracqualursi represent that administrative territory
Lionel Messi Marcos Mondaini Denis Stracqualursi
action filter_type
action find_reverse
entity Argentina
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Argentina . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q615 Q545382 Q1199190
P54
Q12973014
USER
Which sports teams are Lionel Messi, Marcos Mondaini and Denis Stracqualursi a member of ?
(Q615,P54,c(Q12973014)) (Q545382,P54,c(Q12973014)) (Q1199190,P54,c(Q12973014))
action union
action filter_type
action find
entity Q615
relation P54
type Q12973014
action filter_type
action find
entity Q545382
relation P54
type Q12973014
action filter_type
action find
entity Q1199190
relation P54
type Q12973014
['Q615', 'P54', {'concept': 'Q12973014'}] ['Q545382', 'P54', {'concept': 'Q12973014'}] ['Q1199190', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { { resource:Q615 property:P54 ?v . ?v rdf:type ontology:Q12973014 } UNION { resource:Q545382 property:P54 ?v . ?v rdf:type ontology:Q12973014 } }
Lionel Messi Marcos Mondaini Denis Stracqualursi
action union
action filter_type
action find
entity Lionel Messi
relation member of sports team
type sports team
action filter_type
action find
entity Marcos Mondaini
relation member of sports team
type sports team
action filter_type
action find
entity Denis Stracqualursi
relation member of sports team
type sports team
['Lionel Messi', 'member of sports team', {'concept': 'sports team'}] ['Marcos Mondaini', 'member of sports team', {'concept': 'sports team'}] ['Denis Stracqualursi', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { { resource:Lionel_Messi property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team } UNION { resource:Marcos_Mondaini property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team } }
[]
sports team
Q249612 Q249612 Q324589
SYSTEM
Club Sport Emelec for 1st, 2nd, C.A. Lanús for 3rd
Q2462207 Q249612 Q249612 Q324589
(Q615,P54,c(Q12973014)) (Q545382,P54,c(Q12973014)) (Q1199190,P54,c(Q12973014))
action union
action filter_type
action find
entity Q615
relation P54
type Q12973014
action filter_type
action find
entity Q545382
relation P54
type Q12973014
action filter_type
action find
entity Q1199190
relation P54
type Q12973014
[ANSWERS]
['Q615', 'P54', {'concept': 'Q12973014'}] ['Q545382', 'P54', {'concept': 'Q12973014'}] ['Q1199190', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { { resource:Q615 property:P54 ?v . ?v rdf:type ontology:Q12973014 } UNION { resource:Q545382 property:P54 ?v . ?v rdf:type ontology:Q12973014 } }
Argentina national under-23 football team Club Sport Emelec Club Sport Emelec C.A. Lanús
Club Sport Emelec, Club Sport Emelec and C.A. Lanús are Lionel Messi, Marcos Mondaini and Denis Stracqualursi a member of
Club Sport Emelec Club Sport Emelec C.A. Lanús
action union
action filter_type
action find
entity Lionel Messi
relation member of sports team
type sports team
action filter_type
action find
entity Marcos Mondaini
relation member of sports team
type sports team
action filter_type
action find
entity Denis Stracqualursi
relation member of sports team
type sports team
['Lionel Messi', 'member of sports team', {'concept': 'sports team'}] ['Marcos Mondaini', 'member of sports team', {'concept': 'sports team'}] ['Denis Stracqualursi', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { { resource:Lionel_Messi property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team } UNION { resource:Marcos_Mondaini property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q249612
P859
Q43229
USER
Who is the sponsor for that sports team ?
(Q249612,P859,c(Q43229))
action filter_type
action find
entity Q249612
relation P859
type Q43229
['Q249612', 'P859', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q249612 property:P859 ?f . ?f rdf:type ontology:Q43229 }
Club Sport Emelec
action filter_type
action find
entity Club Sport Emelec
relation sponsor
type organization
['Club Sport Emelec', 'sponsor', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Club_Sport_Emelec property:sponsor ?f . ?f rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q324589
SYSTEM
Did you mean C.A. Lanús ?
Q249612 Q249612 Q324589
(Q249612,P859,c(Q43229)) (Q249612,P859,c(Q43229)) (Q324589,P859,c(Q43229))
[ANSWER]
['Q249612', 'P859', {'concept': 'Q43229'}] ['Q249612', 'P859', {'concept': 'Q43229'}] ['Q324589', 'P859', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q249612 property:P859 ?f . ?f rdf:type ontology:Q43229 }
Club Sport Emelec Club Sport Emelec C.A. Lanús
Did you mean C.A. Lanús ?
C.A. Lanús
['Club Sport Emelec', 'sponsor', {'concept': 'organization'}] ['Club Sport Emelec', 'sponsor', {'concept': 'organization'}] ['C.A. Lanús', 'sponsor', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Club_Sport_Emelec property:sponsor ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Club Sport Emelec. Could you tell me the answer for that?
(Q249612,P859,c(Q43229))
Q249612
['Q249612', 'P859', {'concept': 'Q43229'}]
['Club Sport Emelec', 'sponsor', {'concept': 'organization'}]
[]
Q3895
SYSTEM
Adidas
Q3895
(Q249612,P859,c(Q43229))
action filter_type
action find
entity Q249612
relation P859
type Q43229
The sponsor for that sports team is the [ANSWER]
['Q249612', 'P859', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q249612 property:P859 ?f . ?f rdf:type ontology:Q43229 }
Adidas
The sponsor for that sports team is the Adidas
Adidas
action filter_type
action find
entity Club Sport Emelec
relation sponsor
type organization
['Club Sport Emelec', 'sponsor', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Club_Sport_Emelec property:sponsor ?f . ?f rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3895 Q183 Q1804747
P17
Q1048835
USER
Is that organization present in Germany and Boa Esperança do Iguaçu ?
(Q3895,P17,Q183) (Q3895,P17,Q1804747)
action is_in
entity Q3895
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1804747
relation P17
['Q3895', 'P17', 'Q183'] ['Q3895', 'P17', 'Q1804747']
ASK WHERE { resource:Q3895 property:P17 resource:Q1804747 . resource:Q3895 property:P17 resource:Q183 }
Adidas Germany Boa Esperança do Iguaçu
action is_in
entity Adidas
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Boa Esperança do Iguaçu
relation country
['Adidas', 'country', 'Germany'] ['Adidas', 'country', 'Boa Esperança do Iguaçu']
ASK WHERE { resource:Adidas property:country resource:Boa_Esperança_do_Iguaçu . resource:Adidas property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q3895,P17,Q183) (Q3895,P17,Q1804747)
action is_in
entity Q3895
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1804747
relation P17
[ANSWER]
['Q3895', 'P17', 'Q183'] ['Q3895', 'P17', 'Q1804747']
ASK WHERE { resource:Q3895 property:P17 resource:Q1804747 . resource:Q3895 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Adidas
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Boa Esperança do Iguaçu
relation country
['Adidas', 'country', 'Germany'] ['Adidas', 'country', 'Boa Esperança do Iguaçu']
ASK WHERE { resource:Adidas property:country resource:Boa_Esperança_do_Iguaçu . resource:Adidas property:country resource:Germany }
[]