Simple Question (Direct)
Simple Question
Q4709932
P20
Q15617994
USER
Where did the expiration of Albert Clarke occur ?
(Q4709932,P20,c(Q15617994))
action filter_type
action find
entity Q4709932
relation P20
type Q15617994
['Q4709932', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4709932 property:P20 ?y . ?y rdf:type ontology:Q15617994 }
Albert Clarke
action filter_type
action find
entity Albert Clarke
relation place of death
type designation for an administrative territorial entity
['Albert Clarke', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Clarke property:place_of_death ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q4709932,P20,c(Q15617994))
action filter_type
action find
entity Q4709932
relation P20
type Q15617994
The expiration of Albert Clarke occurred in [ANSWER]
['Q4709932', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4709932 property:P20 ?y . ?y rdf:type ontology:Q15617994 }
France
The expiration of Albert Clarke occurred in France
France
action filter_type
action find
entity Albert Clarke
relation place of death
type designation for an administrative territorial entity
['Albert Clarke', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Clarke property:place_of_death ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4709932
P27
Q15617994
USER
Which administrative territory does Albert Clarke belong to ?
(Q4709932,P27,c(Q15617994))
action filter_type
action find
entity Q4709932
relation P27
type Q15617994
['Q4709932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q4709932 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Albert Clarke
action filter_type
action find
entity Albert Clarke
relation country of citizenship
type designation for an administrative territorial entity
['Albert Clarke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Clarke property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4709932,P27,c(Q15617994))
action filter_type
action find
entity Q4709932
relation P27
type Q15617994
Albert Clarke belongs to [ANSWER]
['Q4709932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q4709932 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
Albert Clarke belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Albert Clarke
relation country of citizenship
type designation for an administrative territorial entity
['Albert Clarke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Clarke property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4709932
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q4709932
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4709932 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Albert Clarke
action filter_type
action find
entity Albert Clarke
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Clarke property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42448
SYSTEM
Sheffield
Q42448
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q4709932
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4709932 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Sheffield
Sheffield is the birthplace of that person
Sheffield
action filter_type
action find
entity Albert Clarke
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Albert_Clarke property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4709932
P106
Q12737077
USER
What is the job of that person ?
(Q42448,P106,c(Q12737077))
action filter_type
action find
entity Q4709932
relation P106
type Q12737077
['Q42448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4709932 property:P106 ?y }
Albert Clarke
action filter_type
action find
entity Albert Clarke
relation occupation
type occupation
['Sheffield', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Albert_Clarke property:occupation ?y }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q42448,P106,c(Q12737077))
action filter_type
action find
entity Q4709932
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q42448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4709932 property:P106 ?y }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Albert Clarke
relation occupation
type occupation
['Sheffield', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Albert_Clarke property:occupation ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings have the profession of that occupation ?
(c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } }
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } }
[]
fictional humanoid abstract being
SYSTEM
24 fictional humanoids and 7 abstract beings
Q746996 Q3810827 Q8994224 Q6371793 Q2248090 Q1000043 Q2754813 Q7626893 Q2484120 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q10279728 Q5246215 Q2567460 Q2939461 Q7937796 Q5136888 Q3482651 Q7384370 Q6701906 Q5195672 Q6163280 Q5049092 Q1000560 Q6782491 Q4913115 Q5360264 Q5489814
(c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } }
Kojirō Hyūga Juan Diaz Lee Presley Karl Fletcher Genzō Wakabayashi Ken Wakashimazu Tarō Misaki Stuart Naysmith Tsubasa Oozora Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Fago Dean Hocknell Santiago Muñez Cardona Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Ryan Naysmith Luke Davenport Curtis Alexander Jason Porter Casper Rose Hikaru Matsuyama Masal Bugduv Billy O'Neil Eli Knox Frank Stone
24 fictional humanoids and 7 abstract beings
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q51362
P47
Q56061 Q15617994
USER
How many administrative territories or administrative territories do Elice share a border with ?
(c(Q56061),P47,Q51362) (c(Q15617994),P47,Q51362)
action count
action union
action filter_type
action find_reverse
entity Q51362
relation P47
type Q56061
action filter_type
action find_reverse
entity Q51362
relation P47
type Q15617994
[{'concept': 'Q56061'}, 'P47', 'Q51362'] [{'concept': 'Q15617994'}, 'P47', 'Q51362']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?i rdf:type ?p }
Elice
action count
action union
action filter_type
action find_reverse
entity Elice
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Elice
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Elice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Elice']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?i rdf:type ?p }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q51356 Q51359 Q51382 Q51420 Q51376 Q51436
(c(Q56061),P47,Q51362) (c(Q15617994),P47,Q51362)
action count
action union
action filter_type
action find_reverse
entity Q51362
relation P47
type Q56061
action filter_type
action find_reverse
entity Q51362
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q51362'] [{'concept': 'Q15617994'}, 'P47', 'Q51362']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?i rdf:type ?p }
Città Sant'Angelo Collecorvino Picciano Atri, Abruzzo Penne, Abruzzo Castilenti
6
action count
action union
action filter_type
action find_reverse
entity Elice
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Elice
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Elice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Elice']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?i rdf:type ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51362
P47
Q15617994
USER
Which administrative territories share border with that one ?
action filter_type
action find
entity Q51362
relation P47
type Q15617994
SELECT DISTINCT ?i WHERE { resource:Q51362 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Elice
action filter_type
action find
entity Elice
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?i WHERE { resource:Elice property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q51420 Q51376 Q51356
SYSTEM
Atri, Abruzzo, Penne, Abruzzo, Città Sant'Angelo
Q51420 Q51376 Q51436 Q51359 Q51356
action filter_type
action find
entity Q51362
relation P47
type Q15617994
[ANSWERS] share border with that one
SELECT DISTINCT ?i WHERE { resource:Q51362 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Atri, Abruzzo Penne, Abruzzo Castilenti Collecorvino Città Sant'Angelo
Atri, Abruzzo, Penne, Abruzzo and Città Sant'Angelo share border with that one
Atri, Abruzzo Penne, Abruzzo Città Sant'Angelo
action filter_type
action find
entity Elice
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?i WHERE { resource:Elice property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q51420
P190
Q15617994
USER
Which administrative territories are twin towns of that one ?
(Q51420,P190,c(Q15617994))
action filter_type
action find
entity Q51420
relation P190
type Q15617994
['Q51420', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q51420 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Atri, Abruzzo
action filter_type
action find
entity Atri, Abruzzo
relation sister city
type designation for an administrative territorial entity
['Atri, Abruzzo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Atri,_Abruzzo property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q51356
SYSTEM
Did you mean Città Sant'Angelo ?
Q51420 Q51376 Q51356
(Q51420,P190,c(Q15617994)) (Q51376,P190,c(Q15617994)) (Q51356,P190,c(Q15617994))
[ANSWER]
['Q51420', 'P190', {'concept': 'Q15617994'}] ['Q51376', 'P190', {'concept': 'Q15617994'}] ['Q51356', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q51420 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Atri, Abruzzo Penne, Abruzzo Città Sant'Angelo
Did you mean Città Sant'Angelo ?
Città Sant'Angelo
['Atri, Abruzzo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Penne, Abruzzo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Città Sant'Angelo", 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Atri,_Abruzzo property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Atri, Abruzzo. Could you tell me the answer for that?
(Q51420,P190,c(Q15617994))
Q51420
['Q51420', 'P190', {'concept': 'Q15617994'}]
['Atri, Abruzzo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q51825 Q52169
SYSTEM
Conversano, Nardò
Q51825 Q52169
(Q51420,P190,c(Q15617994))
action filter_type
action find
entity Q51420
relation P190
type Q15617994
[ANSWERS] are twin towns of that one
['Q51420', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q51420 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Conversano Nardò
Conversano and Nardò are twin towns of that one
Conversano Nardò
action filter_type
action find
entity Atri, Abruzzo
relation sister city
type designation for an administrative territorial entity
['Atri, Abruzzo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Atri,_Abruzzo property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q701632 Q35749 Q15617994
USER
Which administrative territories have max number of municipal councils and parliaments as their representative body ?
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } . ?l rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } GROUP BY ?k } . FILTER ( ?h = ?s ) }
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:municipal_council ) ( ontology:parliament ) } . ?l rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:municipal_council ) ( ontology:parliament ) } } GROUP BY ?k } . FILTER ( ?h = ?s ) }
[]
municipal council parliament designation for an administrative territorial entity
Q212 Q2007 Q1904
SYSTEM
Ukraine, Northwest Territories, Ontario
Q2806757 Q1948 Q1979 Q1974 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q1951 Q2023
(c(Q15617994),P194,c(Q701632)|c(Q35749))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q35749
[ANSWERS] have max number of municipal councils and parliaments as their representative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } . ?l rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } GROUP BY ?k } . FILTER ( ?h = ?s ) }
105 Mile Post Indian Reserve No. 2 Manitoba Prince Edward Island British Columbia Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Alberta Nunavut
Ukraine, Northwest Territories and Ontario have max number of municipal councils and parliaments as their representative body
Ukraine Northwest Territories Ontario
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?s ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:municipal_council ) ( ontology:parliament ) } . ?l rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:municipal_council ) ( ontology:parliament ) } } GROUP BY ?k } . FILTER ( ?h = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q34442 Q628179
USER
How many administrative territories are the endpoints for atmost 1 roads or trails ?
(c(Q34442)|c(Q628179),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 1
[[{'concept': 'Q34442'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q628179 ) } . ?r rdf:type ?o } GROUP BY ?y } . FILTER ( ?u <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 1
[[{'concept': 'road'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:road ) ( ontology:trail ) } . ?r rdf:type ?o } GROUP BY ?y } . FILTER ( ?u <= 1 ) }
[]
administrative territorial entity road trail
SYSTEM
156
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q2814 Q541055 Q723164 Q82490 Q4825403 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q5902931 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q7651719 Q171357 Q134620 Q956 Q959 Q992420 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q7050868 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q35433 Q1763 Q1449 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q6820370 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q12191 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q1729 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q34442)|c(Q628179),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 1
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q628179 ) } . ?r rdf:type ?o } GROUP BY ?y } . FILTER ( ?u <= 1 ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Göschenen Horgoš Vlissingen Folkestone Detroit South Drain Halle (Saale) Oijen Pop Lyme Regis Austrepollen Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Horda, Norway Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Svartnes Kecskemét Jyväskylä Beijing Vladivostok Fjærland Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Nordrepollen Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Saint-Rhémy-en-Bosses Murmansk Genoa Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Merritton, Ontario Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria Kilsby St Nicholas-at-Wade Otira Värpinge Moffat Helena Zeebrugge Jong, Norway Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Nantes Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Erfurt Aviemore Karkkila Birstall Los Angeles Prague
156
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 1
[[{'concept': 'road'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:road ) ( ontology:trail ) } . ?r rdf:type ?o } GROUP BY ?y } . FILTER ( ?u <= 1 ) }
[]