Simple Question (Direct)
Simple Question
Q6387900
P641
Q349
USER
Which sport was Ken Jones a part of ?
(Q6387900,P641,c(Q349))
action filter_type
action find
entity Q6387900
relation P641
type Q349
['Q6387900', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q6387900 property:P641 ?s . ?s rdf:type ontology:Q349 }
Ken Jones
action filter_type
action find
entity Ken Jones
relation sport
type sport
['Ken Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Ken_Jones property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6387900,P641,c(Q349))
action filter_type
action find
entity Q6387900
relation P641
type Q349
Which sport was Ken Jones a part of
['Q6387900', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q6387900 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Which sport was Ken Jones a part of
association football
action filter_type
action find
entity Ken Jones
relation sport
type sport
['Ken Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Ken_Jones property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6387900
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ken Jones ?
(Q6387900,P27,c(Q15617994))
action filter_type
action find
entity Q6387900
relation P27
type Q15617994
['Q6387900', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6387900 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Ken Jones
action filter_type
action find
entity Ken Jones
relation country of citizenship
type designation for an administrative territorial entity
['Ken Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ken_Jones property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6387900,P27,c(Q15617994))
action filter_type
action find
entity Q6387900
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ken Jones
['Q6387900', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6387900 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Ken Jones
United Kingdom
action filter_type
action find
entity Ken Jones
relation country of citizenship
type designation for an administrative territorial entity
['Ken Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ken_Jones property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6387900
P734
Q82799
USER
Which name is associated with that person ?
(Q145,P734,c(Q82799))
action filter_type
action find
entity Q6387900
relation P734
type Q82799
['Q145', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q6387900 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Ken Jones
action filter_type
action find
entity Ken Jones
relation family name
type name
['United Kingdom', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Ken_Jones property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q145,P734,c(Q82799))
action filter_type
action find
entity Q6387900
relation P734
type Q82799
[ANSWER] is associated with that person
['Q145', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q6387900 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Jones
Jones is associated with that person
Jones
action filter_type
action find
entity Ken Jones
relation family name
type name
['United Kingdom', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Ken_Jones property:family_name ?p . ?p rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q59853 Q1860 Q3361765
P407
Q34770
USER
Is that name composed in English and Southern Pame ?
(Q59853,P407,Q1860) (Q59853,P407,Q3361765)
action is_in
entity Q59853
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q3361765
relation P407
['Q59853', 'P407', 'Q1860'] ['Q59853', 'P407', 'Q3361765']
ASK WHERE { resource:Q59853 property:P407 resource:Q1860 . resource:Q59853 property:P407 resource:Q3361765 }
Jones English Southern Pame
action is_in
entity Jones
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Southern Pame
relation language of work or name
['Jones', 'language of work or name', 'English'] ['Jones', 'language of work or name', 'Southern Pame']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:English . resource:Jones property:language_of_work_or_name resource:Southern_Pame }
[]
language
SYSTEM
YES and NO respectively
(Q59853,P407,Q1860) (Q59853,P407,Q3361765)
action is_in
entity Q59853
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q3361765
relation P407
[ANSWER]
['Q59853', 'P407', 'Q1860'] ['Q59853', 'P407', 'Q3361765']
ASK WHERE { resource:Q59853 property:P407 resource:Q1860 . resource:Q59853 property:P407 resource:Q3361765 }
YES and NO respectively
action is_in
entity Jones
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Southern Pame
relation language of work or name
['Jones', 'language of work or name', 'English'] ['Jones', 'language of work or name', 'Southern Pame']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:English . resource:Jones property:language_of_work_or_name resource:Southern_Pame }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q59853
P734
Q15619164 Q95074
USER
How many abstract beings or fictional characters have Jones as surname ?
(c(Q15619164),P734,Q59853) (c(Q95074),P734,Q59853)
action count
action union
action filter_type
action find_reverse
entity Q59853
relation P734
type Q15619164
action filter_type
action find_reverse
entity Q59853
relation P734
type Q95074
[{'concept': 'Q15619164'}, 'P734', 'Q59853'] [{'concept': 'Q95074'}, 'P734', 'Q59853']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P734 resource:Q59853 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P734 resource:Q59853 . ?u rdf:type ontology:Q95074 } }
Jones
action count
action union
action filter_type
action find_reverse
entity Jones
relation family name
type abstract being
action filter_type
action find_reverse
entity Jones
relation family name
type fictional character
[{'concept': 'abstract being'}, 'family name', 'Jones'] [{'concept': 'fictional character'}, 'family name', 'Jones']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:family_name resource:Jones . ?u rdf:type ontology:abstract_being } UNION { ?u property:family_name resource:Jones . ?u rdf:type ontology:fictional_character } }
[]
abstract being fictional character
SYSTEM
4
Q913841 Q937126 Q148659 Q2271377
(c(Q15619164),P734,Q59853) (c(Q95074),P734,Q59853)
action count
action union
action filter_type
action find_reverse
entity Q59853
relation P734
type Q15619164
action filter_type
action find_reverse
entity Q59853
relation P734
type Q95074
[ANSWER]
[{'concept': 'Q15619164'}, 'P734', 'Q59853'] [{'concept': 'Q95074'}, 'P734', 'Q59853']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P734 resource:Q59853 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P734 resource:Q59853 . ?u rdf:type ontology:Q95074 } }
Bridget Jones Samantha Jones Indiana Jones Jessica Jones
4
action count
action union
action filter_type
action find_reverse
entity Jones
relation family name
type abstract being
action filter_type
action find_reverse
entity Jones
relation family name
type fictional character
[{'concept': 'abstract being'}, 'family name', 'Jones'] [{'concept': 'fictional character'}, 'family name', 'Jones']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:family_name resource:Jones . ?u rdf:type ontology:abstract_being } UNION { ?u property:family_name resource:Jones . ?u rdf:type ontology:fictional_character } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6387900
P19
Q56061
USER
Which administrative territory is the place of birth of Ken Jones ?
(Q6387900,P19,c(Q56061))
action filter_type
action find
entity Q6387900
relation P19
type Q56061
['Q6387900', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6387900 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Ken Jones
action filter_type
action find
entity Ken Jones
relation place of birth
type administrative territorial entity
['Ken Jones', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ken_Jones property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q990168
SYSTEM
Keighley
Q990168
(Q6387900,P19,c(Q56061))
action filter_type
action find
entity Q6387900
relation P19
type Q56061
[ANSWER] is the place of birth of Ken Jones
['Q6387900', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6387900 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Keighley
Keighley is the place of birth of Ken Jones
Keighley
action filter_type
action find
entity Ken Jones
relation place of birth
type administrative territorial entity
['Ken Jones', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ken_Jones property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q335164
Q56061
USER
And also tell me about Hong Song-nam?
(Q335164,P19,c(Q56061))
action filter_type
action find
entity Q335164
relation P19
type Q56061
['Q335164', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q335164 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Hong Song-nam
action filter_type
action find
entity Hong Song-nam
relation place of birth
type administrative territorial entity
['Hong Song-nam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hong_Song-nam property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42147
SYSTEM
Cheongju
Q42147
(Q335164,P19,c(Q56061))
action filter_type
action find
entity Q335164
relation P19
type Q56061
[ANSWER]
['Q335164', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q335164 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Cheongju
Cheongju
action filter_type
action find
entity Hong Song-nam
relation place of birth
type administrative territorial entity
['Hong Song-nam', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hong_Song-nam property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q335164 Q626393
P19
Q56061
USER
How many administrative territories were Hong Song-nam or Arash born ?
(Q335164,P19,c(Q56061)) (Q626393,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q335164
relation P19
type Q56061
action filter_type
action find
entity Q626393
relation P19
type Q56061
['Q335164', 'P19', {'concept': 'Q56061'}] ['Q626393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { resource:Q335164 property:P19 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q626393 property:P19 ?k . ?k rdf:type ontology:Q56061 } }
Hong Song-nam Arash
action count
action union
action filter_type
action find
entity Hong Song-nam
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Arash
relation place of birth
type administrative territorial entity
['Hong Song-nam', 'place of birth', {'concept': 'administrative territorial entity'}] ['Arash', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { resource:Hong_Song-nam property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:Arash property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q42147 Q331078
(Q335164,P19,c(Q56061)) (Q626393,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q335164
relation P19
type Q56061
action filter_type
action find
entity Q626393
relation P19
type Q56061
[ANSWER]
['Q335164', 'P19', {'concept': 'Q56061'}] ['Q626393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { resource:Q335164 property:P19 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q626393 property:P19 ?k . ?k rdf:type ontology:Q56061 } }
Cheongju Amol
2
action count
action union
action filter_type
action find
entity Hong Song-nam
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Arash
relation place of birth
type administrative territorial entity
['Hong Song-nam', 'place of birth', {'concept': 'administrative territorial entity'}] ['Arash', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { resource:Hong_Song-nam property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:Arash property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216787
P53
Q8436
USER
What is the family that David I of Scotland belongs to ?
(Q216787,P53,c(Q8436))
action filter_type
action find
entity Q216787
relation P53
type Q8436
['Q216787', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?a WHERE { resource:Q216787 property:P53 ?a . ?a rdf:type ontology:Q8436 }
David I of Scotland
action filter_type
action find
entity David I of Scotland
relation noble family
type family
['David I of Scotland', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?a WHERE { resource:David_I_of_Scotland property:noble_family ?a . ?a rdf:type ontology:family }
[]
family
Q1590107
SYSTEM
House of Dunkeld
Q1590107
(Q216787,P53,c(Q8436))
action filter_type
action find
entity Q216787
relation P53
type Q8436
The family that David I of Scotland belongs to is the [ANSWER]
['Q216787', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?a WHERE { resource:Q216787 property:P53 ?a . ?a rdf:type ontology:Q8436 }
House of Dunkeld
The family that David I of Scotland belongs to is the House of Dunkeld
House of Dunkeld
action filter_type
action find
entity David I of Scotland
relation noble family
type family
['David I of Scotland', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?a WHERE { resource:David_I_of_Scotland property:noble_family ?a . ?a rdf:type ontology:family }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q668
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of political territories and administrative territories than India ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q668
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P530 resource:Q668 . { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 } } } } . FILTER ( ?l < ?o ) }
India
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity India
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:diplomatic_relation resource:India . { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l < ?o ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
150
Q702 Q804 Q800 Q419 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 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q668
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P530 resource:Q668 . { { ?w rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q1048835 } } } } . FILTER ( ?l < ?o ) }
Federated States of Micronesia Panama Costa Rica Peru 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 Togo Tonga Spain New Caledonia Thailand
150
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity India
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:diplomatic_relation resource:India . { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q117
P530
Q15617994 Q1048835 Q15617994
USER
And what about Ghana?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q117
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P530 resource:Q117 . { { ?g rdf:type ontology:Q1048835 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?d < ?p ) }
Ghana
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Ghana
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:diplomatic_relation resource:Ghana . { { ?g rdf:type ontology:political_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?d < ?p ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
58
Q702 Q804 Q784 Q265 Q712 Q710 Q837 Q398 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q232 Q238 Q1045 Q921 Q1027 Q1020 Q842 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q754 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q117
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P530 resource:Q117 . { { ?g rdf:type ontology:Q1048835 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?d < ?p ) }
Federated States of Micronesia Panama Dominica Uzbekistan Fiji Kiribati Nepal Bahrain Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Kazakhstan San Marino Somalia Brunei Mauritius Malawi Oman Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Togo Tonga New Caledonia
58
action count
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Ghana
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:diplomatic_relation resource:Ghana . { { ?g rdf:type ontology:political_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?d < ?p ) }
[]