Simple Question (Direct)
Simple Question
Q7937675
P937
Q56061
USER
What is the location where Vivian Bendall worked ?
(Q7937675,P937,c(Q56061))
action filter_type
action find
entity Q7937675
relation P937
type Q56061
['Q7937675', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q7937675 property:P937 ?j }
Vivian Bendall
action filter_type
action find
entity Vivian Bendall
relation work location
type administrative territorial entity
['Vivian Bendall', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Vivian_Bendall property:work_location ?j }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7937675,P937,c(Q56061))
action filter_type
action find
entity Q7937675
relation P937
type Q56061
The location Vivian Bendall worked is in [ANSWER]
['Q7937675', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q7937675 property:P937 ?j }
London
The location Vivian Bendall worked is in London
London
action filter_type
action find
entity Vivian Bendall
relation work location
type administrative territorial entity
['Vivian Bendall', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Vivian_Bendall property:work_location ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7937675
P1412
Q34770
USER
Which language is spoken by Vivian Bendall ?
(Q7937675,P1412,c(Q34770))
action filter_type
action find
entity Q7937675
relation P1412
type Q34770
['Q7937675', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q7937675 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Vivian Bendall
action filter_type
action find
entity Vivian Bendall
relation languages spoken, written or signed
type language
['Vivian Bendall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Vivian_Bendall property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7937675,P1412,c(Q34770))
action filter_type
action find
entity Q7937675
relation P1412
type Q34770
And [ANSWER] is spoken by Vivian Bendall
['Q7937675', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q7937675 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
English
And English is spoken by Vivian Bendall
English
action filter_type
action find
entity Vivian Bendall
relation languages spoken, written or signed
type language
['Vivian Bendall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Vivian_Bendall property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7937675
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q7937675
relation P27
type Q15617994
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q7937675 property:P27 ?f }
Vivian Bendall
action filter_type
action find
entity Vivian Bendall
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vivian_Bendall property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q7937675
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q7937675 property:P27 ?f }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Vivian Bendall
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vivian_Bendall property:country_of_citizenship ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7937675
P21
Q290
USER
Which sex does Vivian Bendall belong to ?
(Q7937675,P21,c(Q290))
action filter_type
action find
entity Q7937675
relation P21
type Q290
['Q7937675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q7937675 property:P21 ?m }
Vivian Bendall
action filter_type
action find
entity Vivian Bendall
relation gender
type sex
['Vivian Bendall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Vivian_Bendall property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7937675,P21,c(Q290))
action filter_type
action find
entity Q7937675
relation P21
type Q290
Vivian Bendall belongs to [ANSWER]
['Q7937675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q7937675 property:P21 ?m }
male
Vivian Bendall belongs to male
male
action filter_type
action find
entity Vivian Bendall
relation gender
type sex
['Vivian Bendall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Vivian_Bendall property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7937675
P102
Q7210356
USER
Which party does Vivian Bendall belong to ?
(Q7937675,P102,c(Q7210356))
action filter_type
action find
entity Q7937675
relation P102
type Q7210356
['Q7937675', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q7937675 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Vivian Bendall
action filter_type
action find
entity Vivian Bendall
relation member of political party
type political organization
['Vivian Bendall', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Vivian_Bendall property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q7937675,P102,c(Q7210356))
action filter_type
action find
entity Q7937675
relation P102
type Q7210356
Vivian Bendall belongs to [ANSWER]
['Q7937675', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q7937675 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Conservative Party
Vivian Bendall belongs to Conservative Party
Conservative Party
action filter_type
action find
entity Vivian Bendall
relation member of political party
type political organization
['Vivian Bendall', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Vivian_Bendall property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9626
P17
Q15617994
USER
Which administrative territory does that political organization belong to ?
(Q9626,P17,c(Q15617994))
action filter_type
action find
entity Q9626
relation P17
type Q15617994
['Q9626', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q9626 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Conservative Party
action filter_type
action find
entity Conservative Party
relation country
type designation for an administrative territorial entity
['Conservative Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Conservative_Party property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q9626,P17,c(Q15617994))
action filter_type
action find
entity Q9626
relation P17
type Q15617994
That political organization belongs to the [ANSWER]
['Q9626', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q9626 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
That political organization belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Conservative Party
relation country
type designation for an administrative territorial entity
['Conservative Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Conservative_Party property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22815496
Q15617994
USER
And how about Saint Mary's Kimera Primary School?
(Q22815496,P17,c(Q15617994))
action filter_type
action find
entity Q22815496
relation P17
type Q15617994
['Q22815496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q22815496 property:P17 ?c }
Saint Mary's Kimera Primary School
action filter_type
action find
entity Saint Mary's Kimera Primary School
relation country
type designation for an administrative territorial entity
["Saint Mary's Kimera Primary School", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saint_Mary's_Kimera_Primary_School property:country ?c }
[]
designation for an administrative territorial entity
Q1036
SYSTEM
Uganda
Q1036
(Q22815496,P17,c(Q15617994))
action filter_type
action find
entity Q22815496
relation P17
type Q15617994
[ANSWER]
['Q22815496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q22815496 property:P17 ?c }
Uganda
Uganda
action filter_type
action find
entity Saint Mary's Kimera Primary School
relation country
type designation for an administrative territorial entity
["Saint Mary's Kimera Primary School", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Saint_Mary's_Kimera_Primary_School property:country ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1036
P85
Q484692
USER
What is the anthem for that administrative territory ?
(Q1036,P85,c(Q484692))
action filter_type
action find
entity Q1036
relation P85
type Q484692
['Q1036', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?j WHERE { resource:Q1036 property:P85 ?j . ?j rdf:type ontology:Q484692 }
Uganda
action filter_type
action find
entity Uganda
relation anthem
type hymn
['Uganda', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?j WHERE { resource:Uganda property:anthem ?j . ?j rdf:type ontology:hymn }
[]
hymn
Q110193
SYSTEM
Oh Uganda, Land of Beauty
Q110193
(Q1036,P85,c(Q484692))
action filter_type
action find
entity Q1036
relation P85
type Q484692
The anthem for that administrative territory is [ANSWER]
['Q1036', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?j WHERE { resource:Q1036 property:P85 ?j . ?j rdf:type ontology:Q484692 }
Oh Uganda, Land of Beauty
The anthem for that administrative territory is Oh Uganda, Land of Beauty
Oh Uganda, Land of Beauty
action filter_type
action find
entity Uganda
relation anthem
type hymn
['Uganda', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?j WHERE { resource:Uganda property:anthem ?j . ?j rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1036
P1001
Q12737077 Q1151067
USER
How many occupations and human-made rules apply to jurisdiction over Uganda ?
(c(Q12737077),P1001,Q1036) (c(Q1151067),P1001,Q1036)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q1036
relation P1001
type Q1151067
[{'concept': 'Q12737077'}, 'P1001', 'Q1036'] [{'concept': 'Q1151067'}, 'P1001', 'Q1036']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P1001 resource:Q1036 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P1001 resource:Q1036 . ?i rdf:type ontology:Q1151067 } }
Uganda
action count
action union
action filter_type
action find_reverse
entity Uganda
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Uganda
relation applies to jurisdiction
type human-made rule
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Uganda'] [{'concept': 'human-made rule'}, 'applies to jurisdiction', 'Uganda']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:applies_to_jurisdiction resource:Uganda . ?i rdf:type ontology:occupation } UNION { ?i property:applies_to_jurisdiction resource:Uganda . ?i rdf:type ontology:human-made_rule } }
[]
occupation human-made rule
SYSTEM
3 occupations and 1 human-made rules
Q2462330 Q7877583 Q21296005 Q18204367
(c(Q12737077),P1001,Q1036) (c(Q1151067),P1001,Q1036)
action count
action union
action filter_type
action find_reverse
entity Q1036
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q1036
relation P1001
type Q1151067
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q1036'] [{'concept': 'Q1151067'}, 'P1001', 'Q1036']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P1001 resource:Q1036 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P1001 resource:Q1036 . ?i rdf:type ontology:Q1151067 } }
Prime Minister of Uganda Uganda Anti-Homosexuality Act, 2014 Member of the Parliament of Uganda President of Uganda
3 occupations and 1 human-made rules
action count
action union
action filter_type
action find_reverse
entity Uganda
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Uganda
relation applies to jurisdiction
type human-made rule
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Uganda'] [{'concept': 'human-made rule'}, 'applies to jurisdiction', 'Uganda']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:applies_to_jurisdiction resource:Uganda . ?i rdf:type ontology:occupation } UNION { ?i property:applies_to_jurisdiction resource:Uganda . ?i rdf:type ontology:human-made_rule } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q228
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have an anthem named greater number of literary works or hymns than Andorra ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q228
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?m WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q228 property:P85 ?d . { { ?d rdf:type ontology:Q484692 } UNION { ?d rdf:type ontology:Q7725634 } } } } . FILTER ( ?y > ?l ) }
Andorra
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Andorra
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?m WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Andorra property:anthem ?d . { { ?d rdf:type ontology:hymn } UNION { ?d rdf:type ontology:literary_work } } } } . FILTER ( ?y > ?l ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q228
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?m WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q228 property:P85 ?d . { { ?d rdf:type ontology:Q484692 } UNION { ?d rdf:type ontology:Q7725634 } } } } . FILTER ( ?y > ?l ) }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Andorra
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?m WHERE { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Andorra property:anthem ?d . { { ?d rdf:type ontology:hymn } UNION { ?d rdf:type ontology:literary_work } } } } . FILTER ( ?y > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q874
P85
Q7725634 Q484692 Q15617994
USER
And also tell me about Turkmenistan?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q874
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Q874 property:P85 ?c . { { ?c rdf:type ontology:Q7725634 } UNION { ?c rdf:type ontology:Q484692 } } } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?i property:P85 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q484692 } UNION { ?i property:P85 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 } } GROUP BY ?i } }
Turkmenistan
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Turkmenistan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Turkmenistan property:anthem ?c . { { ?c rdf:type ontology:literary_work } UNION { ?c rdf:type ontology:hymn } } } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?i property:anthem ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:hymn } UNION { ?i property:anthem ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work } } GROUP BY ?i } }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q874
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Q874 property:P85 ?c . { { ?c rdf:type ontology:Q7725634 } UNION { ?c rdf:type ontology:Q484692 } } } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?i property:P85 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q484692 } UNION { ?i property:P85 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 } } GROUP BY ?i } }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Turkmenistan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Turkmenistan property:anthem ?c . { { ?c rdf:type ontology:literary_work } UNION { ?c rdf:type ontology:hymn } } } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { { ?i property:anthem ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:hymn } UNION { ?i property:anthem ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work } } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q39
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with lesser number of administrative territories than Switzerland ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P530 ?x . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q39 property:P530 ?m } } . FILTER ( ?i < ?u ) }
Switzerland
action less
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_type
action find
entity Switzerland
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:diplomatic_relation ?x . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:diplomatic_relation ?m } } . FILTER ( ?i < ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with lesser number of administrative territories than Switzerland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P530 ?x . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q39 property:P530 ?m } } . FILTER ( ?i < ?u ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan 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 Madagascar Togo Tonga New Caledonia Thailand
Georgia, Netherlands and Belarus hold diplomatic relationship with lesser number of administrative territories than Switzerland
Georgia Netherlands Belarus
action less
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_type
action find
entity Switzerland
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:diplomatic_relation ?x . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:diplomatic_relation ?m } } . FILTER ( ?i < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q211
P530
Q15617994 Q15617994
USER
And what about Latvia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q211
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?g ) WHERE { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P530 resource:Q211 . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?e ) }
Latvia
action less
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_type
action find_reverse
entity Latvia
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?g ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:diplomatic_relation resource:Latvia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q211
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?g ) WHERE { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P530 resource:Q211 . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?e ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan 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 Madagascar Togo Tonga New Caledonia Thailand
Georgia Netherlands Belarus
action less
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_type
action find_reverse
entity Latvia
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?g ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:diplomatic_relation resource:Latvia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?e ) }
[]