Simple Question (Direct)
Simple Question
Q1872139
P27
Q15617994
USER
Which administrative territory is Gaetano Colombo an inhabitant of ?
(Q1872139,P27,c(Q15617994))
action filter_type
action find
entity Q1872139
relation P27
type Q15617994
['Q1872139', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1872139 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Gaetano Colombo
action filter_type
action find
entity Gaetano Colombo
relation country of citizenship
type designation for an administrative territorial entity
['Gaetano Colombo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gaetano_Colombo property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1872139,P27,c(Q15617994))
action filter_type
action find
entity Q1872139
relation P27
type Q15617994
[ANSWER] is Gaetano Colombo an inhabitant of
['Q1872139', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1872139 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Italy
Italy is Gaetano Colombo an inhabitant of
Italy
action filter_type
action find
entity Gaetano Colombo
relation country of citizenship
type designation for an administrative territorial entity
['Gaetano Colombo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gaetano_Colombo property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1872139
P19
Q56061
USER
Where was Gaetano Colombo born ?
(Q1872139,P19,c(Q56061))
action filter_type
action find
entity Q1872139
relation P19
type Q56061
['Q1872139', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1872139 property:P19 ?j }
Gaetano Colombo
action filter_type
action find
entity Gaetano Colombo
relation place of birth
type administrative territorial entity
['Gaetano Colombo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Gaetano_Colombo property:place_of_birth ?j }
[]
administrative territorial entity
Q6285
SYSTEM
Varese
Q6285
(Q1872139,P19,c(Q56061))
action filter_type
action find
entity Q1872139
relation P19
type Q56061
Gaetano Colombo was born in [ANSWER]
['Q1872139', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1872139 property:P19 ?j }
Varese
Gaetano Colombo was born in Varese
Varese
action filter_type
action find
entity Gaetano Colombo
relation place of birth
type administrative territorial entity
['Gaetano Colombo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Gaetano_Colombo property:place_of_birth ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24205650
Q56061
USER
And also tell me about Samuel Benson?
(Q24205650,P19,c(Q56061))
action filter_type
action find
entity Q24205650
relation P19
type Q56061
['Q24205650', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q24205650 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Samuel Benson
action filter_type
action find
entity Samuel Benson
relation place of birth
type administrative territorial entity
['Samuel Benson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Samuel_Benson property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q128147
SYSTEM
Kingston upon Hull
Q128147
(Q24205650,P19,c(Q56061))
action filter_type
action find
entity Q24205650
relation P19
type Q56061
[ANSWER]
['Q24205650', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q24205650 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Kingston upon Hull
Kingston upon Hull
action filter_type
action find
entity Samuel Benson
relation place of birth
type administrative territorial entity
['Samuel Benson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Samuel_Benson property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P740
Q2088357 Q215380
USER
How many musical ensembles or bands originated at that administrative territory ?
(c(Q2088357),P740,Q128147) (c(Q215380),P740,Q128147) (c(Q2088357),P740,Q128147) (c(Q215380),P740,Q128147)
action count
action union
action filter_type
action find_reverse
entity Q128147
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q128147
relation P740
type Q215380
[{'concept': 'Q2088357'}, 'P740', 'Q128147'] [{'concept': 'Q215380'}, 'P740', 'Q128147'] [{'concept': 'Q2088357'}, 'P740', 'Q128147'] [{'concept': 'Q215380'}, 'P740', 'Q128147']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } }
action count
action union
action filter_type
action find_reverse
entity Kingston upon Hull
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Kingston upon Hull
relation location of formation
type band
[{'concept': 'musical ensemble'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'band'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'musical ensemble'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'band'}, 'location of formation', 'Kingston upon Hull']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:band ) } }
[]
musical ensemble band
SYSTEM
14
Q430186 Q7404024 Q7733567 Q313779 Q1385795 Q1757677 Q7304206 Q1165655 Q6412791 Q1259327 Q7728522 Q5464978 Q1507012 Q15052701
(c(Q2088357),P740,Q128147) (c(Q215380),P740,Q128147) (c(Q2088357),P740,Q128147) (c(Q215380),P740,Q128147)
action count
action union
action filter_type
action find_reverse
entity Q128147
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q128147
relation P740
type Q215380
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q128147'] [{'concept': 'Q215380'}, 'P740', 'Q128147'] [{'concept': 'Q2088357'}, 'P740', 'Q128147'] [{'concept': 'Q215380'}, 'P740', 'Q128147']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } }
Scarlet Salem The Favours Everything but the Girl The Paddingtons The Beautiful South Red Guitars Throbbing Gristle Kingmaker The Hullaballoos The Cutler Fonda 500 The Housemartins Hey, Rube! (British band)
14
action count
action union
action filter_type
action find_reverse
entity Kingston upon Hull
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Kingston upon Hull
relation location of formation
type band
[{'concept': 'musical ensemble'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'band'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'musical ensemble'}, 'location of formation', 'Kingston upon Hull'] [{'concept': 'band'}, 'location of formation', 'Kingston upon Hull']
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:band ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17321095 Q38
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy and are Portrait of Daniel de Hertaing (?-1625), Lord of Marquette located in ?
AND((Q38,P530,c(Q15617994)), (Q17321095,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q17321095
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q17321095', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q38 property:P530 ?i . resource:Q17321095 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Portrait of Daniel de Hertaing (?-1625), Lord of Marquette Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Portrait of Daniel de Hertaing (?-1625), Lord of Marquette
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Portrait of Daniel de Hertaing (?-1625), Lord of Marquette', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Italy property:diplomatic_relation ?i . resource:Portrait_of_Daniel_de_Hertaing_(?-1625),_Lord_of_Marquette property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
AND((Q38,P530,c(Q15617994)), (Q17321095,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q17321095
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Italy and are Portrait of Daniel de Hertaing (-1625), Lord of Marquette located in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q17321095', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q38 property:P530 ?i . resource:Q17321095 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Netherlands
Netherlands have a diplomatic relationship with Italy and are Portrait of Daniel de Hertaing (-1625), Lord of Marquette located in
Netherlands
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Portrait of Daniel de Hertaing (?-1625), Lord of Marquette
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Portrait of Daniel de Hertaing (?-1625), Lord of Marquette', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Italy property:diplomatic_relation ?i . resource:Portrait_of_Daniel_de_Hertaing_(?-1625),_Lord_of_Marquette property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5557900 Q38
P530 P19
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy or are the birthplace of Giacomo Mantovani ?
OR((Q38,P530,c(Q15617994)), (Q5557900,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5557900
relation P19
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5557900', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q38 property:P530 ?h } UNION { resource:Q5557900 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Giacomo Mantovani Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Giacomo Mantovani
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giacomo Mantovani', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Italy property:diplomatic_relation ?h } UNION { resource:Giacomo_Mantovani property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q822 Q238 Q34 Q17 Q399 Q217 Q29 Q41 Q228 Q184
SYSTEM
Some of them are Lebanon, San Marino, Sweden, Japan, Armenia, Republic of Moldova, Spain, Greece, Andorra, Belarus
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q100041 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q5557900,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5557900
relation P19
type Q15617994
[ANSWERS] have a diplomatic relationship with Italy or are the birthplace of Giacomo Mantovani
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5557900', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q38 property:P530 ?h } UNION { resource:Q5557900 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Carpi Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Lebanon, San Marino, Sweden, Japan, Armenia, Republic of Moldova, Spain, Greece, Andorra and Belarus have a diplomatic relationship with Italy or are the birthplace of Giacomo Mantovani
Lebanon San Marino Sweden Japan Armenia Republic of Moldova Spain Greece Andorra Belarus
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Giacomo Mantovani
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giacomo Mantovani', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Italy property:diplomatic_relation ?h } UNION { resource:Giacomo_Mantovani property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have tactful political relations with that administrative territory ?
(c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q822) (c(Q1048835),P530,Q822) (c(Q15617994),P530,Q238) (c(Q1048835),P530,Q238) (c(Q15617994),P530,Q34) (c(Q1048835),P530,Q34) (c(Q15617994),P530,Q17) (c(Q1048835),P530,Q17) (c(Q15617994),P530,Q399) (c(Q1048835),P530,Q399) (c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q29) (c(Q1048835),P530,Q29) (c(Q15617994),P530,Q41) (c(Q1048835),P530,Q41) (c(Q15617994),P530,Q228) (c(Q1048835),P530,Q228) (c(Q15617994),P530,Q184) (c(Q1048835),P530,Q184)
[{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q822'] [{'concept': 'Q1048835'}, 'P530', 'Q822'] [{'concept': 'Q15617994'}, 'P530', 'Q238'] [{'concept': 'Q1048835'}, 'P530', 'Q238'] [{'concept': 'Q15617994'}, 'P530', 'Q34'] [{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q399'] [{'concept': 'Q1048835'}, 'P530', 'Q399'] [{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q15617994'}, 'P530', 'Q41'] [{'concept': 'Q1048835'}, 'P530', 'Q41'] [{'concept': 'Q15617994'}, 'P530', 'Q228'] [{'concept': 'Q1048835'}, 'P530', 'Q228'] [{'concept': 'Q15617994'}, 'P530', 'Q184'] [{'concept': 'Q1048835'}, 'P530', 'Q184']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q2086418 } UNION { ?y property:P530 resource:Q2086418 } UNION { ?z property:P530 resource:Q238 } UNION { ?y property:P530 resource:Q238 } UNION { ?z property:P530 resource:Q7654287 } UNION { ?y property:P530 resource:Q7654287 } UNION { ?z property:P530 resource:Q1407064 } UNION { ?y property:P530 resource:Q1407064 } UNION { ?z property:P530 resource:Q328518 } UNION { ?y property:P530 resource:Q328518 } UNION { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q20266861 } UNION { ?y property:P530 resource:Q20266861 } UNION { ?z property:P530 resource:Q2610369 } UNION { ?y property:P530 resource:Q2610369 } UNION { ?z property:P530 resource:Q238055 } UNION { ?y property:P530 resource:Q238055 } UNION { ?z property:P530 resource:Q3920722 } UNION { ?y property:P530 resource:Q3920722 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Belarus'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belarus']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Lebanon } UNION { ?y property:diplomatic_relation resource:Lebanon } UNION { ?z property:diplomatic_relation resource:San_Marino } UNION { ?y property:diplomatic_relation resource:San_Marino } UNION { ?z property:diplomatic_relation resource:Sweden } UNION { ?y property:diplomatic_relation resource:Sweden } UNION { ?z property:diplomatic_relation resource:Japan } UNION { ?y property:diplomatic_relation resource:Japan } UNION { ?z property:diplomatic_relation resource:Armenia } UNION { ?y property:diplomatic_relation resource:Armenia } UNION { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Spain } UNION { ?y property:diplomatic_relation resource:Spain } UNION { ?z property:diplomatic_relation resource:Greece } UNION { ?y property:diplomatic_relation resource:Greece } UNION { ?z property:diplomatic_relation resource:Andorra } UNION { ?y property:diplomatic_relation resource:Andorra } UNION { ?z property:diplomatic_relation resource:Belarus } UNION { ?y property:diplomatic_relation resource:Belarus } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q34
SYSTEM
Did you mean Sweden ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q2086418 } UNION { ?y property:P530 resource:Q2086418 } UNION { ?z property:P530 resource:Q238 } UNION { ?y property:P530 resource:Q238 } UNION { ?z property:P530 resource:Q7654287 } UNION { ?y property:P530 resource:Q7654287 } UNION { ?z property:P530 resource:Q1407064 } UNION { ?y property:P530 resource:Q1407064 } UNION { ?z property:P530 resource:Q328518 } UNION { ?y property:P530 resource:Q328518 } UNION { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q20266861 } UNION { ?y property:P530 resource:Q20266861 } UNION { ?z property:P530 resource:Q2610369 } UNION { ?y property:P530 resource:Q2610369 } UNION { ?z property:P530 resource:Q238055 } UNION { ?y property:P530 resource:Q238055 } UNION { ?z property:P530 resource:Q3920722 } UNION { ?y property:P530 resource:Q3920722 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Sweden ?
Sweden
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Lebanon } UNION { ?y property:diplomatic_relation resource:Lebanon } UNION { ?z property:diplomatic_relation resource:San_Marino } UNION { ?y property:diplomatic_relation resource:San_Marino } UNION { ?z property:diplomatic_relation resource:Sweden } UNION { ?y property:diplomatic_relation resource:Sweden } UNION { ?z property:diplomatic_relation resource:Japan } UNION { ?y property:diplomatic_relation resource:Japan } UNION { ?z property:diplomatic_relation resource:Armenia } UNION { ?y property:diplomatic_relation resource:Armenia } UNION { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Spain } UNION { ?y property:diplomatic_relation resource:Spain } UNION { ?z property:diplomatic_relation resource:Greece } UNION { ?y property:diplomatic_relation resource:Greece } UNION { ?z property:diplomatic_relation resource:Andorra } UNION { ?y property:diplomatic_relation resource:Andorra } UNION { ?z property:diplomatic_relation resource:Belarus } UNION { ?y property:diplomatic_relation resource:Belarus } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Republic of Moldova. Could you tell me the answer for that?
(c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q822) (c(Q1048835),P530,Q822) (c(Q15617994),P530,Q238) (c(Q1048835),P530,Q238) (c(Q15617994),P530,Q34) (c(Q1048835),P530,Q34) (c(Q15617994),P530,Q17) (c(Q1048835),P530,Q17) (c(Q15617994),P530,Q399) (c(Q1048835),P530,Q399) (c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q29) (c(Q1048835),P530,Q29) (c(Q15617994),P530,Q41) (c(Q1048835),P530,Q41) (c(Q15617994),P530,Q228) (c(Q1048835),P530,Q228) (c(Q15617994),P530,Q184) (c(Q1048835),P530,Q184)
Q217
[{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q822'] [{'concept': 'Q1048835'}, 'P530', 'Q822'] [{'concept': 'Q15617994'}, 'P530', 'Q238'] [{'concept': 'Q1048835'}, 'P530', 'Q238'] [{'concept': 'Q15617994'}, 'P530', 'Q34'] [{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q399'] [{'concept': 'Q1048835'}, 'P530', 'Q399'] [{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q15617994'}, 'P530', 'Q41'] [{'concept': 'Q1048835'}, 'P530', 'Q41'] [{'concept': 'Q15617994'}, 'P530', 'Q228'] [{'concept': 'Q1048835'}, 'P530', 'Q228'] [{'concept': 'Q15617994'}, 'P530', 'Q184'] [{'concept': 'Q1048835'}, 'P530', 'Q184']
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Belarus'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belarus']
[]
SYSTEM
3
Q184 Q38 Q183
(c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q822) (c(Q1048835),P530,Q822) (c(Q15617994),P530,Q238) (c(Q1048835),P530,Q238) (c(Q15617994),P530,Q34) (c(Q1048835),P530,Q34) (c(Q15617994),P530,Q17) (c(Q1048835),P530,Q17) (c(Q15617994),P530,Q399) (c(Q1048835),P530,Q399) (c(Q15617994),P530,Q217) (c(Q1048835),P530,Q217) (c(Q15617994),P530,Q29) (c(Q1048835),P530,Q29) (c(Q15617994),P530,Q41) (c(Q1048835),P530,Q41) (c(Q15617994),P530,Q228) (c(Q1048835),P530,Q228) (c(Q15617994),P530,Q184) (c(Q1048835),P530,Q184)
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q822'] [{'concept': 'Q1048835'}, 'P530', 'Q822'] [{'concept': 'Q15617994'}, 'P530', 'Q238'] [{'concept': 'Q1048835'}, 'P530', 'Q238'] [{'concept': 'Q15617994'}, 'P530', 'Q34'] [{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q399'] [{'concept': 'Q1048835'}, 'P530', 'Q399'] [{'concept': 'Q15617994'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q15617994'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q15617994'}, 'P530', 'Q41'] [{'concept': 'Q1048835'}, 'P530', 'Q41'] [{'concept': 'Q15617994'}, 'P530', 'Q228'] [{'concept': 'Q1048835'}, 'P530', 'Q228'] [{'concept': 'Q15617994'}, 'P530', 'Q184'] [{'concept': 'Q1048835'}, 'P530', 'Q184']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q2086418 } UNION { ?y property:P530 resource:Q2086418 } UNION { ?z property:P530 resource:Q238 } UNION { ?y property:P530 resource:Q238 } UNION { ?z property:P530 resource:Q7654287 } UNION { ?y property:P530 resource:Q7654287 } UNION { ?z property:P530 resource:Q1407064 } UNION { ?y property:P530 resource:Q1407064 } UNION { ?z property:P530 resource:Q328518 } UNION { ?y property:P530 resource:Q328518 } UNION { ?z property:P530 resource:Q217 } UNION { ?y property:P530 resource:Q217 } UNION { ?z property:P530 resource:Q20266861 } UNION { ?y property:P530 resource:Q20266861 } UNION { ?z property:P530 resource:Q2610369 } UNION { ?y property:P530 resource:Q2610369 } UNION { ?z property:P530 resource:Q238055 } UNION { ?y property:P530 resource:Q238055 } UNION { ?z property:P530 resource:Q3920722 } UNION { ?y property:P530 resource:Q3920722 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Belarus Italy Germany
3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Lebanon'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'San Marino'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Armenia'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Spain'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Greece'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Andorra'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Belarus'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belarus']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Lebanon } UNION { ?y property:diplomatic_relation resource:Lebanon } UNION { ?z property:diplomatic_relation resource:San_Marino } UNION { ?y property:diplomatic_relation resource:San_Marino } UNION { ?z property:diplomatic_relation resource:Sweden } UNION { ?y property:diplomatic_relation resource:Sweden } UNION { ?z property:diplomatic_relation resource:Japan } UNION { ?y property:diplomatic_relation resource:Japan } UNION { ?z property:diplomatic_relation resource:Armenia } UNION { ?y property:diplomatic_relation resource:Armenia } UNION { ?z property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?y property:diplomatic_relation resource:Republic_of_Moldova } UNION { ?z property:diplomatic_relation resource:Spain } UNION { ?y property:diplomatic_relation resource:Spain } UNION { ?z property:diplomatic_relation resource:Greece } UNION { ?y property:diplomatic_relation resource:Greece } UNION { ?z property:diplomatic_relation resource:Andorra } UNION { ?y property:diplomatic_relation resource:Andorra } UNION { ?z property:diplomatic_relation resource:Belarus } UNION { ?y property:diplomatic_relation resource:Belarus } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?s = 8 ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?s ) WHERE { ?n rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?n property:P530 ?a } GROUP BY ?n } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?s = 8 ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?s ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?a } GROUP BY ?n } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWERS] have tactful political relations with around 8 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?s = 8 ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?s ) WHERE { ?n rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?n property:P530 ?a } GROUP BY ?n } }
Federated States of Micronesia Panama 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 Turkey Greece 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 Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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
United States of America, Netherlands and France have tactful political relations with around 8 administrative territories
United States of America Netherlands France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?s = 8 ) . { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?s ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?a } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q55 Q142
P47
Q15617994
USER
Which administrative territories are adjacent to those ones ?
(Q30,P47,c(Q15617994)) (Q55,P47,c(Q15617994)) (Q142,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q55', 'P47', {'concept': 'Q15617994'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?g property:P47 ?b . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
United States of America Netherlands France
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:shares_border_with ?b . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790 Q31 Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
(Q30,P47,c(Q15617994)) (Q55,P47,c(Q15617994)) (Q142,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are adjacent to those ones
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q55', 'P47', {'concept': 'Q15617994'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?g property:P47 ?b . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti Belgium Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
Italy, Brazil and Russia are adjacent to those ones
Italy Brazil Russia
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:shares_border_with ?b . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q159
P740
Q43229
USER
Which organizations were formed at those administrative territories ?
(c(Q43229),P740,Q38) (c(Q43229),P740,Q155) (c(Q43229),P740,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q43229'}, 'P740', 'Q155'] [{'concept': 'Q43229'}, 'P740', 'Q159']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . ?w property:P740 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q159 ) } }
Italy Brazil Russia
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'organization'}, 'location of formation', 'Brazil'] [{'concept': 'organization'}, 'location of formation', 'Russia']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . ?w property:location_of_formation ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Russia ) } }
[]
organization
Q17030179 Q4777233 Q17153839
SYSTEM
Vero Software, Antony Morato, WeWOOD
Q4777233 Q17030179 Q17153839 Q7832454 Q4141633 Q4041770
(c(Q43229),P740,Q38) (c(Q43229),P740,Q155) (c(Q43229),P740,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q43229
[ANSWERS] were formed at those administrative territories
[{'concept': 'Q43229'}, 'P740', 'Q38'] [{'concept': 'Q43229'}, 'P740', 'Q155'] [{'concept': 'Q43229'}, 'P740', 'Q159']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . ?w property:P740 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q159 ) } }
Antony Morato Vero Software WeWOOD Traffic Group Gollandiya Jah Division
Vero Software, Antony Morato and WeWOOD were formed at those administrative territories
Vero Software Antony Morato WeWOOD
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Italy'] [{'concept': 'organization'}, 'location of formation', 'Brazil'] [{'concept': 'organization'}, 'location of formation', 'Russia']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . ?w property:location_of_formation ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Russia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17153839
P159
Q15617994
USER
Which administrative territory is the HQ of that organization ?
(Q17153839,P159,c(Q15617994))
action filter_type
action find
entity Q17153839
relation P159
type Q15617994
['Q17153839', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q17153839 property:P159 ?v . ?v rdf:type ontology:Q15617994 }
WeWOOD
action filter_type
action find
entity WeWOOD
relation headquarters location
type designation for an administrative territorial entity
['WeWOOD', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:WeWOOD property:headquarters_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q17153839
SYSTEM
Did you mean WeWOOD ?
Q17030179 Q4777233 Q17153839
(Q17030179,P159,c(Q15617994)) (Q4777233,P159,c(Q15617994)) (Q17153839,P159,c(Q15617994))
[ANSWER]
['Q17030179', 'P159', {'concept': 'Q15617994'}] ['Q4777233', 'P159', {'concept': 'Q15617994'}] ['Q17153839', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q17153839 property:P159 ?v . ?v rdf:type ontology:Q15617994 }
Vero Software Antony Morato WeWOOD
Did you mean WeWOOD ?
WeWOOD
['Vero Software', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Antony Morato', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['WeWOOD', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:WeWOOD property:headquarters_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17153839,P159,c(Q15617994))
['Q17153839', 'P159', {'concept': 'Q15617994'}]
['WeWOOD', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
[]
Q102599
SYSTEM
Lamporecchio
Q102599
(Q17153839,P159,c(Q15617994))
action filter_type
action find
entity Q17153839
relation P159
type Q15617994
[ANSWER] is the HQ of that organization
['Q17153839', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q17153839 property:P159 ?v . ?v rdf:type ontology:Q15617994 }
Lamporecchio
Lamporecchio is the HQ of that organization
Lamporecchio
action filter_type
action find
entity WeWOOD
relation headquarters location
type designation for an administrative territorial entity
['WeWOOD', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:WeWOOD property:headquarters_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q772
P1001
Q15617994 Q12737077 Q820655
USER
Which administrative territories are judicially linked to around the same number of occupations or statutes as Drenthe ?
(c(Q12737077)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q772
relation P1001
type Q12737077
type Q820655
[[{'concept': 'Q12737077'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q820655 ) } . ?x rdf:type ?v } GROUP BY ?t } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P1001 resource:Q772 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q820655 ) } } } } }
Drenthe
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Drenthe
relation applies to jurisdiction
type occupation
type statute
[[{'concept': 'occupation'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:occupation ) ( ontology:statute ) } . ?x rdf:type ?v } GROUP BY ?t } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:applies_to_jurisdiction resource:Drenthe . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:statute ) } } } } }
[]
designation for an administrative territorial entity occupation statute
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q772
relation P1001
type Q12737077
type Q820655
[ANSWERS] are judicially linked to around the same number of occupations or statutes as Drenthe
[[{'concept': 'Q12737077'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q820655 ) } . ?x rdf:type ?v } GROUP BY ?t } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P1001 resource:Q772 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q820655 ) } } } } }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil, Georgia and Russia are judicially linked to around the same number of occupations or statutes as Drenthe
Brazil Georgia Russia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Drenthe
relation applies to jurisdiction
type occupation
type statute
[[{'concept': 'occupation'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?v ) { ( ontology:occupation ) ( ontology:statute ) } . ?x rdf:type ?v } GROUP BY ?t } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:applies_to_jurisdiction resource:Drenthe . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:statute ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1005
P1001
Q15617994 Q12737077 Q820655
USER
And also tell me about Gambia?
(c(Q12737077)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1005
relation P1001
type Q12737077
type Q820655
[[{'concept': 'Q12737077'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P1001 ?e . ?u rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15617994 } UNION { ?u property:P1001 ?e . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q820655 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:P1001 resource:Q1005 . { { ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q820655 } } } } . FILTER ( ?z = ?o ) }
Gambia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Gambia
relation applies to jurisdiction
type occupation
type statute
[[{'concept': 'occupation'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:applies_to_jurisdiction ?e . ?u rdf:type ontology:occupation . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:statute } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:applies_to_jurisdiction resource:Gambia . { { ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:statute } } } } . FILTER ( ?z = ?o ) }
[]
designation for an administrative territorial entity occupation statute
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q34 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1005
relation P1001
type Q12737077
type Q820655
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P1001 ?e . ?u rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15617994 } UNION { ?u property:P1001 ?e . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q820655 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:P1001 resource:Q1005 . { { ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q820655 } } } } . FILTER ( ?z = ?o ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Sweden Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil Georgia Russia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Gambia
relation applies to jurisdiction
type occupation
type statute
[[{'concept': 'occupation'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:applies_to_jurisdiction ?e . ?u rdf:type ontology:occupation . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:statute } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:applies_to_jurisdiction resource:Gambia . { { ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:statute } } } } . FILTER ( ?z = ?o ) }
[]