Simple Question (Direct)
Simple Question
Q15550076
P102
Q7210356
USER
Which political organization is Peter Meinhold a member of ?
(Q15550076,P102,c(Q7210356))
action filter_type
action find
entity Q15550076
relation P102
type Q7210356
['Q15550076', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q15550076 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Peter Meinhold
action filter_type
action find
entity Peter Meinhold
relation member of political party
type political organization
['Peter Meinhold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Peter_Meinhold property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q15550076,P102,c(Q7210356))
action filter_type
action find
entity Q15550076
relation P102
type Q7210356
The [ANSWER] is Peter Meinhold a member of
['Q15550076', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q15550076 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Nazi Party
The Nazi Party is Peter Meinhold a member of
Nazi Party
action filter_type
action find
entity Peter Meinhold
relation member of political party
type political organization
['Peter Meinhold', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Peter_Meinhold property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15550076
P106
Q12737077
USER
What are the professions of Peter Meinhold ?
(Q15550076,P106,c(Q12737077))
action filter_type
action find
entity Q15550076
relation P106
type Q12737077
['Q15550076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q15550076 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Peter Meinhold
action filter_type
action find
entity Peter Meinhold
relation occupation
type occupation
['Peter Meinhold', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Meinhold property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1743122 Q1234713 Q1622272
SYSTEM
church historian, theologian, university teacher
Q1743122 Q1234713 Q1622272
(Q15550076,P106,c(Q12737077))
action filter_type
action find
entity Q15550076
relation P106
type Q12737077
The professions of Peter Meinhold are [ANSWERS]
['Q15550076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q15550076 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
church historian theologian university teacher
The professions of Peter Meinhold are church historian, theologian and university teacher
church historian theologian university teacher
action filter_type
action find
entity Peter Meinhold
relation occupation
type occupation
['Peter Meinhold', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Peter_Meinhold property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15550076
P21
Q290
USER
Which sex does Peter Meinhold possess ?
(Q15550076,P21,c(Q290))
action filter_type
action find
entity Q15550076
relation P21
type Q290
['Q15550076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q15550076 property:P21 ?k . ?k rdf:type ontology:Q290 }
Peter Meinhold
action filter_type
action find
entity Peter Meinhold
relation gender
type sex
['Peter Meinhold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Meinhold property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15550076,P21,c(Q290))
action filter_type
action find
entity Q15550076
relation P21
type Q290
Peter Meinhold possesses un [ANSWER]
['Q15550076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q15550076 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Peter Meinhold possesses un male
male
action filter_type
action find
entity Peter Meinhold
relation gender
type sex
['Peter Meinhold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Meinhold property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6660626
Q290
USER
And also tell me about Lizia Oliveira?
(Q6660626,P21,c(Q290))
action filter_type
action find
entity Q6660626
relation P21
type Q290
['Q6660626', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6660626 property:P21 ?t . ?t rdf:type ontology:Q290 }
Lizia Oliveira
action filter_type
action find
entity Lizia Oliveira
relation gender
type sex
['Lizia Oliveira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Lizia_Oliveira property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6660626,P21,c(Q290))
action filter_type
action find
entity Q6660626
relation P21
type Q290
[ANSWER]
['Q6660626', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6660626 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Lizia Oliveira
relation gender
type sex
['Lizia Oliveira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Lizia_Oliveira property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6660626
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q6660626
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q6660626 property:P27 ?m }
Lizia Oliveira
action filter_type
action find
entity Lizia Oliveira
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lizia_Oliveira property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q6660626
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q6660626 property:P27 ?m }
Brazil
Brazil is that person an inhabitant of
Brazil
action filter_type
action find
entity Lizia Oliveira
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lizia_Oliveira property:country_of_citizenship ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q155 Q4377809
P17
Q1048835
USER
Is Pryvitne situated in that administrative territory ?
(Q4377809,P17,Q155)
action is_in
entity Q4377809
action find
entity Q155
relation P17
['Q4377809', 'P17', 'Q155']
ASK WHERE { resource:Q155 property:P17 resource:Q4377809 }
Brazil Pryvitne
action is_in
entity Pryvitne
action find
entity Brazil
relation country
['Pryvitne', 'country', 'Brazil']
ASK WHERE { resource:Brazil property:country resource:Pryvitne }
[]
political territorial entity
SYSTEM
NO
(Q4377809,P17,Q155)
action is_in
entity Q4377809
action find
entity Q155
relation P17
[ANSWER]
['Q4377809', 'P17', 'Q155']
ASK WHERE { resource:Q155 property:P17 resource:Q4377809 }
No
action is_in
entity Pryvitne
action find
entity Brazil
relation country
['Pryvitne', 'country', 'Brazil']
ASK WHERE { resource:Brazil property:country resource:Pryvitne }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately 29 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?k ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?q property:P530 ?g } GROUP BY ?q } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?k ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?g } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q159 Q30
SYSTEM
Russia, United States of America
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[ANSWERS] have a diplomatic relationship with approximately 29 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?k ) WHERE { ?q rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?q property:P530 ?g } GROUP BY ?q } }
Russia United States of America
Russia and United States of America have a diplomatic relationship with approximately 29 administrative territories
Russia United States of America
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?k ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?g } GROUP BY ?q } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2031291
USER
How many administrative territories are the origin of less number of television programs and releases than that administrative territory ?
(c(Q15416)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity television program release
Comparative|Count over More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q15416)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean United States of America ?
United States of America
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Russia. Could you tell me the answer for that?
(c(Q15416)|c(Q2031291),P495,c(Q15617994))
Q159
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
144
Q805 Q804 Q801 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q39 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Yemen Panama Israel Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Switzerland North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
144
[[{'concept': 'television program'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q386724
USER
Which occupations were the main subjects of atleast 13 works of art or works 's work ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 13
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q >= 13 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q386724 . ?j property:P921 ?r } UNION { ?j property:P921 ?r . ?j rdf:type ontology:Q838948 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } }
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 13
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q >= 13 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { { ?r rdf:type ontology:occupation . ?j rdf:type ontology:work . ?j property:main_subject ?r } UNION { ?j property:main_subject ?r . ?j rdf:type ontology:work_of_art . ?r rdf:type ontology:occupation } } GROUP BY ?r } }
[]
occupation work of art work
Q16746569 Q33231 Q33999
SYSTEM
high school student, photographer, actor
Q33999 Q9402 Q164236 Q16746569 Q33231
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 13
[ANSWERS] were the main subjects of atleast 13 works of art or works 's work
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q >= 13 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q386724 . ?j property:P921 ?r } UNION { ?j property:P921 ?r . ?j rdf:type ontology:Q838948 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } }
actor ninja war correspondent high school student photographer
High school student, photographer and actor were the main subjects of atleast 13 works of art or works 's work
high school student photographer actor
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 13
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?q >= 13 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?r WHERE { { ?r rdf:type ontology:occupation . ?j rdf:type ontology:work . ?j property:main_subject ?r } UNION { ?j property:main_subject ?r . ?j rdf:type ontology:work_of_art . ?r rdf:type ontology:occupation } } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q1190554 Q223557 Q15617994
USER
How many administrative territories come from exactly 1 events or physical objects ?
(c(Q15617994),P138,c(Q1190554)|c(Q223557))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q223557
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q1190554 ) ( ontology:Q223557 ) } . ?u rdf:type ?h } GROUP BY ?l } . FILTER ( ?b = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?l WHERE { VALUES ( ?h ) { ( ontology:event ) ( ontology:physical_object ) } . ?u rdf:type ?h } GROUP BY ?l } . FILTER ( ?b = 1 ) }
[]
event physical object designation for an administrative territorial entity
SYSTEM
4
Q3240 Q1508919 Q1452646 Q1393469
(c(Q15617994),P138,c(Q1190554)|c(Q223557))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q223557
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q1190554 ) ( ontology:Q223557 ) } . ?u rdf:type ?h } GROUP BY ?l } . FILTER ( ?b = 1 ) }
Bouches-du-Rhône Marengo Montenotte Jemmapes
4
action count
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?l WHERE { VALUES ( ?h ) { ( ontology:event ) ( ontology:physical_object ) } . ?u rdf:type ?h } GROUP BY ?l } . FILTER ( ?b = 1 ) }
[]