Simple Question (Direct)
Simple Question
Q1449424
P20
Q56061
USER
Where did Franz Wenzler die ?
(Q1449424,P20,c(Q56061))
action filter_type
action find
entity Q1449424
relation P20
type Q56061
['Q1449424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1449424 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Franz Wenzler
action filter_type
action find
entity Franz Wenzler
relation place of death
type administrative territorial entity
['Franz Wenzler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Franz_Wenzler property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1449424,P20,c(Q56061))
action filter_type
action find
entity Q1449424
relation P20
type Q56061
Franz Wenzler died in [ANSWER]
['Q1449424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1449424 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Rome
Franz Wenzler died in Rome
Rome
action filter_type
action find
entity Franz Wenzler
relation place of death
type administrative territorial entity
['Franz Wenzler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Franz_Wenzler property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P190
Q15617994
USER
Which administrative territory is partner town of that administrative territory ?
(Q220,P190,c(Q15617994))
action filter_type
action find
entity Q220
relation P190
type Q15617994
['Q220', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q220 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Rome
action filter_type
action find
entity Rome
relation sister city
type designation for an administrative territorial entity
['Rome', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rome property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13437
SYSTEM
Benevento
Q13437
(Q220,P190,c(Q15617994))
action filter_type
action find
entity Q220
relation P190
type Q15617994
[ANSWER] is partner town of that administrative territory
['Q220', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q220 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Benevento
Benevento is partner town of that administrative territory
Benevento
action filter_type
action find
entity Rome
relation sister city
type designation for an administrative territorial entity
['Rome', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rome property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q271669 Q515
USER
How many landforms and cities are twin city of that administrative territory ?
(c(Q271669),P190,Q13437) (c(Q515),P190,Q13437) (c(Q271669),P190,Q13437) (c(Q515),P190,Q13437)
action count
action union
action filter_type
action find_reverse
entity Q13437
relation P190
type Q271669
action filter_type
action find_reverse
entity Q13437
relation P190
type Q515
[{'concept': 'Q271669'}, 'P190', 'Q13437'] [{'concept': 'Q515'}, 'P190', 'Q13437'] [{'concept': 'Q271669'}, 'P190', 'Q13437'] [{'concept': 'Q515'}, 'P190', 'Q13437']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:P190 resource:Q13437 . ?h rdf:type ontology:Q271669 } UNION { ?h property:P190 resource:Q13437 . ?h rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find_reverse
entity Benevento
relation sister city
type landform
action filter_type
action find_reverse
entity Benevento
relation sister city
type city
[{'concept': 'landform'}, 'sister city', 'Benevento'] [{'concept': 'city'}, 'sister city', 'Benevento'] [{'concept': 'landform'}, 'sister city', 'Benevento'] [{'concept': 'city'}, 'sister city', 'Benevento']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:sister_city resource:Benevento . ?h rdf:type ontology:landform } UNION { ?h property:sister_city resource:Benevento . ?h rdf:type ontology:city } }
[]
landform city
SYSTEM
1 landforms and 1 cities
Q34217 Q170488
(c(Q271669),P190,Q13437) (c(Q515),P190,Q13437) (c(Q271669),P190,Q13437) (c(Q515),P190,Q13437)
action count
action union
action filter_type
action find_reverse
entity Q13437
relation P190
type Q271669
action filter_type
action find_reverse
entity Q13437
relation P190
type Q515
[ANSWER]
[{'concept': 'Q271669'}, 'P190', 'Q13437'] [{'concept': 'Q515'}, 'P190', 'Q13437'] [{'concept': 'Q271669'}, 'P190', 'Q13437'] [{'concept': 'Q515'}, 'P190', 'Q13437']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:P190 resource:Q13437 . ?h rdf:type ontology:Q271669 } UNION { ?h property:P190 resource:Q13437 . ?h rdf:type ontology:Q515 } }
Oxford Gozo
1 landforms and 1 cities
action count
action union
action filter_type
action find_reverse
entity Benevento
relation sister city
type landform
action filter_type
action find_reverse
entity Benevento
relation sister city
type city
[{'concept': 'landform'}, 'sister city', 'Benevento'] [{'concept': 'city'}, 'sister city', 'Benevento'] [{'concept': 'landform'}, 'sister city', 'Benevento'] [{'concept': 'city'}, 'sister city', 'Benevento']
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:sister_city resource:Benevento . ?h rdf:type ontology:landform } UNION { ?h property:sister_city resource:Benevento . ?h rdf:type ontology:city } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2696588 Q1449424
P27
Q1048835
USER
Which political territories are the countries of citizenship of Franz Wenzler or Arcadia ?
OR((Q1449424,P27,c(Q1048835)), (Q2696588,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1449424
relation P27
action find
entity Q2696588
relation P27
type Q1048835
{'OR': [['Q1449424', 'P27', {'concept': 'Q1048835'}], ['Q2696588', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1449424 property:P27 ?e } UNION { resource:Q2696588 property:P27 ?e } } . ?e rdf:type ontology:Q1048835 }
Arcadia Franz Wenzler
action filter_type
action union
action find
entity Franz Wenzler
relation country of citizenship
action find
entity Arcadia
relation country of citizenship
type political territorial entity
{'OR': [['Franz Wenzler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Arcadia', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Franz_Wenzler property:country_of_citizenship ?e } UNION { resource:Arcadia property:country_of_citizenship ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689 Q183
SYSTEM
Ancient Rome, Germany
Q1747689 Q183
OR((Q1449424,P27,c(Q1048835)), (Q2696588,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1449424
relation P27
action find
entity Q2696588
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Franz Wenzler or Arcadia
{'OR': [['Q1449424', 'P27', {'concept': 'Q1048835'}], ['Q2696588', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1449424 property:P27 ?e } UNION { resource:Q2696588 property:P27 ?e } } . ?e rdf:type ontology:Q1048835 }
Ancient Rome Germany
Ancient Rome and Germany are the countries of citizenship of Franz Wenzler or Arcadia
Ancient Rome Germany
action filter_type
action union
action find
entity Franz Wenzler
relation country of citizenship
action find
entity Arcadia
relation country of citizenship
type political territorial entity
{'OR': [['Franz Wenzler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Arcadia', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Franz_Wenzler property:country_of_citizenship ?e } UNION { resource:Arcadia property:country_of_citizenship ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1747689 Q183
P840
Q15416
USER
Which television programs have their narrative set in Ancient Rome and Germany ?
(c(Q15416),P840,Q1747689) (c(Q15416),P840,Q183)
action union
action filter_type
action find_reverse
entity Q1747689
relation P840
type Q15416
action filter_type
action find_reverse
entity Q183
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q1747689'] [{'concept': 'Q15416'}, 'P840', 'Q183']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q15416 . ?w property:P840 resource:Q1747689 } UNION { ?w property:P840 resource:Q183 . ?w rdf:type ontology:Q15416 } }
Ancient Rome Germany
action union
action filter_type
action find_reverse
entity Ancient Rome
relation narrative location
type television program
action filter_type
action find_reverse
entity Germany
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Ancient Rome'] [{'concept': 'television program'}, 'narrative location', 'Germany']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:television_program . ?w property:narrative_location resource:Ancient_Rome } UNION { ?w property:narrative_location resource:Germany . ?w rdf:type ontology:television_program } }
[]
television program
Q303352 Q27856747 Q16205080
SYSTEM
Spartacus: Gods of the Arena, Roman Empire: Reign of Blood, Teenage Mutant Ninja Turtles (1987 TV series) (season 7)
Q303352 Q27856747 Q16205080
(c(Q15416),P840,Q1747689) (c(Q15416),P840,Q183)
action union
action filter_type
action find_reverse
entity Q1747689
relation P840
type Q15416
action filter_type
action find_reverse
entity Q183
relation P840
type Q15416
[ANSWERS] have their narrative set in Ancient Rome and Germany
[{'concept': 'Q15416'}, 'P840', 'Q1747689'] [{'concept': 'Q15416'}, 'P840', 'Q183']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q15416 . ?w property:P840 resource:Q1747689 } UNION { ?w property:P840 resource:Q183 . ?w rdf:type ontology:Q15416 } }
Spartacus: Gods of the Arena Roman Empire: Reign of Blood Teenage Mutant Ninja Turtles (1987 TV series) (season 7)
Spartacus: Gods of the Arena, Roman Empire: Reign of Blood and Teenage Mutant Ninja Turtles (1987 TV series) (season 7) have their narrative set in Ancient Rome and Germany
Spartacus: Gods of the Arena Roman Empire: Reign of Blood Teenage Mutant Ninja Turtles (1987 TV series) (season 7)
action union
action filter_type
action find_reverse
entity Ancient Rome
relation narrative location
type television program
action filter_type
action find_reverse
entity Germany
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Ancient Rome'] [{'concept': 'television program'}, 'narrative location', 'Germany']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:television_program . ?w property:narrative_location resource:Ancient_Rome } UNION { ?w property:narrative_location resource:Germany . ?w rdf:type ontology:television_program } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27856747
P449
Q1269299
USER
Which business organization did that television program originally air in ?
(Q27856747,P449,c(Q1269299))
action filter_type
action find
entity Q27856747
relation P449
type Q1269299
['Q27856747', 'P449', {'concept': 'Q1269299'}]
SELECT DISTINCT ?k WHERE { resource:Q27856747 property:P449 ?k . ?k rdf:type ontology:Q1269299 }
Roman Empire: Reign of Blood
action filter_type
action find
entity Roman Empire: Reign of Blood
relation original network
type type of business entity
['Roman Empire: Reign of Blood', 'original network', {'concept': 'type of business entity'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Empire:_Reign_of_Blood property:original_network ?k . ?k rdf:type ontology:type_of_business_entity }
[]
type of business entity
Clarification for simple ques.
Q27856747
SYSTEM
Did you mean Roman Empire: Reign of Blood ?
Q303352 Q27856747 Q16205080
(Q303352,P449,c(Q1269299)) (Q27856747,P449,c(Q1269299)) (Q16205080,P449,c(Q1269299))
[ANSWER]
['Q303352', 'P449', {'concept': 'Q1269299'}] ['Q27856747', 'P449', {'concept': 'Q1269299'}] ['Q16205080', 'P449', {'concept': 'Q1269299'}]
SELECT DISTINCT ?k WHERE { resource:Q27856747 property:P449 ?k . ?k rdf:type ontology:Q1269299 }
Spartacus: Gods of the Arena Roman Empire: Reign of Blood Teenage Mutant Ninja Turtles (1987 TV series) (season 7)
Did you mean Roman Empire: Reign of Blood ?
Roman Empire: Reign of Blood
['Spartacus: Gods of the Arena', 'original network', {'concept': 'type of business entity'}] ['Roman Empire: Reign of Blood', 'original network', {'concept': 'type of business entity'}] ['Teenage Mutant Ninja Turtles (1987 TV series) (season 7)', 'original network', {'concept': 'type of business entity'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Empire:_Reign_of_Blood property:original_network ?k . ?k rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q27856747,P449,c(Q1269299))
['Q27856747', 'P449', {'concept': 'Q1269299'}]
['Roman Empire: Reign of Blood', 'original network', {'concept': 'type of business entity'}]
[]
Q907311
SYSTEM
Netflix
Q907311
(Q27856747,P449,c(Q1269299))
action filter_type
action find
entity Q27856747
relation P449
type Q1269299
Originally that television program aired in [ANSWER]
['Q27856747', 'P449', {'concept': 'Q1269299'}]
SELECT DISTINCT ?k WHERE { resource:Q27856747 property:P449 ?k . ?k rdf:type ontology:Q1269299 }
Netflix
Originally that television program aired in Netflix
Netflix
action filter_type
action find
entity Roman Empire: Reign of Blood
relation original network
type type of business entity
['Roman Empire: Reign of Blood', 'original network', {'concept': 'type of business entity'}]
SELECT DISTINCT ?k WHERE { resource:Roman_Empire:_Reign_of_Blood property:original_network ?k . ?k rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q1269299 Q4830453
USER
How many business enterprises have exactly 1 business organization as their subsidiary ?
(c(Q4830453),P355,c(Q1269299))
action count
action equal
action find_tuple_counts
relation P355
type Q4830453
type Q1269299
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?u property:P355 ?l . ?l rdf:type ontology:Q1269299 . ?u rdf:type ontology:Q4830453 } GROUP BY ?u } . FILTER ( ?b = 1 ) }
action count
action equal
action find_tuple_counts
relation subsidiary
type business enterprise
type type of business entity
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?u property:subsidiary ?l . ?l rdf:type ontology:type_of_business_entity . ?u rdf:type ontology:business_enterprise } GROUP BY ?u } . FILTER ( ?b = 1 ) }
[]
type of business entity business enterprise
SYSTEM
6
Q7901687 Q10954015 Q588786 Q11101101 Q5476713 Q24876211
(c(Q4830453),P355,c(Q1269299))
action count
action equal
action find_tuple_counts
relation P355
type Q4830453
type Q1269299
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?u property:P355 ?l . ?l rdf:type ontology:Q1269299 . ?u rdf:type ontology:Q4830453 } GROUP BY ?u } . FILTER ( ?b = 1 ) }
Usaha Tegas Fuji Media Holdings China National Petroleum Corporation The Yomiuri Shimbun Holdings 21st Century Fox FamilyMart UNY Holdings
6
action count
action equal
action find_tuple_counts
relation subsidiary
type business enterprise
type type of business entity
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?u property:subsidiary ?l . ?l rdf:type ontology:type_of_business_entity . ?u rdf:type ontology:business_enterprise } GROUP BY ?u } . FILTER ( ?b = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q1269299 Q740752
USER
How many transport companies are atleast 1 business organization the subordinate of ?
(c(Q740752),P355,c(Q1269299))
action count
action atleast
action find_tuple_counts
relation P355
type Q740752
type Q1269299
value 1
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:P355 ?t . ?a rdf:type ontology:Q740752 . ?t rdf:type ontology:Q1269299 } GROUP BY ?a } }
action count
action atleast
action find_tuple_counts
relation subsidiary
type transport company
type type of business entity
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:subsidiary ?t . ?a rdf:type ontology:transport_company . ?t rdf:type ontology:type_of_business_entity } GROUP BY ?a } }
[]
type of business entity transport company
SYSTEM
3
Q9322 Q2245513 Q1332242
(c(Q740752),P355,c(Q1269299))
action count
action atleast
action find_tuple_counts
relation P355
type Q740752
type Q1269299
value 1
[ANSWER]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:P355 ?t . ?a rdf:type ontology:Q740752 . ?t rdf:type ontology:Q1269299 } GROUP BY ?a } }
Deutsche Bahn Sanyo Electric Railway Tokyu Corporation
3
action count
action atleast
action find_tuple_counts
relation subsidiary
type transport company
type type of business entity
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { ?a property:subsidiary ?t . ?a rdf:type ontology:transport_company . ?t rdf:type ontology:type_of_business_entity } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16959426 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Germany or are United States Senate election in Montana, 1996 situated in ?
OR((Q183,P530,c(Q15617994)), (Q16959426,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q16959426
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q16959426', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q183 property:P530 ?y } UNION { resource:Q16959426 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
United States Senate election in Montana, 1996 Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity United States Senate election in Montana, 1996
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['United States Senate election in Montana, 1996', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Germany property:diplomatic_relation ?y } UNION { resource:United_States_Senate_election_in_Montana,_1996 property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033 Q833 Q717 Q155 Q241 Q403 Q238 Q783 Q34 Q1029
SYSTEM
Some of them are Nigeria, Malaysia, Venezuela, Brazil, Cuba, Serbia, San Marino, Honduras, Sweden, Mozambique
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q16959426,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q16959426
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Germany or are United States Senate election in Montana, 1996 situated in
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q16959426', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q183 property:P530 ?y } UNION { resource:Q16959426 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Nigeria, Malaysia, Venezuela, Brazil, Cuba, Serbia, San Marino, Honduras, Sweden and Mozambique have diplomatic relations with Germany or are United States Senate election in Montana, 1996 situated in
Nigeria Malaysia Venezuela Brazil Cuba Serbia San Marino Honduras Sweden Mozambique
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity United States Senate election in Montana, 1996
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['United States Senate election in Montana, 1996', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Germany property:diplomatic_relation ?y } UNION { resource:United_States_Senate_election_in_Montana,_1996 property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q27495866
P138
Q20667921 Q15619164 Q15617994
USER
How many administrative territories have less number of french administrative divisions or abstract beings as their namesake than Corse ?
(c(Q15617994),P138,c(Q20667921)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action count
action filter_multi_types
action find
entity Q27495866
relation P138
type Q20667921
type Q15619164
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { { ?d property:P138 ?a . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15619164 } UNION { ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q20667921 . ?d property:P138 ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q27495866 property:P138 ?r . { { ?r rdf:type ontology:Q20667921 } UNION { ?r rdf:type ontology:Q15619164 } } } } . FILTER ( ?p < ?x ) }
Corse
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action count
action filter_multi_types
action find
entity Corse
relation named after
type type of french administrative division
type abstract being
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { { ?d property:named_after ?a . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:abstract_being } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:type_of_french_administrative_division . ?d property:named_after ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Corse property:named_after ?r . { { ?r rdf:type ontology:type_of_french_administrative_division } UNION { ?r rdf:type ontology:abstract_being } } } } . FILTER ( ?p < ?x ) }
[]
type of french administrative division abstract being designation for an administrative territorial entity
SYSTEM
310
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q1206596 Q541811 Q707950 Q3131 Q7084 Q1904 Q12784 Q12578 Q12717 Q3139 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q20667921)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action count
action filter_multi_types
action find
entity Q27495866
relation P138
type Q20667921
type Q15619164
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { { ?d property:P138 ?a . ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15619164 } UNION { ?d rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q20667921 . ?d property:P138 ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q27495866 property:P138 ?r . { { ?r rdf:type ontology:Q20667921 } UNION { ?r rdf:type ontology:Q15619164 } } } } . FILTER ( ?p < ?x ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Deux-Nèthes Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
310
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action count
action filter_multi_types
action find
entity Corse
relation named after
type type of french administrative division
type abstract being
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?d WHERE { { ?d property:named_after ?a . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:abstract_being } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:type_of_french_administrative_division . ?d property:named_after ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Corse property:named_after ?r . { { ?r rdf:type ontology:type_of_french_administrative_division } UNION { ?r rdf:type ontology:abstract_being } } } } . FILTER ( ?p < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12792
P138
Q20667921 Q15619164 Q15617994
USER
And also tell me about Vaucluse?
(c(Q15617994),P138,c(Q20667921)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action count
action filter_multi_types
action find
entity Q12792
relation P138
type Q20667921
type Q15619164
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q12792 property:P138 ?a . { { ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q15619164 } } } } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q15619164 ) ( ontology:Q20667921 ) } . ?l rdf:type ?j } GROUP BY ?q } }
Vaucluse
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action count
action filter_multi_types
action find
entity Vaucluse
relation named after
type type of french administrative division
type abstract being
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Vaucluse property:named_after ?a . { { ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:abstract_being } } } } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:abstract_being ) ( ontology:type_of_french_administrative_division ) } . ?l rdf:type ?j } GROUP BY ?q } }
[]
type of french administrative division abstract being designation for an administrative territorial entity
SYSTEM
310
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q1206596 Q541811 Q707950 Q3131 Q7084 Q1904 Q12784 Q12578 Q12717 Q3139 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q20667921)|c(Q15619164))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action find_tuple_counts
relation P138
type Q15617994
type Q15619164
action count
action filter_multi_types
action find
entity Q12792
relation P138
type Q20667921
type Q15619164
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q12792 property:P138 ?a . { { ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q15619164 } } } } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q15619164 ) ( ontology:Q20667921 ) } . ?l rdf:type ?j } GROUP BY ?q } }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Deux-Nèthes Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
310
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type abstract being
action count
action filter_multi_types
action find
entity Vaucluse
relation named after
type type of french administrative division
type abstract being
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Vaucluse property:named_after ?a . { { ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:abstract_being } } } } . FILTER ( ?u < ?t ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:abstract_being ) ( ontology:type_of_french_administrative_division ) } . ?l rdf:type ?j } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P276
Q7275
USER
Which state is situated at Sweden ?
(c(Q7275),P276,Q34)
action filter_type
action find_reverse
entity Q34
relation P276
type Q7275
[{'concept': 'Q7275'}, 'P276', 'Q34']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q34 . ?f rdf:type ontology:Q7275 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation location
type state
[{'concept': 'state'}, 'location', 'Sweden']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Sweden . ?f rdf:type ontology:state }
[]
state
Q1133491
SYSTEM
Republic of Jamtland
Q1133491
(c(Q7275),P276,Q34)
action filter_type
action find_reverse
entity Q34
relation P276
type Q7275
[ANSWER] is situated at Sweden
[{'concept': 'Q7275'}, 'P276', 'Q34']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q34 . ?f rdf:type ontology:Q7275 }
Republic of Jamtland
Republic of Jamtland is situated at Sweden
Republic of Jamtland
action filter_type
action find_reverse
entity Sweden
relation location
type state
[{'concept': 'state'}, 'location', 'Sweden']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Sweden . ?f rdf:type ontology:state }
[]