Simple Question (Direct)
Simple Question
Q3893544
P106
Q12737077
USER
What do Paola Capriolo do for a living ?
(Q3893544,P106,c(Q12737077))
action filter_type
action find
entity Q3893544
relation P106
type Q12737077
['Q3893544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3893544 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Paola Capriolo
action filter_type
action find
entity Paola Capriolo
relation occupation
type occupation
['Paola Capriolo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Paola_Capriolo property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4853732 Q36180
SYSTEM
journalist, children's writer, writer
Q1930187 Q4853732 Q36180
(Q3893544,P106,c(Q12737077))
action filter_type
action find
entity Q3893544
relation P106
type Q12737077
[ANSWERS] Paola Capriolo do for a living
['Q3893544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3893544 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
journalist children's writer writer
Journalist, children's writer and writer Paola Capriolo do for a living
journalist children's writer writer
action filter_type
action find
entity Paola Capriolo
relation occupation
type occupation
['Paola Capriolo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Paola_Capriolo property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3893544
P19
Q56061
USER
Which administrative territory was Paola Capriolo born at ?
(Q3893544,P19,c(Q56061))
action filter_type
action find
entity Q3893544
relation P19
type Q56061
['Q3893544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q3893544 property:P19 ?e }
Paola Capriolo
action filter_type
action find
entity Paola Capriolo
relation place of birth
type administrative territorial entity
['Paola Capriolo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Paola_Capriolo property:place_of_birth ?e }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3893544,P19,c(Q56061))
action filter_type
action find
entity Q3893544
relation P19
type Q56061
Paola Capriolo was born in [ANSWER]
['Q3893544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q3893544 property:P19 ?e }
Milan
Paola Capriolo was born in Milan
Milan
action filter_type
action find
entity Paola Capriolo
relation place of birth
type administrative territorial entity
['Paola Capriolo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Paola_Capriolo property:place_of_birth ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q490
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q490,P6,c(Q502895))
action filter_type
action find
entity Q490
relation P6
type Q502895
['Q490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q490 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Milan
action filter_type
action find
entity Milan
relation head of government
type common name
['Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Milan property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q697597 Q666504 Q3659902
SYSTEM
Gabriele Albertini, Giuliano Pisapia, Carlo Tognoli
Q302754 Q2527720 Q697597 Q2249674 Q239024 Q17146774 Q3388096 Q666504 Q3609106 Q3619683 Q3659902 Q2427172 Q3762509
(Q490,P6,c(Q502895))
action filter_type
action find
entity Q490
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q490 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Gino Cassinis Virgilio Ferrari Gabriele Albertini Marco Formentini Letizia Moratti Giuseppe Sala Pietro Bucalossi Giuliano Pisapia Aldo Aniasi Antonio Greppi Carlo Tognoli Paolo Pillitteri Giampiero Borghini
Gabriele Albertini, Giuliano Pisapia and Carlo Tognoli are that administrative territory the head of goverment of
Gabriele Albertini Giuliano Pisapia Carlo Tognoli
action filter_type
action find
entity Milan
relation head of government
type common name
['Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Milan property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q697597
P937
Q56061
USER
What are the work locations of that person ?
(Q697597,P937,c(Q56061))
action filter_type
action find
entity Q697597
relation P937
type Q56061
['Q697597', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q697597 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Gabriele Albertini
action filter_type
action find
entity Gabriele Albertini
relation work location
type administrative territorial entity
['Gabriele Albertini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Gabriele_Albertini property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q697597
SYSTEM
Did you mean Gabriele Albertini ?
Q697597 Q666504 Q3659902
(Q697597,P937,c(Q56061)) (Q666504,P937,c(Q56061)) (Q3659902,P937,c(Q56061))
[ANSWER]
['Q697597', 'P937', {'concept': 'Q56061'}] ['Q666504', 'P937', {'concept': 'Q56061'}] ['Q3659902', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q697597 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Gabriele Albertini Giuliano Pisapia Carlo Tognoli
Did you mean Gabriele Albertini ?
Gabriele Albertini
['Gabriele Albertini', 'work location', {'concept': 'administrative territorial entity'}] ['Giuliano Pisapia', 'work location', {'concept': 'administrative territorial entity'}] ['Carlo Tognoli', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Gabriele_Albertini property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q697597,P937,c(Q56061))
['Q697597', 'P937', {'concept': 'Q56061'}]
['Gabriele Albertini', 'work location', {'concept': 'administrative territorial entity'}]
[]
Q239 Q220
SYSTEM
Brussels, Rome
Q239 Q220
(Q697597,P937,c(Q56061))
action filter_type
action find
entity Q697597
relation P937
type Q56061
The work locations of that person are in [ANSWERS]
['Q697597', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q697597 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Brussels Rome
The work locations of that person are in Brussels and Rome
Brussels Rome
action filter_type
action find
entity Gabriele Albertini
relation work location
type administrative territorial entity
['Gabriele Albertini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Gabriele_Albertini property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1806584 Q697597
P27 P17
Q15617994
USER
Which administrative territories do Gabriele Albertini belong to or do Planalto da Serra belong to ?
OR((Q697597,P27,c(Q15617994)), (Q1806584,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q697597
relation P27
action find
entity Q1806584
relation P17
type Q15617994
{'OR': [['Q697597', 'P27', {'concept': 'Q15617994'}], ['Q1806584', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q697597 property:P27 ?k } UNION { resource:Q1806584 property:P17 ?k } } }
Planalto da Serra Gabriele Albertini
action filter_type
action union
action find
entity Gabriele Albertini
relation country of citizenship
action find
entity Planalto da Serra
relation country
type designation for an administrative territorial entity
{'OR': [['Gabriele Albertini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Planalto da Serra', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gabriele_Albertini property:country_of_citizenship ?k } UNION { resource:Planalto_da_Serra property:country ?k } } }
[]
designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
OR((Q697597,P27,c(Q15617994)), (Q1806584,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q697597
relation P27
action find
entity Q1806584
relation P17
type Q15617994
Gabriele Albertini belong to [ANSWERS]
{'OR': [['Q697597', 'P27', {'concept': 'Q15617994'}], ['Q1806584', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q697597 property:P27 ?k } UNION { resource:Q1806584 property:P17 ?k } } }
Brazil Italy
Gabriele Albertini belong to Brazil and Italy
Brazil Italy
action filter_type
action union
action find
entity Gabriele Albertini
relation country of citizenship
action find
entity Planalto da Serra
relation country
type designation for an administrative territorial entity
{'OR': [['Gabriele Albertini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Planalto da Serra', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Gabriele_Albertini property:country_of_citizenship ?k } UNION { resource:Planalto_da_Serra property:country ?k } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with atmost 52 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 52
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?l <= 52 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?l <= 52 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 52
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?l <= 52 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?l <= 52 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q790
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of administrative territories as Haiti ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?x ) WHERE { ?p rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?p property:P530 ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q790 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?j ) }
Haiti
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?x ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Haiti property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?x ) WHERE { ?p rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?p property:P530 ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q790 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?j ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?x ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Haiti property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with around 102 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 . ?d property:P530 ?m } GROUP BY ?d } . FILTER ( ?f = 102 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity . ?d property:diplomatic_relation ?m } GROUP BY ?d } . FILTER ( ?f = 102 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[ANSWERS] have tactful political relations with around 102 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 . ?d property:P530 ?m } GROUP BY ?d } . FILTER ( ?f = 102 ) }
Germany Australia
Germany and Australia have tactful political relations with around 102 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity . ?d property:diplomatic_relation ?m } GROUP BY ?d } . FILTER ( ?f = 102 ) }
[]