Simple Question (Direct)
Simple Question
Q20003353
P1412
Q34770
USER
Which language can Jaume d'Olesa i Sanglada read ?
(Q20003353,P1412,c(Q34770))
action filter_type
action find
entity Q20003353
relation P1412
type Q34770
['Q20003353', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q20003353 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Jaume d'Olesa i Sanglada
action filter_type
action find
entity Jaume d'Olesa i Sanglada
relation languages spoken, written or signed
type language
["Jaume d'Olesa i Sanglada", 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Jaume_d'Olesa_i_Sanglada property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20003353,P1412,c(Q34770))
action filter_type
action find
entity Q20003353
relation P1412
type Q34770
Jaume d' Olesa i Sanglada can read in [ANSWER]
['Q20003353', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q20003353 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Spanish
Jaume d' Olesa i Sanglada can read in Spanish
Spanish
action filter_type
action find
entity Jaume d'Olesa i Sanglada
relation languages spoken, written or signed
type language
["Jaume d'Olesa i Sanglada", 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Jaume_d'Olesa_i_Sanglada property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P2439
Q4830453
USER
Which business enterprise has that one as the language associated with it ?
(c(Q4830453),P2439,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P2439
type Q4830453
[{'concept': 'Q4830453'}, 'P2439', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i property:P2439 resource:Q1321 . ?i rdf:type ontology:Q4830453 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation language
type business enterprise
[{'concept': 'business enterprise'}, 'language', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i property:language resource:Spanish . ?i rdf:type ontology:business_enterprise }
[]
business enterprise
Q23023697
SYSTEM
WZNA-LD
Q23023697
(c(Q4830453),P2439,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P2439
type Q4830453
[ANSWER] has that one as the language associated with it
[{'concept': 'Q4830453'}, 'P2439', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i property:P2439 resource:Q1321 . ?i rdf:type ontology:Q4830453 }
WZNA-LD
WZNA-LD has that one as the language associated with it
WZNA-LD
action filter_type
action find_reverse
entity Spanish
relation language
type business enterprise
[{'concept': 'business enterprise'}, 'language', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i property:language resource:Spanish . ?i rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P2439
Q34770 Q4830453
USER
Which business enterprises have around the same number of languages as the language related to it as that business enterprise ?
(c(Q4830453),P2439,c(Q34770))
action approx
action find_tuple_counts
relation P2439
type Q4830453
type Q34770
action count
action filter_type
action find
entity Q23023697
relation P2439
type Q4830453
[{'concept': 'Q4830453'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?o ) WHERE { ?y property:P2439 ?b . ?y rdf:type ontology:Q4830453 . ?b rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q4830453 . resource:Q23023697 property:P2439 ?p } } . FILTER ( ?o = ?t ) }
action approx
action find_tuple_counts
relation language
type business enterprise
type language
action count
action filter_type
action find
entity WZNA-LD
relation language
type business enterprise
[{'concept': 'business enterprise'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?o ) WHERE { ?y property:language ?b . ?y rdf:type ontology:business_enterprise . ?b rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:business_enterprise . resource:WZNA-LD property:language ?p } } . FILTER ( ?o = ?t ) }
[]
language business enterprise
Q23023697
SYSTEM
WZNA-LD
Q23023697
(c(Q4830453),P2439,c(Q34770))
action approx
action find_tuple_counts
relation P2439
type Q4830453
type Q34770
action count
action filter_type
action find
entity Q23023697
relation P2439
type Q4830453
[ANSWER] have around the same number of languages as the language related to it as that business enterprise
[{'concept': 'Q4830453'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?o ) WHERE { ?y property:P2439 ?b . ?y rdf:type ontology:Q4830453 . ?b rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q4830453 . resource:Q23023697 property:P2439 ?p } } . FILTER ( ?o = ?t ) }
WZNA-LD
WZNA-LD have around the same number of languages as the language related to it as that business enterprise
WZNA-LD
action approx
action find_tuple_counts
relation language
type business enterprise
type language
action count
action filter_type
action find
entity WZNA-LD
relation language
type business enterprise
[{'concept': 'business enterprise'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?o ) WHERE { ?y property:language ?b . ?y rdf:type ontology:business_enterprise . ?b rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:business_enterprise . resource:WZNA-LD property:language ?p } } . FILTER ( ?o = ?t ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23023697 Q1321
P2439
Q34770
USER
Is Spanish associated with WZNA-LD ?
(Q23023697,P2439,Q1321)
action is_in
entity Q1321
action find
entity Q23023697
relation P2439
['Q23023697', 'P2439', 'Q1321']
ASK WHERE { resource:Q23023697 property:P2439 resource:Q1321 }
WZNA-LD Spanish
action is_in
entity Spanish
action find
entity WZNA-LD
relation language
['WZNA-LD', 'language', 'Spanish']
ASK WHERE { resource:WZNA-LD property:language resource:Spanish }
[]
language
SYSTEM
YES
(Q23023697,P2439,Q1321)
action is_in
entity Q1321
action find
entity Q23023697
relation P2439
[ANSWER]
['Q23023697', 'P2439', 'Q1321']
ASK WHERE { resource:Q23023697 property:P2439 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity WZNA-LD
relation language
['WZNA-LD', 'language', 'Spanish']
ASK WHERE { resource:WZNA-LD property:language resource:Spanish }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20003353 Q29 Q6388760
P27
Q15617994
USER
Is Jaume d'Olesa i Sanglada a native of Spain and Kenai Peninsula Borough School District ?
(Q20003353,P27,Q29) (Q20003353,P27,Q6388760)
action is_in
entity Q20003353
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q6388760
relation P27
['Q20003353', 'P27', 'Q29'] ['Q20003353', 'P27', 'Q6388760']
ASK WHERE { resource:Q20003353 property:P27 resource:Q6388760 . resource:Q20003353 property:P27 resource:Q29 }
Jaume d'Olesa i Sanglada Spain Kenai Peninsula Borough School District
action is_in
entity Jaume d'Olesa i Sanglada
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Kenai Peninsula Borough School District
relation country of citizenship
["Jaume d'Olesa i Sanglada", 'country of citizenship', 'Spain'] ["Jaume d'Olesa i Sanglada", 'country of citizenship', 'Kenai Peninsula Borough School District']
ASK WHERE { resource:Jaume_d'Olesa_i_Sanglada property:country_of_citizenship resource:Kenai_Peninsula_Borough_School_District . resource:Jaume_d'Olesa_i_Sanglada property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q20003353,P27,Q29) (Q20003353,P27,Q6388760)
action is_in
entity Q20003353
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q6388760
relation P27
[ANSWER]
['Q20003353', 'P27', 'Q29'] ['Q20003353', 'P27', 'Q6388760']
ASK WHERE { resource:Q20003353 property:P27 resource:Q6388760 . resource:Q20003353 property:P27 resource:Q29 }
YES and NO respectively
action is_in
entity Jaume d'Olesa i Sanglada
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Kenai Peninsula Borough School District
relation country of citizenship
["Jaume d'Olesa i Sanglada", 'country of citizenship', 'Spain'] ["Jaume d'Olesa i Sanglada", 'country of citizenship', 'Kenai Peninsula Borough School District']
ASK WHERE { resource:Jaume_d'Olesa_i_Sanglada property:country_of_citizenship resource:Kenai_Peninsula_Borough_School_District . resource:Jaume_d'Olesa_i_Sanglada property:country_of_citizenship resource:Spain }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24803860 Q23023697
P2439 P364
Q34770
USER
Which languages are linked with WZNA-LD or were used originally for the creation of Glycan arrays for functional glycomics ?
OR((Q23023697,P2439,c(Q34770)), (Q24803860,P364,c(Q34770)))
action filter_type
action union
action find
entity Q23023697
relation P2439
action find
entity Q24803860
relation P364
type Q34770
{'OR': [['Q23023697', 'P2439', {'concept': 'Q34770'}], ['Q24803860', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q23023697 property:P2439 ?a } UNION { resource:Q24803860 property:P364 ?a } } . ?a rdf:type ontology:Q34770 }
Glycan arrays for functional glycomics WZNA-LD
action filter_type
action union
action find
entity WZNA-LD
relation language
action find
entity Glycan arrays for functional glycomics
relation original language of work
type language
{'OR': [['WZNA-LD', 'language', {'concept': 'language'}], ['Glycan arrays for functional glycomics', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { { { resource:WZNA-LD property:language ?a } UNION { resource:Glycan_arrays_for_functional_glycomics property:original_language_of_work ?a } } . ?a rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q23023697,P2439,c(Q34770)), (Q24803860,P364,c(Q34770)))
action filter_type
action union
action find
entity Q23023697
relation P2439
action find
entity Q24803860
relation P364
type Q34770
[ANSWERS] are linked with WZNA-LD or were used originally for the creation of Glycan arrays for functional glycomics
{'OR': [['Q23023697', 'P2439', {'concept': 'Q34770'}], ['Q24803860', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q23023697 property:P2439 ?a } UNION { resource:Q24803860 property:P364 ?a } } . ?a rdf:type ontology:Q34770 }
English Spanish
English and Spanish are linked with WZNA-LD or were used originally for the creation of Glycan arrays for functional glycomics
English Spanish
action filter_type
action union
action find
entity WZNA-LD
relation language
action find
entity Glycan arrays for functional glycomics
relation original language of work
type language
{'OR': [['WZNA-LD', 'language', {'concept': 'language'}], ['Glycan arrays for functional glycomics', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { { { resource:WZNA-LD property:language ?a } UNION { resource:Glycan_arrays_for_functional_glycomics property:original_language_of_work ?a } } . ?a rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16143869
P1412
Q502895
USER
Does Adolfo de Oliveira Franco speak those languages ?
(Q16143869,P1412,Q1860) (Q16143869,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q16143869
relation P1412
['Q16143869', 'P1412', 'Q1860'] ['Q16143869', 'P1412', 'Q1321']
ASK WHERE { VALUES ( ?s ) { ( resource:Q1860 ) ( resource:Q1321 ) } . resource:Q16143869 property:P1412 ?s }
Adolfo de Oliveira Franco
action is_in
entity prev_answer
action find
entity Adolfo de Oliveira Franco
relation languages spoken, written or signed
['Adolfo de Oliveira Franco', 'languages spoken, written or signed', 'English'] ['Adolfo de Oliveira Franco', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { VALUES ( ?s ) { ( resource:English ) ( resource:Spanish ) } . resource:Adolfo_de_Oliveira_Franco property:languages_spoken,_written_or_signed ?s }
[]
common name
SYSTEM
NO
(Q16143869,P1412,Q1860) (Q16143869,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q16143869
relation P1412
[ANSWER]
['Q16143869', 'P1412', 'Q1860'] ['Q16143869', 'P1412', 'Q1321']
ASK WHERE { VALUES ( ?s ) { ( resource:Q1860 ) ( resource:Q1321 ) } . resource:Q16143869 property:P1412 ?s }
No
action is_in
entity prev_answer
action find
entity Adolfo de Oliveira Franco
relation languages spoken, written or signed
['Adolfo de Oliveira Franco', 'languages spoken, written or signed', 'English'] ['Adolfo de Oliveira Franco', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { VALUES ( ?s ) { ( resource:English ) ( resource:Spanish ) } . resource:Adolfo_de_Oliveira_Franco property:languages_spoken,_written_or_signed ?s }
[]