Simple Question (Direct)
Simple Question
Q6700283
P27
Q15617994
USER
Which administrative territory is Luis Alberto Ramos a civilian of ?
(Q6700283,P27,c(Q15617994))
action filter_type
action find
entity Q6700283
relation P27
type Q15617994
['Q6700283', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6700283 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Luis Alberto Ramos
action filter_type
action find
entity Luis Alberto Ramos
relation country of citizenship
type designation for an administrative territorial entity
['Luis Alberto Ramos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luis_Alberto_Ramos property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q6700283,P27,c(Q15617994))
action filter_type
action find
entity Q6700283
relation P27
type Q15617994
[ANSWER] is Luis Alberto Ramos a civilian of
['Q6700283', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6700283 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Argentina
Argentina is Luis Alberto Ramos a civilian of
Argentina
action filter_type
action find
entity Luis Alberto Ramos
relation country of citizenship
type designation for an administrative territorial entity
['Luis Alberto Ramos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Luis_Alberto_Ramos property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6700283
P1412
Q34770
USER
Which language can that person read ?
(Q414,P1412,c(Q34770))
action filter_type
action find
entity Q6700283
relation P1412
type Q34770
['Q414', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q6700283 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Luis Alberto Ramos
action filter_type
action find
entity Luis Alberto Ramos
relation languages spoken, written or signed
type language
['Argentina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Alberto_Ramos property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q414,P1412,c(Q34770))
action filter_type
action find
entity Q6700283
relation P1412
type Q34770
That person can read the [ANSWER]
['Q414', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q6700283 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Luis Alberto Ramos
relation languages spoken, written or signed
type language
['Argentina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Luis_Alberto_Ramos property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6700283
P641
Q349
USER
Which sport was Luis Alberto Ramos a part of ?
(Q6700283,P641,c(Q349))
action filter_type
action find
entity Q6700283
relation P641
type Q349
['Q6700283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6700283 property:P641 ?i . ?i rdf:type ontology:Q349 }
Luis Alberto Ramos
action filter_type
action find
entity Luis Alberto Ramos
relation sport
type sport
['Luis Alberto Ramos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Luis_Alberto_Ramos property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6700283,P641,c(Q349))
action filter_type
action find
entity Q6700283
relation P641
type Q349
The [ANSWER] was Luis Alberto Ramos a part of
['Q6700283', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6700283 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The association football was Luis Alberto Ramos a part of
association football
action filter_type
action find
entity Luis Alberto Ramos
relation sport
type sport
['Luis Alberto Ramos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Luis_Alberto_Ramos property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q869992
Q349
USER
And how about Franz Horn?
(Q869992,P641,c(Q349))
action filter_type
action find
entity Q869992
relation P641
type Q349
['Q869992', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q869992 property:P641 ?g . ?g rdf:type ontology:Q349 }
Franz Horn
action filter_type
action find
entity Franz Horn
relation sport
type sport
['Franz Horn', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Franz_Horn property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q869992,P641,c(Q349))
action filter_type
action find
entity Q869992
relation P641
type Q349
[ANSWER]
['Q869992', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q869992 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Franz Horn
relation sport
type sport
['Franz Horn', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Franz_Horn property:sport ?g . ?g rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are used as the scripts for around 2 languages ?
(c(Q34770),P282,c(Q9779))
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 2
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P282 ?l . ?l rdf:type ontology:Q9779 . ?r rdf:type ontology:Q34770 } GROUP BY ?l } . FILTER ( ?s = 2 ) }
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:writing_system ?l . ?l rdf:type ontology:alphabet . ?r rdf:type ontology:language } GROUP BY ?l } . FILTER ( ?s = 2 ) }
[]
alphabet language
Q829464 Q550383 Q442244
SYSTEM
Serbian Cyrillic alphabet, Italian alphabet, Early Cyrillic alphabet
Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 2
[ANSWERS] are used as the scripts for around 2 languages
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P282 ?l . ?l rdf:type ontology:Q9779 . ?r rdf:type ontology:Q34770 } GROUP BY ?l } . FILTER ( ?s = 2 ) }
Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
Serbian Cyrillic alphabet, Italian alphabet and Early Cyrillic alphabet are used as the scripts for around 2 languages
Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:writing_system ?l . ?l rdf:type ontology:alphabet . ?r rdf:type ontology:language } GROUP BY ?l } . FILTER ( ?s = 2 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P282
Q34770
USER
How many languages use that alphabet as the writing system ?
(c(Q34770),P282,Q442244)
[{'concept': 'Q34770'}, 'P282', 'Q442244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q442244 . ?z rdf:type ontology:Q34770 }
[{'concept': 'language'}, 'writing system', 'Early Cyrillic alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Early_Cyrillic_alphabet . ?z rdf:type ontology:language }
[]
language
Quantitative|Count|Single entity type|Clarification
Q550383
SYSTEM
Did you mean Italian alphabet ?
(c(Q34770),P282,Q829464) (c(Q34770),P282,Q550383) (c(Q34770),P282,Q442244)
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q829464'] [{'concept': 'Q34770'}, 'P282', 'Q550383'] [{'concept': 'Q34770'}, 'P282', 'Q442244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q442244 . ?z rdf:type ontology:Q34770 }
Did you mean Italian alphabet ?
Italian alphabet
[{'concept': 'language'}, 'writing system', 'Serbian Cyrillic alphabet'] [{'concept': 'language'}, 'writing system', 'Italian alphabet'] [{'concept': 'language'}, 'writing system', 'Early Cyrillic alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Early_Cyrillic_alphabet . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Early Cyrillic alphabet. Could you tell me the answer for that?
(c(Q34770),P282,Q442244)
Q442244
[{'concept': 'Q34770'}, 'P282', 'Q442244']
[{'concept': 'language'}, 'writing system', 'Early Cyrillic alphabet']
[]
SYSTEM
1
Q35499
(c(Q34770),P282,Q442244)
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q442244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q442244 . ?z rdf:type ontology:Q34770 }
Old Church Slavonic
1
[{'concept': 'language'}, 'writing system', 'Early Cyrillic alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Early_Cyrillic_alphabet . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages are around 2 notations or writing systems the writing system of ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { { ?b property:P282 ?r . ?b rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } UNION { ?b property:P282 ?r . ?b rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } } GROUP BY ?b } . FILTER ( ?y = 2 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { { ?b property:writing_system ?r . ?b rdf:type ontology:language . ?r rdf:type ontology:writing_system } UNION { ?b property:writing_system ?r . ?b rdf:type ontology:language . ?r rdf:type ontology:notation } } GROUP BY ?b } . FILTER ( ?y = 2 ) }
[]
notation writing system language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER] is around 2 notations or writing systems the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { { ?b property:P282 ?r . ?b rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 } UNION { ?b property:P282 ?r . ?b rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } } GROUP BY ?b } . FILTER ( ?y = 2 ) }
Avestan
Avestan is around 2 notations or writing systems the writing system of
Avestan
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?y ) WHERE { { ?b property:writing_system ?r . ?b rdf:type ontology:language . ?r rdf:type ontology:writing_system } UNION { ?b property:writing_system ?r . ?b rdf:type ontology:language . ?r rdf:type ontology:notation } } GROUP BY ?b } . FILTER ( ?y = 2 ) }
[]