Simple Question (Direct)
Simple Question
Q3173212
P27
Q15617994
USER
Which administrative territory does Jean Leymarie belong to ?
(Q3173212,P27,c(Q15617994))
action filter_type
action find
entity Q3173212
relation P27
type Q15617994
['Q3173212', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3173212 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Jean Leymarie
action filter_type
action find
entity Jean Leymarie
relation country of citizenship
type designation for an administrative territorial entity
['Jean Leymarie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Leymarie property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3173212,P27,c(Q15617994))
action filter_type
action find
entity Q3173212
relation P27
type Q15617994
Jean Leymarie belongs to [ANSWER]
['Q3173212', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3173212 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
France
Jean Leymarie belongs to France
France
action filter_type
action find
entity Jean Leymarie
relation country of citizenship
type designation for an administrative territorial entity
['Jean Leymarie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Leymarie property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3173212
P108
Q4830453
USER
Who is the employer of that person ?
(Q142,P108,c(Q4830453))
action filter_type
action find
entity Q3173212
relation P108
type Q4830453
['Q142', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q3173212 property:P108 ?s . ?s rdf:type ontology:Q4830453 }
Jean Leymarie
action filter_type
action find
entity Jean Leymarie
relation employer
type business enterprise
['France', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Leymarie property:employer ?s . ?s rdf:type ontology:business_enterprise }
[]
business enterprise
Q19904
SYSTEM
France Info
Q19904
(Q142,P108,c(Q4830453))
action filter_type
action find
entity Q3173212
relation P108
type Q4830453
The employer of that person is a [ANSWER]
['Q142', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q3173212 property:P108 ?s . ?s rdf:type ontology:Q4830453 }
France Info
The employer of that person is a France Info
France Info
action filter_type
action find
entity Jean Leymarie
relation employer
type business enterprise
['France', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Leymarie property:employer ?s . ?s rdf:type ontology:business_enterprise }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11369772 Q3173212
P108
Q4830453
USER
Or Makoto Kuno?
OR((Q3173212,P108,c(Q4830453)), (Q11369772,P108,c(Q4830453)))
action filter_type
action union
action find
entity Q3173212
relation P108
action find
entity Q11369772
relation P108
type Q4830453
{'OR': [['Q3173212', 'P108', {'concept': 'Q4830453'}], ['Q11369772', 'P108', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q11369772 property:P108 ?y } UNION { resource:Q3173212 property:P108 ?y } } . ?y rdf:type ontology:Q4830453 }
Makoto Kuno Jean Leymarie
action filter_type
action union
action find
entity Jean Leymarie
relation employer
action find
entity Makoto Kuno
relation employer
type business enterprise
{'OR': [['Jean Leymarie', 'employer', {'concept': 'business enterprise'}], ['Makoto Kuno', 'employer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Makoto_Kuno property:employer ?y } UNION { resource:Jean_Leymarie property:employer ?y } } . ?y rdf:type ontology:business_enterprise }
[]
business enterprise
Q1022955 Q19904
SYSTEM
CBC Television, France Info
Q1022955 Q19904
OR((Q3173212,P108,c(Q4830453)), (Q11369772,P108,c(Q4830453)))
action filter_type
action union
action find
entity Q3173212
relation P108
action find
entity Q11369772
relation P108
type Q4830453
[ANSWERS]
{'OR': [['Q3173212', 'P108', {'concept': 'Q4830453'}], ['Q11369772', 'P108', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q11369772 property:P108 ?y } UNION { resource:Q3173212 property:P108 ?y } } . ?y rdf:type ontology:Q4830453 }
CBC Television France Info
CBC Television France Info
action filter_type
action union
action find
entity Jean Leymarie
relation employer
action find
entity Makoto Kuno
relation employer
type business enterprise
{'OR': [['Jean Leymarie', 'employer', {'concept': 'business enterprise'}], ['Makoto Kuno', 'employer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Makoto_Kuno property:employer ?y } UNION { resource:Jean_Leymarie property:employer ?y } } . ?y rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories holds diplomatic relationship with France ?
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ontology:Q1048835 . resource:Q142 property:P530 ?v } UNION { resource:Q142 property:P530 ?v . ?v rdf:type ontology:Q15617994 } }
France
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ontology:political_territorial_entity . resource:France property:diplomatic_relation ?v } UNION { resource:France property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 15 administrative territories
Q711 Q38 Q159 Q222 Q40 Q145 Q155 Q183 Q1011 Q32 Q17 Q408 Q30 Q399 Q27 Q403 Q801 Q228
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ontology:Q1048835 . resource:Q142 property:P530 ?v } UNION { resource:Q142 property:P530 ?v . ?v rdf:type ontology:Q15617994 } }
Mongolia Italy Russia Albania Austria United Kingdom Brazil Germany Cape Verde Luxembourg Japan Australia United States of America Armenia Ireland Serbia Israel Andorra
3 political territories and 15 administrative territories
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ontology:political_territorial_entity . resource:France property:diplomatic_relation ?v } UNION { resource:France property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26693242 Q1022955
P17 P1001
Q1048835
USER
Which political territories are CBC Television located in or come under the supervision of mayor of Val de San Martín ?
OR((Q1022955,P17,c(Q1048835)), (Q26693242,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1022955
relation P17
action find
entity Q26693242
relation P1001
type Q1048835
{'OR': [['Q1022955', 'P17', {'concept': 'Q1048835'}], ['Q26693242', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1022955 property:P17 ?e } UNION { resource:Q26693242 property:P1001 ?e } } . ?e rdf:type ontology:Q1048835 }
mayor of Val de San Martín CBC Television
action filter_type
action union
action find
entity CBC Television
relation country
action find
entity mayor of Val de San Martín
relation applies to jurisdiction
type political territorial entity
{'OR': [['CBC Television', 'country', {'concept': 'political territorial entity'}], ['mayor of Val de San Martín', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:CBC_Television property:country ?e } UNION { resource:mayor_of_Val_de_San_Martín property:applies_to_jurisdiction ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q1639213
SYSTEM
Canada, Val de San Martín
Q16 Q1639213
OR((Q1022955,P17,c(Q1048835)), (Q26693242,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1022955
relation P17
action find
entity Q26693242
relation P1001
type Q1048835
[ANSWERS] are CBC Television located in or come under the supervision of mayor of Val de San Martín
{'OR': [['Q1022955', 'P17', {'concept': 'Q1048835'}], ['Q26693242', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1022955 property:P17 ?e } UNION { resource:Q26693242 property:P1001 ?e } } . ?e rdf:type ontology:Q1048835 }
Canada Val de San Martín
Canada and Val de San Martín are CBC Television located in or come under the supervision of mayor of Val de San Martín
Canada Val de San Martín
action filter_type
action union
action find
entity CBC Television
relation country
action find
entity mayor of Val de San Martín
relation applies to jurisdiction
type political territorial entity
{'OR': [['CBC Television', 'country', {'concept': 'political territorial entity'}], ['mayor of Val de San Martín', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:CBC_Television property:country ?e } UNION { resource:mayor_of_Val_de_San_Martín property:applies_to_jurisdiction ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with atmost 3 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?d ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?w } . FILTER ( ?d <= 3 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?d ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?w } . FILTER ( ?d <= 3 ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[ANSWERS] hold diplomatic relationship with atmost 3 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?d ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?w } . FILTER ( ?d <= 3 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with atmost 3 political territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?d ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?w } . FILTER ( ?d <= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3173212 Q681946
P69
Q163740
USER
How many nonprofit organizations were Jean Leymarie or Collyer brothers educated ?
(Q3173212,P69,c(Q163740)) (Q681946,P69,c(Q163740))
action count
action union
action filter_type
action find
entity Q3173212
relation P69
type Q163740
action filter_type
action find
entity Q681946
relation P69
type Q163740
['Q3173212', 'P69', {'concept': 'Q163740'}] ['Q681946', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { resource:Q681946 property:P69 ?v . ?v rdf:type ontology:Q163740 } UNION { ?v rdf:type ontology:Q163740 . resource:Q3173212 property:P69 ?v } }
Jean Leymarie Collyer brothers
action count
action union
action filter_type
action find
entity Jean Leymarie
relation educated at
type nonprofit organization
action filter_type
action find
entity Collyer brothers
relation educated at
type nonprofit organization
['Jean Leymarie', 'educated at', {'concept': 'nonprofit organization'}] ['Collyer brothers', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { resource:Collyer_brothers property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization } UNION { ?v rdf:type ontology:nonprofit_organization . resource:Jean_Leymarie property:educated_at ?v } }
[]
nonprofit organization
SYSTEM
2
Q49088 Q49210
(Q3173212,P69,c(Q163740)) (Q681946,P69,c(Q163740))
action count
action union
action filter_type
action find
entity Q3173212
relation P69
type Q163740
action filter_type
action find
entity Q681946
relation P69
type Q163740
[ANSWER]
['Q3173212', 'P69', {'concept': 'Q163740'}] ['Q681946', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { resource:Q681946 property:P69 ?v . ?v rdf:type ontology:Q163740 } UNION { ?v rdf:type ontology:Q163740 . resource:Q3173212 property:P69 ?v } }
Columbia University New York University
2
action count
action union
action filter_type
action find
entity Jean Leymarie
relation educated at
type nonprofit organization
action filter_type
action find
entity Collyer brothers
relation educated at
type nonprofit organization
['Jean Leymarie', 'educated at', {'concept': 'nonprofit organization'}] ['Collyer brothers', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { resource:Collyer_brothers property:educated_at ?v . ?v rdf:type ontology:nonprofit_organization } UNION { ?v rdf:type ontology:nonprofit_organization . resource:Jean_Leymarie property:educated_at ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with max number of political territories ?
(c(Q1048835),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?z } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:P530 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?d = ?c ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:diplomatic_relation ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?d = ?c ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] is known to have diplomatic connections with max number of political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q1048835 } GROUP BY ?z } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:P530 ?l . ?s rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?d = ?c ) }
Australia
Australia is known to have diplomatic connections with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:diplomatic_relation ?l . ?s rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?d = ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P85
Q7725634 Q484692 Q1048835
USER
Which political territories have max number of literary works and hymns as their anthem ?
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action argmax
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?k WHERE { VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?j rdf:type ?l } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?c WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?c } . FILTER ( ?h = ?o ) }
action argmax
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?k WHERE { VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?j rdf:type ?l } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?c WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?c } . FILTER ( ?h = ?o ) }
[]
literary work hymn political territorial entity
Q408 Q35 Q769
SYSTEM
Australia, Denmark, Grenada
Q769 Q766 Q781 Q35 Q408
(c(Q1048835),P85,c(Q7725634)|c(Q484692))
action argmax
action union
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
action find_tuple_counts
relation P85
type Q1048835
type Q484692
[ANSWERS] have max number of literary works and hymns as their anthem
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?k WHERE { VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?j rdf:type ?l } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?c WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?c } . FILTER ( ?h = ?o ) }
Grenada Jamaica Antigua and Barbuda Denmark Australia
Australia, Denmark and Grenada have max number of literary works and hymns as their anthem
Australia Denmark Grenada
action argmax
action union
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?k WHERE { VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?j rdf:type ?l } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) ?c WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?c } . FILTER ( ?h = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10957559
P138
Q15617994 Q337567 Q15617994
USER
Which administrative territories are lesser number of still waterss or administrative territories named after than Moldavia ?
(c(Q337567)|c(Q15617994),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q10957559
relation P138
type Q337567
type Q15617994
[[{'concept': 'Q337567'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q15617994 ) } } GROUP BY ?n } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P138 resource:Q10957559 . { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?b rdf:type ?z } } } }
Moldavia
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Moldavia
relation named after
type still waters
type designation for an administrative territorial entity
[[{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:named_after resource:Moldavia . { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?b rdf:type ?z } } } }
[]
designation for an administrative territorial entity still waters designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q337567)|c(Q15617994),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q10957559
relation P138
type Q337567
type Q15617994
[ANSWERS] are lesser number of still waterss or administrative territories named after than Moldavia
[[{'concept': 'Q337567'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q15617994 ) } } GROUP BY ?n } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P138 resource:Q10957559 . { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?b rdf:type ?z } } } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are lesser number of still waterss or administrative territories named after than Moldavia
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Moldavia
relation named after
type still waters
type designation for an administrative territorial entity
[[{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:named_after resource:Moldavia . { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?b rdf:type ?z } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q519157
P138
Q15617994 Q337567 Q15617994
USER
And what about Templin?
(c(Q337567)|c(Q15617994),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q519157
relation P138
type Q337567
type Q15617994
[[{'concept': 'Q337567'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P138 resource:Q519157 . { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?h rdf:type ?j } } } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?g WHERE { VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?u rdf:type ?b } GROUP BY ?g } }
Templin
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Templin
relation named after
type still waters
type designation for an administrative territorial entity
[[{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:named_after resource:Templin . { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?h rdf:type ?j } } } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?g WHERE { VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?u rdf:type ?b } GROUP BY ?g } }
[]
designation for an administrative territorial entity still waters designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q337567)|c(Q15617994),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q519157
relation P138
type Q337567
type Q15617994
[ANSWERS]
[[{'concept': 'Q337567'}, {'concept': 'Q15617994'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P138 resource:Q519157 . { VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?h rdf:type ?j } } } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?g WHERE { VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q337567 ) } . ?u rdf:type ?b } GROUP BY ?g } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Templin
relation named after
type still waters
type designation for an administrative territorial entity
[[{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:named_after resource:Templin . { VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?h rdf:type ?j } } } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?g WHERE { VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:still_waters ) } . ?u rdf:type ?b } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q546701
P530
Q15617994
USER
Do Niederhausen have ambassadorial relations with those ones ?
(Q546701,P530,Q38) (Q546701,P530,Q155) (Q546701,P530,Q30)
action is_in
entity prev_answer
action find
entity Q546701
relation P530
['Q546701', 'P530', 'Q38'] ['Q546701', 'P530', 'Q155'] ['Q546701', 'P530', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q804 ) ( resource:Q572949 ) ( resource:Q801 ) } . resource:Q546701 property:P530 ?g }
Niederhausen
action is_in
entity prev_answer
action find
entity Niederhausen
relation diplomatic relation
['Niederhausen', 'diplomatic relation', 'Italy'] ['Niederhausen', 'diplomatic relation', 'Brazil'] ['Niederhausen', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Panama ) ( resource:Solnhofen ) ( resource:Israel ) } . resource:Niederhausen property:diplomatic_relation ?g }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q546701,P530,Q38) (Q546701,P530,Q155) (Q546701,P530,Q30)
action is_in
entity prev_answer
action find
entity Q546701
relation P530
[ANSWER]
['Q546701', 'P530', 'Q38'] ['Q546701', 'P530', 'Q155'] ['Q546701', 'P530', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q804 ) ( resource:Q572949 ) ( resource:Q801 ) } . resource:Q546701 property:P530 ?g }
No
action is_in
entity prev_answer
action find
entity Niederhausen
relation diplomatic relation
['Niederhausen', 'diplomatic relation', 'Italy'] ['Niederhausen', 'diplomatic relation', 'Brazil'] ['Niederhausen', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Panama ) ( resource:Solnhofen ) ( resource:Israel ) } . resource:Niederhausen property:diplomatic_relation ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q238
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with lesser number of administrative territories than San Marino ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { ?s property:P530 ?h . ?s rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q238 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?f ) }
San Marino
action count
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 San Marino
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 ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { ?s property:diplomatic_relation ?h . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:San_Marino property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { ?s property:P530 ?h . ?s rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q238 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?x < ?f ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
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 San Marino
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 ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { ?s property:diplomatic_relation ?h . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:San_Marino property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q27
P530
Q15617994 Q15617994
USER
And also tell me about Ireland?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q27
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?f ) WHERE { ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P530 resource:Q27 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?v ) }
Ireland
action count
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 Ireland
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 ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?f ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:diplomatic_relation resource:Ireland . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 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 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q27
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?f ) WHERE { ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P530 resource:Q27 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?v ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Latvia Republic of Moldova Slovakia Slovenia 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 Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
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 Ireland
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 ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?f ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:diplomatic_relation resource:Ireland . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?v ) }
[]