Simple Question (Direct)
Simple Question
Q16397044
P1412
Q34770
USER
Which languages can José María Garmendia read ?
(Q16397044,P1412,c(Q34770))
action filter_type
action find
entity Q16397044
relation P1412
type Q34770
['Q16397044', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q16397044 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
José María Garmendia
action filter_type
action find
entity José María Garmendia
relation languages spoken, written or signed
type language
['José María Garmendia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:José_María_Garmendia property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q8752 Q1321
SYSTEM
Basque, Spanish
Q8752 Q1321
(Q16397044,P1412,c(Q34770))
action filter_type
action find
entity Q16397044
relation P1412
type Q34770
José María Garmendia can read in [ANSWERS]
['Q16397044', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q16397044 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Basque Spanish
José María Garmendia can read in Basque and Spanish
Basque Spanish
action filter_type
action find
entity José María Garmendia
relation languages spoken, written or signed
type language
['José María Garmendia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:José_María_Garmendia property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16397044
P102
Q7278
USER
Which parties do José María Garmendia belong to ?
(Q16397044,P102,c(Q7278))
action filter_type
action find
entity Q16397044
relation P102
type Q7278
['Q16397044', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { resource:Q16397044 property:P102 ?l . ?l rdf:type ontology:Q7278 }
José María Garmendia
action filter_type
action find
entity José María Garmendia
relation member of political party
type political party
['José María Garmendia', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { resource:José_María_Garmendia property:member_of_political_party ?l . ?l rdf:type ontology:political_party }
[]
political party
Q3750882 Q478811
SYSTEM
Communist Party of the Basque Country, Communist Party of Spain
Q3750882 Q478811
(Q16397044,P102,c(Q7278))
action filter_type
action find
entity Q16397044
relation P102
type Q7278
José María Garmendia belong to [ANSWERS]
['Q16397044', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { resource:Q16397044 property:P102 ?l . ?l rdf:type ontology:Q7278 }
Communist Party of the Basque Country Communist Party of Spain
José María Garmendia belong to Communist Party of the Basque Country and Communist Party of Spain
Communist Party of the Basque Country Communist Party of Spain
action filter_type
action find
entity José María Garmendia
relation member of political party
type political party
['José María Garmendia', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { resource:José_María_Garmendia property:member_of_political_party ?l . ?l rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3109304
Q7278
USER
And also tell me about Jesús Posada?
(Q3109304,P102,c(Q7278))
action filter_type
action find
entity Q3109304
relation P102
type Q7278
['Q3109304', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q3109304 property:P102 ?s . ?s rdf:type ontology:Q7278 }
Jesús Posada
action filter_type
action find
entity Jesús Posada
relation member of political party
type political party
['Jesús Posada', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Jesús_Posada property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
political party
Q185088
SYSTEM
People's Party
Q185088
(Q3109304,P102,c(Q7278))
action filter_type
action find
entity Q3109304
relation P102
type Q7278
[ANSWER]
['Q3109304', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q3109304 property:P102 ?s . ?s rdf:type ontology:Q7278 }
People's Party
People's Party
action filter_type
action find
entity Jesús Posada
relation member of political party
type political party
['Jesús Posada', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Jesús_Posada property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36790
P407
Q34770 Q82799 Q234460
USER
How many languages are the languages of work for around the same number of names and texts as Sumerian ?
(c(Q82799)|c(Q234460),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P407
type Q82799
type Q234460
[[{'concept': 'Q82799'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q234460 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 resource:Q36790 . { { ?x rdf:type ontology:Q82799 } UNION { ?x rdf:type ontology:Q234460 } } } } . FILTER ( ?z = ?d ) }
Sumerian
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation language of work or name
type name
type text
[[{'concept': 'name'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:name ) ( ontology:text ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name resource:Sumerian . { { ?x rdf:type ontology:name } UNION { ?x rdf:type ontology:text } } } } . FILTER ( ?z = ?d ) }
[]
language name text
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799)|c(Q234460),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P407
type Q82799
type Q234460
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q234460 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 resource:Q36790 . { { ?x rdf:type ontology:Q82799 } UNION { ?x rdf:type ontology:Q234460 } } } } . FILTER ( ?z = ?d ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation language of work or name
type name
type text
[[{'concept': 'name'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:name ) ( ontology:text ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name resource:Sumerian . { { ?x rdf:type ontology:name } UNION { ?x rdf:type ontology:text } } } } . FILTER ( ?z = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16397044
P101
Q17524420
USER
What is the field of work of José María Garmendia ?
(Q16397044,P101,c(Q17524420))
action filter_type
action find
entity Q16397044
relation P101
type Q17524420
['Q16397044', 'P101', {'concept': 'Q17524420'}]
SELECT DISTINCT ?h WHERE { resource:Q16397044 property:P101 ?h . ?h rdf:type ontology:Q17524420 }
José María Garmendia
action filter_type
action find
entity José María Garmendia
relation field of work
type aspect of history
['José María Garmendia', 'field of work', {'concept': 'aspect of history'}]
SELECT DISTINCT ?h WHERE { resource:José_María_Garmendia property:field_of_work ?h . ?h rdf:type ontology:aspect_of_history }
[]
aspect of history
Q4204133
SYSTEM
contemporary history of Spain
Q4204133
(Q16397044,P101,c(Q17524420))
action filter_type
action find
entity Q16397044
relation P101
type Q17524420
The field of work of José María Garmendia is the [ANSWER]
['Q16397044', 'P101', {'concept': 'Q17524420'}]
SELECT DISTINCT ?h WHERE { resource:Q16397044 property:P101 ?h . ?h rdf:type ontology:Q17524420 }
contemporary history of Spain
The field of work of José María Garmendia is the contemporary history of Spain
contemporary history of Spain
action filter_type
action find
entity José María Garmendia
relation field of work
type aspect of history
['José María Garmendia', 'field of work', {'concept': 'aspect of history'}]
SELECT DISTINCT ?h WHERE { resource:José_María_Garmendia property:field_of_work ?h . ?h rdf:type ontology:aspect_of_history }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16397044
P21
Q290
USER
Which sex does that person possess ?
(Q4204133,P21,c(Q290))
action filter_type
action find
entity Q16397044
relation P21
type Q290
['Q4204133', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q16397044 property:P21 ?p . ?p rdf:type ontology:Q290 }
José María Garmendia
action filter_type
action find
entity José María Garmendia
relation gender
type sex
['contemporary history of Spain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:José_María_Garmendia property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4204133,P21,c(Q290))
action filter_type
action find
entity Q16397044
relation P21
type Q290
That person possesses a [ANSWER]
['Q4204133', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q16397044 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity José María Garmendia
relation gender
type sex
['contemporary history of Spain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:José_María_Garmendia property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P921
Q15416
USER
Which television programs were primarily based on United States of America ?
(c(Q15416),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q30 . ?x rdf:type ontology:Q15416 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:United_States_of_America . ?x rdf:type ontology:television_program }
[]
television program
Q5286383 Q7897156 Q4691839
SYSTEM
Do You Speak American?, Unnatural Causes: Is Inequality Making Us Sick?, Age 7 in America
Q5286383 Q7897156 Q4691839
(c(Q15416),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P921', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q30 . ?x rdf:type ontology:Q15416 }
Do You Speak American? Unnatural Causes: Is Inequality Making Us Sick? Age 7 in America
Do You Speak American, Unnatural Causes: Is Inequality Making Us Sick and Age 7 in America were primarily based on United States of America
Do You Speak American? Unnatural Causes: Is Inequality Making Us Sick? Age 7 in America
action filter_type
action find_reverse
entity United States of America
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:United_States_of_America . ?x rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Which geographic locations are that administrative territory situated in ?
(Q5286383,P30,c(Q2221906)) (Q7897156,P30,c(Q2221906)) (Q4691839,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q5286383', 'P30', {'concept': 'Q2221906'}] ['Q7897156', 'P30', {'concept': 'Q2221906'}] ['Q4691839', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['Do You Speak American?', 'continent', {'concept': 'geographic location'}] ['Unnatural Causes: Is Inequality Making Us Sick?', 'continent', {'concept': 'geographic location'}] ['Age 7 in America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q5286383,P30,c(Q2221906)) (Q7897156,P30,c(Q2221906)) (Q4691839,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
That administrative territory are situated in [ANSWERS]
['Q5286383', 'P30', {'concept': 'Q2221906'}] ['Q7897156', 'P30', {'concept': 'Q2221906'}] ['Q4691839', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
North America Oceania
That administrative territory are situated in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['Do You Speak American?', 'continent', {'concept': 'geographic location'}] ['Unnatural Causes: Is Inequality Making Us Sick?', 'continent', {'concept': 'geographic location'}] ['Age 7 in America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q188712
P163
Q14660
USER
How many flags are associated with United States of America or Empire of Japan ?
(Q30,P163,c(Q14660)) (Q188712,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q188712
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}] ['Q188712', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { resource:Q188712 property:P163 ?j . ?j rdf:type ontology:Q14660 } UNION { resource:Q30 property:P163 ?j . ?j rdf:type ontology:Q14660 } }
United States of America Empire of Japan
action count
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Empire of Japan
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['Empire of Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { resource:Empire_of_Japan property:flag ?j . ?j rdf:type ontology:flag } UNION { resource:United_States_of_America property:flag ?j . ?j rdf:type ontology:flag } }
[]
flag
SYSTEM
2
Q42537 Q43175
(Q30,P163,c(Q14660)) (Q188712,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q188712
relation P163
type Q14660
[ANSWER]
['Q30', 'P163', {'concept': 'Q14660'}] ['Q188712', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { resource:Q188712 property:P163 ?j . ?j rdf:type ontology:Q14660 } UNION { resource:Q30 property:P163 ?j . ?j rdf:type ontology:Q14660 } }
flag of the United States of America Flag of Japan
2
action count
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Empire of Japan
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['Empire of Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { resource:Empire_of_Japan property:flag ?j . ?j rdf:type ontology:flag } UNION { resource:United_States_of_America property:flag ?j . ?j rdf:type ontology:flag } }
[]