Simple Question (Direct)
Simple Question
Q1984254
P1412
Q34770
USER
Which language can Luis Antonio de Villena understand ?
(Q1984254,P1412,c(Q34770))
action filter_type
action find
entity Q1984254
relation P1412
type Q34770
['Q1984254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q1984254 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Luis Antonio de Villena
action filter_type
action find
entity Luis Antonio de Villena
relation languages spoken, written or signed
type language
['Luis Antonio de Villena', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Antonio_de_Villena property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1984254,P1412,c(Q34770))
action filter_type
action find
entity Q1984254
relation P1412
type Q34770
Luis Antonio de Villena can understand the [ANSWER]
['Q1984254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q1984254 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Luis Antonio de Villena can understand the Spanish
Spanish
action filter_type
action find
entity Luis Antonio de Villena
relation languages spoken, written or signed
type language
['Luis Antonio de Villena', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Antonio_de_Villena property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1984254
P27
Q15617994
USER
Which administrative territory is Luis Antonio de Villena a civilian of ?
(Q1984254,P27,c(Q15617994))
action filter_type
action find
entity Q1984254
relation P27
type Q15617994
['Q1984254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1984254 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Luis Antonio de Villena
action filter_type
action find
entity Luis Antonio de Villena
relation country of citizenship
type designation for an administrative territorial entity
['Luis Antonio de Villena', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Luis_Antonio_de_Villena property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1984254,P27,c(Q15617994))
action filter_type
action find
entity Q1984254
relation P27
type Q15617994
[ANSWER] is Luis Antonio de Villena a civilian of
['Q1984254', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1984254 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Spain
Spain is Luis Antonio de Villena a civilian of
Spain
action filter_type
action find
entity Luis Antonio de Villena
relation country of citizenship
type designation for an administrative territorial entity
['Luis Antonio de Villena', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Luis_Antonio_de_Villena property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5226609
Q15617994
USER
And also tell me about Dasher Troy?
(Q5226609,P27,c(Q15617994))
action filter_type
action find
entity Q5226609
relation P27
type Q15617994
['Q5226609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5226609 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Dasher Troy
action filter_type
action find
entity Dasher Troy
relation country of citizenship
type designation for an administrative territorial entity
['Dasher Troy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dasher_Troy property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5226609,P27,c(Q15617994))
action filter_type
action find
entity Q5226609
relation P27
type Q15617994
[ANSWER]
['Q5226609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5226609 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Dasher Troy
relation country of citizenship
type designation for an administrative territorial entity
['Dasher Troy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dasher_Troy property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5226609
P106
Q151885
USER
What does that person do for a living ?
(Q30,P106,c(Q151885))
action filter_type
action find
entity Q5226609
relation P106
type Q151885
['Q30', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q5226609 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Dasher Troy
action filter_type
action find
entity Dasher Troy
relation occupation
type concept
['United States of America', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Dasher_Troy property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q30,P106,c(Q151885))
action filter_type
action find
entity Q5226609
relation P106
type Q151885
That person does a [ANSWER] for a living
['Q30', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q5226609 property:P106 ?z . ?z rdf:type ontology:Q151885 }
baseball player
That person does a baseball player for a living
baseball player
action filter_type
action find
entity Dasher Troy
relation occupation
type concept
['United States of America', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Dasher_Troy property:occupation ?z . ?z rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q10871364 Q5369 Q12221090
P425
Q349
USER
Does that concept have baseball and Sheep herding as thier field of occupation ?
(Q10871364,P425,Q5369) (Q10871364,P425,Q12221090)
action is_in
entity Q10871364
action intersection
action find_reverse
entity Q5369
relation P425
action find_reverse
entity Q12221090
relation P425
['Q10871364', 'P425', 'Q5369'] ['Q10871364', 'P425', 'Q12221090']
ASK WHERE { resource:Q10871364 property:P425 resource:Q12221090 . resource:Q10871364 property:P425 resource:Q5369 }
baseball player baseball Sheep herding
action is_in
entity baseball player
action intersection
action find_reverse
entity baseball
relation field of this occupation
action find_reverse
entity Sheep herding
relation field of this occupation
['baseball player', 'field of this occupation', 'baseball'] ['baseball player', 'field of this occupation', 'Sheep herding']
ASK WHERE { resource:baseball_player property:field_of_this_occupation resource:Sheep_herding . resource:baseball_player property:field_of_this_occupation resource:baseball }
[]
sport
SYSTEM
YES and NO respectively
(Q10871364,P425,Q5369) (Q10871364,P425,Q12221090)
action is_in
entity Q10871364
action intersection
action find_reverse
entity Q5369
relation P425
action find_reverse
entity Q12221090
relation P425
[ANSWER]
['Q10871364', 'P425', 'Q5369'] ['Q10871364', 'P425', 'Q12221090']
ASK WHERE { resource:Q10871364 property:P425 resource:Q12221090 . resource:Q10871364 property:P425 resource:Q5369 }
YES and NO respectively
action is_in
entity baseball player
action intersection
action find_reverse
entity baseball
relation field of this occupation
action find_reverse
entity Sheep herding
relation field of this occupation
['baseball player', 'field of this occupation', 'baseball'] ['baseball player', 'field of this occupation', 'Sheep herding']
ASK WHERE { resource:baseball_player property:field_of_this_occupation resource:Sheep_herding . resource:baseball_player property:field_of_this_occupation resource:baseball }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q1011 Q222
P530
Q15617994
USER
Does United States of America have ambassadorial relations with Cape Verde and Albania ?
(Q30,P530,Q1011) (Q30,P530,Q222)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q222
relation P530
['Q30', 'P530', 'Q1011'] ['Q30', 'P530', 'Q222']
ASK WHERE { resource:Q30 property:P530 resource:Q222 . resource:Q30 property:P530 resource:Q1011 }
United States of America Cape Verde Albania
action is_in
entity United States of America
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Albania
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Cape Verde'] ['United States of America', 'diplomatic relation', 'Albania']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Albania . resource:United_States_of_America property:diplomatic_relation resource:Cape_Verde }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q1011) (Q30,P530,Q222)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q222
relation P530
[ANSWER]
['Q30', 'P530', 'Q1011'] ['Q30', 'P530', 'Q222']
ASK WHERE { resource:Q30 property:P530 resource:Q222 . resource:Q30 property:P530 resource:Q1011 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Albania
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Cape Verde'] ['United States of America', 'diplomatic relation', 'Albania']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Albania . resource:United_States_of_America property:diplomatic_relation resource:Cape_Verde }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1984254
P21
Q290
USER
What is the sex of Luis Antonio de Villena ?
(Q1984254,P21,c(Q290))
action filter_type
action find
entity Q1984254
relation P21
type Q290
['Q1984254', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1984254 property:P21 ?a . ?a rdf:type ontology:Q290 }
Luis Antonio de Villena
action filter_type
action find
entity Luis Antonio de Villena
relation gender
type sex
['Luis Antonio de Villena', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Luis_Antonio_de_Villena property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1984254,P21,c(Q290))
action filter_type
action find
entity Q1984254
relation P21
type Q290
The sex of Luis Antonio de Villena is the [ANSWER]
['Q1984254', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1984254 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Luis Antonio de Villena is the male
male
action filter_type
action find
entity Luis Antonio de Villena
relation gender
type sex
['Luis Antonio de Villena', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Luis_Antonio_de_Villena property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7852127 Q1984254
P21
Q290
USER
Or Tulla Devender Goud?
OR((Q1984254,P21,c(Q290)), (Q7852127,P21,c(Q290)))
action filter_type
action union
action find
entity Q1984254
relation P21
action find
entity Q7852127
relation P21
type Q290
{'OR': [['Q1984254', 'P21', {'concept': 'Q290'}], ['Q7852127', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . { { resource:Q7852127 property:P21 ?s } UNION { resource:Q1984254 property:P21 ?s } } }
Tulla Devender Goud Luis Antonio de Villena
action filter_type
action union
action find
entity Luis Antonio de Villena
relation gender
action find
entity Tulla Devender Goud
relation gender
type sex
{'OR': [['Luis Antonio de Villena', 'gender', {'concept': 'sex'}], ['Tulla Devender Goud', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . { { resource:Tulla_Devender_Goud property:gender ?s } UNION { resource:Luis_Antonio_de_Villena property:gender ?s } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q1984254,P21,c(Q290)), (Q7852127,P21,c(Q290)))
action filter_type
action union
action find
entity Q1984254
relation P21
action find
entity Q7852127
relation P21
type Q290
[ANSWER]
{'OR': [['Q1984254', 'P21', {'concept': 'Q290'}], ['Q7852127', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . { { resource:Q7852127 property:P21 ?s } UNION { resource:Q1984254 property:P21 ?s } } }
male
male
action filter_type
action union
action find
entity Luis Antonio de Villena
relation gender
action find
entity Tulla Devender Goud
relation gender
type sex
{'OR': [['Luis Antonio de Villena', 'gender', {'concept': 'sex'}], ['Tulla Devender Goud', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . { { resource:Tulla_Devender_Goud property:gender ?s } UNION { resource:Luis_Antonio_de_Villena property:gender ?s } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13414913
P282
Q2001982 Q8192 Q34770
USER
How many languages adopt more number of notations and writing systems as the writing system than Simplified Chinese ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q13414913
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { { ?k property:P282 ?p . ?k rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?k rdf:type ontology:Q34770 . ?p rdf:type ontology:Q2001982 . ?k property:P282 ?p } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?s rdf:type ?j } . resource:Q13414913 property:P282 ?s } } . FILTER ( ?g > ?r ) }
Simplified Chinese
action count
action greater
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
action count
action filter_multi_types
action find
entity Simplified Chinese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { { ?k property:writing_system ?p . ?k rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?k rdf:type ontology:language . ?p rdf:type ontology:notation . ?k property:writing_system ?p } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { VALUES ( ?j ) { ( ontology:notation ) ( ontology:writing_system ) } . ?s rdf:type ?j } . resource:Simplified_Chinese property:writing_system ?s } } . FILTER ( ?g > ?r ) }
[]
notation writing system language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q13414913
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { { ?k property:P282 ?p . ?k rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?k rdf:type ontology:Q34770 . ?p rdf:type ontology:Q2001982 . ?k property:P282 ?p } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?s rdf:type ?j } . resource:Q13414913 property:P282 ?s } } . FILTER ( ?g > ?r ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
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
action count
action filter_multi_types
action find
entity Simplified Chinese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { { ?k property:writing_system ?p . ?k rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?k rdf:type ontology:language . ?p rdf:type ontology:notation . ?k property:writing_system ?p } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { VALUES ( ?j ) { ( ontology:notation ) ( ontology:writing_system ) } . ?s rdf:type ?j } . resource:Simplified_Chinese property:writing_system ?s } } . FILTER ( ?g > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q837985
P282
Q2001982 Q8192 Q34770
USER
And how about Middle High German?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q837985
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?n rdf:type ontology:Q34770 } UNION { ?n property:P282 ?y . ?y rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q837985 property:P282 ?j } } . FILTER ( ?t > ?z ) }
Middle High German
action count
action greater
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
action count
action filter_multi_types
action find
entity Middle High German
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n property:writing_system ?y . ?y rdf:type ontology:notation . ?n rdf:type ontology:language } UNION { ?n property:writing_system ?y . ?y rdf:type ontology:writing_system . ?n rdf:type ontology:language } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Middle_High_German property:writing_system ?j } } . FILTER ( ?t > ?z ) }
[]
notation writing system language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q837985
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?n rdf:type ontology:Q34770 } UNION { ?n property:P282 ?y . ?y rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q837985 property:P282 ?j } } . FILTER ( ?t > ?z ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
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
action count
action filter_multi_types
action find
entity Middle High German
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?t ) WHERE { { ?n property:writing_system ?y . ?y rdf:type ontology:notation . ?n rdf:type ontology:language } UNION { ?n property:writing_system ?y . ?y rdf:type ontology:writing_system . ?n rdf:type ontology:language } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Middle_High_German property:writing_system ?j } } . FILTER ( ?t > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16215468 Q7852127
P102
Q7210356
USER
Which political organizations do Tulla Devender Goud or María Isabel Ortíz Mantilla belong to ?
OR((Q7852127,P102,c(Q7210356)), (Q16215468,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q7852127
relation P102
action find
entity Q16215468
relation P102
type Q7210356
{'OR': [['Q7852127', 'P102', {'concept': 'Q7210356'}], ['Q16215468', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?n ) { ( resource:Q7852127 ) ( resource:Q16215468 ) } . ?n property:P102 ?a } . ?a rdf:type ontology:Q7210356 }
María Isabel Ortíz Mantilla Tulla Devender Goud
action filter_type
action union
action find
entity Tulla Devender Goud
relation member of political party
action find
entity María Isabel Ortíz Mantilla
relation member of political party
type political organization
{'OR': [['Tulla Devender Goud', 'member of political party', {'concept': 'political organization'}], ['María Isabel Ortíz Mantilla', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?n ) { ( resource:Tulla_Devender_Goud ) ( resource:María_Isabel_Ortíz_Mantilla ) } . ?n property:member_of_political_party ?a } . ?a rdf:type ontology:political_organization }
[]
political organization
Q2279320 Q851087
SYSTEM
Telugu Desam Party, National Action Party
Q2279320 Q851087
OR((Q7852127,P102,c(Q7210356)), (Q16215468,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q7852127
relation P102
action find
entity Q16215468
relation P102
type Q7210356
Tulla Devender Goud or María Isabel Ortíz Mantilla belong to the [ANSWERS]
{'OR': [['Q7852127', 'P102', {'concept': 'Q7210356'}], ['Q16215468', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?n ) { ( resource:Q7852127 ) ( resource:Q16215468 ) } . ?n property:P102 ?a } . ?a rdf:type ontology:Q7210356 }
Telugu Desam Party National Action Party
Tulla Devender Goud or María Isabel Ortíz Mantilla belong to the Telugu Desam Party and National Action Party
Telugu Desam Party National Action Party
action filter_type
action union
action find
entity Tulla Devender Goud
relation member of political party
action find
entity María Isabel Ortíz Mantilla
relation member of political party
type political organization
{'OR': [['Tulla Devender Goud', 'member of political party', {'concept': 'political organization'}], ['María Isabel Ortíz Mantilla', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?n ) { ( resource:Tulla_Devender_Goud ) ( resource:María_Isabel_Ortíz_Mantilla ) } . ?n property:member_of_political_party ?a } . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2279320 Q851087
P17
Q15617994
USER
Which administrative territories do those political organizations belong to ?
(Q2279320,P17,c(Q15617994)) (Q851087,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q2279320', 'P17', {'concept': 'Q15617994'}] ['Q851087', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . VALUES ( ?k ) { ( resource:Q2279320 ) ( resource:Q851087 ) } . ?k property:P17 ?a }
Telugu Desam Party National Action Party
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Telugu Desam Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['National Action Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?k ) { ( resource:Telugu_Desam_Party ) ( resource:National_Action_Party ) } . ?k property:country ?a }
[]
designation for an administrative territorial entity
Q668 Q96
SYSTEM
India, Mexico
Q668 Q96
(Q2279320,P17,c(Q15617994)) (Q851087,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those political organizations belong to the [ANSWERS]
['Q2279320', 'P17', {'concept': 'Q15617994'}] ['Q851087', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . VALUES ( ?k ) { ( resource:Q2279320 ) ( resource:Q851087 ) } . ?k property:P17 ?a }
India Mexico
Those political organizations belong to the India and Mexico
India Mexico
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Telugu Desam Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['National Action Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?k ) { ( resource:Telugu_Desam_Party ) ( resource:National_Action_Party ) } . ?k property:country ?a }
[]