Simple Question (Direct)
Simple Question
Q6689740
P1412
Q34770
USER
Which language can Lourdes Benería understand ?
(Q6689740,P1412,c(Q34770))
action filter_type
action find
entity Q6689740
relation P1412
type Q34770
['Q6689740', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q6689740 property:P1412 ?k }
Lourdes Benería
action filter_type
action find
entity Lourdes Benería
relation languages spoken, written or signed
type language
['Lourdes Benería', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Lourdes_Benería property:languages_spoken,_written_or_signed ?k }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6689740,P1412,c(Q34770))
action filter_type
action find
entity Q6689740
relation P1412
type Q34770
Lourdes Benería can understand the [ANSWER]
['Q6689740', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q6689740 property:P1412 ?k }
Spanish
Lourdes Benería can understand the Spanish
Spanish
action filter_type
action find
entity Lourdes Benería
relation languages spoken, written or signed
type language
['Lourdes Benería', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Lourdes_Benería property:languages_spoken,_written_or_signed ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6689740
P21
Q290
USER
What is the sex of that person ?
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6689740
relation P21
type Q290
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6689740 property:P21 ?f . ?f rdf:type ontology:Q290 }
Lourdes Benería
action filter_type
action find
entity Lourdes Benería
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Lourdes_Benería property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6689740
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q6689740 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Lourdes Benería
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Lourdes_Benería property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q20740979 Q6689740
P21
Q290
USER
And also Elizaveta Ianchuk
AND((Q6689740,P21,c(Q290)), (Q20740979,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6689740
relation P21
action find
entity Q20740979
relation P21
type Q290
{'AND': [['Q6689740', 'P21', {'concept': 'Q290'}], ['Q20740979', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { resource:Q20740979 property:P21 ?d . resource:Q6689740 property:P21 ?d . ?d rdf:type ontology:Q290 }
Elizaveta Ianchuk Lourdes Benería
action filter_type
action intersection
action find
entity Lourdes Benería
relation gender
action find
entity Elizaveta Ianchuk
relation gender
type sex
{'AND': [['Lourdes Benería', 'gender', {'concept': 'sex'}], ['Elizaveta Ianchuk', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { resource:Elizaveta_Ianchuk property:gender ?d . resource:Lourdes_Benería property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
AND((Q6689740,P21,c(Q290)), (Q20740979,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q6689740
relation P21
action find
entity Q20740979
relation P21
type Q290
[ANSWER]
{'AND': [['Q6689740', 'P21', {'concept': 'Q290'}], ['Q20740979', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?d WHERE { resource:Q20740979 property:P21 ?d . resource:Q6689740 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
female
action filter_type
action intersection
action find
entity Lourdes Benería
relation gender
action find
entity Elizaveta Ianchuk
relation gender
type sex
{'AND': [['Lourdes Benería', 'gender', {'concept': 'sex'}], ['Elizaveta Ianchuk', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?d WHERE { resource:Elizaveta_Ianchuk property:gender ?d . resource:Lourdes_Benería property:gender ?d . ?d rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do around the same number of people have as that sex ?
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P21 ?g . ?g rdf:type ontology:Q290 . ?d rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q6581072 property:P21 ?p . ?p rdf:type ontology:Q290 } } }
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:gender ?g . ?g rdf:type ontology:sex . ?d rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:female property:gender ?p . ?p rdf:type ontology:sex } } }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER] around the same number of people have as that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P21 ?g . ?g rdf:type ontology:Q290 . ?d rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q6581072 property:P21 ?p . ?p rdf:type ontology:Q290 } } }
female
Female around the same number of people have as that sex
female
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:gender ?g . ?g rdf:type ontology:sex . ?d rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:female property:gender ?p . ?p rdf:type ontology:sex } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6689740
P108
Q163740
USER
How many nonprofit organizations are the employers of Lourdes Benería ?
(Q6689740,P108,c(Q163740))
action count
action filter_type
action find
entity Q6689740
relation P108
type Q163740
['Q6689740', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q6689740 property:P108 ?b . ?b rdf:type ontology:Q163740 }
Lourdes Benería
action count
action filter_type
action find
entity Lourdes Benería
relation employer
type nonprofit organization
['Lourdes Benería', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Lourdes_Benería property:employer ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
SYSTEM
1
Q49115
(Q6689740,P108,c(Q163740))
action count
action filter_type
action find
entity Q6689740
relation P108
type Q163740
[ANSWER]
['Q6689740', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q6689740 property:P108 ?b . ?b rdf:type ontology:Q163740 }
Cornell University
1
action count
action filter_type
action find
entity Lourdes Benería
relation employer
type nonprofit organization
['Lourdes Benería', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Lourdes_Benería property:employer ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7286601
P108
Q163740
USER
And also tell me about Rakesh Jain?
(Q7286601,P108,c(Q163740))
action count
action filter_type
action find
entity Q7286601
relation P108
type Q163740
['Q7286601', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q7286601 property:P108 ?c . ?c rdf:type ontology:Q163740 }
Rakesh Jain
action count
action filter_type
action find
entity Rakesh Jain
relation employer
type nonprofit organization
['Rakesh Jain', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Rakesh_Jain property:employer ?c . ?c rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
SYSTEM
1
Q13371
(Q7286601,P108,c(Q163740))
action count
action filter_type
action find
entity Q7286601
relation P108
type Q163740
[ANSWER]
['Q7286601', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q7286601 property:P108 ?c . ?c rdf:type ontology:Q163740 }
Harvard University
1
action count
action filter_type
action find
entity Rakesh Jain
relation employer
type nonprofit organization
['Rakesh Jain', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Rakesh_Jain property:employer ?c . ?c rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6834209
Q163740
USER
And what about Michael Schudson?
(Q6834209,P108,c(Q163740))
action count
action filter_type
action find
entity Q6834209
relation P108
type Q163740
['Q6834209', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o rdf:type ontology:Q163740 . resource:Q6834209 property:P108 ?o }
Michael Schudson
action count
action filter_type
action find
entity Michael Schudson
relation employer
type nonprofit organization
['Michael Schudson', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Michael_Schudson property:employer ?o }
[]
nonprofit organization
SYSTEM
2
(Q6834209,P108,c(Q163740))
action count
action filter_type
action find
entity Q6834209
relation P108
type Q163740
[ANSWER]
['Q6834209', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o rdf:type ontology:Q163740 . resource:Q6834209 property:P108 ?o }
2
action count
action filter_type
action find
entity Michael Schudson
relation employer
type nonprofit organization
['Michael Schudson', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Michael_Schudson property:employer ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1574992
P282
Q8192 Q34770
USER
How many writing systems are used as the alphabet set for greater number of languages than Sinhala script ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:Q8192 . resource:Q1574992 property:P282 ?o } } . FILTER ( ?b > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P282 ?u . ?u rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 } GROUP BY ?u } }
Sinhala script
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:writing_system . resource:Sinhala_script property:writing_system ?o } } . FILTER ( ?b > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:writing_system ?u . ?u rdf:type ontology:writing_system . ?g rdf:type ontology:language } GROUP BY ?u } }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:Q8192 . resource:Q1574992 property:P282 ?o } } . FILTER ( ?b > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P282 ?u . ?u rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 } GROUP BY ?u } }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ontology:writing_system . resource:Sinhala_script property:writing_system ?o } } . FILTER ( ?b > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:writing_system ?u . ?u rdf:type ontology:writing_system . ?g rdf:type ontology:language } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q19300858 Q6689740
P27
Q15617994
USER
Which administrative territories are the native countriesof Lourdes Benería and Lluís Moreno i Pallí ?
AND((Q6689740,P27,c(Q15617994)), (Q19300858,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6689740
relation P27
action find
entity Q19300858
relation P27
type Q15617994
{'AND': [['Q6689740', 'P27', {'concept': 'Q15617994'}], ['Q19300858', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q6689740 property:P27 ?u . resource:Q19300858 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Lluís Moreno i Pallí Lourdes Benería
action filter_type
action intersection
action find
entity Lourdes Benería
relation country of citizenship
action find
entity Lluís Moreno i Pallí
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Lourdes Benería', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lluís Moreno i Pallí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Lourdes_Benería property:country_of_citizenship ?u . resource:Lluís_Moreno_i_Pallí property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q6689740,P27,c(Q15617994)), (Q19300858,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6689740
relation P27
action find
entity Q19300858
relation P27
type Q15617994
[ANSWER] is the native countriesof Lourdes Benería and Lluís Moreno i Pallí
{'AND': [['Q6689740', 'P27', {'concept': 'Q15617994'}], ['Q19300858', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q6689740 property:P27 ?u . resource:Q19300858 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Spain
Spain is the native countriesof Lourdes Benería and Lluís Moreno i Pallí
Spain
action filter_type
action intersection
action find
entity Lourdes Benería
relation country of citizenship
action find
entity Lluís Moreno i Pallí
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Lourdes Benería', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lluís Moreno i Pallí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Lourdes_Benería property:country_of_citizenship ?u . resource:Lluís_Moreno_i_Pallí property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]