Simple Question (Direct)
Simple Question
Q5748866
P119
Q43229
USER
Which organization is the tomb of Jan Gabrielsson ?
(Q5748866,P119,c(Q43229))
action filter_type
action find
entity Q5748866
relation P119
type Q43229
['Q5748866', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q5748866 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Jan Gabrielsson
action filter_type
action find
entity Jan Gabrielsson
relation place of burial
type organization
['Jan Gabrielsson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Gabrielsson property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
organization
Q4353116
SYSTEM
Uppsala old cemetery
Q4353116
(Q5748866,P119,c(Q43229))
action filter_type
action find
entity Q5748866
relation P119
type Q43229
In [ANSWER] is the tomb of Jan Gabrielsson
['Q5748866', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q5748866 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Uppsala old cemetery
In Uppsala old cemetery is the tomb of Jan Gabrielsson
Uppsala old cemetery
action filter_type
action find
entity Jan Gabrielsson
relation place of burial
type organization
['Jan Gabrielsson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Gabrielsson property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5748866
P734
Q82799
USER
Who has the surname Jan Gabrielsson ?
(Q5748866,P734,c(Q82799))
action filter_type
action find
entity Q5748866
relation P734
type Q82799
['Q5748866', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5748866 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Jan Gabrielsson
action filter_type
action find
entity Jan Gabrielsson
relation family name
type name
['Jan Gabrielsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Gabrielsson property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q1490699
SYSTEM
Gabrielsson
Q1490699
(Q5748866,P734,c(Q82799))
action filter_type
action find
entity Q5748866
relation P734
type Q82799
[ANSWER] has the surname Jan [ANSWER]
['Q5748866', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5748866 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Gabrielsson
Gabrielsson has the surname Jan Gabrielsson
Gabrielsson
action filter_type
action find
entity Jan Gabrielsson
relation family name
type name
['Jan Gabrielsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Gabrielsson property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5748866
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jan Gabrielsson ?
(Q5748866,P27,c(Q15617994))
action filter_type
action find
entity Q5748866
relation P27
type Q15617994
['Q5748866', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5748866 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Jan Gabrielsson
action filter_type
action find
entity Jan Gabrielsson
relation country of citizenship
type designation for an administrative territorial entity
['Jan Gabrielsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Gabrielsson property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5748866,P27,c(Q15617994))
action filter_type
action find
entity Q5748866
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Jan Gabrielsson
['Q5748866', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5748866 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Sweden
Sweden is the country of citizenship of Jan Gabrielsson
Sweden
action filter_type
action find
entity Jan Gabrielsson
relation country of citizenship
type designation for an administrative territorial entity
['Jan Gabrielsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Jan_Gabrielsson property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17212660
Q15617994
USER
And how about Natsuhi Misora?
(Q17212660,P27,c(Q15617994))
action filter_type
action find
entity Q17212660
relation P27
type Q15617994
['Q17212660', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q17212660 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Natsuhi Misora
action filter_type
action find
entity Natsuhi Misora
relation country of citizenship
type designation for an administrative territorial entity
['Natsuhi Misora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Natsuhi_Misora property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q17212660,P27,c(Q15617994))
action filter_type
action find
entity Q17212660
relation P27
type Q15617994
[ANSWER]
['Q17212660', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q17212660 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Natsuhi Misora
relation country of citizenship
type designation for an administrative territorial entity
['Natsuhi Misora', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Natsuhi_Misora property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q736
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with less number of administrative territories than Ecuador ?
(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 Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?x ) WHERE { ?j property:P530 ?w . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q736 property:P530 ?l } } }
Ecuador
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 Ecuador
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?x ) WHERE { ?j property:diplomatic_relation ?w . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ecuador property:diplomatic_relation ?l } } }
[]
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 Q736
relation P530
type Q15617994
[ANSWERS] have tactful political relations with less number of administrative territories than Ecuador
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?x ) WHERE { ?j property:P530 ?w . ?j rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q736 property:P530 ?l } } }
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 have tactful political relations with less number of administrative territories than Ecuador
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 Ecuador
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?x ) WHERE { ?j property:diplomatic_relation ?w . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ecuador property:diplomatic_relation ?l } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q219
P530
Q15617994 Q15617994
USER
And how about Bulgaria?
(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 Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q219 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?v ) WHERE { ?z property:P530 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?z } }
Bulgaria
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 Bulgaria
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 ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Bulgaria property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?v ) WHERE { ?z property:diplomatic_relation ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]
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 Q219
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q219 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?v ) WHERE { ?z property:P530 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?z } }
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 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 Bulgaria
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 ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Bulgaria property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?v ) WHERE { ?z property:diplomatic_relation ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q414
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with lesser number of political territories or administrative territories than Argentina ?
(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 Q414
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?e rdf:type ?i } GROUP BY ?t } . FILTER ( ?k < ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P530 resource:Q414 . { ?x rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Argentina
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 Argentina
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 ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?t WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?e rdf:type ?i } GROUP BY ?t } . FILTER ( ?k < ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:diplomatic_relation resource:Argentina . { ?x rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
142
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 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 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 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 Q414
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?t WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?e rdf:type ?i } GROUP BY ?t } . FILTER ( ?k < ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P530 resource:Q414 . { ?x rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti 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 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 Togo Tonga Spain New Caledonia Thailand
142
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 Argentina
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 ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?t WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?e rdf:type ?i } GROUP BY ?t } . FILTER ( ?k < ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:diplomatic_relation resource:Argentina . { ?x rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q8436 Q151885 Q82799
USER
Which names are a portion of exactly 1 families and concepts ?
(c(Q82799),P361,c(Q8436)|c(Q151885))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?p WHERE { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8436 ) ( ontology:Q151885 ) } } GROUP BY ?p } . FILTER ( ?w = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?p WHERE { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:family ) ( ontology:concept ) } } GROUP BY ?p } . FILTER ( ?w = 1 ) }
[]
family concept name
Q1058384 Q746990 Q876933
SYSTEM
hakham, Brahman, magi
Q1058384 Q235598 Q742083 Q746990 Q876933
(c(Q82799),P361,c(Q8436)|c(Q151885))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[ANSWERS] are a portion of exactly 1 families and concepts
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?p WHERE { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8436 ) ( ontology:Q151885 ) } } GROUP BY ?p } . FILTER ( ?w = 1 ) }
hakham Piso Princes of Paliano Brahman magi
Hakham, Brahman and magi are a portion of exactly 1 families and concepts
hakham Brahman magi
action equal
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?p WHERE { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:family ) ( ontology:concept ) } } GROUP BY ?p } . FILTER ( ?w = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q746990
P140
Q874405
USER
What is the religion associated with that name ?
(Q746990,P140,c(Q874405))
action filter_type
action find
entity Q746990
relation P140
type Q874405
['Q746990', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q746990 property:P140 ?t . ?t rdf:type ontology:Q874405 }
Brahman
action filter_type
action find
entity Brahman
relation religion
type social group
['Brahman', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Brahman property:religion ?t . ?t rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q1058384
SYSTEM
Did you mean hakham ?
Q1058384 Q746990 Q876933
(Q1058384,P140,c(Q874405)) (Q746990,P140,c(Q874405)) (Q876933,P140,c(Q874405))
[ANSWER]
['Q1058384', 'P140', {'concept': 'Q874405'}] ['Q746990', 'P140', {'concept': 'Q874405'}] ['Q876933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q746990 property:P140 ?t . ?t rdf:type ontology:Q874405 }
hakham Brahman magi
Did you mean hakham ?
hakham
['hakham', 'religion', {'concept': 'social group'}] ['Brahman', 'religion', {'concept': 'social group'}] ['magi', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Brahman property:religion ?t . ?t rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Brahman. Could you tell me the answer for that?
(Q746990,P140,c(Q874405))
Q746990
['Q746990', 'P140', {'concept': 'Q874405'}]
['Brahman', 'religion', {'concept': 'social group'}]
[]
Q9089
SYSTEM
Hinduism
Q9089
(Q746990,P140,c(Q874405))
action filter_type
action find
entity Q746990
relation P140
type Q874405
The religion associated with that name is called [ANSWER]
['Q746990', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q746990 property:P140 ?t . ?t rdf:type ontology:Q874405 }
Hinduism
The religion associated with that name is called Hinduism
Hinduism
action filter_type
action find
entity Brahman
relation religion
type social group
['Brahman', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Brahman property:religion ?t . ?t rdf:type ontology:social_group }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q874405 Q82799 Q895526
USER
How many social groups are around the same number of names and authority organs a component of as that social group ?
(c(Q82799)|c(Q895526),P361,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q874405
type Q82799
action find_reverse_tuple_counts
relation P361
type Q874405
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q9089
relation P361
type Q82799
type Q895526
[[{'concept': 'Q82799'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q82799 ) ( ontology:Q895526 ) } . ?f rdf:type ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P361 resource:Q9089 . { { ?h rdf:type ontology:Q82799 } UNION { ?h rdf:type ontology:Q895526 } } } } . FILTER ( ?m = ?i ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type social group
type name
action find_reverse_tuple_counts
relation part of
type social group
type authority organ
action count
action filter_multi_types
action find_reverse
entity Hinduism
relation part of
type name
type authority organ
[[{'concept': 'name'}, {'concept': 'authority organ'}], 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?a WHERE { VALUES ( ?d ) { ( ontology:name ) ( ontology:authority_organ ) } . ?f rdf:type ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:part_of resource:Hinduism . { { ?h rdf:type ontology:name } UNION { ?h rdf:type ontology:authority_organ } } } } . FILTER ( ?m = ?i ) }
[]
social group name authority organ
SYSTEM
231
Q16487798 Q1985795 Q367413 Q18091480 Q17577069 Q2091996 Q7477846 Q785982 Q6953636 Q4824626 Q2899709 Q797944 Q18561936 Q1182568 Q3371163 Q889833 Q31901 Q1009631 Q3643607 Q5053183 Q701210 Q3183889 Q82494 Q9089 Q3843132 Q26257568 Q391083 Q7773277 Q34490 Q17101764 Q32506 Q11000047 Q3752357 Q3065528 Q7423209 Q1165836 Q2892366 Q2117711 Q2605404 Q9316 Q854218 Q2088357 Q7572415 Q19899965 Q427961 Q1534158 Q49653 Q17127659 Q709073 Q849730 Q23540 Q3250126 Q194497 Q755970 Q21043526 Q9634288 Q970026 Q1674127 Q1130378 Q19822449 Q20642757 Q20821203 Q159386 Q965093 Q5043 Q432 Q850181 Q540754 Q19637240 Q18234380 Q927143 Q21080465 Q8908 Q41726 Q15053881 Q16994191 Q1841 Q18530734 Q103817 Q19691801 Q3177526 Q431534 Q7851349 Q9268 Q466524 Q18527697 Q21108884 Q3136847 Q19899775 Q2086469 Q924774 Q668310 Q3330843 Q3330841 Q17496304 Q2679662 Q21009644 Q83201 Q20888877 Q3100284 Q60427 Q1132127 Q20734180 Q24300931 Q20734717 Q19832359 Q4922087 Q20734718 Q2459712 Q13417611 Q5028829 Q4809116 Q876040 Q1194049 Q831090 Q20821137 Q16923185 Q3510838 Q692884 Q16853742 Q43456 Q454940 Q954007 Q4007363 Q275051 Q320863 Q3065018 Q227508 Q889497 Q642949 Q29536 Q60497 Q16034235 Q17512468 Q7915590 Q540701 Q191159 Q2256718 Q484652 Q2119267 Q3510861 Q3738870 Q316988 Q6820584 Q1667616 Q18527401 Q3065144 Q1089760 Q16931347 Q14865096 Q896346 Q4783847 Q20821258 Q6867 Q2587335 Q6148135 Q22550461 Q153946 Q1743621 Q2117771 Q1376324 Q20734121 Q29325 Q3152168 Q6458663 Q6867616 Q2635997 Q20962477 Q20732642 Q7552397 Q4743596 Q20823508 Q1042167 Q17511633 Q5976683 Q447131 Q149964 Q19921937 Q19869544 Q714601 Q4830453 Q283639 Q5213038 Q15506975 Q3510846 Q3510840 Q826858 Q919715 Q3046146 Q911673 Q747802 Q1788999 Q3814366 Q7424685 Q619248 Q18528141 Q18091514 Q20748887 Q858819 Q2419580 Q2927617 Q431363 Q704151 Q683095 Q2978945 Q5672310 Q1310001 Q7615983 Q1250875 Q43482 Q5549521 Q15663631 Q9232 Q19899949 Q3510858 Q14544459 Q1086440 Q2061186 Q3818222 Q75809 Q1138165 Q7110004 Q146715 Q824340 Q376150 Q17278384 Q47928 Q646085 Q17059155 Q16841659 Q1779527
(c(Q82799)|c(Q895526),P361,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q874405
type Q82799
action find_reverse_tuple_counts
relation P361
type Q874405
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q9089
relation P361
type Q82799
type Q895526
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q82799 ) ( ontology:Q895526 ) } . ?f rdf:type ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P361 resource:Q9089 . { { ?h rdf:type ontology:Q82799 } UNION { ?h rdf:type ontology:Q895526 } } } } . FILTER ( ?m = ?i ) }
Alfani Seven Parthian clans International Red Aid The Doll Family French national team U23 National Association of Evangelicals National Health and Family Planning Commission United States Army Forces Command Nexa Center for Internet and Society Australian Rugby League Commission Bertrand de Beauvoir family Babylonian religion Nottingham City Museums and Galleries Defective by Design China Writers Association Monarchy of Spain Joint Special Operations Command Bunnag family Brancacci Catholic Independent Schools Vancouver Archdiocese Council of Indigenous Peoples Jorge Silva and Marta Rodríguez National Center for Biotechnology Information Hinduism Maggie's Centres Frederik de Wit Pasteur Institute The Walkers of Southgate al-Qaeda International Commission Against the Death Penalty National Coalition for Syrian Revolutionary and Opposition Forces health system Abbagnale brothers Tassel family Sarasin family State Council I Corps Senate of Uzbekistan tribes of Israel Sikhism United Nations System musical ensemble Tiki culture Wynn family metropolis Goethe ARD terrorist organization Council for Hakka Affairs, Taiwan Soviet space program Protestantism Naval History & Heritage Command Historical Vedic religion Syriac Catholic Church Schuncke Chau Wing-tai family Ugaritic religion Islamic Republic of Iran Broadcasting Persian mythology in-law family Fatah Halab Pryse family Rothschild family Mormon fundamentalism Christianity Islam Situationist International Anglican Church in Aotearoa, New Zealand and Polynesia Rossignols Cecil family stepfamily Wood family of potters Council of Europe freemasonry Irvine family Holtzapffel Catholicism Rice family indigenous peoples Army of Conquest Jersey Heritage Association des États Généraux des Étudiants de l'Europe Tudors of Penmynydd Judaism American Psychiatric Association Dicey family Humane Society International Forty-seven Ronin Brandard Maison du Roi secular clergy Parrocel family musée de la ville de Paris Musées de Poitiers Camidge Public Centre for Social Welfare Norway national cycling team Non-Aligned Movement Bassano Gellibert des Seguins World Association of Zoos and Aquariums hip hop Rees family Niehoff family Wogan family Lloyd George family Thai Red Cross Society Wynn family Commission on Elections NATO Standardization Agency Camões family Associació Catalana de Rugby Lliga Wikipedia community House of Elders Brueghel Griffith family Swire family Senate Federation of Swiss Protestant Churches Mac Fhirbhisigh Soviet Army North Side Gang affinity ITU Telecommunication Standardization Sector Sumerian religion World Bank Group Carradine family 36 Boys Bodenehr European Olympic Committees paganism Slate Fustel family Mujahideen Shura Council Soviet Armed Forces Union Académique Internationale working class Swiss National Museum international organization Senate of the Dominican Republic Senate Getty family Kösener Senioren-Convents-Verband Merseyside Skeptics Society International Music Council Dalziel family Francine family Church Mission Society Mostyn baronets Jitsakul family Tischbein Arakkal Yale family International Astronomical Union Royal Artillery People's Liberation Army General Political Department Bergonzi punk subculture Gujarat Legislative Assembly Senate of Swaziland European Association for Chemical and Molecular Sciences Painter family National Socialist Underground Lille institute for molecular and condensed matter LIGO Scientific Collaboration Ministry of Transport Mayan Council of Agriculture, Executive Yuan, R.O.C.(Taiwan) Barker family Royal Society of Biology American Dental Association American national team Ministry of Education of the People's Republic of China Syrian Revolutionary Command Council I Corps religion of ancient Egypt Eurogroup Berger family Anson family Predynastic Period of Egypt business enterprise World Council of Churches DanChurchAid Quandt family Senate Senate International Federation of the Phonographic Industry British Medical Association married couple Longman Mormonism Francken Keldermans family Sartorius family Dál gCais Hayllar family Flick family Vaughan family Free Syrian Army Alliance Française in Poland Buena Vista Society of Experimental Test Pilots Arsacid dynasty of Armenia Warburg Institute regular clergy Shelvoke family Erste Group Stewart of Balquhidder European Union Military Staff Franks Confederación Española de Centros de Estudios Locales Soong family Jainism Turberville family Senate Boch family Yoruba religion religious order Weiquan movement Lutheranism Ngāti Kahungunu Ottoz family Illyrians demoscene International Telecommunication Union van Waesberghe family circus House of Nassau IUPAC Inorganic Chemistry Division Havell family Studentenverbindung
231
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type social group
type name
action find_reverse_tuple_counts
relation part of
type social group
type authority organ
action count
action filter_multi_types
action find_reverse
entity Hinduism
relation part of
type name
type authority organ
[[{'concept': 'name'}, {'concept': 'authority organ'}], 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?a WHERE { VALUES ( ?d ) { ( ontology:name ) ( ontology:authority_organ ) } . ?f rdf:type ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:part_of resource:Hinduism . { { ?h rdf:type ontology:name } UNION { ?h rdf:type ontology:authority_organ } } } } . FILTER ( ?m = ?i ) }
[]