Simple Question (Direct)
Simple Question
Q16610328
P106
Q12737077
USER
What does Stefano Quaranta do for a living ?
(Q16610328,P106,c(Q12737077))
action filter_type
action find
entity Q16610328
relation P106
type Q12737077
['Q16610328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16610328 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Stefano Quaranta
action filter_type
action find
entity Stefano Quaranta
relation occupation
type occupation
['Stefano Quaranta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Stefano_Quaranta property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16610328,P106,c(Q12737077))
action filter_type
action find
entity Q16610328
relation P106
type Q12737077
Stefano Quaranta does a [ANSWER] for a living
['Q16610328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16610328 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
Stefano Quaranta does a politician for a living
politician
action filter_type
action find
entity Stefano Quaranta
relation occupation
type occupation
['Stefano Quaranta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Stefano_Quaranta property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16610328
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q16610328
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q16610328 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Stefano Quaranta
action filter_type
action find
entity Stefano Quaranta
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Stefano_Quaranta property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q16610328
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q16610328 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Milan
Milan is the birthplace of that person
Milan
action filter_type
action find
entity Stefano Quaranta
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Stefano_Quaranta property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q490
P190
Q56061
USER
Which administrative territories are partner towns of that one ?
(Q490,P190,c(Q56061))
action filter_type
action find
entity Q490
relation P190
type Q56061
['Q490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q490 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Milan
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Milan property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8686 Q956 Q5776
SYSTEM
Shanghai, Beijing, Bethlehem
Q546 Q3718 Q174 Q8686 Q172 Q3141 Q340 Q33935 Q34820 Q193289 Q472 Q185289 Q956 Q3130 Q3805 Q121157 Q5776 Q1297 Q2634
(Q490,P190,c(Q56061))
action filter_type
action find
entity Q490
relation P190
type Q56061
[ANSWERS] are partner towns of that one
['Q490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q490 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Trieste Dakar São Paulo Shanghai Toronto Melbourne Montreal Tel Aviv Santo Domingo Iquitos Sofia Pernik Beijing Sydney Amman Mashhad Bethlehem Chicago Naples
Shanghai, Beijing and Bethlehem are partner towns of that one
Shanghai Beijing Bethlehem
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Milan property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q956
P138
Q56061
USER
Which administrative territory is namesake of that one ?
(Q956,P138,c(Q56061))
action filter_type
action find
entity Q956
relation P138
type Q56061
['Q956', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q956 property:P138 ?t . ?t rdf:type ontology:Q56061 }
Beijing
action filter_type
action find
entity Beijing
relation named after
type administrative territorial entity
['Beijing', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Beijing property:named_after ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q8686
SYSTEM
Did you mean Shanghai ?
Q8686 Q956 Q5776
(Q8686,P138,c(Q56061)) (Q956,P138,c(Q56061)) (Q5776,P138,c(Q56061))
[ANSWER]
['Q8686', 'P138', {'concept': 'Q56061'}] ['Q956', 'P138', {'concept': 'Q56061'}] ['Q5776', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q956 property:P138 ?t . ?t rdf:type ontology:Q56061 }
Shanghai Beijing Bethlehem
Did you mean Shanghai ?
Shanghai
['Shanghai', 'named after', {'concept': 'administrative territorial entity'}] ['Beijing', 'named after', {'concept': 'administrative territorial entity'}] ['Bethlehem', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Beijing property:named_after ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Beijing. Could you tell me the answer for that?
(Q956,P138,c(Q56061))
Q956
['Q956', 'P138', {'concept': 'Q56061'}]
['Beijing', 'named after', {'concept': 'administrative territorial entity'}]
[]
Q5119
SYSTEM
capital
Q5119
(Q956,P138,c(Q56061))
action filter_type
action find
entity Q956
relation P138
type Q56061
[ANSWER] is namesake of that one
['Q956', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q956 property:P138 ?t . ?t rdf:type ontology:Q56061 }
capital
Capital is namesake of that one
capital
action filter_type
action find
entity Beijing
relation named after
type administrative territorial entity
['Beijing', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Beijing property:named_after ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8686
P6
Q502895
USER
Which person has Shanghai as its head of government ?
(Q8686,P6,c(Q502895))
action filter_type
action find
entity Q8686
relation P6
type Q502895
['Q8686', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8686 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Shanghai
action filter_type
action find
entity Shanghai
relation head of government
type common name
['Shanghai', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Shanghai property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2117887
SYSTEM
Yang Xiong
Q2117887
(Q8686,P6,c(Q502895))
action filter_type
action find
entity Q8686
relation P6
type Q502895
[ANSWER] has Shanghai as its head of government
['Q8686', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8686 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Yang Xiong
Yang Xiong has Shanghai as its head of government
Yang Xiong
action filter_type
action find
entity Shanghai
relation head of government
type common name
['Shanghai', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Shanghai property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q250006
Q502895
USER
And what about Slănic-Moldova?
(Q250006,P6,c(Q502895))
action filter_type
action find
entity Q250006
relation P6
type Q502895
['Q250006', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q250006 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Slănic-Moldova
action filter_type
action find
entity Slănic-Moldova
relation head of government
type common name
['Slănic-Moldova', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Slănic-Moldova property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q25972116 Q23927923
SYSTEM
Gheorghe Baciu, Andrei Șerban
Q25972116 Q23927923
(Q250006,P6,c(Q502895))
action filter_type
action find
entity Q250006
relation P6
type Q502895
[ANSWERS]
['Q250006', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q250006 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Gheorghe Baciu Andrei Șerban
Gheorghe Baciu Andrei Șerban
action filter_type
action find
entity Slănic-Moldova
relation head of government
type common name
['Slănic-Moldova', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Slănic-Moldova property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5952929 Q956
P19 P190
Q515
USER
Which cities are twin cities of Beijing and are the birthplace of Juan Zandoná ?
AND((Q956,P190,c(Q515)), (Q5952929,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q956
relation P190
action find
entity Q5952929
relation P19
type Q515
{'AND': [['Q956', 'P190', {'concept': 'Q515'}], ['Q5952929', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { resource:Q5952929 property:P19 ?v . resource:Q956 property:P190 ?v . ?v rdf:type ontology:Q515 }
Juan Zandoná Beijing
action filter_type
action intersection
action find
entity Beijing
relation sister city
action find
entity Juan Zandoná
relation place of birth
type city
{'AND': [['Beijing', 'sister city', {'concept': 'city'}], ['Juan Zandoná', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { resource:Juan_Zandoná property:place_of_birth ?v . resource:Beijing property:sister_city ?v . ?v rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
AND((Q956,P190,c(Q515)), (Q5952929,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q956
relation P190
action find
entity Q5952929
relation P19
type Q515
[ANSWER] is twin cities of Beijing and is the birthplace of Juan Zandoná
{'AND': [['Q956', 'P190', {'concept': 'Q515'}], ['Q5952929', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { resource:Q5952929 property:P19 ?v . resource:Q956 property:P190 ?v . ?v rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is twin cities of Beijing and is the birthplace of Juan Zandoná
Buenos Aires
action filter_type
action intersection
action find
entity Beijing
relation sister city
action find
entity Juan Zandoná
relation place of birth
type city
{'AND': [['Beijing', 'sister city', {'concept': 'city'}], ['Juan Zandoná', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { resource:Juan_Zandoná property:place_of_birth ?v . resource:Beijing property:sister_city ?v . ?v rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P17
Q15617994
USER
Which administrative territory does that city belong to ?
(Q1486,P17,c(Q15617994))
action filter_type
action find
entity Q1486
relation P17
type Q15617994
['Q1486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1486 property:P17 ?g }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Buenos_Aires property:country ?g }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1486,P17,c(Q15617994))
action filter_type
action find
entity Q1486
relation P17
type Q15617994
That city belongs to [ANSWER]
['Q1486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1486 property:P17 ?g }
Argentina
That city belongs to Argentina
Argentina
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Buenos_Aires property:country ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q386806 Q1486
P17
Q15617994
USER
Or Stapenhill?
OR((Q1486,P17,c(Q15617994)), (Q386806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1486
relation P17
action find
entity Q386806
relation P17
type Q15617994
{'OR': [['Q1486', 'P17', {'concept': 'Q15617994'}], ['Q386806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Q1486 ) ( resource:Q386806 ) } . ?h property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Stapenhill Buenos Aires
action filter_type
action union
action find
entity Buenos Aires
relation country
action find
entity Stapenhill
relation country
type designation for an administrative territorial entity
{'OR': [['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stapenhill', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Buenos_Aires ) ( resource:Stapenhill ) } . ?h property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q1486,P17,c(Q15617994)), (Q386806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1486
relation P17
action find
entity Q386806
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1486', 'P17', {'concept': 'Q15617994'}], ['Q386806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Q1486 ) ( resource:Q386806 ) } . ?h property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Argentina United Kingdom
Argentina United Kingdom
action filter_type
action union
action find
entity Buenos Aires
relation country
action find
entity Stapenhill
relation country
type designation for an administrative territorial entity
{'OR': [['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Stapenhill', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Buenos_Aires ) ( resource:Stapenhill ) } . ?h property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1346
Q350604
USER
Which armed conflict was won by United Kingdom ?
(c(Q350604),P1346,Q145)
action filter_type
action find_reverse
entity Q145
relation P1346
type Q350604
[{'concept': 'Q350604'}, 'P1346', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q145 . ?f rdf:type ontology:Q350604 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation winner
type armed conflict
[{'concept': 'armed conflict'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:winner resource:United_Kingdom . ?f rdf:type ontology:armed_conflict }
[]
armed conflict
Q33143
SYSTEM
Seven Years' War
Q33143
(c(Q350604),P1346,Q145)
action filter_type
action find_reverse
entity Q145
relation P1346
type Q350604
Australia [ANSWER] was won by United Kingdom
[{'concept': 'Q350604'}, 'P1346', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q145 . ?f rdf:type ontology:Q350604 }
Seven Years' War
Australia Seven Years' War was won by United Kingdom
Seven Years' War
action filter_type
action find_reverse
entity United Kingdom
relation winner
type armed conflict
[{'concept': 'armed conflict'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:winner resource:United_Kingdom . ?f rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P85
Q7725634
USER
Which is the national anthem of United Kingdom ?
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P85 ?n . ?n rdf:type ontology:Q7725634 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:anthem ?n . ?n rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
The national anthem of United Kingdom is [ANSWER]
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P85 ?n . ?n rdf:type ontology:Q7725634 }
God Save the Queen
The national anthem of United Kingdom is God Save the Queen
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:anthem ?n . ?n rdf:type ontology:literary_work }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q43448
Q7725634
USER
And how about British Indian Ocean Territory?
(Q43448,P85,c(Q7725634))
action filter_type
action find
entity Q43448
relation P85
type Q7725634
['Q43448', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q43448 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
British Indian Ocean Territory
action filter_type
action find
entity British Indian Ocean Territory
relation anthem
type literary work
['British Indian Ocean Territory', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:British_Indian_Ocean_Territory property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q43448,P85,c(Q7725634))
action filter_type
action find
entity Q43448
relation P85
type Q7725634
[ANSWER]
['Q43448', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q43448 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
God Save the Queen
God Save the Queen
action filter_type
action find
entity British Indian Ocean Territory
relation anthem
type literary work
['British Indian Ocean Territory', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:British_Indian_Ocean_Territory property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P85
Q1048835 Q15617994
USER
How many political territories or administrative territories have that literary work as their anthem ?
(c(Q1048835),P85,Q40807) (c(Q15617994),P85,Q40807) (c(Q1048835),P85,Q40807) (c(Q15617994),P85,Q40807)
action count
action union
action filter_type
action find_reverse
entity Q40807
relation P85
type Q1048835
action filter_type
action find_reverse
entity Q40807
relation P85
type Q15617994
[{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q15617994'}, 'P85', 'Q40807'] [{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q15617994'}, 'P85', 'Q40807']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P85 resource:Q40807 . ?s rdf:type ontology:Q1048835 } UNION { ?s property:P85 resource:Q40807 . ?s rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find_reverse
entity God Save the Queen
relation anthem
type political territorial entity
action filter_type
action find_reverse
entity God Save the Queen
relation anthem
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'God Save the Queen']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:anthem resource:God_Save_the_Queen . ?s rdf:type ontology:political_territorial_entity } UNION { ?s property:anthem resource:God_Save_the_Queen . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
23
Q18221 Q43448 Q778 Q408 Q242 Q9648 Q766 Q1054923 Q165783 Q13353 Q145 Q781 Q785 Q35086 Q23635 Q769 Q5785 Q192184 Q25228 Q3405693 Q25305 Q129286 Q2594990
(c(Q1048835),P85,Q40807) (c(Q15617994),P85,Q40807) (c(Q1048835),P85,Q40807) (c(Q15617994),P85,Q40807)
action count
action union
action filter_type
action find_reverse
entity Q40807
relation P85
type Q1048835
action filter_type
action find_reverse
entity Q40807
relation P85
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q15617994'}, 'P85', 'Q40807'] [{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q15617994'}, 'P85', 'Q40807']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P85 resource:Q40807 . ?s rdf:type ontology:Q1048835 } UNION { ?s property:P85 resource:Q40807 . ?s rdf:type ontology:Q15617994 } }
Turks and Caicos Islands British Indian Ocean Territory The Bahamas Australia Belize Falkland Islands Jamaica British Hong Kong British Antarctic Territory Montserrat United Kingdom Antigua and Barbuda Jersey South Georgia and the South Sandwich Islands Bermuda Grenada Cayman Islands Saint Helena, Ascension and Tristan da Cunha Anguilla Sark British Virgin Islands British Raj Dominion of New Zealand
23
action count
action union
action filter_type
action find_reverse
entity God Save the Queen
relation anthem
type political territorial entity
action filter_type
action find_reverse
entity God Save the Queen
relation anthem
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'God Save the Queen']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:anthem resource:God_Save_the_Queen . ?s rdf:type ontology:political_territorial_entity } UNION { ?s property:anthem resource:God_Save_the_Queen . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]