Simple Question (Direct)
Simple Question
Q122345
P19
Q56061
USER
Which administrative territory is the birthplace of Ombretta Colli ?
(Q122345,P19,c(Q56061))
action filter_type
action find
entity Q122345
relation P19
type Q56061
['Q122345', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q122345 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Ombretta Colli
action filter_type
action find
entity Ombretta Colli
relation place of birth
type administrative territorial entity
['Ombretta Colli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ombretta_Colli property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449
SYSTEM
Genoa
Q1449
(Q122345,P19,c(Q56061))
action filter_type
action find
entity Q122345
relation P19
type Q56061
[ANSWER] is the birthplace of Ombretta Colli
['Q122345', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q122345 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Genoa
Genoa is the birthplace of Ombretta Colli
Genoa
action filter_type
action find
entity Ombretta Colli
relation place of birth
type administrative territorial entity
['Ombretta Colli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ombretta_Colli property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q122345
P106
Q12737077
USER
What do Ombretta Colli do for a living ?
(Q122345,P106,c(Q12737077))
action filter_type
action find
entity Q122345
relation P106
type Q12737077
['Q122345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q122345 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Ombretta Colli
action filter_type
action find
entity Ombretta Colli
relation occupation
type occupation
['Ombretta Colli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ombretta_Colli property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q33999 Q82955 Q177220
SYSTEM
actor, politician, singer
Q33999 Q82955 Q177220
(Q122345,P106,c(Q12737077))
action filter_type
action find
entity Q122345
relation P106
type Q12737077
Ombretta Colli do for a living an [ANSWERS]
['Q122345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q122345 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
actor politician singer
Ombretta Colli do for a living an actor, politician and singer
actor politician singer
action filter_type
action find
entity Ombretta Colli
relation occupation
type occupation
['Ombretta Colli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ombretta_Colli property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q122345
P39
Q12737077
USER
Which occupations were a position held by that person ?
(Q33999,P39,c(Q12737077)) (Q82955,P39,c(Q12737077)) (Q177220,P39,c(Q12737077))
action filter_type
action find
entity Q122345
relation P39
type Q12737077
['Q33999', 'P39', {'concept': 'Q12737077'}] ['Q82955', 'P39', {'concept': 'Q12737077'}] ['Q177220', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q122345 property:P39 ?j }
Ombretta Colli
action filter_type
action find
entity Ombretta Colli
relation position held
type occupation
['actor', 'position held', {'concept': 'occupation'}] ['politician', 'position held', {'concept': 'occupation'}] ['singer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Ombretta_Colli property:position_held ?j }
[]
occupation
Q18558478 Q27169
SYSTEM
member of the Chamber of Deputies of the Italian Republic, member of the European Parliament
Q18558478 Q27169
(Q33999,P39,c(Q12737077)) (Q82955,P39,c(Q12737077)) (Q177220,P39,c(Q12737077))
action filter_type
action find
entity Q122345
relation P39
type Q12737077
[ANSWERS] were a position held by that person
['Q33999', 'P39', {'concept': 'Q12737077'}] ['Q82955', 'P39', {'concept': 'Q12737077'}] ['Q177220', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q122345 property:P39 ?j }
member of the Chamber of Deputies of the Italian Republic member of the European Parliament
Member of the Chamber of Deputies of the Italian Republic and member of the European Parliament were a position held by that person
member of the Chamber of Deputies of the Italian Republic member of the European Parliament
action filter_type
action find
entity Ombretta Colli
relation position held
type occupation
['actor', 'position held', {'concept': 'occupation'}] ['politician', 'position held', {'concept': 'occupation'}] ['singer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Ombretta_Colli property:position_held ?j }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q588024
P39
Q502895
USER
Were Anton Apold responsible for occupying the position of those occupations ?
(Q588024,P39,Q18558478) (Q588024,P39,Q27169)
action is_in
entity prev_answer
action find
entity Q588024
relation P39
['Q588024', 'P39', 'Q18558478'] ['Q588024', 'P39', 'Q27169']
ASK WHERE { resource:Q588024 property:P39 ?k . VALUES ( ?k ) { ( resource:Q18558478 ) ( resource:Q27169 ) } }
Anton Apold
action is_in
entity prev_answer
action find
entity Anton Apold
relation position held
['Anton Apold', 'position held', 'member of the Chamber of Deputies of the Italian Republic'] ['Anton Apold', 'position held', 'member of the European Parliament']
ASK WHERE { resource:Anton_Apold property:position_held ?k . VALUES ( ?k ) { ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) ( resource:member_of_the_European_Parliament ) } }
[]
common name
SYSTEM
NO
(Q588024,P39,Q18558478) (Q588024,P39,Q27169)
action is_in
entity prev_answer
action find
entity Q588024
relation P39
[ANSWER]
['Q588024', 'P39', 'Q18558478'] ['Q588024', 'P39', 'Q27169']
ASK WHERE { resource:Q588024 property:P39 ?k . VALUES ( ?k ) { ( resource:Q18558478 ) ( resource:Q27169 ) } }
No
action is_in
entity prev_answer
action find
entity Anton Apold
relation position held
['Anton Apold', 'position held', 'member of the Chamber of Deputies of the Italian Republic'] ['Anton Apold', 'position held', 'member of the European Parliament']
ASK WHERE { resource:Anton_Apold property:position_held ?k . VALUES ( ?k ) { ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) ( resource:member_of_the_European_Parliament ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18558478 Q38
P1001
Q15617994
USER
Is Italy linked to member of the Chamber of Deputies of the Italian Republic ?
(Q18558478,P1001,Q38)
action is_in
entity Q38
action find
entity Q18558478
relation P1001
['Q18558478', 'P1001', 'Q38']
ASK WHERE { resource:Q18558478 property:P1001 resource:Q38 }
member of the Chamber of Deputies of the Italian Republic Italy
action is_in
entity Italy
action find
entity member of the Chamber of Deputies of the Italian Republic
relation applies to jurisdiction
['member of the Chamber of Deputies of the Italian Republic', 'applies to jurisdiction', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:applies_to_jurisdiction resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18558478,P1001,Q38)
action is_in
entity Q38
action find
entity Q18558478
relation P1001
[ANSWER]
['Q18558478', 'P1001', 'Q38']
ASK WHERE { resource:Q18558478 property:P1001 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity member of the Chamber of Deputies of the Italian Republic
relation applies to jurisdiction
['member of the Chamber of Deputies of the Italian Republic', 'applies to jurisdiction', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:applies_to_jurisdiction resource:Italy }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q101716 Q122345
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ombretta Colli or have a shared border with Valsecca ?
OR((Q122345,P27,c(Q15617994)), (Q101716,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q122345
relation P27
action find
entity Q101716
relation P47
type Q15617994
{'OR': [['Q122345', 'P27', {'concept': 'Q15617994'}], ['Q101716', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q101716 property:P47 ?h } UNION { resource:Q122345 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Valsecca Ombretta Colli
action filter_type
action union
action find
entity Ombretta Colli
relation country of citizenship
action find
entity Valsecca
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Ombretta Colli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valsecca', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Valsecca property:shares_border_with ?h } UNION { resource:Ombretta_Colli property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q101554 Q100420 Q42439 Q101522 Q100016 Q38 Q42819
SYSTEM
Sant'Omobono Terme, Costa Valle Imagna, Carenno, Rota d'Imagna, Brumano, Italy, Erve
Q101554 Q100420 Q42439 Q101522 Q100016 Q38 Q42819
OR((Q122345,P27,c(Q15617994)), (Q101716,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q122345
relation P27
action find
entity Q101716
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Ombretta Colli or have a shared border with Valsecca
{'OR': [['Q122345', 'P27', {'concept': 'Q15617994'}], ['Q101716', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q101716 property:P47 ?h } UNION { resource:Q122345 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Sant'Omobono Terme Costa Valle Imagna Carenno Rota d'Imagna Brumano Italy Erve
Sant'Omobono Terme, Costa Valle Imagna, Carenno, Rota d'Imagna, Brumano, Italy and Erve are the countries of citizenship of Ombretta Colli or have a shared border with Valsecca
Sant'Omobono Terme Costa Valle Imagna Carenno Rota d'Imagna Brumano Italy Erve
action filter_type
action union
action find
entity Ombretta Colli
relation country of citizenship
action find
entity Valsecca
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Ombretta Colli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valsecca', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Valsecca property:shares_border_with ?h } UNION { resource:Ombretta_Colli property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories are next to the border of that administrative territory ?
(c(Q15617994),P47,Q101554)
[{'concept': 'Q15617994'}, 'P47', 'Q101554']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q101554 . ?z rdf:type ontology:Q15617994 }
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Sant'Omobono Terme"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sant'Omobono_Terme . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q100420
SYSTEM
Did you mean Costa Valle Imagna ?
(c(Q15617994),P47,Q101554) (c(Q15617994),P47,Q100420) (c(Q15617994),P47,Q42439) (c(Q15617994),P47,Q101522) (c(Q15617994),P47,Q100016) (c(Q15617994),P47,Q38) (c(Q15617994),P47,Q42819)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q101554'] [{'concept': 'Q15617994'}, 'P47', 'Q100420'] [{'concept': 'Q15617994'}, 'P47', 'Q42439'] [{'concept': 'Q15617994'}, 'P47', 'Q101522'] [{'concept': 'Q15617994'}, 'P47', 'Q100016'] [{'concept': 'Q15617994'}, 'P47', 'Q38'] [{'concept': 'Q15617994'}, 'P47', 'Q42819']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q101554 . ?z rdf:type ontology:Q15617994 }
Did you mean Costa Valle Imagna ?
Costa Valle Imagna
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Sant'Omobono Terme"] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Costa Valle Imagna'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Carenno'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Rota d'Imagna"] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brumano'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Erve']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sant'Omobono_Terme . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sant'Omobono Terme. Could you tell me the answer for that?
(c(Q15617994),P47,Q101554)
Q101554
[{'concept': 'Q15617994'}, 'P47', 'Q101554']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Sant'Omobono Terme"]
[]
SYSTEM
7
Q100420 Q100407 Q101716 Q99966 Q101522 Q101519 Q99965
(c(Q15617994),P47,Q101554)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q101554']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q101554 . ?z rdf:type ontology:Q15617994 }
Costa Valle Imagna Corna Imagna Valsecca Berbenno Rota d'Imagna Roncola Bedulita
7
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Sant'Omobono Terme"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sant'Omobono_Terme . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q696651
P122
Q4164871 Q12737077 Q15617994
USER
How many administrative territories have less number of positions or occupations as government than Saxe-Eisenach ?
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q696651
relation P122
type Q4164871
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?p ) WHERE { { ?u property:P122 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q4164871 } UNION { ?u property:P122 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q12737077 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q696651 property:P122 ?y . { { ?y rdf:type ontology:Q4164871 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?p < ?s ) }
Saxe-Eisenach
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Saxe-Eisenach
relation basic form of government
type position
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?p ) WHERE { { ?u property:basic_form_of_government ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:position } UNION { ?u property:basic_form_of_government ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:occupation } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Saxe-Eisenach property:basic_form_of_government ?y . { { ?y rdf:type ontology:position } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?p < ?s ) }
[]
position occupation designation for an administrative territorial entity
SYSTEM
93
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q199688 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q696651
relation P122
type Q4164871
type Q12737077
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?p ) WHERE { { ?u property:P122 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q4164871 } UNION { ?u property:P122 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q12737077 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q696651 property:P122 ?y . { { ?y rdf:type ontology:Q4164871 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?p < ?s ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay Almohad United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
93
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Saxe-Eisenach
relation basic form of government
type position
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?p ) WHERE { { ?u property:basic_form_of_government ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:position } UNION { ?u property:basic_form_of_government ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:occupation } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Saxe-Eisenach property:basic_form_of_government ?y . { { ?y rdf:type ontology:position } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?p < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q313175
P122
Q4164871 Q12737077 Q15617994
USER
And also tell me about Saxe-Lauenburg?
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q313175
relation P122
type Q4164871
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { { ?l property:P122 ?s . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q4164871 } UNION { ?l property:P122 ?s . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q313175 property:P122 ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?x < ?k ) }
Saxe-Lauenburg
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Saxe-Lauenburg
relation basic form of government
type position
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { { ?l property:basic_form_of_government ?s . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:position } UNION { ?l property:basic_form_of_government ?s . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Saxe-Lauenburg property:basic_form_of_government ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:position ) ( ontology:occupation ) } } } } . FILTER ( ?x < ?k ) }
[]
position occupation designation for an administrative territorial entity
SYSTEM
93
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q199688 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q313175
relation P122
type Q4164871
type Q12737077
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { { ?l property:P122 ?s . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q4164871 } UNION { ?l property:P122 ?s . ?l rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q313175 property:P122 ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?x < ?k ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay Almohad United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
93
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Saxe-Lauenburg
relation basic form of government
type position
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { { ?l property:basic_form_of_government ?s . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:position } UNION { ?l property:basic_form_of_government ?s . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Saxe-Lauenburg property:basic_form_of_government ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:position ) ( ontology:occupation ) } } } } . FILTER ( ?x < ?k ) }
[]