Simple Question (Direct)
Simple Question
Q3885571
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Oreste Roccasecca ?
(Q3885571,P27,c(Q15617994))
action filter_type
action find
entity Q3885571
relation P27
type Q15617994
['Q3885571', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3885571 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Oreste Roccasecca
action filter_type
action find
entity Oreste Roccasecca
relation country of citizenship
type designation for an administrative territorial entity
['Oreste Roccasecca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Oreste_Roccasecca property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3885571,P27,c(Q15617994))
action filter_type
action find
entity Q3885571
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Oreste Roccasecca
['Q3885571', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3885571 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of Oreste Roccasecca
Italy
action filter_type
action find
entity Oreste Roccasecca
relation country of citizenship
type designation for an administrative territorial entity
['Oreste Roccasecca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Oreste_Roccasecca property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3885571
P641
Q349
USER
Which sport did that person participate in ?
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3885571
relation P641
type Q349
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q3885571 property:P641 ?l . ?l rdf:type ontology:Q349 }
Oreste Roccasecca
action filter_type
action find
entity Oreste Roccasecca
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Oreste_Roccasecca property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3885571
relation P641
type Q349
That person participated in [ANSWER]
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q3885571 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Oreste Roccasecca
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Oreste_Roccasecca property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3885571
P106
Q12737077
USER
Which occupation has Oreste Roccasecca as his/her 's career ?
(Q3885571,P106,c(Q12737077))
action filter_type
action find
entity Q3885571
relation P106
type Q12737077
['Q3885571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3885571 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Oreste Roccasecca
action filter_type
action find
entity Oreste Roccasecca
relation occupation
type occupation
['Oreste Roccasecca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Oreste_Roccasecca property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3885571,P106,c(Q12737077))
action filter_type
action find
entity Q3885571
relation P106
type Q12737077
Player [ANSWER] has Oreste Roccasecca as his/her 's career
['Q3885571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3885571 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
Player association football player has Oreste Roccasecca as his/her 's career
association football player
action filter_type
action find
entity Oreste Roccasecca
relation occupation
type occupation
['Oreste Roccasecca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Oreste_Roccasecca property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21341340
Q12737077
USER
And also tell me about Sean Q. Beeching?
(Q21341340,P106,c(Q12737077))
action filter_type
action find
entity Q21341340
relation P106
type Q12737077
['Q21341340', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q21341340 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Sean Q. Beeching
action filter_type
action find
entity Sean Q. Beeching
relation occupation
type occupation
['Sean Q. Beeching', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sean_Q._Beeching property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q15924544
SYSTEM
lichenologist
Q15924544
(Q21341340,P106,c(Q12737077))
action filter_type
action find
entity Q21341340
relation P106
type Q12737077
[ANSWER]
['Q21341340', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q21341340 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
lichenologist
lichenologist
action filter_type
action find
entity Sean Q. Beeching
relation occupation
type occupation
['Sean Q. Beeching', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sean_Q._Beeching property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21341340
P21
Q290
USER
Which sex does that person have ?
(Q15924544,P21,c(Q290))
action filter_type
action find
entity Q21341340
relation P21
type Q290
['Q15924544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q21341340 property:P21 ?w }
Sean Q. Beeching
action filter_type
action find
entity Sean Q. Beeching
relation gender
type sex
['lichenologist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Sean_Q._Beeching property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15924544,P21,c(Q290))
action filter_type
action find
entity Q21341340
relation P21
type Q290
That person has a [ANSWER]
['Q15924544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q21341340 property:P21 ?w }
male
That person has a male
male
action filter_type
action find
entity Sean Q. Beeching
relation gender
type sex
['lichenologist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Sean_Q._Beeching property:gender ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q774
P530
Q15617994 Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with approximately the same number of administrative territories or political territories as Guatemala ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q774
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P530 resource:Q774 . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?e = ?r ) }
Guatemala
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Guatemala
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:diplomatic_relation resource:Guatemala . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?e = ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q774
relation P530
type Q15617994
type Q1048835
[ANSWERS] have diplomatic relationships with approximately the same number of administrative territories or political territories as Guatemala
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P530 resource:Q774 . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?e = ?r ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with approximately the same number of administrative territories or political territories as Guatemala
Georgia Netherlands Poland
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Guatemala
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:diplomatic_relation resource:Guatemala . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?e = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20
P530
Q15617994 Q15617994 Q1048835
USER
And also tell me about Norway?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q20
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?p WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } . ?c property:P530 resource:Q20 } } . FILTER ( ?e = ?v ) }
Norway
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?p WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } . ?c property:diplomatic_relation resource:Norway } } . FILTER ( ?e = ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q20
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?p WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } . ?c property:P530 resource:Q20 } } . FILTER ( ?e = ?v ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?p WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } . ?c property:diplomatic_relation resource:Norway } } . FILTER ( ?e = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with atmost 58 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 58
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p <= 58 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?b property:P530 ?z . ?b rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?b } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p <= 58 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?b property:diplomatic_relation ?z . ?b rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 58
[ANSWERS] have diplomatic associations with atmost 58 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p <= 58 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?b property:P530 ?z . ?b rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?b } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic associations with atmost 58 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p <= 58 ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?b property:diplomatic_relation ?z . ?b rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2451289
P530
Q1048835
USER
Do Sarilhos Pequenos have diplomatic associations with those ones ?
(Q2451289,P530,Q35) (Q2451289,P530,Q16) (Q2451289,P530,Q40)
action is_in
entity prev_answer
action find
entity Q2451289
relation P530
['Q2451289', 'P530', 'Q35'] ['Q2451289', 'P530', 'Q16'] ['Q2451289', 'P530', 'Q40']
ASK WHERE { resource:Q2451289 property:P530 ?d . VALUES ( ?d ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Sarilhos Pequenos
action is_in
entity prev_answer
action find
entity Sarilhos Pequenos
relation diplomatic relation
['Sarilhos Pequenos', 'diplomatic relation', 'Denmark'] ['Sarilhos Pequenos', 'diplomatic relation', 'Canada'] ['Sarilhos Pequenos', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Sarilhos_Pequenos property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
political territorial entity
SYSTEM
NO
(Q2451289,P530,Q35) (Q2451289,P530,Q16) (Q2451289,P530,Q40)
action is_in
entity prev_answer
action find
entity Q2451289
relation P530
[ANSWER]
['Q2451289', 'P530', 'Q35'] ['Q2451289', 'P530', 'Q16'] ['Q2451289', 'P530', 'Q40']
ASK WHERE { resource:Q2451289 property:P530 ?d . VALUES ( ?d ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
No
action is_in
entity prev_answer
action find
entity Sarilhos Pequenos
relation diplomatic relation
['Sarilhos Pequenos', 'diplomatic relation', 'Denmark'] ['Sarilhos Pequenos', 'diplomatic relation', 'Canada'] ['Sarilhos Pequenos', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Sarilhos_Pequenos property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3885571 Q5841937 Q220
P19
Q56061
USER
Was Oreste Roccasecca born at Kazhi Karan and Rome ?
(Q3885571,P19,Q5841937) (Q3885571,P19,Q220)
action is_in
entity Q3885571
action intersection
action find_reverse
entity Q5841937
relation P19
action find_reverse
entity Q220
relation P19
['Q3885571', 'P19', 'Q5841937'] ['Q3885571', 'P19', 'Q220']
ASK WHERE { resource:Q3885571 property:P19 resource:Q5841937 . resource:Q3885571 property:P19 resource:Q220 }
Oreste Roccasecca Kazhi Karan Rome
action is_in
entity Oreste Roccasecca
action intersection
action find_reverse
entity Kazhi Karan
relation place of birth
action find_reverse
entity Rome
relation place of birth
['Oreste Roccasecca', 'place of birth', 'Kazhi Karan'] ['Oreste Roccasecca', 'place of birth', 'Rome']
ASK WHERE { resource:Oreste_Roccasecca property:place_of_birth resource:Kazhi_Karan . resource:Oreste_Roccasecca property:place_of_birth resource:Rome }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q3885571,P19,Q5841937) (Q3885571,P19,Q220)
action is_in
entity Q3885571
action intersection
action find_reverse
entity Q5841937
relation P19
action find_reverse
entity Q220
relation P19
[ANSWER]
['Q3885571', 'P19', 'Q5841937'] ['Q3885571', 'P19', 'Q220']
ASK WHERE { resource:Q3885571 property:P19 resource:Q5841937 . resource:Q3885571 property:P19 resource:Q220 }
NO and YES respectively
action is_in
entity Oreste Roccasecca
action intersection
action find_reverse
entity Kazhi Karan
relation place of birth
action find_reverse
entity Rome
relation place of birth
['Oreste Roccasecca', 'place of birth', 'Kazhi Karan'] ['Oreste Roccasecca', 'place of birth', 'Rome']
ASK WHERE { resource:Oreste_Roccasecca property:place_of_birth resource:Kazhi_Karan . resource:Oreste_Roccasecca property:place_of_birth resource:Rome }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q854
P530
Q15617994 Q1048835
USER
How many administrative territories have a diplomatic relationship with more number of political territories than Sri Lanka ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?q ) WHERE { ?f property:P530 ?p . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q854 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?g ) }
Sri Lanka
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?q ) WHERE { ?f property:diplomatic_relation ?p . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?g ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?q ) WHERE { ?f property:P530 ?p . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q854 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?g ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?q ) WHERE { ?f property:diplomatic_relation ?p . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q79
P530
Q15617994 Q1048835
USER
And also tell me about Egypt?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q79
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q79 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?i ) }
Egypt
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Egypt
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Egypt property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?i ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q155 Q38
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q79
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q79 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?i ) }
Brazil Italy
2
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Egypt
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Egypt property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?i ) }
[]