Simple Question (Direct)
Simple Question
Q15617224
P19
Q15617994
USER
Which administrative territory is the birthplace of Giuseppe Aventi ?
(Q15617224,P19,c(Q15617994))
action filter_type
action find
entity Q15617224
relation P19
type Q15617994
['Q15617224', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q15617224 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Giuseppe Aventi
action filter_type
action find
entity Giuseppe Aventi
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Aventi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Giuseppe_Aventi property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q111800
SYSTEM
Cattolica
Q111800
(Q15617224,P19,c(Q15617994))
action filter_type
action find
entity Q15617224
relation P19
type Q15617994
[ANSWER] is the birthplace of Giuseppe Aventi
['Q15617224', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q15617224 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Cattolica
Cattolica is the birthplace of Giuseppe Aventi
Cattolica
action filter_type
action find
entity Giuseppe Aventi
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Aventi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Giuseppe_Aventi property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15617224
P21
Q290
USER
Which sex does that person belong to ?
(Q111800,P21,c(Q290))
action filter_type
action find
entity Q15617224
relation P21
type Q290
['Q111800', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q15617224 property:P21 ?o }
Giuseppe Aventi
action filter_type
action find
entity Giuseppe Aventi
relation gender
type sex
['Cattolica', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Giuseppe_Aventi property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q111800,P21,c(Q290))
action filter_type
action find
entity Q15617224
relation P21
type Q290
That person belongs to [ANSWER]
['Q111800', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q15617224 property:P21 ?o }
male
That person belongs to male
male
action filter_type
action find
entity Giuseppe Aventi
relation gender
type sex
['Cattolica', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Giuseppe_Aventi property:gender ?o }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q811979 Q1048835 Q15617994
USER
Which administrative territories are a component of max number of architectural structures and political territories ?
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q1048835 ) } . ?x rdf:type ?h } GROUP BY ?u } . FILTER ( ?f = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q1048835 ) } } GROUP BY ?y } } }
action argmax
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?h } GROUP BY ?u } . FILTER ( ?f = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:political_territorial_entity ) } } GROUP BY ?y } } }
[]
architectural structure political territorial entity designation for an administrative territorial entity
Q676178 Q57857 Q554282
SYSTEM
Viereck, Zschorlau, Ferdinandshof
Q57857 Q676178 Q706938 Q554282 Q561223 Q640310 Q625844 Q624292 Q252916 Q623929 Q632429
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
[ANSWERS] are a component of max number of architectural structures and political territories
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q1048835 ) } . ?x rdf:type ?h } GROUP BY ?u } . FILTER ( ?f = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q1048835 ) } } GROUP BY ?y } } }
Zschorlau Viereck Werder Ferdinandshof Lancken-Granitz Buckautal Görzke Wenzlow administrative quarter Gräben Hinrichshagen
Viereck, Zschorlau and Ferdinandshof are a component of max number of architectural structures and political territories
Viereck Zschorlau Ferdinandshof
action argmax
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?h } GROUP BY ?u } . FILTER ( ?f = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:political_territorial_entity ) } } GROUP BY ?y } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q174307
P206
Q355304 Q337567 Q15617994
USER
How many administrative territories are situated close to lesser number of watercourses or still waterss than Essing ?
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q174307
relation P206
type Q355304
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q174307 property:P206 ?c . { { ?c rdf:type ontology:Q355304 } UNION { ?c rdf:type ontology:Q337567 } } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?t ) WHERE { { ?u property:P206 ?o . ?o rdf:type ontology:Q355304 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P206 ?o . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q337567 } } GROUP BY ?u } }
Essing
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Essing
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Essing property:located_next_to_body_of_water ?c . { { ?c rdf:type ontology:watercourse } UNION { ?c rdf:type ontology:still_waters } } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?t ) WHERE { { ?u property:located_next_to_body_of_water ?o . ?o rdf:type ontology:watercourse . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:located_next_to_body_of_water ?o . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:still_waters } } GROUP BY ?u } }
[]
watercourse still waters designation for an administrative territorial entity
SYSTEM
51
Q21111 Q505785 Q446425 Q3066319 Q668 Q525879 Q55 Q1604782 Q2316529 Q508863 Q568926 Q1009384 Q657 Q622487 Q4628 Q884 Q161258 Q263451 Q442666 Q3111694 Q216422 Q34 Q38 Q3352704 Q769680 Q519663 Q2360428 Q236 Q560870 Q20 Q29 Q511806 Q3038 Q225 Q224 Q222 Q229 Q17 Q1577 Q516567 Q547059 Q215 Q1604772 Q1009 Q1438 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q174307
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q174307 property:P206 ?c . { { ?c rdf:type ontology:Q355304 } UNION { ?c rdf:type ontology:Q337567 } } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?t ) WHERE { { ?u property:P206 ?o . ?o rdf:type ontology:Q355304 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P206 ?o . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q337567 } } GROUP BY ?u } }
Corn Islands Pförring Altwarp Fala-Beguets India Haundorf Netherlands Ulul Noordpolderzijl Mindelstetten Maasholm Weno Chad Päwesin Faroe Islands South Korea Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Sweden Italy Oneop Bornholm Kösching Tijuana Municipality Montenegro Owschlag Norway Spain North Slope Borough Helgoland Bosnia and Herzegovina Croatia Albania Cyprus Japan Neuwerk Kappeln Gnotzheim Slovenia Moch Cameroon Campania Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo
51
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Essing
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Essing property:located_next_to_body_of_water ?c . { { ?c rdf:type ontology:watercourse } UNION { ?c rdf:type ontology:still_waters } } } } . FILTER ( ?t < ?d ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?t ) WHERE { { ?u property:located_next_to_body_of_water ?o . ?o rdf:type ontology:watercourse . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:located_next_to_body_of_water ?o . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:still_waters } } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q252772
P206
Q355304 Q337567 Q15617994
USER
And what about Eichstätt?
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q252772
relation P206
type Q355304
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?w ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?v rdf:type ?w } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } . resource:Q252772 property:P206 ?c } } . FILTER ( ?o < ?l ) }
Eichstätt
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Eichstätt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?w ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?v rdf:type ?w } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:still_waters ) } } . resource:Eichstätt property:located_next_to_body_of_water ?c } } . FILTER ( ?o < ?l ) }
[]
watercourse still waters designation for an administrative territorial entity
SYSTEM
51
Q21111 Q505785 Q446425 Q3066319 Q668 Q525879 Q55 Q1604782 Q2316529 Q508863 Q568926 Q1009384 Q657 Q622487 Q4628 Q884 Q161258 Q263451 Q442666 Q3111694 Q216422 Q34 Q38 Q3352704 Q769680 Q519663 Q2360428 Q236 Q560870 Q20 Q29 Q511806 Q3038 Q225 Q224 Q222 Q229 Q17 Q1577 Q516567 Q547059 Q215 Q1604772 Q1009 Q1438 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q252772
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?w ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?v rdf:type ?w } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } . resource:Q252772 property:P206 ?c } } . FILTER ( ?o < ?l ) }
Corn Islands Pförring Altwarp Fala-Beguets India Haundorf Netherlands Ulul Noordpolderzijl Mindelstetten Maasholm Weno Chad Päwesin Faroe Islands South Korea Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Sweden Italy Oneop Bornholm Kösching Tijuana Municipality Montenegro Owschlag Norway Spain North Slope Borough Helgoland Bosnia and Herzegovina Croatia Albania Cyprus Japan Neuwerk Kappeln Gnotzheim Slovenia Moch Cameroon Campania Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo
51
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Eichstätt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?w ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?v rdf:type ?w } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:still_waters ) } } . resource:Eichstätt property:located_next_to_body_of_water ?c } } . FILTER ( ?o < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1037
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with less number of administrative territories than Rwanda ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1037
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q1037 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?o ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } }
Rwanda
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 Rwanda
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 ?c WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Rwanda property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?o ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1037
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with less number of administrative territories than Rwanda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q1037 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?o ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } }
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
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with less number of administrative territories than Rwanda
Central African Republic Kingdom of the Netherlands Kazakhstan
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 Rwanda
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 ?c WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Rwanda property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?o ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?c property:diplomatic_relation ?p . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q298
P530
Q15617994 Q15617994
USER
And how about Chile?
(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 Q298
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q15617994 . ?w property:P530 resource:Q298 } } . FILTER ( ?b < ?v ) }
Chile
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 Chile
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation resource:Chile } } . FILTER ( ?b < ?v ) }
[]
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 Q298
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q15617994 . ?w property:P530 resource:Q298 } } . FILTER ( ?b < ?v ) }
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 Chile
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation resource:Chile } } . FILTER ( ?b < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P30
Q82794 Q2221906
USER
How many geographic regions and geographic locations are Netherlands located in ?
(Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q55
relation P30
type Q82794
action filter_type
action find
entity Q55
relation P30
type Q2221906
['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?s rdf:type ?z }
Netherlands
action count
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic region
action filter_type
action find
entity Netherlands
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?s rdf:type ?z }
[]
geographic region geographic location
SYSTEM
1 geographic regions and 1 geographic locations
Q46 Q27611
(Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q55
relation P30
type Q82794
action filter_type
action find
entity Q55
relation P30
type Q2221906
[ANSWER]
['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?s rdf:type ?z }
Europe Central America
1 geographic regions and 1 geographic locations
action count
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic region
action filter_type
action find
entity Netherlands
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?s rdf:type ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atmost 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?u <= 8 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?u ) WHERE { ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?j property:P530 ?h } GROUP BY ?j } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?u <= 8 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?u ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?h } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q145
SYSTEM
Netherlands, Poland, United Kingdom
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWERS] have tactful political relations with atmost 8 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?u <= 8 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?u ) WHERE { ?j rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?j property:P530 ?h } GROUP BY ?j } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and United Kingdom have tactful political relations with atmost 8 administrative territories
Netherlands Poland United Kingdom
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?u <= 8 ) . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?u ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?h } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55 Q36 Q145
P740
Q215380
USER
Which bands originated at Netherlands, Poland and United Kingdom ?
(c(Q215380),P740,Q55) (c(Q215380),P740,Q36) (c(Q215380),P740,Q145)
action union
action filter_type
action find_reverse
entity Q55
relation P740
type Q215380
action filter_type
action find_reverse
entity Q36
relation P740
type Q215380
action filter_type
action find_reverse
entity Q145
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q55'] [{'concept': 'Q215380'}, 'P740', 'Q36'] [{'concept': 'Q215380'}, 'P740', 'Q145']
SELECT DISTINCT ?c WHERE { { ?c property:P740 resource:Q36 . ?c rdf:type ontology:Q215380 } UNION { ?c property:P740 resource:Q55 . ?c rdf:type ontology:Q215380 } }
Netherlands Poland United Kingdom
action union
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type band
action filter_type
action find_reverse
entity Poland
relation location of formation
type band
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Netherlands'] [{'concept': 'band'}, 'location of formation', 'Poland'] [{'concept': 'band'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?c WHERE { { ?c property:location_of_formation resource:Poland . ?c rdf:type ontology:band } UNION { ?c property:location_of_formation resource:Netherlands . ?c rdf:type ontology:band } }
[]
band
Q15229258 Q17149948 Q1284362
SYSTEM
The Common Linnets, Bars and Melody, Quintessence
Q863851 Q1686118 Q17629510 Q15229258 Q804514 Q1284362 Q2437668 Q17149948 Q19481169 Q1142860 Q3133312 Q2719527
(c(Q215380),P740,Q55) (c(Q215380),P740,Q36) (c(Q215380),P740,Q145)
action union
action filter_type
action find_reverse
entity Q55
relation P740
type Q215380
action filter_type
action find_reverse
entity Q36
relation P740
type Q215380
action filter_type
action find_reverse
entity Q145
relation P740
type Q215380
[ANSWERS] originated at Netherlands, Poland and United Kingdom
[{'concept': 'Q215380'}, 'P740', 'Q55'] [{'concept': 'Q215380'}, 'P740', 'Q36'] [{'concept': 'Q215380'}, 'P740', 'Q145']
SELECT DISTINCT ?c WHERE { { ?c property:P740 resource:Q36 . ?c rdf:type ontology:Q215380 } UNION { ?c property:P740 resource:Q55 . ?c rdf:type ontology:Q215380 } }
Bingo Players Jeckyll & Hyde DubVision The Common Linnets Blog 27 Quintessence The Enid Bars and Melody Electro Velvet Air Cuba Hepburn Nosferatu
The Common Linnets, Bars and Melody and Quintessence originated at Netherlands, Poland and United Kingdom
The Common Linnets Bars and Melody Quintessence
action union
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type band
action filter_type
action find_reverse
entity Poland
relation location of formation
type band
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Netherlands'] [{'concept': 'band'}, 'location of formation', 'Poland'] [{'concept': 'band'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?c WHERE { { ?c property:location_of_formation resource:Poland . ?c rdf:type ontology:band } UNION { ?c property:location_of_formation resource:Netherlands . ?c rdf:type ontology:band } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15229258 Q17149948 Q1284362
P136
Q151885
USER
Which concepts are the genre for The Common Linnets, Bars and Melody and Quintessence ?
(Q15229258,P136,c(Q151885)) (Q17149948,P136,c(Q151885)) (Q1284362,P136,c(Q151885))
action union
action filter_type
action find
entity Q15229258
relation P136
type Q151885
action filter_type
action find
entity Q17149948
relation P136
type Q151885
action filter_type
action find
entity Q1284362
relation P136
type Q151885
['Q15229258', 'P136', {'concept': 'Q151885'}] ['Q17149948', 'P136', {'concept': 'Q151885'}] ['Q1284362', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { resource:Q15229258 property:P136 ?k . ?k rdf:type ontology:Q151885 } UNION { resource:Q17149948 property:P136 ?k . ?k rdf:type ontology:Q151885 } }
The Common Linnets Bars and Melody Quintessence
action union
action filter_type
action find
entity The Common Linnets
relation genre
type concept
action filter_type
action find
entity Bars and Melody
relation genre
type concept
action filter_type
action find
entity Quintessence
relation genre
type concept
['The Common Linnets', 'genre', {'concept': 'concept'}] ['Bars and Melody', 'genre', {'concept': 'concept'}] ['Quintessence', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { resource:The_Common_Linnets property:genre ?k . ?k rdf:type ontology:concept } UNION { resource:Bars_and_Melody property:genre ?k . ?k rdf:type ontology:concept } }
[]
concept
Q213714 Q37073 Q83440
SYSTEM
bluegrass music, pop music, country music
Q83440 Q213714 Q850412 Q11401 Q37073 Q49451 Q11366 Q206159
(Q15229258,P136,c(Q151885)) (Q17149948,P136,c(Q151885)) (Q1284362,P136,c(Q151885))
action union
action filter_type
action find
entity Q15229258
relation P136
type Q151885
action filter_type
action find
entity Q17149948
relation P136
type Q151885
action filter_type
action find
entity Q1284362
relation P136
type Q151885
The [ANSWERS] are the genre for The Common Linnets, Bars and Melody and Quintessence
['Q15229258', 'P136', {'concept': 'Q151885'}] ['Q17149948', 'P136', {'concept': 'Q151885'}] ['Q1284362', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { resource:Q15229258 property:P136 ?k . ?k rdf:type ontology:Q151885 } UNION { resource:Q17149948 property:P136 ?k . ?k rdf:type ontology:Q151885 } }
country music bluegrass music contemporary R&B hip hop pop music progressive rock alternative rock psychedelic rock
The bluegrass music, pop music and country music are the genre for The Common Linnets, Bars and Melody and Quintessence
bluegrass music pop music country music
action union
action filter_type
action find
entity The Common Linnets
relation genre
type concept
action filter_type
action find
entity Bars and Melody
relation genre
type concept
action filter_type
action find
entity Quintessence
relation genre
type concept
['The Common Linnets', 'genre', {'concept': 'concept'}] ['Bars and Melody', 'genre', {'concept': 'concept'}] ['Quintessence', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { resource:The_Common_Linnets property:genre ?k . ?k rdf:type ontology:concept } UNION { resource:Bars_and_Melody property:genre ?k . ?k rdf:type ontology:concept } }
[]