Simple Question (Direct)
Simple Question
Q16945137
P106
Q12737077
USER
What does Pierre Désiré de Goësbriand do for a living ?
(Q16945137,P106,c(Q12737077))
action filter_type
action find
entity Q16945137
relation P106
type Q12737077
['Q16945137', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q16945137 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Pierre Désiré de Goësbriand
action filter_type
action find
entity Pierre Désiré de Goësbriand
relation occupation
type occupation
['Pierre Désiré de Goësbriand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Désiré_de_Goësbriand property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q16945137,P106,c(Q12737077))
action filter_type
action find
entity Q16945137
relation P106
type Q12737077
Pierre Désiré de Goësbriand does not [ANSWER] for a living
['Q16945137', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q16945137 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
writer
Pierre Désiré de Goësbriand does not writer for a living
writer
action filter_type
action find
entity Pierre Désiré de Goësbriand
relation occupation
type occupation
['Pierre Désiré de Goësbriand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Désiré_de_Goësbriand property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16945137
P20
Q20667921
USER
Where did that person die ?
(Q36180,P20,c(Q20667921))
action filter_type
action find
entity Q16945137
relation P20
type Q20667921
['Q36180', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16945137 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Pierre Désiré de Goësbriand
action filter_type
action find
entity Pierre Désiré de Goësbriand
relation place of death
type type of french administrative division
['writer', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Pierre_Désiré_de_Goësbriand property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q214428
SYSTEM
Saint-Urbain
Q214428
(Q36180,P20,c(Q20667921))
action filter_type
action find
entity Q16945137
relation P20
type Q20667921
That person died at [ANSWER]
['Q36180', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16945137 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Saint-Urbain
That person died at Saint-Urbain
Saint-Urbain
action filter_type
action find
entity Pierre Désiré de Goësbriand
relation place of death
type type of french administrative division
['writer', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Pierre_Désiré_de_Goësbriand property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q486972
USER
How many human settlements are center of administration for atleast 1 french administrative division ?
(c(Q486972),P1376,c(Q20667921))
action count
action atleast
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?k ) WHERE { ?p property:P1376 ?t . ?t rdf:type ontology:Q20667921 . ?p rdf:type ontology:Q486972 } GROUP BY ?p } . FILTER ( ?k >= 1 ) }
action count
action atleast
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?k ) WHERE { ?p property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?p rdf:type ontology:human_settlement } GROUP BY ?p } . FILTER ( ?k >= 1 ) }
[]
type of french administrative division human settlement
SYSTEM
3
Q150039 Q323593 Q30940
(c(Q486972),P1376,c(Q20667921))
action count
action atleast
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?k ) WHERE { ?p property:P1376 ?t . ?t rdf:type ontology:Q20667921 . ?p rdf:type ontology:Q486972 } GROUP BY ?p } . FILTER ( ?k >= 1 ) }
Neuf-Brisach Vitry-en-Artois Albert
3
action count
action atleast
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?k ) WHERE { ?p property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?p rdf:type ontology:human_settlement } GROUP BY ?p } . FILTER ( ?k >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214428
P17
Q15617994
USER
Which administrative territory does Saint-Urbain belong to ?
(Q214428,P17,c(Q15617994))
action filter_type
action find
entity Q214428
relation P17
type Q15617994
['Q214428', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q214428 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Saint-Urbain
action filter_type
action find
entity Saint-Urbain
relation country
type designation for an administrative territorial entity
['Saint-Urbain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Saint-Urbain property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q214428,P17,c(Q15617994))
action filter_type
action find
entity Q214428
relation P17
type Q15617994
Saint-Urbain belongs to [ANSWER]
['Q214428', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q214428 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
France
Saint-Urbain belongs to France
France
action filter_type
action find
entity Saint-Urbain
relation country
type designation for an administrative territorial entity
['Saint-Urbain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Saint-Urbain property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4831021
Q15617994
USER
And also tell me about Geçitli?
(Q4831021,P17,c(Q15617994))
action filter_type
action find
entity Q4831021
relation P17
type Q15617994
['Q4831021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q4831021 property:P17 ?z }
Geçitli
action filter_type
action find
entity Geçitli
relation country
type designation for an administrative territorial entity
['Geçitli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Geçitli property:country ?z }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q4831021,P17,c(Q15617994))
action filter_type
action find
entity Q4831021
relation P17
type Q15617994
[ANSWER]
['Q4831021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q4831021 property:P17 ?z }
Turkey
Turkey
action filter_type
action find
entity Geçitli
relation country
type designation for an administrative territorial entity
['Geçitli', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Geçitli property:country ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with approximately 63 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?x = 63 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?x ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?x = 63 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?x ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[ANSWER] have tactful political relations with approximately 63 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?x = 63 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?x ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } }
Canada
Canada have tactful political relations with approximately 63 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?x = 63 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?x ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q23009319
P17
Q44539
USER
Is Trinity Anglican Church present in that political territory ?
(Q23009319,P17,Q16)
action is_in
entity Q16
action find
entity Q23009319
relation P17
['Q23009319', 'P17', 'Q16']
ASK WHERE { resource:Q23009319 property:P17 resource:Q16 }
Canada Trinity Anglican Church
action is_in
entity Canada
action find
entity Trinity Anglican Church
relation country
['Trinity Anglican Church', 'country', 'Canada']
ASK WHERE { resource:Trinity_Anglican_Church property:country resource:Canada }
[]
temple
SYSTEM
YES
(Q23009319,P17,Q16)
action is_in
entity Q16
action find
entity Q23009319
relation P17
[ANSWER]
['Q23009319', 'P17', 'Q16']
ASK WHERE { resource:Q23009319 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Trinity Anglican Church
relation country
['Trinity Anglican Church', 'country', 'Canada']
ASK WHERE { resource:Trinity_Anglican_Church property:country resource:Canada }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q35
P27
Q502895
USER
How many people are a citizen of Canada and Denmark ?
(c(Q502895),P27,Q16) (c(Q502895),P27,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q16
relation P27
type Q502895
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q16'] [{'concept': 'Q502895'}, 'P27', 'Q35']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P27 resource:Q16 . ?i rdf:type ontology:Q502895 . ?i property:P27 resource:Q35 . ?i rdf:type ontology:Q502895 }
Canada Denmark
action count
action intersection
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Canada'] [{'concept': 'common name'}, 'country of citizenship', 'Denmark']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:country_of_citizenship resource:Canada . ?i rdf:type ontology:common_name . ?i property:country_of_citizenship resource:Denmark . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q3161736 Q929146 Q4994357 Q3783139 Q1174872 Q1635555
(c(Q502895),P27,Q16) (c(Q502895),P27,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q16
relation P27
type Q502895
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q16'] [{'concept': 'Q502895'}, 'P27', 'Q35']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P27 resource:Q16 . ?i rdf:type ontology:Q502895 . ?i property:P27 resource:Q35 . ?i rdf:type ontology:Q502895 }
Jan Popiel Daeg Faerch Erling Porsild Hans Fogh David Jensen Lars Hansen
6
action count
action intersection
action filter_type
action find_reverse
entity Canada
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Canada'] [{'concept': 'common name'}, 'country of citizenship', 'Denmark']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:country_of_citizenship resource:Canada . ?i rdf:type ontology:common_name . ?i property:country_of_citizenship resource:Denmark . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q766
P530
Q1048835 Q1048835
USER
How many political territories are known to have diplomatic connections with greater number of political territories than Jamaica ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?c ) WHERE { ?y property:P530 ?r . ?r rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q766 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?u ) }
Jamaica
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?c ) WHERE { ?y property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Jamaica property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?u ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?c ) WHERE { ?y property:P530 ?r . ?r rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q766 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?u ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?c ) WHERE { ?y property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Jamaica property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q685
P530
Q1048835 Q1048835
USER
And what about Solomon Islands?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?z property:P530 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q685 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?u > ?y ) }
Solomon Islands
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?z property:diplomatic_relation ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?u > ?y ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?z property:P530 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q685 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?u > ?y ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?u ) WHERE { ?z property:diplomatic_relation ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?u > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q28
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with around the same number of political territories as Hungary ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?k ) WHERE { ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 . ?r property:P530 ?u } GROUP BY ?r } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q28 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } }
Hungary
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?k ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation ?u } GROUP BY ?r } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Hungary property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
72
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?k ) WHERE { ?r rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 . ?r property:P530 ?u } GROUP BY ?r } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q28 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
72
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?k ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?r property:diplomatic_relation ?u } GROUP BY ?r } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Hungary property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q33
P530
Q15617994 Q1048835
USER
And also tell me about Finland?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?l } } . FILTER ( ?h = ?r ) }
Finland
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?l } } . FILTER ( ?h = ?r ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
32
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?l } } . FILTER ( ?h = ?r ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
32
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Finland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?l } } . FILTER ( ?h = ?r ) }
[]