Simple Question (Direct)
Simple Question
Q1170702
P47
Q20667921
USER
Which french administrative divisions share border with Veigné ?
(Q1170702,P47,c(Q20667921))
action filter_type
action find
entity Q1170702
relation P47
type Q20667921
['Q1170702', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1170702 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Veigné
action filter_type
action find
entity Veigné
relation shares border with
type type of french administrative division
['Veigné', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Veigné property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q269364 Q641181 Q1070579
SYSTEM
Joué-lès-Tours, Chambray-lès-Tours, Esvres
Q693996 Q965608 Q269364 Q1070579 Q1170813 Q641181 Q1170894
(Q1170702,P47,c(Q20667921))
action filter_type
action find
entity Q1170702
relation P47
type Q20667921
[ANSWERS] share border with Veigné
['Q1170702', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q1170702 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Montbazon Sorigny Joué-lès-Tours Esvres Saint-Branchs Chambray-lès-Tours Monts
Joué-lès-Tours, Chambray-lès-Tours and Esvres share border with Veigné
Joué-lès-Tours Chambray-lès-Tours Esvres
action filter_type
action find
entity Veigné
relation shares border with
type type of french administrative division
['Veigné', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Veigné property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1170702
P17
Q15617994
USER
Which administrative territory is Veigné present in ?
(Q1170702,P17,c(Q15617994))
action filter_type
action find
entity Q1170702
relation P17
type Q15617994
['Q1170702', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1170702 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Veigné
action filter_type
action find
entity Veigné
relation country
type designation for an administrative territorial entity
['Veigné', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Veigné property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1170702,P17,c(Q15617994))
action filter_type
action find
entity Q1170702
relation P17
type Q15617994
Veigné is de [ANSWER]
['Q1170702', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1170702 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
France
Veigné is de France
France
action filter_type
action find
entity Veigné
relation country
type designation for an administrative territorial entity
['Veigné', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Veigné property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q228 Q39853
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Andorra and Ruino ?
(Q142,P530,Q228) (Q142,P530,Q39853)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q39853
relation P530
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q39853']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q39853 }
France Andorra Ruino
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Ruino
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Ruino']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Ruino }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q228) (Q142,P530,Q39853)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q39853
relation P530
[ANSWER]
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q39853']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q39853 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Ruino
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Ruino']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Ruino }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with approximately 37 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 37
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?c ) WHERE { ?b property:P530 ?s . ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?c = 37 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?c ) WHERE { ?b property:diplomatic_relation ?s . ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?c = 37 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 37
[ANSWERS] hold diplomatic relationship with approximately 37 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?c ) WHERE { ?b property:P530 ?s . ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?c = 37 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria hold diplomatic relationship with approximately 37 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?c ) WHERE { ?b property:diplomatic_relation ?s . ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?c = 37 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 7 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 7
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?q property:P530 ?l . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?i <= 7 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?q property:diplomatic_relation ?l . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?i <= 7 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
160
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 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 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 7
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?q property:P530 ?l . ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?i <= 7 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy 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 Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
160
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?q property:diplomatic_relation ?l . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?i <= 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1159009
P407
Q34770
USER
Which language is Jack composed in ?
(Q1159009,P407,c(Q34770))
action filter_type
action find
entity Q1159009
relation P407
type Q34770
['Q1159009', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1159009 property:P407 ?k . ?k rdf:type ontology:Q34770 }
Jack
action filter_type
action find
entity Jack
relation language of work or name
type language
['Jack', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Jack property:language_of_work_or_name ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1159009,P407,c(Q34770))
action filter_type
action find
entity Q1159009
relation P407
type Q34770
Jack is composed in [ANSWER]
['Q1159009', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1159009 property:P407 ?k . ?k rdf:type ontology:Q34770 }
English
Jack is composed in English
English
action filter_type
action find
entity Jack
relation language of work or name
type language
['Jack', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Jack property:language_of_work_or_name ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1159009
P1533
Q82799
USER
Which name is same as Jack ?
(Q1159009,P1533,c(Q82799))
action filter_type
action find
entity Q1159009
relation P1533
type Q82799
['Q1159009', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q1159009 property:P1533 ?e . ?e rdf:type ontology:Q82799 }
Jack
action filter_type
action find
entity Jack
relation family name identical to this first name
type name
['Jack', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Jack property:family_name_identical_to_this_first_name ?e . ?e rdf:type ontology:name }
[]
name
Q16871117
SYSTEM
Jack
Q16871117
(Q1159009,P1533,c(Q82799))
action filter_type
action find
entity Q1159009
relation P1533
type Q82799
[ANSWER] is same as [ANSWER]
['Q1159009', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q1159009 property:P1533 ?e . ?e rdf:type ontology:Q82799 }
Jack
Jack is same as Jack
Jack
action filter_type
action find
entity Jack
relation family name identical to this first name
type name
['Jack', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Jack property:family_name_identical_to_this_first_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16871117
P734
Q502895
USER
Who have that one as their family name ?
(c(Q502895),P734,Q16871117)
action filter_type
action find_reverse
entity Q16871117
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q16871117']
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q16871117 . ?d rdf:type ontology:Q502895 }
Jack
action filter_type
action find_reverse
entity Jack
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Jack']
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Jack . ?d rdf:type ontology:common_name }
[]
common name
Q957113 Q555110 Q3716812
SYSTEM
Kelvin Jack, Jarrett Jack, Dwayne Jack
Q377883 Q3814437 Q2161836 Q957113 Q555110 Q3716812 Q1077368 Q3616266 Q5504935 Q5235524
(c(Q502895),P734,Q16871117)
action filter_type
action find_reverse
entity Q16871117
relation P734
type Q502895
[ANSWERS] have that one as their family name
[{'concept': 'Q502895'}, 'P734', 'Q16871117']
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q16871117 . ?d rdf:type ontology:Q502895 }
David Jack Kema Jack Ryan Jack Kelvin Jack Jarrett Jack Dwayne Jack Chris Jack Andrew Keith Jack Fritz Jack David Jack
Kelvin Jack, Jarrett Jack and Dwayne Jack have that one as their family name
Kelvin Jack Jarrett Jack Dwayne Jack
action filter_type
action find_reverse
entity Jack
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Jack']
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Jack . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35668
P282
Q8192 Q2001982 Q34770
USER
How many languages adopt greater number of writing systems and notations as the writing system than Hittite ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q35668 property:P282 ?d . { VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?y } } } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { { ?m property:P282 ?u . ?m rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } UNION { ?m rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 . ?m property:P282 ?u } } GROUP BY ?m } }
Hittite
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Hittite property:writing_system ?d . { VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?y } } } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { { ?m property:writing_system ?u . ?m rdf:type ontology:language . ?u rdf:type ontology:writing_system } UNION { ?m rdf:type ontology:language . ?u rdf:type ontology:notation . ?m property:writing_system ?u } } GROUP BY ?m } }
[]
writing system notation language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q35668 property:P282 ?d . { VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?y } } } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { { ?m property:P282 ?u . ?m rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } UNION { ?m rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 . ?m property:P282 ?u } } GROUP BY ?m } }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Hittite property:writing_system ?d . { VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?y } } } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { { ?m property:writing_system ?u . ?m rdf:type ontology:language . ?u rdf:type ontology:writing_system } UNION { ?m rdf:type ontology:language . ?u rdf:type ontology:notation . ?m property:writing_system ?u } } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q47625
P282
Q8192 Q2001982 Q34770
USER
And what about Burgundian?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q47625
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?c ) WHERE { { ?i property:P282 ?f . ?i rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } UNION { ?i property:P282 ?f . ?f rdf:type ontology:Q8192 . ?i rdf:type ontology:Q34770 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q47625 property:P282 ?m . { { ?m rdf:type ontology:Q2001982 } UNION { ?m rdf:type ontology:Q8192 } } } } . FILTER ( ?c > ?j ) }
Burgundian
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Burgundian
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?c ) WHERE { { ?i property:writing_system ?f . ?i rdf:type ontology:language . ?f rdf:type ontology:notation } UNION { ?i property:writing_system ?f . ?f rdf:type ontology:writing_system . ?i rdf:type ontology:language } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Burgundian property:writing_system ?m . { { ?m rdf:type ontology:notation } UNION { ?m rdf:type ontology:writing_system } } } } . FILTER ( ?c > ?j ) }
[]
writing system notation language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q47625
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?c ) WHERE { { ?i property:P282 ?f . ?i rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } UNION { ?i property:P282 ?f . ?f rdf:type ontology:Q8192 . ?i rdf:type ontology:Q34770 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q47625 property:P282 ?m . { { ?m rdf:type ontology:Q2001982 } UNION { ?m rdf:type ontology:Q8192 } } } } . FILTER ( ?c > ?j ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Burgundian
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?c ) WHERE { { ?i property:writing_system ?f . ?i rdf:type ontology:language . ?f rdf:type ontology:notation } UNION { ?i property:writing_system ?f . ?f rdf:type ontology:writing_system . ?i rdf:type ontology:language } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Burgundian property:writing_system ?m . { { ?m rdf:type ontology:notation } UNION { ?m rdf:type ontology:writing_system } } } } . FILTER ( ?c > ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films did approximately 13 people dub for ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 13
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?b ) WHERE { ?u property:P725 ?f . ?u rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?b = 13 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 13
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?b ) WHERE { ?u property:voice_actor ?f . ?u rdf:type ontology:film . ?f rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?b = 13 ) }
[]
common name film
SYSTEM
59
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 13
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?b ) WHERE { ?u property:P725 ?f . ?u rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?b = 13 ) }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Johnny Corncob Renart the Fox FernGully: The Last Rainforest
59
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 13
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?b ) WHERE { ?u property:voice_actor ?f . ?u rdf:type ontology:film . ?f rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?b = 13 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q1002697 Q874405
USER
Which people are the CEOs of approximately 1 periodical literatures and social groups ?
(c(Q1002697)|c(Q874405),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
value 1
[[{'concept': 'Q1002697'}, {'concept': 'Q874405'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1002697 . ?y property:P169 ?o } UNION { ?y property:P169 ?o . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 } } GROUP BY ?o } }
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
value 1
[[{'concept': 'periodical literature'}, {'concept': 'social group'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { { ?o rdf:type ontology:common_name . ?y rdf:type ontology:periodical_literature . ?y property:chief_executive_officer ?o } UNION { ?y property:chief_executive_officer ?o . ?o rdf:type ontology:common_name . ?y rdf:type ontology:social_group } } GROUP BY ?o } }
[]
common name periodical literature social group
Q952737 Q103473 Q26908223
SYSTEM
Diego Abad de Santillán, Georg August Zenker, Alireza Salehi Nejad
Q21000395 Q9024946 Q15966868 Q1929047 Q952737 Q4487 Q103473 Q16163305 Q1710229 Q15293536 Q111695 Q16876158 Q5872324 Q23048203 Q8051043 Q3047406 Q5675607 Q5704388 Q3185348 Q500976 Q26908223 Q7456439 Q4888662 Q23759747 Q4655570 Q4935260 Q96270 Q18091304 Q776008 Q17114394 Q19878836
(c(Q1002697)|c(Q874405),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q874405
value 1
[ANSWERS] are the CEOs of approximately 1 periodical literatures and social groups
[[{'concept': 'Q1002697'}, {'concept': 'Q874405'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1002697 . ?y property:P169 ?o } UNION { ?y property:P169 ?o . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 } } GROUP BY ?o } }
Franz Borgias Mayer Luis Bello David Schraven Michael Rockenschaub Diego Abad de Santillán Federico Gamboa Georg August Zenker Albert Royo i Mariné João do Rio Martyn Harrow Jakob Augstein Ryan Merkley Félix Lorenzo Youssef al-Raissouni Yechiel Eckstein Joseph Blanco White Andrés Borrego Helga Stephenson Joseph Mayer Andreas Treichl Alireza Salehi Nejad Seth Berkley José Lázaro Galdiano Alisa Miller Christine Loh Bobby Koch Richard Kund Victor Galasyuk Nasser Al-Khelaifi Randi S. Øgrey Colin Seery
Diego Abad de Santillán, Georg August Zenker and Alireza Salehi Nejad are the CEOs of approximately 1 periodical literatures and social groups
Diego Abad de Santillán Georg August Zenker Alireza Salehi Nejad
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type social group
value 1
[[{'concept': 'periodical literature'}, {'concept': 'social group'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?o WHERE { { ?o rdf:type ontology:common_name . ?y rdf:type ontology:periodical_literature . ?y property:chief_executive_officer ?o } UNION { ?y property:chief_executive_officer ?o . ?o rdf:type ontology:common_name . ?y rdf:type ontology:social_group } } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?f ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?k } GROUP BY ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?e = ?f ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?f ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?k } GROUP BY ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?e = ?f ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?f ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?k } GROUP BY ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?e = ?f ) }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?f ) { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?k } GROUP BY ?k } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?e = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2044159
P206
Q337567 Q355304 Q1048835
USER
How many political territories are situated in the neighbourhood of lesser number of still waterss or watercourses than Llanybydder ?
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q2044159
relation P206
type Q337567
type Q355304
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?d WHERE { VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?x rdf:type ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2044159 property:P206 ?t . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } } } . FILTER ( ?g < ?l ) }
Llanybydder
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Llanybydder
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?d WHERE { VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?x rdf:type ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Llanybydder property:located_next_to_body_of_water ?t . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:still_waters ) ( ontology:watercourse ) } } } } . FILTER ( ?g < ?l ) }
[]
still waters watercourse political territorial entity
SYSTEM
232
Q1649616 Q736872 Q5075 Q434192 Q691567 Q1228773 Q21590062 Q657407 Q434053 Q782910 Q1447512 Q1628271 Q1866 Q49562 Q844784 Q2012050 Q52626 Q677038 Q540185 Q484552 Q433632 Q1614800 Q1470810 Q492312 Q7206212 Q983556 Q193780 Q635308 Q741749 Q5065 Q5067 Q983465 Q5061 Q2772 Q5062 Q353618 Q5068 Q18356359 Q983628 Q147774 Q846153 Q217829 Q925913 Q7451347 Q830969 Q846159 Q1324548 Q5093 Q962773 Q5095 Q12071 Q985601 Q615809 Q565002 Q16 Q390069 Q18350152 Q11339 Q55845 Q3557 Q210887 Q804466 Q2323549 Q594892 Q582901 Q5096 Q898856 Q1853429 Q587114 Q434321 Q492420 Q11492 Q11263 Q915283 Q661198 Q741765 Q35 Q5017377 Q985598 Q917886 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q6674900 Q7521776 Q716384 Q499184 Q616847 Q13462 Q986364 Q1637424 Q956757 Q1443906 Q1798827 Q2244278 Q693258 Q736926 Q13751 Q433918 Q434019 Q986359 Q575670 Q847329 Q817971 Q926410 Q698246 Q16851746 Q15907 Q624967 Q1634820 Q832984 Q11286 Q1447802 Q13150 Q913492 Q13154 Q217840 Q7130989 Q100166 Q176624 Q2451327 Q11811 Q163271 Q5437809 Q426350 Q738674 Q1823 Q10996863 Q7165 Q3540 Q983433 Q524431 Q985586 Q1443992 Q1248474 Q11296 Q1631163 Q277302 Q628446 Q5078 Q1637406 Q743849 Q366948 Q492741 Q650682 Q748078 Q11822 Q932914 Q492748 Q4481 Q904566 Q1645555 Q434150 Q5939706 Q944264 Q943431 Q920391 Q3903 Q399702 Q4673688 Q491786 Q2140 Q3724 Q985599 Q983635 Q1391437 Q18359182 Q706892 Q171334 Q615061 Q847127 Q5616614 Q953876 Q3741 Q657800 Q47134 Q638013 Q492737 Q433958 Q492735 Q1588135 Q1623000 Q18357018 Q827393 Q11304 Q1260011 Q607474 Q737440 Q657738 Q3891 Q584446 Q427330 Q168159 Q682964 Q109128 Q171852 Q1607872 Q3916 Q2110 Q18351821 Q433986 Q3586 Q501077 Q80967 Q936264 Q983577 Q213361 Q42314 Q611250 Q986727 Q181633 Q7684726 Q487268 Q5197069 Q3906 Q736888 Q824076 Q175057 Q398588 Q1110355 Q434173 Q575639 Q6298722 Q434286 Q697126 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q2044159
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?d WHERE { VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?x rdf:type ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2044159 property:P206 ?t . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } } } . FILTER ( ?g < ?l ) }
Orio Ayamonte South East Sulawesi Province San Andrés y Sauces Les Dirouilles Plentzia Antarctic Treaty area Sopela Garafía El Sauzal Chantada Soutomaior Bangka–Belitung Islands Adra Vale of Glamorgan Donetsk Oblast Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Val de San Vicente Pierres de Lecq Hondarribia Poblacion La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Central Sulawesi Province Gorontalo Province Santa Eulària des Riu East Nusa Tenggara Province West Sumatra West Nusa Tenggara Adeje North Sulawesi Province Manipulon Sant Joan de Labritja Zarautz San Roque Ceredigion Los Barrios Sentinela Betancuria Puerto Real El Pinar, Canary Islands Maluku Province San Bartolomé, Las Palmas Papua Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol Canada Agaete Loguingot Llançà Telde Central Java Province Sanlúcar de Barrameda Bakio Yaiza, Las Palmas La Oliva Lújar West Papua Jethou Valverde Itamaracá Villa de Mazo Getxo Mataró Cadaqués Santiago del Teide Pájara San Fernando Denmark Cagting Moya, Las Palmas Santurtzi Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Looc, Mandaue Sinandigan Arucas, Las Palmas Roquetas de Mar Ribamontán al Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Miengo Gáldar, Las Palmas Arnuero La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Biliran Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Comillas Conwy County Borough Algarrobo Arona, Tenerife Caparangasan Rota Arafo Barreiros Conil de la Frontera Castelló d'Empúries Noja Torrox Manilva Barbate Carmarthenshire Pangpang Orkney Islands El Rosario, Tenerife Sé El Port de la Selva Kherson Oblast Fatima Tazacorte Santa Lucía de Tirajana Aceh City and County of Swansea Portbou Banten Province Güímar Fasnia Tuineje, Las Palmas Bareyo Rincón de la Victoria Colera Aia Chiclana de la Frontera Mogán, Las Palmas South Sulawesi Ruiloba Valdáliga Los Llanos de Aridane Vélez-Málaga Denbighshire Neath Port Talbot County Borough Roses Alajeró, Santa Cruz de Tenerife Estepona Barrika Brecqhou Liendo Puntagorda Humayhumay Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava North Kalimantan Agüimes, Las Palmas Achila Calvià North Sumatra Province West Java Province Ingenio, Las Palmas Sant Josep de sa Talaia Alfoz de Lloredo Botlog Island Artenara, Las Palmas Zaporizhzhya Oblast Rubite Pasaia Guintabo-an Los Realejos Special Region of Yogyakarta Santa Úrsula Shetland Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Piélagos Bayas Island Vejer de la Frontera L'Escala Hermigua Muskiz Teguise Arico Kalimantan Tengah Valle Gran Rey Salobreña Anglesey Los Silos Gwynedd Odessa Oblast Piedralaves Kalimantan Barat Lampung Province Malangabang Breña Baja East Java Lepe Outer Hebrides Lemoiz La Matanza de Acentejo Pembrokeshire Channel Islands Polopos La Aldea de San Nicolás Mykolaiv Oblast Tapon Candelaria Cuya Kalimantan Selatan Punta Umbría Ribadeo Fernando de Noronha Agulo Níjar Puntallana Gualchos Juagdan Tijarafe Bridgend County Borough Buenavista del Norte Mañón Berja Enix, Spain
232
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Llanybydder
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?d WHERE { VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?x rdf:type ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Llanybydder property:located_next_to_body_of_water ?t . { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:still_waters ) ( ontology:watercourse ) } } } } . FILTER ( ?g < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4359878
P206
Q337567 Q355304 Q1048835
USER
And what about Pisocine?
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q4359878
relation P206
type Q337567
type Q355304
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?a WHERE { { ?a property:P206 ?y . ?y rdf:type ontology:Q337567 . ?a rdf:type ontology:Q1048835 } UNION { ?a property:P206 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q355304 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q4359878 property:P206 ?v . { { ?v rdf:type ontology:Q337567 } UNION { ?v rdf:type ontology:Q355304 } } } } . FILTER ( ?c < ?k ) }
Pisocine
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Pisocine
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?a WHERE { { ?a property:located_next_to_body_of_water ?y . ?y rdf:type ontology:still_waters . ?a rdf:type ontology:political_territorial_entity } UNION { ?a property:located_next_to_body_of_water ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:watercourse } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Pisocine property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:still_waters } UNION { ?v rdf:type ontology:watercourse } } } } . FILTER ( ?c < ?k ) }
[]
still waters watercourse political territorial entity
SYSTEM
232
Q1649616 Q736872 Q5075 Q434192 Q691567 Q1228773 Q21590062 Q657407 Q434053 Q782910 Q1447512 Q1628271 Q1866 Q49562 Q844784 Q2012050 Q52626 Q677038 Q540185 Q484552 Q433632 Q1614800 Q1470810 Q492312 Q7206212 Q983556 Q193780 Q635308 Q741749 Q5065 Q5067 Q983465 Q5061 Q2772 Q5062 Q353618 Q5068 Q18356359 Q983628 Q147774 Q846153 Q217829 Q925913 Q7451347 Q830969 Q846159 Q1324548 Q5093 Q962773 Q5095 Q12071 Q985601 Q615809 Q565002 Q16 Q390069 Q18350152 Q11339 Q55845 Q3557 Q210887 Q804466 Q2323549 Q594892 Q582901 Q5096 Q898856 Q1853429 Q587114 Q434321 Q492420 Q11492 Q11263 Q915283 Q661198 Q741765 Q35 Q5017377 Q985598 Q917886 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q6674900 Q7521776 Q716384 Q499184 Q616847 Q13462 Q986364 Q1637424 Q956757 Q1443906 Q1798827 Q2244278 Q693258 Q736926 Q13751 Q433918 Q434019 Q986359 Q575670 Q847329 Q817971 Q926410 Q698246 Q16851746 Q15907 Q624967 Q1634820 Q832984 Q11286 Q1447802 Q13150 Q913492 Q13154 Q217840 Q7130989 Q100166 Q176624 Q2451327 Q11811 Q163271 Q5437809 Q426350 Q738674 Q1823 Q10996863 Q7165 Q3540 Q983433 Q524431 Q985586 Q1443992 Q1248474 Q11296 Q1631163 Q277302 Q628446 Q5078 Q1637406 Q743849 Q366948 Q492741 Q650682 Q748078 Q11822 Q932914 Q492748 Q4481 Q904566 Q1645555 Q434150 Q5939706 Q944264 Q943431 Q920391 Q3903 Q399702 Q4673688 Q491786 Q2140 Q3724 Q985599 Q983635 Q1391437 Q18359182 Q706892 Q171334 Q615061 Q847127 Q5616614 Q953876 Q3741 Q657800 Q47134 Q638013 Q492737 Q433958 Q492735 Q1588135 Q1623000 Q18357018 Q827393 Q11304 Q1260011 Q607474 Q737440 Q657738 Q3891 Q584446 Q427330 Q168159 Q682964 Q109128 Q171852 Q1607872 Q3916 Q2110 Q18351821 Q433986 Q3586 Q501077 Q80967 Q936264 Q983577 Q213361 Q42314 Q611250 Q986727 Q181633 Q7684726 Q487268 Q5197069 Q3906 Q736888 Q824076 Q175057 Q398588 Q1110355 Q434173 Q575639 Q6298722 Q434286 Q697126 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q337567)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action count
action filter_multi_types
action find
entity Q4359878
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?a WHERE { { ?a property:P206 ?y . ?y rdf:type ontology:Q337567 . ?a rdf:type ontology:Q1048835 } UNION { ?a property:P206 ?y . ?a rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q355304 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q4359878 property:P206 ?v . { { ?v rdf:type ontology:Q337567 } UNION { ?v rdf:type ontology:Q355304 } } } } . FILTER ( ?c < ?k ) }
Orio Ayamonte South East Sulawesi Province San Andrés y Sauces Les Dirouilles Plentzia Antarctic Treaty area Sopela Garafía El Sauzal Chantada Soutomaior Bangka–Belitung Islands Adra Vale of Glamorgan Donetsk Oblast Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Val de San Vicente Pierres de Lecq Hondarribia Poblacion La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Central Sulawesi Province Gorontalo Province Santa Eulària des Riu East Nusa Tenggara Province West Sumatra West Nusa Tenggara Adeje North Sulawesi Province Manipulon Sant Joan de Labritja Zarautz San Roque Ceredigion Los Barrios Sentinela Betancuria Puerto Real El Pinar, Canary Islands Maluku Province San Bartolomé, Las Palmas Papua Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol Canada Agaete Loguingot Llançà Telde Central Java Province Sanlúcar de Barrameda Bakio Yaiza, Las Palmas La Oliva Lújar West Papua Jethou Valverde Itamaracá Villa de Mazo Getxo Mataró Cadaqués Santiago del Teide Pájara San Fernando Denmark Cagting Moya, Las Palmas Santurtzi Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Looc, Mandaue Sinandigan Arucas, Las Palmas Roquetas de Mar Ribamontán al Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Miengo Gáldar, Las Palmas Arnuero La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Biliran Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Comillas Conwy County Borough Algarrobo Arona, Tenerife Caparangasan Rota Arafo Barreiros Conil de la Frontera Castelló d'Empúries Noja Torrox Manilva Barbate Carmarthenshire Pangpang Orkney Islands El Rosario, Tenerife Sé El Port de la Selva Kherson Oblast Fatima Tazacorte Santa Lucía de Tirajana Aceh City and County of Swansea Portbou Banten Province Güímar Fasnia Tuineje, Las Palmas Bareyo Rincón de la Victoria Colera Aia Chiclana de la Frontera Mogán, Las Palmas South Sulawesi Ruiloba Valdáliga Los Llanos de Aridane Vélez-Málaga Denbighshire Neath Port Talbot County Borough Roses Alajeró, Santa Cruz de Tenerife Estepona Barrika Brecqhou Liendo Puntagorda Humayhumay Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava North Kalimantan Agüimes, Las Palmas Achila Calvià North Sumatra Province West Java Province Ingenio, Las Palmas Sant Josep de sa Talaia Alfoz de Lloredo Botlog Island Artenara, Las Palmas Zaporizhzhya Oblast Rubite Pasaia Guintabo-an Los Realejos Special Region of Yogyakarta Santa Úrsula Shetland Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Piélagos Bayas Island Vejer de la Frontera L'Escala Hermigua Muskiz Teguise Arico Kalimantan Tengah Valle Gran Rey Salobreña Anglesey Los Silos Gwynedd Odessa Oblast Piedralaves Kalimantan Barat Lampung Province Malangabang Breña Baja East Java Lepe Outer Hebrides Lemoiz La Matanza de Acentejo Pembrokeshire Channel Islands Polopos La Aldea de San Nicolás Mykolaiv Oblast Tapon Candelaria Cuya Kalimantan Selatan Punta Umbría Ribadeo Fernando de Noronha Agulo Níjar Puntallana Gualchos Juagdan Tijarafe Bridgend County Borough Buenavista del Norte Mañón Berja Enix, Spain
232
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Pisocine
relation located next to body of water
type still waters
type watercourse
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?a WHERE { { ?a property:located_next_to_body_of_water ?y . ?y rdf:type ontology:still_waters . ?a rdf:type ontology:political_territorial_entity } UNION { ?a property:located_next_to_body_of_water ?y . ?a rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:watercourse } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Pisocine property:located_next_to_body_of_water ?v . { { ?v rdf:type ontology:still_waters } UNION { ?v rdf:type ontology:watercourse } } } } . FILTER ( ?c < ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P291
Q1002697
USER
Which periodical literature has France as its publication location ?
(c(Q1002697),P291,Q142)
action filter_type
action find_reverse
entity Q142
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P291 resource:Q142 . ?l rdf:type ontology:Q1002697 }
France
action filter_type
action find_reverse
entity France
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'France']
SELECT DISTINCT ?l WHERE { ?l property:place_of_publication resource:France . ?l rdf:type ontology:periodical_literature }
[]
periodical literature
Q8773427
SYSTEM
El Socialista
Q8773427
(c(Q1002697),P291,Q142)
action filter_type
action find_reverse
entity Q142
relation P291
type Q1002697
[ANSWER] has France as its publication location
[{'concept': 'Q1002697'}, 'P291', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P291 resource:Q142 . ?l rdf:type ontology:Q1002697 }
El Socialista
El Socialista has France as its publication location
El Socialista
action filter_type
action find_reverse
entity France
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'France']
SELECT DISTINCT ?l WHERE { ?l property:place_of_publication resource:France . ?l rdf:type ontology:periodical_literature }
[]