Simple Question (Direct)
Simple Question
Q5525318
P39
Q12737077
USER
What was the position for which Gary Johns was appointed ?
(Q5525318,P39,c(Q12737077))
action filter_type
action find
entity Q5525318
relation P39
type Q12737077
['Q5525318', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q5525318 property:P39 ?s }
Gary Johns
action filter_type
action find
entity Gary Johns
relation position held
type occupation
['Gary Johns', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Gary_Johns property:position_held ?s }
[]
occupation
Q18912794
SYSTEM
Member of the Australian House of Representatives
Q18912794
(Q5525318,P39,c(Q12737077))
action filter_type
action find
entity Q5525318
relation P39
type Q12737077
[ANSWER]
['Q5525318', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q5525318 property:P39 ?s }
Member of the Australian House of Representatives
Member of the Australian House of Representatives
Member of the Australian House of Representatives
action filter_type
action find
entity Gary Johns
relation position held
type occupation
['Gary Johns', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Gary_Johns property:position_held ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5525318
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q18912794,P102,c(Q7210356))
action filter_type
action find
entity Q5525318
relation P102
type Q7210356
['Q18912794', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5525318 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Gary Johns
action filter_type
action find
entity Gary Johns
relation member of political party
type political organization
['Member of the Australian House of Representatives', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Gary_Johns property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q18912794,P102,c(Q7210356))
action filter_type
action find
entity Q5525318
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q18912794', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5525318 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Australian Labor Party
That person is affiliated with Australian Labor Party
Australian Labor Party
action filter_type
action find
entity Gary Johns
relation member of political party
type political organization
['Member of the Australian House of Representatives', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Gary_Johns property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q216082 Q6396850
P102
Q502895
USER
Is Kevin Mann a member of that political organization ?
(Q6396850,P102,Q216082)
action is_in
entity Q6396850
action find
entity Q216082
relation P102
['Q6396850', 'P102', 'Q216082']
ASK WHERE { resource:Q216082 property:P102 resource:Q6396850 }
Australian Labor Party Kevin Mann
action is_in
entity Kevin Mann
action find
entity Australian Labor Party
relation member of political party
['Kevin Mann', 'member of political party', 'Australian Labor Party']
ASK WHERE { resource:Australian_Labor_Party property:member_of_political_party resource:Kevin_Mann }
[]
common name
SYSTEM
NO
(Q6396850,P102,Q216082)
action is_in
entity Q6396850
action find
entity Q216082
relation P102
[ANSWER]
['Q6396850', 'P102', 'Q216082']
ASK WHERE { resource:Q216082 property:P102 resource:Q6396850 }
No
action is_in
entity Kevin Mann
action find
entity Australian Labor Party
relation member of political party
['Kevin Mann', 'member of political party', 'Australian Labor Party']
ASK WHERE { resource:Australian_Labor_Party property:member_of_political_party resource:Kevin_Mann }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5525318 Q448712 Q2101408
P27
Q1048835
USER
Is Gary Johns a citizen of County of Forcalquier and Guimarães ?
(Q5525318,P27,Q448712) (Q5525318,P27,Q2101408)
action is_in
entity Q5525318
action intersection
action find_reverse
entity Q448712
relation P27
action find_reverse
entity Q2101408
relation P27
['Q5525318', 'P27', 'Q448712'] ['Q5525318', 'P27', 'Q2101408']
ASK WHERE { resource:Q5525318 property:P27 resource:Q2101408 . resource:Q5525318 property:P27 resource:Q448712 }
Gary Johns County of Forcalquier Guimarães
action is_in
entity Gary Johns
action intersection
action find_reverse
entity County of Forcalquier
relation country of citizenship
action find_reverse
entity Guimarães
relation country of citizenship
['Gary Johns', 'country of citizenship', 'County of Forcalquier'] ['Gary Johns', 'country of citizenship', 'Guimarães']
ASK WHERE { resource:Gary_Johns property:country_of_citizenship resource:Guimarães . resource:Gary_Johns property:country_of_citizenship resource:County_of_Forcalquier }
[]
political territorial entity
SYSTEM
NO
(Q5525318,P27,Q448712) (Q5525318,P27,Q2101408)
action is_in
entity Q5525318
action intersection
action find_reverse
entity Q448712
relation P27
action find_reverse
entity Q2101408
relation P27
[ANSWER]
['Q5525318', 'P27', 'Q448712'] ['Q5525318', 'P27', 'Q2101408']
ASK WHERE { resource:Q5525318 property:P27 resource:Q2101408 . resource:Q5525318 property:P27 resource:Q448712 }
No
action is_in
entity Gary Johns
action intersection
action find_reverse
entity County of Forcalquier
relation country of citizenship
action find_reverse
entity Guimarães
relation country of citizenship
['Gary Johns', 'country of citizenship', 'County of Forcalquier'] ['Gary Johns', 'country of citizenship', 'Guimarães']
ASK WHERE { resource:Gary_Johns property:country_of_citizenship resource:Guimarães . resource:Gary_Johns property:country_of_citizenship resource:County_of_Forcalquier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5525318
P19
Q56061
USER
Which administrative territory was that person born in ?
action filter_type
action find
entity Q5525318
relation P19
type Q56061
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q5525318 property:P19 ?h }
Gary Johns
action filter_type
action find
entity Gary Johns
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Gary_Johns property:place_of_birth ?h }
[]
administrative territorial entity
Q3141
SYSTEM
Melbourne
Q3141
action filter_type
action find
entity Q5525318
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q5525318 property:P19 ?h }
Melbourne
That person was born in Melbourne
Melbourne
action filter_type
action find
entity Gary Johns
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Gary_Johns property:place_of_birth ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5525318
P106
Q12737077
USER
What is the job of Gary Johns ?
(Q5525318,P106,c(Q12737077))
action filter_type
action find
entity Q5525318
relation P106
type Q12737077
['Q5525318', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5525318 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Gary Johns
action filter_type
action find
entity Gary Johns
relation occupation
type occupation
['Gary Johns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Gary_Johns property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5525318,P106,c(Q12737077))
action filter_type
action find
entity Q5525318
relation P106
type Q12737077
The job of Gary Johns is a [ANSWER]
['Q5525318', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5525318 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
The job of Gary Johns is a politician
politician
action filter_type
action find
entity Gary Johns
relation occupation
type occupation
['Gary Johns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Gary_Johns property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216082
P463
Q7210356
USER
Which organization was Australian Labor Party a member of ?
(Q216082,P463,c(Q7210356))
action filter_type
action find
entity Q216082
relation P463
type Q7210356
['Q216082', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q216082 property:P463 ?b . ?b rdf:type ontology:Q7210356 }
Australian Labor Party
action filter_type
action find
entity Australian Labor Party
relation member of
type political organization
['Australian Labor Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Australian_Labor_Party property:member_of ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q7248622
SYSTEM
Progressive Alliance
Q7248622
(Q216082,P463,c(Q7210356))
action filter_type
action find
entity Q216082
relation P463
type Q7210356
Party [ANSWER] was Australian Labor Party a member of
['Q216082', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q216082 property:P463 ?b . ?b rdf:type ontology:Q7210356 }
Progressive Alliance
Party Progressive Alliance was Australian Labor Party a member of
Progressive Alliance
action filter_type
action find
entity Australian Labor Party
relation member of
type political organization
['Australian Labor Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Australian_Labor_Party property:member_of ?b . ?b rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13511728 Q216082
P17
Q1048835
USER
Which political territories are Australian Labor Party or 1938 Jamaican Badminton Championships located in ?
OR((Q216082,P17,c(Q1048835)), (Q13511728,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q216082
relation P17
action find
entity Q13511728
relation P17
type Q1048835
{'OR': [['Q216082', 'P17', {'concept': 'Q1048835'}], ['Q13511728', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { VALUES ( ?t ) { ( resource:Q216082 ) ( resource:Q13511728 ) } . ?t property:P17 ?x } }
1938 Jamaican Badminton Championships Australian Labor Party
action filter_type
action union
action find
entity Australian Labor Party
relation country
action find
entity 1938 Jamaican Badminton Championships
relation country
type political territorial entity
{'OR': [['Australian Labor Party', 'country', {'concept': 'political territorial entity'}], ['1938 Jamaican Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { VALUES ( ?t ) { ( resource:Australian_Labor_Party ) ( resource:1938_Jamaican_Badminton_Championships ) } . ?t property:country ?x } }
[]
political territorial entity
Q408 Q766
SYSTEM
Australia, Jamaica
Q408 Q766
OR((Q216082,P17,c(Q1048835)), (Q13511728,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q216082
relation P17
action find
entity Q13511728
relation P17
type Q1048835
Australian Labor Party or 1938 Jamaican Badminton Championships are located in [ANSWERS]
{'OR': [['Q216082', 'P17', {'concept': 'Q1048835'}], ['Q13511728', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { VALUES ( ?t ) { ( resource:Q216082 ) ( resource:Q13511728 ) } . ?t property:P17 ?x } }
Australia Jamaica
Australian Labor Party or 1938 Jamaican Badminton Championships are located in Australia and Jamaica
Australia Jamaica
action filter_type
action union
action find
entity Australian Labor Party
relation country
action find
entity 1938 Jamaican Badminton Championships
relation country
type political territorial entity
{'OR': [['Australian Labor Party', 'country', {'concept': 'political territorial entity'}], ['1938 Jamaican Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { VALUES ( ?t ) { ( resource:Australian_Labor_Party ) ( resource:1938_Jamaican_Badminton_Championships ) } . ?t property:country ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q238
P530
Q1048835 Q15617994
USER
How many administrative territories have tactful political relations with lesser number of political territories than San Marino ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?m < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q238 property:P530 ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?j } }
San Marino
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity San Marino
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?m < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:San_Marino property:diplomatic_relation ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?m < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q238 property:P530 ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?j } }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
7
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity San Marino
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?m < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:San_Marino property:diplomatic_relation ?o } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2388026
P609
Q56061 Q12280 Q83620
USER
How many administrative territories are the destinations of more number of bridges or thoroughfares than Exminster ?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2388026
relation P609
type Q12280
type Q83620
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?r WHERE { { ?w property:P609 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q12280 } UNION { ?w property:P609 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q83620 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P609 resource:Q2388026 . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } } } } . FILTER ( ?t > ?v ) }
Exminster
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Exminster
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?r WHERE { { ?w property:terminus_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:bridge } UNION { ?w property:terminus_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:thoroughfare } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:terminus_location resource:Exminster . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:bridge ) ( ontology:thoroughfare ) } } } } . FILTER ( ?t > ?v ) }
[]
administrative territorial entity bridge thoroughfare
SYSTEM
72
Q180139 Q38511 Q23311 Q12443 Q1026676 Q4093 Q488924 Q748747 Q131335 Q923799 Q960454 Q675049 Q904462 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q1042366 Q23436 Q81137 Q828753 Q192896 Q992 Q33518 Q756103 Q1589316 Q2523431 Q472 Q740149 Q34863 Q831527 Q780785 Q3355046 Q2056925 Q780532 Q184587 Q755106 Q15054735 Q579854 Q174224 Q179224 Q3646335 Q631666 Q58900 Q44989 Q1043368 Q12439 Q49225 Q2756084 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q727 Q989919 Q990130 Q1988986 Q34370 Q28237 Q24454 Q2076290 Q49267 Q369947 Q755773 Q4411341 Q975 Q1782100 Q2659606 Q1017 Q1085
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2388026
relation P609
type Q12280
type Q83620
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?r WHERE { { ?w property:P609 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q12280 } UNION { ?w property:P609 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q83620 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P609 resource:Q2388026 . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } } } } . FILTER ( ?t > ?v ) }
Hradec Králové Turku City of London Marquette Norrmalm Glasgow Oceanside New Buffalo Sioux Falls Santee Holyport Flandreau Riddarholmen Casa Grande Milford Newark Sulphur Carlin Lilla Essingen Edinburgh Olomouc Coronado Carlisle Amersfoort Dover Lewes Traneberg Stadshagen Sofia Södermalm Oklahoma City Djurgården Långholmen Marieberg Tripp Negaunee Grand Rapids Rehoboth Beach Kungsholmen Gamla stan Wilmington Dover Vasastan Holtville Doncaster Tulsa Stora Essingen Detroit Reno Johanneshov Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Amsterdam Farmington Hills Hook of Holland Mitchell Rotterdam Lansing Troisvierges Wells Henderson El Cajon Harrington Södra Hammarbyhamnen San Antonio Farsta strand Caldwell Aachen Prague
72
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Exminster
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?r WHERE { { ?w property:terminus_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:bridge } UNION { ?w property:terminus_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:thoroughfare } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:terminus_location resource:Exminster . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:bridge ) ( ontology:thoroughfare ) } } } } . FILTER ( ?t > ?v ) }
[]