Simple Question (Direct)
Simple Question
Q6816310
P1040
Q502895
USER
Who has editted Men on the Bridge ?
(Q6816310,P1040,c(Q502895))
action filter_type
action find
entity Q6816310
relation P1040
type Q502895
['Q6816310', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6816310 property:P1040 ?q . ?q rdf:type ontology:Q502895 }
Men on the Bridge
action filter_type
action find
entity Men on the Bridge
relation film editor
type common name
['Men on the Bridge', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Men_on_the_Bridge property:film_editor ?q . ?q rdf:type ontology:common_name }
[]
common name
Q21899397
SYSTEM
Vessela Martschewski
Q21899397
(Q6816310,P1040,c(Q502895))
action filter_type
action find
entity Q6816310
relation P1040
type Q502895
[ANSWER] has editted Men on the Bridge
['Q6816310', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6816310 property:P1040 ?q . ?q rdf:type ontology:Q502895 }
Vessela Martschewski
Vessela Martschewski has editted Men on the Bridge
Vessela Martschewski
action filter_type
action find
entity Men on the Bridge
relation film editor
type common name
['Men on the Bridge', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Men_on_the_Bridge property:film_editor ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6816310
P840
Q56061
USER
Which is the narrative location of Men on the Bridge ?
(Q6816310,P840,c(Q56061))
action filter_type
action find
entity Q6816310
relation P840
type Q56061
['Q6816310', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6816310 property:P840 ?r . ?r rdf:type ontology:Q56061 }
Men on the Bridge
action filter_type
action find
entity Men on the Bridge
relation narrative location
type administrative territorial entity
['Men on the Bridge', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Men_on_the_Bridge property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406
SYSTEM
Istanbul
Q406
(Q6816310,P840,c(Q56061))
action filter_type
action find
entity Q6816310
relation P840
type Q56061
[ANSWER] is the narrative location of Men on the Bridge
['Q6816310', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6816310 property:P840 ?r . ?r rdf:type ontology:Q56061 }
Istanbul
Istanbul is the narrative location of Men on the Bridge
Istanbul
action filter_type
action find
entity Men on the Bridge
relation narrative location
type administrative territorial entity
['Men on the Bridge', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Men_on_the_Bridge property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21899397
P27
Q15617994
USER
Which administrative territory is Vessela Martschewski an inhabitant of ?
(Q21899397,P27,c(Q15617994))
action filter_type
action find
entity Q21899397
relation P27
type Q15617994
['Q21899397', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q21899397 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Vessela Martschewski
action filter_type
action find
entity Vessela Martschewski
relation country of citizenship
type designation for an administrative territorial entity
['Vessela Martschewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vessela_Martschewski property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q21899397,P27,c(Q15617994))
action filter_type
action find
entity Q21899397
relation P27
type Q15617994
[ANSWER] is Vessela Martschewski an inhabitant of
['Q21899397', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q21899397 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria is Vessela Martschewski an inhabitant of
Bulgaria
action filter_type
action find
entity Vessela Martschewski
relation country of citizenship
type designation for an administrative territorial entity
['Vessela Martschewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vessela_Martschewski property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4118174
Q15617994
USER
And also tell me about Fathi Eljahmi?
(Q4118174,P27,c(Q15617994))
action filter_type
action find
entity Q4118174
relation P27
type Q15617994
['Q4118174', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4118174 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Fathi Eljahmi
action filter_type
action find
entity Fathi Eljahmi
relation country of citizenship
type designation for an administrative territorial entity
['Fathi Eljahmi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Fathi_Eljahmi property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q4118174,P27,c(Q15617994))
action filter_type
action find
entity Q4118174
relation P27
type Q15617994
[ANSWER]
['Q4118174', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4118174 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Libya
Libya
action filter_type
action find
entity Fathi Eljahmi
relation country of citizenship
type designation for an administrative territorial entity
['Fathi Eljahmi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Fathi_Eljahmi property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did approximately the same number of releases originate as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q1016
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?r ) WHERE { ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2031291 . ?j property:P495 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q1016 property:P495 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?k ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Libya
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?r ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:release . ?j property:country_of_origin ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Libya property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?k ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q1016
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?r ) WHERE { ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2031291 . ?j property:P495 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q1016 property:P495 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?k ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Libya
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?r ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:release . ?j property:country_of_origin ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Libya property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219
P551
Q502895
USER
Which people have residence at Bulgaria ?
(c(Q502895),P551,Q219)
action filter_type
action find_reverse
entity Q219
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q219']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q219 . ?v rdf:type ontology:Q502895 }
Bulgaria
action filter_type
action find_reverse
entity Bulgaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bulgaria']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Bulgaria . ?v rdf:type ontology:common_name }
[]
common name
Q5395957 Q22343728 Q4718098
SYSTEM
Erukhan, Christiana Louizu, Alexandar Komanov
Q5395957 Q5210914 Q4718098 Q22343728 Q13512704
(c(Q502895),P551,Q219)
action filter_type
action find_reverse
entity Q219
relation P551
type Q502895
[ANSWERS] have residence at Bulgaria
[{'concept': 'Q502895'}, 'P551', 'Q219']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q219 . ?v rdf:type ontology:Q502895 }
Erukhan Dalia Zafirova Alexandar Komanov Christiana Louizu Nadejda Vassileva
Erukhan, Christiana Louizu and Alexandar Komanov have residence at Bulgaria
Erukhan Christiana Louizu Alexandar Komanov
action filter_type
action find_reverse
entity Bulgaria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bulgaria']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Bulgaria . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4718098
P21
Q290
USER
Which sex does that person have ?
(Q4718098,P21,c(Q290))
action filter_type
action find
entity Q4718098
relation P21
type Q290
['Q4718098', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q4718098 property:P21 ?i . ?i rdf:type ontology:Q290 }
Alexandar Komanov
action filter_type
action find
entity Alexandar Komanov
relation gender
type sex
['Alexandar Komanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Alexandar_Komanov property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q22343728
SYSTEM
Did you mean Christiana Louizu ?
Q5395957 Q22343728 Q4718098
(Q5395957,P21,c(Q290)) (Q22343728,P21,c(Q290)) (Q4718098,P21,c(Q290))
[ANSWER]
['Q5395957', 'P21', {'concept': 'Q290'}] ['Q22343728', 'P21', {'concept': 'Q290'}] ['Q4718098', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q4718098 property:P21 ?i . ?i rdf:type ontology:Q290 }
Erukhan Christiana Louizu Alexandar Komanov
Did you mean Christiana Louizu ?
Christiana Louizu
['Erukhan', 'gender', {'concept': 'sex'}] ['Christiana Louizu', 'gender', {'concept': 'sex'}] ['Alexandar Komanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Alexandar_Komanov property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Alexandar Komanov. Could you tell me the answer for that?
(Q4718098,P21,c(Q290))
Q4718098
['Q4718098', 'P21', {'concept': 'Q290'}]
['Alexandar Komanov', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q4718098,P21,c(Q290))
action filter_type
action find
entity Q4718098
relation P21
type Q290
That person has a [ANSWER]
['Q4718098', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q4718098 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Alexandar Komanov
relation gender
type sex
['Alexandar Komanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Alexandar_Komanov property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1016
P137
Q3084961
USER
Which product lining can be described as facility operator of Libya ?
(c(Q3084961),P137,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q1016']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q1016 . ?m rdf:type ontology:Q3084961 }
Libya
action filter_type
action find_reverse
entity Libya
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Libya']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:Libya . ?m rdf:type ontology:product_lining }
[]
product lining
Q142549
SYSTEM
Il-76
Q142549
(c(Q3084961),P137,Q1016)
action filter_type
action find_reverse
entity Q1016
relation P137
type Q3084961
[ANSWER] can be described as facility operator of Libya
[{'concept': 'Q3084961'}, 'P137', 'Q1016']
SELECT DISTINCT ?m WHERE { ?m property:P137 resource:Q1016 . ?m rdf:type ontology:Q3084961 }
Il-76
Il-76 can be described as facility operator of Libya
Il-76
action filter_type
action find_reverse
entity Libya
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Libya']
SELECT DISTINCT ?m WHERE { ?m property:operator resource:Libya . ?m rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016
P194
Q11204
USER
Which legislature is the legislative body for that administrative territory ?
(Q142549,P194,c(Q11204))
action filter_type
action find
entity Q1016
relation P194
type Q11204
['Q142549', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?x WHERE { resource:Q1016 property:P194 ?x . ?x rdf:type ontology:Q11204 }
Libya
action filter_type
action find
entity Libya
relation legislative body
type legislature
['Il-76', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?x WHERE { resource:Libya property:legislative_body ?x . ?x rdf:type ontology:legislature }
[]
legislature
Q17443556
SYSTEM
House of Representatives
Q17443556
(Q142549,P194,c(Q11204))
action filter_type
action find
entity Q1016
relation P194
type Q11204
[ANSWER] is the legislative body for that administrative territory
['Q142549', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?x WHERE { resource:Q1016 property:P194 ?x . ?x rdf:type ontology:Q11204 }
House of Representatives
House of Representatives is the legislative body for that administrative territory
House of Representatives
action filter_type
action find
entity Libya
relation legislative body
type legislature
['Il-76', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?x WHERE { resource:Libya property:legislative_body ?x . ?x rdf:type ontology:legislature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1645193
P1001
Q56061 Q11204
USER
How many administrative territories are judicially linked to greater number of legislatures than Guijo de Santa Bárbara ?
(c(Q11204),P1001,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
action count
action filter_type
action find
entity Q1645193
relation P1001
type Q56061
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P1001 ?c . ?c rdf:type ontology:Q56061 . ?r rdf:type ontology:Q11204 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q1645193 property:P1001 ?m . ?m rdf:type ontology:Q56061 } } . FILTER ( ?g > ?p ) }
Guijo de Santa Bárbara
action count
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
action count
action filter_type
action find
entity Guijo de Santa Bárbara
relation applies to jurisdiction
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:applies_to_jurisdiction ?c . ?c rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:legislature } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Guijo_de_Santa_Bárbara property:applies_to_jurisdiction ?m . ?m rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?p ) }
[]
administrative territorial entity legislature
SYSTEM
8
Q170478 Q90 Q11703 Q179313 Q43475 Q26 Q61 Q62
(c(Q11204),P1001,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
action count
action filter_type
action find
entity Q1645193
relation P1001
type Q56061
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P1001 ?c . ?c rdf:type ontology:Q56061 . ?r rdf:type ontology:Q11204 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q1645193 property:P1001 ?m . ?m rdf:type ontology:Q56061 } } . FILTER ( ?g > ?p ) }
Bournemouth Paris United States Virgin Islands Alderney Derby Northern Ireland Washington, D.C. San Francisco
8
action count
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
action count
action filter_type
action find
entity Guijo de Santa Bárbara
relation applies to jurisdiction
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:applies_to_jurisdiction ?c . ?c rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:legislature } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Guijo_de_Santa_Bárbara property:applies_to_jurisdiction ?m . ?m rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?g > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5689
P1001
Q56061 Q11204
USER
And also tell me about Åland Islands?
(c(Q11204),P1001,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
action count
action filter_type
action find
entity Q5689
relation P1001
type Q56061
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P1001 ?p . ?f rdf:type ontology:Q11204 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q5689 property:P1001 ?l . ?l rdf:type ontology:Q56061 } } . FILTER ( ?t > ?v ) }
Åland Islands
action count
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
action count
action filter_type
action find
entity Åland Islands
relation applies to jurisdiction
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:applies_to_jurisdiction ?p . ?f rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Åland_Islands property:applies_to_jurisdiction ?l . ?l rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t > ?v ) }
[]
administrative territorial entity legislature
SYSTEM
8
Q170478 Q90 Q11703 Q179313 Q43475 Q26 Q61 Q62
(c(Q11204),P1001,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P1001
type Q56061
type Q11204
action count
action filter_type
action find
entity Q5689
relation P1001
type Q56061
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P1001 ?p . ?f rdf:type ontology:Q11204 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q5689 property:P1001 ?l . ?l rdf:type ontology:Q56061 } } . FILTER ( ?t > ?v ) }
Bournemouth Paris United States Virgin Islands Alderney Derby Northern Ireland Washington, D.C. San Francisco
8
action count
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity
type legislature
action count
action filter_type
action find
entity Åland Islands
relation applies to jurisdiction
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:applies_to_jurisdiction ?p . ?f rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Åland_Islands property:applies_to_jurisdiction ?l . ?l rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t > ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5395957
P1066
Q502895
USER
How many people are a student of Erukhan ?
(c(Q502895),P1066,Q5395957)
action count
action filter_type
action find_reverse
entity Q5395957
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q5395957']
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P1066 resource:Q5395957 . ?p rdf:type ontology:Q502895 }
Erukhan
action count
action filter_type
action find_reverse
entity Erukhan
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Erukhan']
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:student_of resource:Erukhan . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4455826
(c(Q502895),P1066,Q5395957)
action count
action filter_type
action find_reverse
entity Q5395957
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q5395957']
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P1066 resource:Q5395957 . ?p rdf:type ontology:Q502895 }
Tovmas Terzian
1
action count
action filter_type
action find_reverse
entity Erukhan
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Erukhan']
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:student_of resource:Erukhan . ?p rdf:type ontology:common_name }
[]