Simple Question (Direct)
Simple Question
Q6462804
P57
Q502895
USER
Who was La Gota de sangre directed by ?
(Q6462804,P57,c(Q502895))
action filter_type
action find
entity Q6462804
relation P57
type Q502895
['Q6462804', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q6462804 property:P57 ?x . ?x rdf:type ontology:Q502895 }
La Gota de sangre
action filter_type
action find
entity La Gota de sangre
relation director
type common name
['La Gota de sangre', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:La_Gota_de_sangre property:director ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2749779
SYSTEM
Chano Urueta
Q2749779
(Q6462804,P57,c(Q502895))
action filter_type
action find
entity Q6462804
relation P57
type Q502895
[ANSWER]
['Q6462804', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q6462804 property:P57 ?x . ?x rdf:type ontology:Q502895 }
Chano Urueta
Chano Urueta
action filter_type
action find
entity La Gota de sangre
relation director
type common name
['La Gota de sangre', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:La_Gota_de_sangre property:director ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6462804
P161
Q502895
USER
Which people are in that work of art ?
(Q2749779,P161,c(Q502895))
action filter_type
action find
entity Q6462804
relation P161
type Q502895
['Q2749779', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q6462804 property:P161 ?f . ?f rdf:type ontology:Q502895 }
La Gota de sangre
action filter_type
action find
entity La Gota de sangre
relation cast member
type common name
['Chano Urueta', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:La_Gota_de_sangre property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3417214 Q3548100 Q6147540
SYSTEM
Rafael Baledón, José Elías Moreno, Tito Junco
Q3417214 Q3548100 Q6147540 Q2849039 Q6547650
(Q2749779,P161,c(Q502895))
action filter_type
action find
entity Q6462804
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q2749779', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q6462804 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Rafael Baledón José Elías Moreno Tito Junco Andrés Soler Lilia Michel
Rafael Baledón, José Elías Moreno and Tito Junco are in that work of art
Rafael Baledón José Elías Moreno Tito Junco
action filter_type
action find
entity La Gota de sangre
relation cast member
type common name
['Chano Urueta', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:La_Gota_de_sangre property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3417214
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q3417214,P27,c(Q15617994))
action filter_type
action find
entity Q3417214
relation P27
type Q15617994
['Q3417214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3417214 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Rafael Baledón
action filter_type
action find
entity Rafael Baledón
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Baledón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rafael_Baledón property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q6147540
SYSTEM
Did you mean Tito Junco ?
Q3417214 Q3548100 Q6147540
(Q3417214,P27,c(Q15617994)) (Q3548100,P27,c(Q15617994)) (Q6147540,P27,c(Q15617994))
[ANSWER]
['Q3417214', 'P27', {'concept': 'Q15617994'}] ['Q3548100', 'P27', {'concept': 'Q15617994'}] ['Q6147540', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3417214 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Rafael Baledón José Elías Moreno Tito Junco
Did you mean Tito Junco ?
Tito Junco
['Rafael Baledón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['José Elías Moreno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tito Junco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rafael_Baledón property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Rafael Baledón. Could you tell me the answer for that?
(Q3417214,P27,c(Q15617994))
Q3417214
['Q3417214', 'P27', {'concept': 'Q15617994'}]
['Rafael Baledón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q96
SYSTEM
Mexico
Q96
(Q3417214,P27,c(Q15617994))
action filter_type
action find
entity Q3417214
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q3417214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3417214 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Mexico
Mexico is that person an inhabitant of
Mexico
action filter_type
action find
entity Rafael Baledón
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Baledón', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rafael_Baledón property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q96 Q774
P47
Q15617994
USER
Does Guatemala share border with that one ?
(Q96,P47,Q774)
action is_in
entity Q774
action find
entity Q96
relation P47
['Q96', 'P47', 'Q774']
ASK WHERE { resource:Q96 property:P47 resource:Q774 }
Mexico Guatemala
action is_in
entity Guatemala
action find
entity Mexico
relation shares border with
['Mexico', 'shares border with', 'Guatemala']
ASK WHERE { resource:Mexico property:shares_border_with resource:Guatemala }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q96,P47,Q774)
action is_in
entity Q774
action find
entity Q96
relation P47
[ANSWER]
['Q96', 'P47', 'Q774']
ASK WHERE { resource:Q96 property:P47 resource:Q774 }
Yes
action is_in
entity Guatemala
action find
entity Mexico
relation shares border with
['Mexico', 'shares border with', 'Guatemala']
ASK WHERE { resource:Mexico property:shares_border_with resource:Guatemala }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3417214
P1412
Q34770
USER
Which language can Rafael Baledón understand ?
(Q3417214,P1412,c(Q34770))
action filter_type
action find
entity Q3417214
relation P1412
type Q34770
['Q3417214', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3417214 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Rafael Baledón
action filter_type
action find
entity Rafael Baledón
relation languages spoken, written or signed
type language
['Rafael Baledón', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Rafael_Baledón property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3417214,P1412,c(Q34770))
action filter_type
action find
entity Q3417214
relation P1412
type Q34770
Rafael Baledón can understand the [ANSWER]
['Q3417214', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3417214 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Rafael Baledón can understand the Spanish
Spanish
action filter_type
action find
entity Rafael Baledón
relation languages spoken, written or signed
type language
['Rafael Baledón', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Rafael_Baledón property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q156774
Q34770
USER
And how about Pedro II of Brazil?
(Q156774,P1412,c(Q34770))
action filter_type
action find
entity Q156774
relation P1412
type Q34770
['Q156774', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q156774 property:P1412 ?t }
Pedro II of Brazil
action filter_type
action find
entity Pedro II of Brazil
relation languages spoken, written or signed
type language
['Pedro II of Brazil', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Pedro_II_of_Brazil property:languages_spoken,_written_or_signed ?t }
[]
language
Q1860 Q56944 Q397
SYSTEM
English, Tupi language, Latin
Q652 Q56944 Q1860 Q1321 Q397
(Q156774,P1412,c(Q34770))
action filter_type
action find
entity Q156774
relation P1412
type Q34770
[ANSWERS]
['Q156774', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q156774 property:P1412 ?t }
Italian Tupi language English Spanish Latin
English Tupi language Latin
action filter_type
action find
entity Pedro II of Brazil
relation languages spoken, written or signed
type language
['Pedro II of Brazil', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Pedro_II_of_Brazil property:languages_spoken,_written_or_signed ?t }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q156774
P1412
Q502895
USER
Does Pedro II of Brazil write those languages ?
(Q156774,P1412,Q1860) (Q156774,P1412,Q56944) (Q156774,P1412,Q397)
action is_in
entity prev_answer
action find
entity Q156774
relation P1412
['Q156774', 'P1412', 'Q1860'] ['Q156774', 'P1412', 'Q56944'] ['Q156774', 'P1412', 'Q397']
ASK WHERE { VALUES ( ?e ) { ( resource:Q652 ) ( resource:Q56944 ) ( resource:Q1860 ) } . resource:Q156774 property:P1412 ?e }
Pedro II of Brazil
action is_in
entity prev_answer
action find
entity Pedro II of Brazil
relation languages spoken, written or signed
['Pedro II of Brazil', 'languages spoken, written or signed', 'English'] ['Pedro II of Brazil', 'languages spoken, written or signed', 'Tupi language'] ['Pedro II of Brazil', 'languages spoken, written or signed', 'Latin']
ASK WHERE { VALUES ( ?e ) { ( resource:Italian ) ( resource:Tupi_language ) ( resource:English ) } . resource:Pedro_II_of_Brazil property:languages_spoken,_written_or_signed ?e }
[]
common name
SYSTEM
YES
(Q156774,P1412,Q1860) (Q156774,P1412,Q56944) (Q156774,P1412,Q397)
action is_in
entity prev_answer
action find
entity Q156774
relation P1412
[ANSWER]
['Q156774', 'P1412', 'Q1860'] ['Q156774', 'P1412', 'Q56944'] ['Q156774', 'P1412', 'Q397']
ASK WHERE { VALUES ( ?e ) { ( resource:Q652 ) ( resource:Q56944 ) ( resource:Q1860 ) } . resource:Q156774 property:P1412 ?e }
Yes
action is_in
entity prev_answer
action find
entity Pedro II of Brazil
relation languages spoken, written or signed
['Pedro II of Brazil', 'languages spoken, written or signed', 'English'] ['Pedro II of Brazil', 'languages spoken, written or signed', 'Tupi language'] ['Pedro II of Brazil', 'languages spoken, written or signed', 'Latin']
ASK WHERE { VALUES ( ?e ) { ( resource:Italian ) ( resource:Tupi_language ) ( resource:English ) } . resource:Pedro_II_of_Brazil property:languages_spoken,_written_or_signed ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35726
P37
Q34770 Q15617994 Q56061
USER
How many languages are considered to be the official language of lesser number of administrative territories or administrative territories than Etruscan ?
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P37
type Q15617994
type Q56061
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P37 resource:Q35726 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q56061 } } } } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?w WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?t rdf:type ?f } GROUP BY ?w } }
Etruscan
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:official_language resource:Etruscan . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?w WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?f } GROUP BY ?w } }
[]
language designation for an administrative territorial entity administrative territorial entity
SYSTEM
8
Q33251 Q13211 Q3110592 Q36206 Q36880 Q33976 Q35499 Q25164
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P37
type Q15617994
type Q56061
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P37 resource:Q35726 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q56061 } } } } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?w WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?t rdf:type ?f } GROUP BY ?w } }
Church Slavonic Ruthenian written Chinese Lak Bulgar language Sardinian language Old Church Slavonic Nynorsk
8
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:official_language resource:Etruscan . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?w WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?f } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8752
P37
Q34770 Q15617994 Q56061
USER
And what about Basque?
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q8752
relation P37
type Q15617994
type Q56061
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P37 resource:Q8752 . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?d WHERE { { ?d rdf:type ontology:Q34770 . ?u rdf:type ontology:Q15617994 . ?u property:P37 ?d } UNION { ?u property:P37 ?d . ?d rdf:type ontology:Q34770 . ?u rdf:type ontology:Q56061 } } GROUP BY ?d } }
Basque
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Basque
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:official_language resource:Basque . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?d WHERE { { ?d rdf:type ontology:language . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:official_language ?d } UNION { ?u property:official_language ?d . ?d rdf:type ontology:language . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } }
[]
language designation for an administrative territorial entity administrative territorial entity
SYSTEM
8
Q33251 Q13211 Q3110592 Q36206 Q36880 Q33976 Q35499 Q25164
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q8752
relation P37
type Q15617994
type Q56061
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P37 resource:Q8752 . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?d WHERE { { ?d rdf:type ontology:Q34770 . ?u rdf:type ontology:Q15617994 . ?u property:P37 ?d } UNION { ?u property:P37 ?d . ?d rdf:type ontology:Q34770 . ?u rdf:type ontology:Q56061 } } GROUP BY ?d } }
Church Slavonic Ruthenian written Chinese Lak Bulgar language Sardinian language Old Church Slavonic Nynorsk
8
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Basque
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:official_language resource:Basque . { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?d WHERE { { ?d rdf:type ontology:language . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:official_language ?d } UNION { ?u property:official_language ?d . ?d rdf:type ontology:language . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1321 Q397
P1412
Q502895
USER
Which people talks in Latin and Spanish ?
AND((c(Q502895),P1412,Q397), (c(Q502895),P1412,Q1321))
action filter_type
action intersection
action find_reverse
entity Q397
relation P1412
action find_reverse
entity Q1321
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q397'], [{'concept': 'Q502895'}, 'P1412', 'Q1321']]}
SELECT DISTINCT ?u WHERE { ?u property:P1412 resource:Q397 . ?u property:P1412 resource:Q1321 . ?u rdf:type ontology:Q502895 }
Spanish Latin
action filter_type
action intersection
action find_reverse
entity Latin
relation languages spoken, written or signed
action find_reverse
entity Spanish
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Latin'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Spanish']]}
SELECT DISTINCT ?u WHERE { ?u property:languages_spoken,_written_or_signed resource:Latin . ?u property:languages_spoken,_written_or_signed resource:Spanish . ?u rdf:type ontology:common_name }
[]
common name
Q1168867 Q5939157 Q2368814 Q712941 Q922068 Q5522100 Q5647216 Q17274335 Q5699873 Q301664
SYSTEM
Some of them are Thomas Sanchez, Tarsicio Herrera Zapién, Juan Tomás de Rocaberti, Juan de Torquemada, Claudius of Turin, Garcias de Cisneros, Pedro de Morales, Alonso de Oropesa, Antonio Serón, Diego Laynez
Q3374154 Q5445016 Q316339 Q969391 Q380804 Q5869733 Q562428 Q1493986 Q932759 Q6440093 Q3898717 Q6069629 Q6161395 Q11917148 Q2857079 Q6765937 Q1442226 Q3374035 Q3072158 Q3418519 Q1876563 Q2368814 Q3387720 Q332681 Q4891971 Q630589 Q166876 Q1151101 Q1442044 Q2834858 Q367240 Q17274743 Q5875795 Q21544228 Q9016119 Q7576343 Q16941978 Q5645549 Q2337208 Q3740319 Q934185 Q3069593 Q1408974 Q5865303 Q2777336 Q352513 Q597976 Q17478064 Q708822 Q1379453 Q154792 Q2623376 Q316357 Q1237726 Q4894140 Q1059466 Q1495249 Q3098733 Q6776977 Q3888783 Q23943976 Q301664 Q2983655 Q116003 Q973196 Q156774 Q2470279 Q511261 Q233669 Q3893707 Q1220593 Q2033937 Q507540 Q210735 Q2535060 Q544052 Q3620412 Q4203493 Q5867218 Q5489316 Q486886 Q1113837 Q532539 Q3821587 Q16493287 Q3155085 Q3612901 Q5647216 Q117763 Q11698871 Q2080920 Q3352782 Q1343514 Q5484026 Q163381 Q279030 Q6070619 Q6161304 Q5992962 Q5667367 Q2894300 Q809544 Q3571438 Q325647 Q6301222 Q320546 Q3620090 Q185914 Q5867834 Q6173105 Q4419165 Q450675 Q5699873 Q2939307 Q2098 Q950531 Q3755402 Q8559867 Q6205387 Q5866924 Q922068 Q5933652 Q2363751 Q2578734 Q3134296 Q468616 Q940017 Q6015414 Q5274892 Q6300469 Q6172688 Q312903 Q1397935 Q4887305 Q4896779 Q4844972 Q6160982 Q3087430 Q7357441 Q3266829 Q16584602 Q816903 Q1168867 Q312384 Q13240 Q940132 Q545716 Q352804 Q5939157 Q2546346 Q2060582 Q11937693 Q16483577 Q5483823 Q3051986 Q57106 Q689925 Q709181 Q535028 Q6301289 Q472987 Q11705051 Q5865616 Q1237514 Q7160048 Q1240797 Q450246 Q17276357 Q5868618 Q17274335 Q2887519 Q193660 Q347250 Q541378 Q6068990 Q5698078 Q2056386 Q5483983 Q1710677 Q5492629 Q3374120 Q342392 Q6752723 Q1310633 Q5522100 Q604156 Q644162 Q5721789 Q353532 Q1125690 Q395340 Q1220481 Q3782346 Q333372 Q661419 Q1382696 Q5490755 Q1708316 Q947994 Q6002778 Q712941 Q384460 Q4734484 Q849117 Q436077 Q160333 Q22074646
AND((c(Q502895),P1412,Q397), (c(Q502895),P1412,Q1321))
action filter_type
action intersection
action find_reverse
entity Q397
relation P1412
action find_reverse
entity Q1321
relation P1412
type Q502895
[ANSWERS] talk in Latin and Spanish
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q397'], [{'concept': 'Q502895'}, 'P1412', 'Q1321']]}
SELECT DISTINCT ?u WHERE { ?u property:P1412 resource:Q397 . ?u property:P1412 resource:Q1321 . ?u rdf:type ontology:Q502895 }
Pedro de Valencia Fernando de las Infantas Francisco Suárez Juan Valverde de Amusco Antonio de Nebrija Froilán Díaz de Llanos Rodrigo Jiménez de Rada Garcia de Loaysa Giron Juan de Iriarte Gonzalo Correas Pedro Simón Abril Pedro Núñez Vela Vicente de la Fuente Diego Mas i Mas Antoni Serra Serra Shimon Bouzaglo Turrianus Pedro Chacón Luisa Sigea de Velasco Ramon Bosc Luis de la Puente Juan Tomás de Rocaberti Peter of Toledo Martin of Aragon Pere Antoni Beuter Alfonso García Matamoros Isidore of Seville Alfonso de Zamora Francisco Jiménez Alfonso Clemente de Aróstegui Gerard of Cremona Pedro Ximénez de Préxamo Gaspar Cardillo de Villalpando Joseph Merkel Juan de Icíar Speraindeo Luis de Escobar Luis Pérez Alfonso de Palencia Faustino Arévalo Domingo Báñez Fernan Perez de Oliva Juan Latino Francisco Botello de Moraes y Vasconcelos Rodrigo Sánchez de Arévalo Gabriel Vásquez Miquel López Gregorio Hernández de Velasco Pedro Páez Francisco de Toledo Orlande de Lassus Alfonso de Cartagena Luis Vives Dominicus Gundissalinus Juliana Morell Maria de Luna Gaspar Lax Gaspar de Baeza Martin of Arles José-Apeles Santolaria de Puey y Cruells Wincenty Stroka Diego Laynez José Mariano Mociño Henri François Pittier Francisco Sanches Pedro II of Brazil Francisco Delicado Juan Verzosa Lou Henry Hoover Álvaro of Córdoba Diego de Covarubias y Leyva Sampiro Rafael Merry del Val Tomás de Torquemada Antonio Agustín y Albanell Ignacio Jordán Claudio de Asso y del Río Antonius Andreas Isaac Cardoso Francisco Ramos del Manzano Alonso de Barros Archbishop Anastasios of Albania Philip Barker Webb Toribio de Benavente Motolinia Mariano de la Paz Graëlls y de la Aguera Francisco de Soto Marne Isabel de Villena Alonso de Alcalá y Herrera Pedro de Morales Giuseppe Caspar Mezzofanti Pere Gil i Estalella Petrus Alphonsi Onofre Pratdesaba Martin Delrio Francisco Vallés Peter Martyr d'Anghiera Gómez Pereira Pedro de Vallés Vicente Requeno Manuel Fernández de Loaysa Alfonso de Torres Miguel de Portilla y Esquivel Bartolomé de Medina Joaquín Lorenzo Villanueva Diego de Estella Juan de Celaya Peter of Spain Antonio Ricciardi Miguel Servet Francisco de Araujo Ángel Custodio Vega Jaime Siles Francis Antonio Serón Carlos Berg Martial Nicolás Monardes Félix Amat Diego Pérez de Valdivia Joan Ramis Francisco Núñez de Oria Claudius of Turin John Thomas Mickel José Saenz d'Aguirre Prudentius of Troyes Hernán Núñez Martin I of Sicily Francisco Hernández de Toledo Miguel de San José Diego Álvarez Chanca Juan Martínez de Ripalda Álvar Gómez de Castro Alexander Farnese, Duke of Parma Lorenzo Arrazola y García Benedict Pereira Lucio Marineo Sículo Cipriano de la Huerga Vicente Agustí Polop Juan Eusebio Nieremberg Rodrigo de Cerrato Luis Sodiro Juan Felipe Mey Benito Arias Montano Thomas Sanchez Francisco de Vitoria Heinrich Schmid Juan Ginés de Sepúlveda Pere Miquel Carbonell Juan Maldonado Tarsicio Herrera Zapién John de Lugo Francisco Javier Alegre Mossèn Azà Antonio Codorniú Francisco Pérez Bayer Ernesto de la Peña Heinrich Schliemann Juan Caramuel y Lobkowitz Gil Álvarez Carrillo de Albornoz Magdalena of Valois Juan de Lucena Isaac Orobio de Castro Vicent Mariner Francisco Enríquez de Villacorta Domingo de Soto Pedro de Torres Rámila Francisco Sánchez de las Brozas Luis de León Pedro de la Vega Franklin Post Metcalf Alonso de Oropesa Diego de Zúñiga Ramon Llull Prudentius Nicolás Antonio Pedro González de Salcedo Antonio Coronel Rodrigo Caro Francisco Sánchez Barbero Juan de Cabrera Luis Mexía de la Cerda Pedro Ciruelo Francisco Jiménez de Cisneros Manuel Martí Francesc Eiximenis Garcias de Cisneros Alonso Tostado Melchior Cano Basilio Ponce de León Alfonso de Castro Jerónimo Nadal Agop Dilaçar Diego José Abad y García Sigismondo Arquer Carolus Clusius Alphonsus Ciacconius John of Seville Canio Rufo Beatriz Galindo Raymond of Sabunde Martín Martínez Juan de Torquemada Cristóvão da Costa Alonso Ortiz Braulio of Zaragoza Luis de Molina Prosper Mérimée Francisco de Paula García y Peláez
Thomas Sanchez, Tarsicio Herrera Zapién, Juan Tomás de Rocaberti, Juan de Torquemada, Claudius of Turin, Garcias de Cisneros, Pedro de Morales, Alonso de Oropesa, Antonio Serón and Diego Laynez talk in Latin and Spanish
Thomas Sanchez Tarsicio Herrera Zapién Juan Tomás de Rocaberti Juan de Torquemada Claudius of Turin Garcias de Cisneros Pedro de Morales Alonso de Oropesa Antonio Serón Diego Laynez
action filter_type
action intersection
action find_reverse
entity Latin
relation languages spoken, written or signed
action find_reverse
entity Spanish
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Latin'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Spanish']]}
SELECT DISTINCT ?u WHERE { ?u property:languages_spoken,_written_or_signed resource:Latin . ?u property:languages_spoken,_written_or_signed resource:Spanish . ?u rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories did the demise of that person occur ?
(Q922068,P20,c(Q56061))
['Q922068', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q922068 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
['Claudius of Turin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claudius_of_Turin property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1168867
SYSTEM
Did you mean Thomas Sanchez ?
(Q1168867,P20,c(Q56061)) (Q5939157,P20,c(Q56061)) (Q2368814,P20,c(Q56061)) (Q712941,P20,c(Q56061)) (Q922068,P20,c(Q56061)) (Q5522100,P20,c(Q56061)) (Q5647216,P20,c(Q56061)) (Q17274335,P20,c(Q56061)) (Q5699873,P20,c(Q56061)) (Q301664,P20,c(Q56061))
[ANSWER]
['Q1168867', 'P20', {'concept': 'Q56061'}] ['Q5939157', 'P20', {'concept': 'Q56061'}] ['Q2368814', 'P20', {'concept': 'Q56061'}] ['Q712941', 'P20', {'concept': 'Q56061'}] ['Q922068', 'P20', {'concept': 'Q56061'}] ['Q5522100', 'P20', {'concept': 'Q56061'}] ['Q5647216', 'P20', {'concept': 'Q56061'}] ['Q17274335', 'P20', {'concept': 'Q56061'}] ['Q5699873', 'P20', {'concept': 'Q56061'}] ['Q301664', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q922068 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Thomas Sanchez ?
Thomas Sanchez
['Thomas Sanchez', 'place of death', {'concept': 'administrative territorial entity'}] ['Tarsicio Herrera Zapién', 'place of death', {'concept': 'administrative territorial entity'}] ['Juan Tomás de Rocaberti', 'place of death', {'concept': 'administrative territorial entity'}] ['Juan de Torquemada', 'place of death', {'concept': 'administrative territorial entity'}] ['Claudius of Turin', 'place of death', {'concept': 'administrative territorial entity'}] ['Garcias de Cisneros', 'place of death', {'concept': 'administrative territorial entity'}] ['Pedro de Morales', 'place of death', {'concept': 'administrative territorial entity'}] ['Alonso de Oropesa', 'place of death', {'concept': 'administrative territorial entity'}] ['Antonio Serón', 'place of death', {'concept': 'administrative territorial entity'}] ['Diego Laynez', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claudius_of_Turin property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Claudius of Turin. Could you tell me the answer for that?
(Q922068,P20,c(Q56061))
Q922068
['Q922068', 'P20', {'concept': 'Q56061'}]
['Claudius of Turin', 'place of death', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q495
(Q922068,P20,c(Q56061))
[ANSWER]
['Q922068', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q922068 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Turin
1
['Claudius of Turin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Claudius_of_Turin property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]