Simple Question (Direct)
Simple Question
Q7441446
P108
Q163740
USER
Which nonprofit organization is the workplace of Sean Solomon ?
(Q7441446,P108,c(Q163740))
action filter_type
action find
entity Q7441446
relation P108
type Q163740
['Q7441446', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q7441446 property:P108 ?x . ?x rdf:type ontology:Q163740 }
Sean Solomon
action filter_type
action find
entity Sean Solomon
relation employer
type nonprofit organization
['Sean Solomon', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Sean_Solomon property:employer ?x . ?x rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q7441446,P108,c(Q163740))
action filter_type
action find
entity Q7441446
relation P108
type Q163740
[ANSWER] is the workplace of Sean Solomon
['Q7441446', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q7441446 property:P108 ?x . ?x rdf:type ontology:Q163740 }
Columbia University
Columbia University is the workplace of Sean Solomon
Columbia University
action filter_type
action find
entity Sean Solomon
relation employer
type nonprofit organization
['Sean Solomon', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Sean_Solomon property:employer ?x . ?x rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7441446
P463
Q811430
USER
What was that person a member of ?
(Q49088,P463,c(Q811430))
action filter_type
action find
entity Q7441446
relation P463
type Q811430
['Q49088', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?m WHERE { resource:Q7441446 property:P463 ?m . ?m rdf:type ontology:Q811430 }
Sean Solomon
action filter_type
action find
entity Sean Solomon
relation member of
type construction
['Columbia University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?m WHERE { resource:Sean_Solomon property:member_of ?m . ?m rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q49088,P463,c(Q811430))
action filter_type
action find
entity Q7441446
relation P463
type Q811430
That person a member of was the [ANSWER]
['Q49088', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?m WHERE { resource:Q7441446 property:P463 ?m . ?m rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
That person a member of was the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Sean Solomon
relation member of
type construction
['Columbia University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?m WHERE { resource:Sean_Solomon property:member_of ?m . ?m rdf:type ontology:construction }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5671358 Q7441446
P27 P551
Q15617994
USER
Which administrative territories are Sean Solomon an inhabitant of and did Carles Reig i Morell live ?
AND((Q7441446,P27,c(Q15617994)), (Q5671358,P551,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7441446
relation P27
action find
entity Q5671358
relation P551
type Q15617994
{'AND': [['Q7441446', 'P27', {'concept': 'Q15617994'}], ['Q5671358', 'P551', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7441446 property:P27 ?o . resource:Q5671358 property:P551 ?o . ?o rdf:type ontology:Q15617994 }
Carles Reig i Morell Sean Solomon
action filter_type
action intersection
action find
entity Sean Solomon
relation country of citizenship
action find
entity Carles Reig i Morell
relation residence
type designation for an administrative territorial entity
{'AND': [['Sean Solomon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carles Reig i Morell', 'residence', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Sean_Solomon property:country_of_citizenship ?o . resource:Carles_Reig_i_Morell property:residence ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q7441446,P27,c(Q15617994)), (Q5671358,P551,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7441446
relation P27
action find
entity Q5671358
relation P551
type Q15617994
[ANSWER] is Sean Solomon an inhabitant of and did Carles Reig i Morell live
{'AND': [['Q7441446', 'P27', {'concept': 'Q15617994'}], ['Q5671358', 'P551', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7441446 property:P27 ?o . resource:Q5671358 property:P551 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Sean Solomon an inhabitant of and did Carles Reig i Morell live
United States of America
action filter_type
action intersection
action find
entity Sean Solomon
relation country of citizenship
action find
entity Carles Reig i Morell
relation residence
type designation for an administrative territorial entity
{'AND': [['Sean Solomon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carles Reig i Morell', 'residence', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Sean_Solomon property:country_of_citizenship ?o . resource:Carles_Reig_i_Morell property:residence ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5671358
P1412
Q34770
USER
What language does Carles Reig i Morell speak in?
(Q30,P1412,c(Q34770))
action filter_type
action find
entity Q5671358
relation P1412
type Q34770
['Q30', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5671358 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Carles Reig i Morell
action filter_type
action find
entity Carles Reig i Morell
relation languages spoken, written or signed
type language
['United States of America', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Carles_Reig_i_Morell property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q30,P1412,c(Q34770))
action filter_type
action find
entity Q5671358
relation P1412
type Q34770
Carles Reig i Morell speaks in [ANSWER]
['Q30', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5671358 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Carles Reig i Morell speaks in Spanish
Spanish
action filter_type
action find
entity Carles Reig i Morell
relation languages spoken, written or signed
type language
['United States of America', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Carles_Reig_i_Morell property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
Which languages are the mother tongues of approximately the same number of people as that language ?
(c(Q502895),P103,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1321
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P103 ?c . ?e rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q1321 property:P103 ?d . ?d rdf:type ontology:Q34770 } } . FILTER ( ?k = ?s ) }
action approx
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Spanish
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:native_language ?c . ?e rdf:type ontology:common_name . ?c rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Spanish property:native_language ?d . ?d rdf:type ontology:language } } . FILTER ( ?k = ?s ) }
[]
language common name
Q9056 Q652 Q1321
SYSTEM
Czech, Italian, Spanish
Q9056 Q652 Q1321
(c(Q502895),P103,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q1321
relation P103
type Q34770
[ANSWERS] are the mother tongues of approximately the same number of people as that language
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P103 ?c . ?e rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q1321 property:P103 ?d . ?d rdf:type ontology:Q34770 } } . FILTER ( ?k = ?s ) }
Czech Italian Spanish
Czech, Italian and Spanish are the mother tongues of approximately the same number of people as that language
Czech Italian Spanish
action approx
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Spanish
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:native_language ?c . ?e rdf:type ontology:common_name . ?c rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Spanish property:native_language ?d . ?d rdf:type ontology:language } } . FILTER ( ?k = ?s ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages utilizes approximately the same number of writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q1321
SYSTEM
Did you mean Spanish ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Spanish ?
Spanish
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
56
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
56
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6245604 Q5671358
P27 P551
Q15617994
USER
Which administrative territories did Carles Reig i Morell live or do John Lynch belong to ?
OR((Q5671358,P551,c(Q15617994)), (Q6245604,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5671358
relation P551
action find
entity Q6245604
relation P27
type Q15617994
{'OR': [['Q5671358', 'P551', {'concept': 'Q15617994'}], ['Q6245604', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5671358 property:P551 ?d } UNION { resource:Q6245604 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
John Lynch Carles Reig i Morell
action filter_type
action union
action find
entity Carles Reig i Morell
relation residence
action find
entity John Lynch
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carles Reig i Morell', 'residence', {'concept': 'designation for an administrative territorial entity'}], ['John Lynch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Carles_Reig_i_Morell property:residence ?d } UNION { resource:John_Lynch property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145 Q31 Q30 Q27 Q29
SYSTEM
France, United Kingdom, Belgium, United States of America, Ireland, Spain
Q142 Q145 Q31 Q30 Q27 Q29
OR((Q5671358,P551,c(Q15617994)), (Q6245604,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5671358
relation P551
action find
entity Q6245604
relation P27
type Q15617994
Carles Reig i Morell lived in [ANSWERS]
{'OR': [['Q5671358', 'P551', {'concept': 'Q15617994'}], ['Q6245604', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5671358 property:P551 ?d } UNION { resource:Q6245604 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
France United Kingdom Belgium United States of America Ireland Spain
Carles Reig i Morell lived in France, United Kingdom, Belgium, United States of America, Ireland and Spain
France United Kingdom Belgium United States of America Ireland Spain
action filter_type
action union
action find
entity Carles Reig i Morell
relation residence
action find
entity John Lynch
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carles Reig i Morell', 'residence', {'concept': 'designation for an administrative territorial entity'}], ['John Lynch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Carles_Reig_i_Morell property:residence ?d } UNION { resource:John_Lynch property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3484992 Q7441446
P19
Q56061
USER
Which administrative territories are the birthplace of Sean Solomon or Sinibaldo Doria ?
OR((Q7441446,P19,c(Q56061)), (Q3484992,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7441446
relation P19
action find
entity Q3484992
relation P19
type Q56061
{'OR': [['Q7441446', 'P19', {'concept': 'Q56061'}], ['Q3484992', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { VALUES ( ?k ) { ( resource:Q3484992 ) ( resource:Q7441446 ) } . ?k property:P19 ?d } }
Sinibaldo Doria Sean Solomon
action filter_type
action union
action find
entity Sean Solomon
relation place of birth
action find
entity Sinibaldo Doria
relation place of birth
type administrative territorial entity
{'OR': [['Sean Solomon', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sinibaldo Doria', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Sinibaldo_Doria ) ( resource:Sean_Solomon ) } . ?k property:place_of_birth ?d } }
[]
administrative territorial entity
Q65 Q1449
SYSTEM
Los Angeles, Genoa
Q65 Q1449
OR((Q7441446,P19,c(Q56061)), (Q3484992,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7441446
relation P19
action find
entity Q3484992
relation P19
type Q56061
[ANSWERS] are the birthplace of Sean Solomon or Sinibaldo Doria
{'OR': [['Q7441446', 'P19', {'concept': 'Q56061'}], ['Q3484992', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { VALUES ( ?k ) { ( resource:Q3484992 ) ( resource:Q7441446 ) } . ?k property:P19 ?d } }
Los Angeles Genoa
Los Angeles and Genoa are the birthplace of Sean Solomon or Sinibaldo Doria
Los Angeles Genoa
action filter_type
action union
action find
entity Sean Solomon
relation place of birth
action find
entity Sinibaldo Doria
relation place of birth
type administrative territorial entity
{'OR': [['Sean Solomon', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sinibaldo Doria', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Sinibaldo_Doria ) ( resource:Sean_Solomon ) } . ?k property:place_of_birth ?d } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1524
P190
Q56061
USER
Are Athens twin city of those ones ?
(Q1524,P190,Q65) (Q1524,P190,Q1449)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
['Q1524', 'P190', 'Q65'] ['Q1524', 'P190', 'Q1449']
ASK WHERE { VALUES ( ?b ) { ( resource:Q65 ) ( resource:Q1449 ) } . resource:Q1524 property:P190 ?b }
Athens
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Los Angeles'] ['Athens', 'sister city', 'Genoa']
ASK WHERE { VALUES ( ?b ) { ( resource:Los_Angeles ) ( resource:Genoa ) } . resource:Athens property:sister_city ?b }
[]
administrative territorial entity
SYSTEM
YES
(Q1524,P190,Q65) (Q1524,P190,Q1449)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
[ANSWER]
['Q1524', 'P190', 'Q65'] ['Q1524', 'P190', 'Q1449']
ASK WHERE { VALUES ( ?b ) { ( resource:Q65 ) ( resource:Q1449 ) } . resource:Q1524 property:P190 ?b }
Yes
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Los Angeles'] ['Athens', 'sister city', 'Genoa']
ASK WHERE { VALUES ( ?b ) { ( resource:Los_Angeles ) ( resource:Genoa ) } . resource:Athens property:sister_city ?b }
[]