Simple Question (Direct)
Simple Question
Q4399366
P39
Q12737077
USER
Which occupation was a position held by Igor Rudenskiy ?
(Q4399366,P39,c(Q12737077))
action filter_type
action find
entity Q4399366
relation P39
type Q12737077
['Q4399366', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4399366 property:P39 ?r }
Igor Rudenskiy
action filter_type
action find
entity Igor Rudenskiy
relation position held
type occupation
['Igor Rudenskiy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Igor_Rudenskiy property:position_held ?r }
[]
occupation
Q17276321
SYSTEM
member of the State Duma
Q17276321
(Q4399366,P39,c(Q12737077))
action filter_type
action find
entity Q4399366
relation P39
type Q12737077
The [ANSWER] was a position held by Igor Rudenskiy
['Q4399366', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4399366 property:P39 ?r }
member of the State Duma
The member of the State Duma was a position held by Igor Rudenskiy
member of the State Duma
action filter_type
action find
entity Igor Rudenskiy
relation position held
type occupation
['Igor Rudenskiy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Igor_Rudenskiy property:position_held ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17276321
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that occupation ?
(Q17276321,P1001,c(Q15617994))
action filter_type
action find
entity Q17276321
relation P1001
type Q15617994
['Q17276321', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q17276321 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
member of the State Duma
action filter_type
action find
entity member of the State Duma
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:member_of_the_State_Duma property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q17276321,P1001,c(Q15617994))
action filter_type
action find
entity Q17276321
relation P1001
type Q15617994
To [ANSWER] belongs to jurisdiction of that occupation
['Q17276321', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q17276321 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
Russia
To Russia belongs to jurisdiction of that occupation
Russia
action filter_type
action find
entity member of the State Duma
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:member_of_the_State_Duma property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16942097 Q17276321
P27 P17
Q15617994
USER
Which administrative territories are member of the State Duma present in or are Decio Oyague an inhabitant of ?
OR((Q17276321,P17,c(Q15617994)), (Q16942097,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17276321
relation P17
action find
entity Q16942097
relation P27
type Q15617994
{'OR': [['Q17276321', 'P17', {'concept': 'Q15617994'}], ['Q16942097', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q17276321 property:P17 ?x } UNION { resource:Q16942097 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Decio Oyague member of the State Duma
action filter_type
action union
action find
entity member of the State Duma
relation country
action find
entity Decio Oyague
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the State Duma', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Decio Oyague', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:member_of_the_State_Duma property:country ?x } UNION { resource:Decio_Oyague property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q159
SYSTEM
Peru, Russia
Q419 Q159
OR((Q17276321,P17,c(Q15617994)), (Q16942097,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17276321
relation P17
action find
entity Q16942097
relation P27
type Q15617994
[ANSWERS] are member of the State Duma present in or are Decio Oyague an inhabitant of
{'OR': [['Q17276321', 'P17', {'concept': 'Q15617994'}], ['Q16942097', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q17276321 property:P17 ?x } UNION { resource:Q16942097 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Peru Russia
Peru and Russia are member of the State Duma present in or are Decio Oyague an inhabitant of
Peru Russia
action filter_type
action union
action find
entity member of the State Duma
relation country
action find
entity Decio Oyague
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the State Duma', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Decio Oyague', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:member_of_the_State_Duma property:country ?x } UNION { resource:Decio_Oyague property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q635314
P530
Q15617994
USER
Do Neu Duvenstedt have diplomatic relations with those ones ?
(Q635314,P530,Q419) (Q635314,P530,Q159)
action is_in
entity prev_answer
action find
entity Q635314
relation P530
['Q635314', 'P530', 'Q419'] ['Q635314', 'P530', 'Q159']
ASK WHERE { resource:Q635314 property:P530 ?s . VALUES ( ?s ) { ( resource:Q419 ) ( resource:Q159 ) } }
Neu Duvenstedt
action is_in
entity prev_answer
action find
entity Neu Duvenstedt
relation diplomatic relation
['Neu Duvenstedt', 'diplomatic relation', 'Peru'] ['Neu Duvenstedt', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Neu_Duvenstedt property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Peru ) ( resource:Russia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q635314,P530,Q419) (Q635314,P530,Q159)
action is_in
entity prev_answer
action find
entity Q635314
relation P530
[ANSWER]
['Q635314', 'P530', 'Q419'] ['Q635314', 'P530', 'Q159']
ASK WHERE { resource:Q635314 property:P530 ?s . VALUES ( ?s ) { ( resource:Q419 ) ( resource:Q159 ) } }
No
action is_in
entity prev_answer
action find
entity Neu Duvenstedt
relation diplomatic relation
['Neu Duvenstedt', 'diplomatic relation', 'Peru'] ['Neu Duvenstedt', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Neu_Duvenstedt property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Peru ) ( resource:Russia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q419 Q562703 Q739
P47
Q15617994
USER
Does Bedesbach and Colombia share a border with Peru ?
(Q419,P47,Q562703) (Q419,P47,Q739)
action is_in
entity Q419
action intersection
action find_reverse
entity Q562703
relation P47
action find_reverse
entity Q739
relation P47
['Q419', 'P47', 'Q562703'] ['Q419', 'P47', 'Q739']
ASK WHERE { resource:Q419 property:P47 resource:Q562703 . resource:Q419 property:P47 resource:Q739 }
Peru Bedesbach Colombia
action is_in
entity Peru
action intersection
action find_reverse
entity Bedesbach
relation shares border with
action find_reverse
entity Colombia
relation shares border with
['Peru', 'shares border with', 'Bedesbach'] ['Peru', 'shares border with', 'Colombia']
ASK WHERE { resource:Peru property:shares_border_with resource:Bedesbach . resource:Peru property:shares_border_with resource:Colombia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q419,P47,Q562703) (Q419,P47,Q739)
action is_in
entity Q419
action intersection
action find_reverse
entity Q562703
relation P47
action find_reverse
entity Q739
relation P47
[ANSWER]
['Q419', 'P47', 'Q562703'] ['Q419', 'P47', 'Q739']
ASK WHERE { resource:Q419 property:P47 resource:Q562703 . resource:Q419 property:P47 resource:Q739 }
NO and YES respectively
action is_in
entity Peru
action intersection
action find_reverse
entity Bedesbach
relation shares border with
action find_reverse
entity Colombia
relation shares border with
['Peru', 'shares border with', 'Bedesbach'] ['Peru', 'shares border with', 'Colombia']
ASK WHERE { resource:Peru property:shares_border_with resource:Bedesbach . resource:Peru property:shares_border_with resource:Colombia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P291
Q838948
USER
Which work of art was published in Peru ?
action filter_type
action find_reverse
entity Q419
relation P291
type Q838948
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q419 . ?o rdf:type ontology:Q838948 }
Peru
action filter_type
action find_reverse
entity Peru
relation place of publication
type work of art
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:Peru . ?o rdf:type ontology:work_of_art }
[]
work of art
Q19863009
SYSTEM
Asu Mare 2
Q19863009
action filter_type
action find_reverse
entity Q419
relation P291
type Q838948
[ANSWER] was published in Peru
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q419 . ?o rdf:type ontology:Q838948 }
Asu Mare 2
Asu Mare 2 was published in Peru
Asu Mare 2
action filter_type
action find_reverse
entity Peru
relation place of publication
type work of art
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:Peru . ?o rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19863009 Q5862207
P161
Q502895
USER
Was Fiorella Cayo casted in that work of art ?
(Q19863009,P161,Q5862207)
action is_in
entity Q5862207
action find
entity Q19863009
relation P161
['Q19863009', 'P161', 'Q5862207']
ASK WHERE { resource:Q19863009 property:P161 resource:Q5862207 }
Asu Mare 2 Fiorella Cayo
action is_in
entity Fiorella Cayo
action find
entity Asu Mare 2
relation cast member
['Asu Mare 2', 'cast member', 'Fiorella Cayo']
ASK WHERE { resource:Asu_Mare_2 property:cast_member resource:Fiorella_Cayo }
[]
common name
SYSTEM
YES
(Q19863009,P161,Q5862207)
action is_in
entity Q5862207
action find
entity Q19863009
relation P161
[ANSWER]
['Q19863009', 'P161', 'Q5862207']
ASK WHERE { resource:Q19863009 property:P161 resource:Q5862207 }
Yes
action is_in
entity Fiorella Cayo
action find
entity Asu Mare 2
relation cast member
['Asu Mare 2', 'cast member', 'Fiorella Cayo']
ASK WHERE { resource:Asu_Mare_2 property:cast_member resource:Fiorella_Cayo }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q686
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are less number of languages and classification schemes the official language of than Vanuatu ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q686
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q686 property:P37 ?l . { VALUES ( ?e ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?l rdf:type ?e } } } . FILTER ( ?i < ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?q property:P37 ?p . ?q rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q34770 } UNION { ?q property:P37 ?p . ?p rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } }
Vanuatu
action count
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Vanuatu
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Vanuatu property:official_language ?l . { VALUES ( ?e ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?l rdf:type ?e } } } . FILTER ( ?i < ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?q property:official_language ?p . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:language } UNION { ?q property:official_language ?p . ?p rdf:type ontology:classification_scheme . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
130
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q686
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q686 property:P37 ?l . { VALUES ( ?e ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?l rdf:type ?e } } } . FILTER ( ?i < ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?q property:P37 ?p . ?q rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q34770 } UNION { ?q property:P37 ?p . ?p rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
130
action count
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Vanuatu
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Vanuatu property:official_language ?l . { VALUES ( ?e ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?l rdf:type ?e } } } . FILTER ( ?i < ?s ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?q property:official_language ?p . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:language } UNION { ?q property:official_language ?p . ?p rdf:type ontology:classification_scheme . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q954
P37
Q34770 Q5962346 Q15617994
USER
And also tell me about Zimbabwe?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q954
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q954 property:P37 ?x . { { ?x rdf:type ontology:Q34770 } UNION { ?x rdf:type ontology:Q5962346 } } } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { { ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q34770 . ?e property:P37 ?j } UNION { ?e property:P37 ?j . ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q5962346 } } GROUP BY ?e } }
Zimbabwe
action count
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Zimbabwe
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Zimbabwe property:official_language ?x . { { ?x rdf:type ontology:language } UNION { ?x rdf:type ontology:classification_scheme } } } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:language . ?e property:official_language ?j } UNION { ?e property:official_language ?j . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:classification_scheme } } GROUP BY ?e } }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
130
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q954
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q954 property:P37 ?x . { { ?x rdf:type ontology:Q34770 } UNION { ?x rdf:type ontology:Q5962346 } } } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { { ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q34770 . ?e property:P37 ?j } UNION { ?e property:P37 ?j . ?e rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q5962346 } } GROUP BY ?e } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
130
action count
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Zimbabwe
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Zimbabwe property:official_language ?x . { { ?x rdf:type ontology:language } UNION { ?x rdf:type ontology:classification_scheme } } } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:language . ?e property:official_language ?j } UNION { ?e property:official_language ?j . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:classification_scheme } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q3305213
USER
How many occupations are depicted in atmost 8 works of art and paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 8
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q3305213 . ?u property:P180 ?a } } GROUP BY ?a } . FILTER ( ?t <= 8 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 8
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:occupation . ?u rdf:type ontology:painting . ?u property:depicts ?a } } GROUP BY ?a } . FILTER ( ?t <= 8 ) }
[]
occupation work of art painting
SYSTEM
227
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 8
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q3305213 . ?u property:P180 ?a } } GROUP BY ?a } . FILTER ( ?t <= 8 ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
227
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 8
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:occupation . ?u rdf:type ontology:painting . ?u property:depicts ?a } } GROUP BY ?a } . FILTER ( ?t <= 8 ) }
[]