Simple Question (Direct)
Simple Question
Q18373985
P106
Q12737077
USER
What is the profession of Tony Ewerton Ramos da Silva ?
(Q18373985,P106,c(Q12737077))
action filter_type
action find
entity Q18373985
relation P106
type Q12737077
['Q18373985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q18373985 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Tony Ewerton Ramos da Silva
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation occupation
type occupation
['Tony Ewerton Ramos da Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18373985,P106,c(Q12737077))
action filter_type
action find
entity Q18373985
relation P106
type Q12737077
The profession of Tony Ewerton Ramos da Silva is an [ANSWER]
['Q18373985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q18373985 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The profession of Tony Ewerton Ramos da Silva is an association football player
association football player
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation occupation
type occupation
['Tony Ewerton Ramos da Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18373985
P21
Q290
USER
Which sex does Tony Ewerton Ramos da Silva belong to ?
(Q18373985,P21,c(Q290))
action filter_type
action find
entity Q18373985
relation P21
type Q290
['Q18373985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q18373985 property:P21 ?n . ?n rdf:type ontology:Q290 }
Tony Ewerton Ramos da Silva
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation gender
type sex
['Tony Ewerton Ramos da Silva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18373985,P21,c(Q290))
action filter_type
action find
entity Q18373985
relation P21
type Q290
Tony Ewerton Ramos da Silva belongs to a [ANSWER]
['Q18373985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q18373985 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Tony Ewerton Ramos da Silva belongs to a male
male
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation gender
type sex
['Tony Ewerton Ramos da Silva', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18373985
P19
Q1048835
USER
Where was that person born ?
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q18373985
relation P19
type Q1048835
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18373985 property:P19 ?l . ?l rdf:type ontology:Q1048835 }
Tony Ewerton Ramos da Silva
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:place_of_birth ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2011013
SYSTEM
Maraial
Q2011013
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q18373985
relation P19
type Q1048835
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18373985 property:P19 ?l . ?l rdf:type ontology:Q1048835 }
Maraial
That person was born in Maraial
Maraial
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:place_of_birth ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that political territory ?
(c(Q502895),P19,Q2011013)
action count
action filter_type
action find_reverse
entity Q2011013
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2011013']
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P19 resource:Q2011013 . ?w rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Maraial
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Maraial']
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:place_of_birth resource:Maraial . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q18373985
(c(Q502895),P19,Q2011013)
action count
action filter_type
action find_reverse
entity Q2011013
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q2011013']
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P19 resource:Q2011013 . ?w rdf:type ontology:Q502895 }
Tony Ewerton Ramos da Silva
1
action count
action filter_type
action find_reverse
entity Maraial
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Maraial']
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:place_of_birth resource:Maraial . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18373985
P27
Q15617994
USER
Which administrative territory is the native country of Tony Ewerton Ramos da Silva ?
(Q18373985,P27,c(Q15617994))
action filter_type
action find
entity Q18373985
relation P27
type Q15617994
['Q18373985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18373985 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Tony Ewerton Ramos da Silva
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation country of citizenship
type designation for an administrative territorial entity
['Tony Ewerton Ramos da Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q18373985,P27,c(Q15617994))
action filter_type
action find
entity Q18373985
relation P27
type Q15617994
[ANSWER] is the native country of Tony Ewerton Ramos da Silva
['Q18373985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18373985 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Brazil
Brazil is the native country of Tony Ewerton Ramos da Silva
Brazil
action filter_type
action find
entity Tony Ewerton Ramos da Silva
relation country of citizenship
type designation for an administrative territorial entity
['Tony Ewerton Ramos da Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Tony_Ewerton_Ramos_da_Silva property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9602211
Q15617994
USER
And also tell me about Alexandre Melo?
(Q9602211,P27,c(Q15617994))
action filter_type
action find
entity Q9602211
relation P27
type Q15617994
['Q9602211', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q9602211 property:P27 ?p }
Alexandre Melo
action filter_type
action find
entity Alexandre Melo
relation country of citizenship
type designation for an administrative territorial entity
['Alexandre Melo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alexandre_Melo property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q9602211,P27,c(Q15617994))
action filter_type
action find
entity Q9602211
relation P27
type Q15617994
[ANSWER]
['Q9602211', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q9602211 property:P27 ?p }
Portugal
Portugal
action filter_type
action find
entity Alexandre Melo
relation country of citizenship
type designation for an administrative territorial entity
['Alexandre Melo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alexandre_Melo property:country_of_citizenship ?p }
[]
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 diplomatic relations with around 16 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 16
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { FILTER ( ?z = 16 ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } }
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
value 16
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { FILTER ( ?z = 16 ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
15
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q30 Q929 Q225 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 16
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { FILTER ( ?z = 16 ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia United States of America Central African Republic Bosnia and Herzegovina Japan Kenya Syria Cape Verde Zambia
15
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
value 16
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { FILTER ( ?z = 16 ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?z ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1279158 Q2011013
P17
Q15617994
USER
Which administrative territories do Maraial or Saratov Tsentralny Airport belong to ?
OR((Q2011013,P17,c(Q15617994)), (Q1279158,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2011013
relation P17
action find
entity Q1279158
relation P17
type Q15617994
{'OR': [['Q2011013', 'P17', {'concept': 'Q15617994'}], ['Q1279158', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1279158 property:P17 ?d } UNION { resource:Q2011013 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Saratov Tsentralny Airport Maraial
action filter_type
action union
action find
entity Maraial
relation country
action find
entity Saratov Tsentralny Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Maraial', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Saratov Tsentralny Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saratov_Tsentralny_Airport property:country ?d } UNION { resource:Maraial property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q159
SYSTEM
Brazil, Russia
Q155 Q159
OR((Q2011013,P17,c(Q15617994)), (Q1279158,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2011013
relation P17
action find
entity Q1279158
relation P17
type Q15617994
Maraial or Saratov Tsentralny Airport belong to the [ANSWERS]
{'OR': [['Q2011013', 'P17', {'concept': 'Q15617994'}], ['Q1279158', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1279158 property:P17 ?d } UNION { resource:Q2011013 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Brazil Russia
Maraial or Saratov Tsentralny Airport belong to the Brazil and Russia
Brazil Russia
action filter_type
action union
action find
entity Maraial
relation country
action find
entity Saratov Tsentralny Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Maraial', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Saratov Tsentralny Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saratov_Tsentralny_Airport property:country ?d } UNION { resource:Maraial property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1125500
P530
Q1048835
USER
Are San Ildefonso known to have diplomatic connections with those administrative territories ?
(Q1125500,P530,Q155) (Q1125500,P530,Q159)
action is_in
entity prev_answer
action find
entity Q1125500
relation P530
['Q1125500', 'P530', 'Q155'] ['Q1125500', 'P530', 'Q159']
ASK WHERE { VALUES ( ?y ) { ( resource:Q155 ) ( resource:Q159 ) } . resource:Q1125500 property:P530 ?y }
San Ildefonso
action is_in
entity prev_answer
action find
entity San Ildefonso
relation diplomatic relation
['San Ildefonso', 'diplomatic relation', 'Brazil'] ['San Ildefonso', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?y ) { ( resource:Brazil ) ( resource:Russia ) } . resource:San_Ildefonso property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q1125500,P530,Q155) (Q1125500,P530,Q159)
action is_in
entity prev_answer
action find
entity Q1125500
relation P530
[ANSWER]
['Q1125500', 'P530', 'Q155'] ['Q1125500', 'P530', 'Q159']
ASK WHERE { VALUES ( ?y ) { ( resource:Q155 ) ( resource:Q159 ) } . resource:Q1125500 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity San Ildefonso
relation diplomatic relation
['San Ildefonso', 'diplomatic relation', 'Brazil'] ['San Ildefonso', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?y ) { ( resource:Brazil ) ( resource:Russia ) } . resource:San_Ildefonso property:diplomatic_relation ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q224
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with less number of administrative territories than Croatia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?l ) WHERE { ?o property:P530 ?e . ?o rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q224 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?r ) }
Croatia
action less
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 Croatia
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?l ) WHERE { ?o property:diplomatic_relation ?e . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Croatia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with less number of administrative territories than Croatia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?l ) WHERE { ?o property:P530 ?e . ?o rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q224 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?r ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania are known to have diplomatic connections with less number of administrative territories than Croatia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
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 Croatia
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?l ) WHERE { ?o property:diplomatic_relation ?e . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Croatia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q881
P530
Q15617994 Q15617994
USER
And also tell me about Vietnam?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?f ) WHERE { ?t property:P530 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?f < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q881 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } }
Vietnam
action less
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 Vietnam
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?f ) WHERE { ?t property:diplomatic_relation ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?f < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Vietnam property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q20 Q33
SYSTEM
Netherlands, Norway, Finland
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?f ) WHERE { ?t property:P530 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?f < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q881 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
Netherlands Norway Finland
action less
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 Vietnam
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?f ) WHERE { ?t property:diplomatic_relation ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?f < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Vietnam property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
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 76 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 76 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?c ) WHERE { ?w property:P530 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?w } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 76 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?c ) WHERE { ?w property:diplomatic_relation ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[ANSWER] have tactful political relations with around 76 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 76 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?c ) WHERE { ?w property:P530 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?w } }
Australia
Australia have tactful political relations with around 76 administrative territories
Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?c = 76 ) . { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?c ) WHERE { ?w property:diplomatic_relation ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]