Simple Question (Direct)
Simple Question
Q279696
P27
Q1048835
USER
Which political territory is Michael Wessing an inhabitant of ?
(Q279696,P27,c(Q1048835))
action filter_type
action find
entity Q279696
relation P27
type Q1048835
['Q279696', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q279696 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Michael Wessing
action filter_type
action find
entity Michael Wessing
relation country of citizenship
type political territorial entity
['Michael Wessing', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Michael_Wessing property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q279696,P27,c(Q1048835))
action filter_type
action find
entity Q279696
relation P27
type Q1048835
[ANSWER] is Michael Wessing an inhabitant of
['Q279696', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q279696 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany is Michael Wessing an inhabitant of
Germany
action filter_type
action find
entity Michael Wessing
relation country of citizenship
type political territorial entity
['Michael Wessing', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Michael_Wessing property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q279696
P106
Q151885
USER
What is the profession of that person ?
(Q183,P106,c(Q151885))
action filter_type
action find
entity Q279696
relation P106
type Q151885
['Q183', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q279696 property:P106 ?i . ?i rdf:type ontology:Q151885 }
Michael Wessing
action filter_type
action find
entity Michael Wessing
relation occupation
type concept
['Germany', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Michael_Wessing property:occupation ?i . ?i rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q183,P106,c(Q151885))
action filter_type
action find
entity Q279696
relation P106
type Q151885
The profession of that person is an [ANSWER]
['Q183', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q279696 property:P106 ?i . ?i rdf:type ontology:Q151885 }
athletics competitor
The profession of that person is an athletics competitor
athletics competitor
action filter_type
action find
entity Michael Wessing
relation occupation
type concept
['Germany', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Michael_Wessing property:occupation ?i . ?i rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q279696
P21
Q290
USER
Which sex does that person belong to ?
(Q11513337,P21,c(Q290))
action filter_type
action find
entity Q279696
relation P21
type Q290
['Q11513337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q279696 property:P21 ?b . ?b rdf:type ontology:Q290 }
Michael Wessing
action filter_type
action find
entity Michael Wessing
relation gender
type sex
['athletics competitor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Michael_Wessing property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11513337,P21,c(Q290))
action filter_type
action find
entity Q279696
relation P21
type Q290
That person belongs to [ANSWER]
['Q11513337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q279696 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Michael Wessing
relation gender
type sex
['athletics competitor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Michael_Wessing property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q15907392 Q279696
P21
Q290
USER
Or Vanessa Wong?
OR((Q279696,P21,c(Q290)), (Q15907392,P21,c(Q290)))
action filter_type
action union
action find
entity Q279696
relation P21
action find
entity Q15907392
relation P21
type Q290
{'OR': [['Q279696', 'P21', {'concept': 'Q290'}], ['Q15907392', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q279696 ) ( resource:Q15907392 ) } . ?v property:P21 ?e } . ?e rdf:type ontology:Q290 }
Vanessa Wong Michael Wessing
action filter_type
action union
action find
entity Michael Wessing
relation gender
action find
entity Vanessa Wong
relation gender
type sex
{'OR': [['Michael Wessing', 'gender', {'concept': 'sex'}], ['Vanessa Wong', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Michael_Wessing ) ( resource:Vanessa_Wong ) } . ?v property:gender ?e } . ?e rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q279696,P21,c(Q290)), (Q15907392,P21,c(Q290)))
action filter_type
action union
action find
entity Q279696
relation P21
action find
entity Q15907392
relation P21
type Q290
[ANSWERS]
{'OR': [['Q279696', 'P21', {'concept': 'Q290'}], ['Q15907392', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q279696 ) ( resource:Q15907392 ) } . ?v property:P21 ?e } . ?e rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Michael Wessing
relation gender
action find
entity Vanessa Wong
relation gender
type sex
{'OR': [['Michael Wessing', 'gender', {'concept': 'sex'}], ['Vanessa Wong', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Michael_Wessing ) ( resource:Vanessa_Wong ) } . ?v property:gender ?e } . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3167994
P21
Q502895
USER
Do Jean-Michel Cosson have those sexes as the sex ?
(Q3167994,P21,Q6581097) (Q3167994,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q3167994
relation P21
['Q3167994', 'P21', 'Q6581097'] ['Q3167994', 'P21', 'Q6581072']
ASK WHERE { resource:Q3167994 property:P21 ?n . VALUES ( ?n ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
Jean-Michel Cosson
action is_in
entity prev_answer
action find
entity Jean-Michel Cosson
relation gender
['Jean-Michel Cosson', 'gender', 'male'] ['Jean-Michel Cosson', 'gender', 'female']
ASK WHERE { resource:Jean-Michel_Cosson property:gender ?n . VALUES ( ?n ) { ( resource:male ) ( resource:female ) } }
[]
common name
SYSTEM
NO
(Q3167994,P21,Q6581097) (Q3167994,P21,Q6581072)
action is_in
entity prev_answer
action find
entity Q3167994
relation P21
[ANSWER]
['Q3167994', 'P21', 'Q6581097'] ['Q3167994', 'P21', 'Q6581072']
ASK WHERE { resource:Q3167994 property:P21 ?n . VALUES ( ?n ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
No
action is_in
entity prev_answer
action find
entity Jean-Michel Cosson
relation gender
['Jean-Michel Cosson', 'gender', 'male'] ['Jean-Michel Cosson', 'gender', 'female']
ASK WHERE { resource:Jean-Michel_Cosson property:gender ?n . VALUES ( ?n ) { ( resource:male ) ( resource:female ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3167994
P19
Q20667921
USER
Which french administrative division was that person born at ?
action filter_type
action find
entity Q3167994
relation P19
type Q20667921
SELECT DISTINCT ?l WHERE { resource:Q3167994 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Jean-Michel Cosson
action filter_type
action find
entity Jean-Michel Cosson
relation place of birth
type type of french administrative division
SELECT DISTINCT ?l WHERE { resource:Jean-Michel_Cosson property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q188780
SYSTEM
Rodez
Q188780
action filter_type
action find
entity Q3167994
relation P19
type Q20667921
That person was born in [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q3167994 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Rodez
That person was born in Rodez
Rodez
action filter_type
action find
entity Jean-Michel Cosson
relation place of birth
type type of french administrative division
SELECT DISTINCT ?l WHERE { resource:Jean-Michel_Cosson property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q851097
P1376
Q20667921 Q515
USER
How many cities are center of administration for more number of french administrative divisions than Iiyama ?
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q851097
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q851097 property:P1376 ?g . ?g rdf:type ontology:Q515 } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:P1376 ?j . ?x rdf:type ontology:Q515 . ?j rdf:type ontology:Q20667921 } GROUP BY ?x } }
Iiyama
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Iiyama
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Iiyama property:capital_of ?g . ?g rdf:type ontology:city } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:capital_of ?j . ?x rdf:type ontology:city . ?j rdf:type ontology:type_of_french_administrative_division } GROUP BY ?x } }
[]
type of french administrative division city
SYSTEM
5
Q23482 Q6602 Q6582 Q456 Q7003
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q851097
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q851097 property:P1376 ?g . ?g rdf:type ontology:Q515 } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:P1376 ?j . ?x rdf:type ontology:Q515 . ?j rdf:type ontology:Q20667921 } GROUP BY ?x } }
Marseille Strasbourg Carcassonne Lyon Dijon
5
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Iiyama
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Iiyama property:capital_of ?g . ?g rdf:type ontology:city } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?z ) WHERE { ?x property:capital_of ?j . ?x rdf:type ontology:city . ?j rdf:type ontology:type_of_french_administrative_division } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20982217 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or are Sun Alliance present in ?
OR((Q183,P530,c(Q15617994)), (Q20982217,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q20982217
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q20982217', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q183 property:P530 ?l } UNION { resource:Q20982217 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Sun Alliance Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Sun Alliance
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sun Alliance', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Germany property:diplomatic_relation ?l } UNION { resource:Sun_Alliance property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q217 Q232 Q711 Q38 Q225 Q242 Q55 Q1029 Q414 Q668
SYSTEM
Some of them are Republic of Moldova, Kazakhstan, Mongolia, Italy, Bosnia and Herzegovina, Belize, Netherlands, Mozambique, Argentina, India
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q20982217,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q20982217
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or are Sun Alliance present in
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q20982217', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q183 property:P530 ?l } UNION { resource:Q20982217 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Republic of Moldova, Kazakhstan, Mongolia, Italy, Bosnia and Herzegovina, Belize, Netherlands, Mozambique, Argentina and India have diplomatic relationships with Germany or are Sun Alliance present in
Republic of Moldova Kazakhstan Mongolia Italy Bosnia and Herzegovina Belize Netherlands Mozambique Argentina India
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Sun Alliance
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sun Alliance', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Germany property:diplomatic_relation ?l } UNION { resource:Sun_Alliance property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q56061 Q43229
USER
Which administrative territories are max number of administrative territories and organizations named after ?
(c(Q56061)|c(Q43229),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q56061 ) } . ?h rdf:type ?n } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:P138 ?r . ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q43229 . ?u property:P138 ?r } } GROUP BY ?r } . FILTER ( ?e = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?o WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?n } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:named_after ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:organization . ?u property:named_after ?r } } GROUP BY ?r } . FILTER ( ?e = ?g ) }
[]
designation for an administrative territorial entity administrative territorial entity organization
Q55 Q45 Q39
SYSTEM
Netherlands, Portugal, Switzerland
Q55 Q45 Q39 Q81729 Q223 Q654138 Q770
(c(Q56061)|c(Q43229),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
[ANSWERS] are max number of administrative territories and organizations named after
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q56061 ) } . ?h rdf:type ?n } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:P138 ?r . ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q43229 . ?u property:P138 ?r } } GROUP BY ?r } . FILTER ( ?e = ?g ) }
Netherlands Portugal Switzerland Radeberg Greenland Rhede, Lower Saxony Friesland
Netherlands, Portugal and Switzerland are max number of administrative territories and organizations named after
Netherlands Portugal Switzerland
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?o WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?n } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:named_after ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:organization . ?u property:named_after ?r } } GROUP BY ?r } . FILTER ( ?e = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with atleast 100 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 100
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?i ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?i >= 100 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 100
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?i ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?i >= 100 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 100
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?i ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?i >= 100 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 100
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?i ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?i >= 100 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atleast 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?r ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?r >= 11 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?r ) 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 } . FILTER ( ?r >= 11 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
14
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?r ) WHERE { ?c property:P530 ?p . ?c rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?r >= 11 ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
14
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?r ) 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 } . FILTER ( ?r >= 11 ) }
[]