Simple Question (Direct)
Simple Question
Q5196595
P39
Q12737077
USER
Which occupation was a position held by José Melchór García-Sampedro Suárez ?
(Q5196595,P39,c(Q12737077))
action filter_type
action find
entity Q5196595
relation P39
type Q12737077
['Q5196595', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5196595 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
José Melchór García-Sampedro Suárez
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation position held
type occupation
['José Melchór García-Sampedro Suárez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:José_Melchór_García-Sampedro_Suárez property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q611644
SYSTEM
Catholic bishop
Q611644
(Q5196595,P39,c(Q12737077))
action filter_type
action find
entity Q5196595
relation P39
type Q12737077
[ANSWER] was a position held by José Melchór García-Sampedro Suárez
['Q5196595', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5196595 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Catholic bishop
Catholic bishop was a position held by José Melchór García-Sampedro Suárez
Catholic bishop
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation position held
type occupation
['José Melchór García-Sampedro Suárez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:José_Melchór_García-Sampedro_Suárez property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5196595
P611
Q1530022
USER
What religion is that person affiliated to ?
(Q611644,P611,c(Q1530022))
action filter_type
action find
entity Q5196595
relation P611
type Q1530022
['Q611644', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?i WHERE { resource:Q5196595 property:P611 ?i . ?i rdf:type ontology:Q1530022 }
José Melchór García-Sampedro Suárez
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation religious order
type religious organization
['Catholic bishop', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?i WHERE { resource:José_Melchór_García-Sampedro_Suárez property:religious_order ?i . ?i rdf:type ontology:religious_organization }
[]
religious organization
Q131479
SYSTEM
Dominican Order
Q131479
(Q611644,P611,c(Q1530022))
action filter_type
action find
entity Q5196595
relation P611
type Q1530022
That person is affiliated with [ANSWER]
['Q611644', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?i WHERE { resource:Q5196595 property:P611 ?i . ?i rdf:type ontology:Q1530022 }
Dominican Order
That person is affiliated with Dominican Order
Dominican Order
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation religious order
type religious organization
['Catholic bishop', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?i WHERE { resource:José_Melchór_García-Sampedro_Suárez property:religious_order ?i . ?i rdf:type ontology:religious_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5196595
P20
Q13220204
USER
Which administrative country subdivision is the place of death of José Melchór García-Sampedro Suárez ?
(Q5196595,P20,c(Q13220204))
action filter_type
action find
entity Q5196595
relation P20
type Q13220204
['Q5196595', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . resource:Q5196595 property:P20 ?n }
José Melchór García-Sampedro Suárez
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation place of death
type second-level administrative country subdivision
['José Melchór García-Sampedro Suárez', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:José_Melchór_García-Sampedro_Suárez property:place_of_death ?n }
[]
second-level administrative country subdivision
Q33682
SYSTEM
Nam Định
Q33682
(Q5196595,P20,c(Q13220204))
action filter_type
action find
entity Q5196595
relation P20
type Q13220204
[ANSWER] is the place of death of José Melchór García-Sampedro Suárez
['Q5196595', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . resource:Q5196595 property:P20 ?n }
Nam Định
Nam Định is the place of death of José Melchór García-Sampedro Suárez
Nam Định
action filter_type
action find
entity José Melchór García-Sampedro Suárez
relation place of death
type second-level administrative country subdivision
['José Melchór García-Sampedro Suárez', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . resource:José_Melchór_García-Sampedro_Suárez property:place_of_death ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131479
P159
Q56061
USER
Where is the headquarter of Dominican Order located ?
(Q131479,P159,c(Q56061))
action filter_type
action find
entity Q131479
relation P159
type Q56061
['Q131479', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q131479 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Dominican Order
action filter_type
action find
entity Dominican Order
relation headquarters location
type administrative territorial entity
['Dominican Order', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dominican_Order property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q131479,P159,c(Q56061))
action filter_type
action find
entity Q131479
relation P159
type Q56061
The headquarter of Dominican Order is located in [ANSWER]
['Q131479', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q131479 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Rome
The headquarter of Dominican Order is located in Rome
Rome
action filter_type
action find
entity Dominican Order
relation headquarters location
type administrative territorial entity
['Dominican Order', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Dominican_Order property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5579793
Q56061
USER
And also tell me about Golden Software?
(Q5579793,P159,c(Q56061))
action filter_type
action find
entity Q5579793
relation P159
type Q56061
['Q5579793', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5579793 property:P159 ?a . ?a rdf:type ontology:Q56061 }
Golden Software
action filter_type
action find
entity Golden Software
relation headquarters location
type administrative territorial entity
['Golden Software', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Golden_Software property:headquarters_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q983543
SYSTEM
Golden
Q983543
(Q5579793,P159,c(Q56061))
action filter_type
action find
entity Q5579793
relation P159
type Q56061
[ANSWER]
['Q5579793', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5579793 property:P159 ?a . ?a rdf:type ontology:Q56061 }
Golden
Golden
action filter_type
action find
entity Golden Software
relation headquarters location
type administrative territorial entity
['Golden Software', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Golden_Software property:headquarters_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12716784 Q33682
P190 P937
Q56061
USER
Which administrative territories are sister towns of Nam Định or did Mathias Dugstad work ?
OR((Q33682,P190,c(Q56061)), (Q12716784,P937,c(Q56061)))
action filter_type
action union
action find
entity Q33682
relation P190
action find
entity Q12716784
relation P937
type Q56061
{'OR': [['Q33682', 'P190', {'concept': 'Q56061'}], ['Q12716784', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q33682 property:P190 ?y } UNION { resource:Q12716784 property:P937 ?y } } . ?y rdf:type ontology:Q56061 }
Mathias Dugstad Nam Định
action filter_type
action union
action find
entity Nam Định
relation sister city
action find
entity Mathias Dugstad
relation work location
type administrative territorial entity
{'OR': [['Nam Định', 'sister city', {'concept': 'administrative territorial entity'}], ['Mathias Dugstad', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Nam_Định property:sister_city ?y } UNION { resource:Mathias_Dugstad property:work_location ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13377 Q585
SYSTEM
Prato, Oslo
Q13377 Q585
OR((Q33682,P190,c(Q56061)), (Q12716784,P937,c(Q56061)))
action filter_type
action union
action find
entity Q33682
relation P190
action find
entity Q12716784
relation P937
type Q56061
[ANSWERS] are sister towns of Nam Định or did Mathias Dugstad work
{'OR': [['Q33682', 'P190', {'concept': 'Q56061'}], ['Q12716784', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q33682 property:P190 ?y } UNION { resource:Q12716784 property:P937 ?y } } . ?y rdf:type ontology:Q56061 }
Prato Oslo
Prato and Oslo are sister towns of Nam Định or did Mathias Dugstad work
Prato Oslo
action filter_type
action union
action find
entity Nam Định
relation sister city
action find
entity Mathias Dugstad
relation work location
type administrative territorial entity
{'OR': [['Nam Định', 'sister city', {'concept': 'administrative territorial entity'}], ['Mathias Dugstad', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Nam_Định property:sister_city ?y } UNION { resource:Mathias_Dugstad property:work_location ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q143334
P609
Q56061 Q34442 Q83620
USER
Which administrative territories are the terminus locations of more number of roads or thoroughfares than Ishim ?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q143334
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P609 resource:Q143334 . { { ?w rdf:type ontology:Q83620 } UNION { ?w rdf:type ontology:Q34442 } } } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?k WHERE { { ?j property:P609 ?k . ?j rdf:type ontology:Q34442 . ?k rdf:type ontology:Q56061 } UNION { ?j property:P609 ?k . ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q83620 } } GROUP BY ?k } }
Ishim
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Ishim
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:terminus_location resource:Ishim . { { ?w rdf:type ontology:thoroughfare } UNION { ?w rdf:type ontology:road } } } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?k WHERE { { ?j property:terminus_location ?k . ?j rdf:type ontology:road . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?j property:terminus_location ?k . ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:thoroughfare } } GROUP BY ?k } }
[]
administrative territorial entity road thoroughfare
Q1085 Q8686 Q956
SYSTEM
Prague, Shanghai, Beijing
Q803 Q599331 Q180139 Q38511 Q23311 Q12443 Q83178 Q10014 Q4093 Q832938 Q488924 Q748747 Q9920 Q131335 Q923799 Q749 Q960454 Q675049 Q3532 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q502312 Q793 Q545457 Q3322237 Q23436 Q81137 Q828753 Q26430 Q192896 Q992 Q8686 Q33518 Q756103 Q170263 Q472 Q34863 Q934511 Q2056925 Q1007168 Q780532 Q184587 Q755106 Q959585 Q956 Q174224 Q9832 Q179224 Q26421 Q631666 Q58900 Q44989 Q2543653 Q12439 Q2906589 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q1310 Q727 Q989919 Q990130 Q1988986 Q34370 Q2181173 Q28237 Q24454 Q75967 Q2076290 Q40844 Q60705 Q49267 Q369947 Q755773 Q975 Q2659606 Q1017 Q505601 Q1085
(c(Q34442)|c(Q83620),P609,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q143334
relation P609
type Q34442
type Q83620
[ANSWERS] are the terminus locations of more number of roads or thoroughfares than Ishim
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P609 resource:Q143334 . { { ?w rdf:type ontology:Q83620 } UNION { ?w rdf:type ontology:Q34442 } } } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?k WHERE { { ?j property:P609 ?k . ?j rdf:type ontology:Q34442 . ?k rdf:type ontology:Q56061 } UNION { ?j property:P609 ?k . ?k rdf:type ontology:Q56061 . ?j rdf:type ontology:Q83620 } } GROUP BY ?k } }
Utrecht Biddinghuizen Hradec Králové Turku City of London Marquette Almere Kampen Glasgow Bodegraven Oceanside New Buffalo Haarlem Sioux Falls Santee Groningen Holyport Flandreau Hemel Hempstead Casa Grande Milford Newark Sulphur Carlin Maasdijk Zwolle Nieuw-Vennep Venlo Edinburgh Olomouc Coronado Tilburg Carlisle Amersfoort Shanghai Dover Lewes Chester Sofia Oklahoma City Papendrecht Tripp IJsselmuiden Negaunee Grand Rapids Rehoboth Beach Streefkerk Beijing Wilmington Eindhoven Dover Dordrecht Holtville Doncaster Tulsa Den Hoorn, South Holland Detroit Blijham Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Arnhem Amsterdam Farmington Hills Hook of Holland Mitchell Rotterdam Bellingwolde Lansing Troisvierges Schoondijke Wells Breda Emmeloord Henderson El Cajon Harrington San Antonio Caldwell Aachen Wassenaar Prague
Prague, Shanghai and Beijing are the terminus locations of more number of roads or thoroughfares than Ishim
Prague Shanghai Beijing
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Ishim
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:terminus_location resource:Ishim . { { ?w rdf:type ontology:thoroughfare } UNION { ?w rdf:type ontology:road } } } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?k WHERE { { ?j property:terminus_location ?k . ?j rdf:type ontology:road . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?j property:terminus_location ?k . ?k rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:thoroughfare } } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1781
P609
Q56061 Q34442 Q83620
USER
And how about Budapest?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q1781
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P609 resource:Q1781 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?t rdf:type ?m } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?l WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?l } }
Budapest
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Budapest
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:terminus_location resource:Budapest . { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?t rdf:type ?m } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?l WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?l } }
[]
administrative territorial entity road thoroughfare
Q1085 Q8686 Q956
SYSTEM
Prague, Shanghai, Beijing
Q803 Q599331 Q180139 Q38511 Q23311 Q12443 Q83178 Q10014 Q4093 Q832938 Q488924 Q748747 Q9920 Q131335 Q923799 Q749 Q960454 Q675049 Q3532 Q79889 Q755600 Q506586 Q3239732 Q1948672 Q502312 Q793 Q545457 Q3322237 Q23436 Q81137 Q828753 Q26430 Q192896 Q992 Q8686 Q33518 Q756103 Q170263 Q472 Q34863 Q934511 Q2056925 Q1007168 Q780532 Q184587 Q755106 Q959585 Q956 Q174224 Q9832 Q179224 Q26421 Q631666 Q58900 Q44989 Q2543653 Q12439 Q2906589 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q1310 Q727 Q989919 Q990130 Q1988986 Q34370 Q2181173 Q28237 Q24454 Q75967 Q2076290 Q40844 Q60705 Q49267 Q369947 Q755773 Q975 Q2659606 Q1017 Q505601 Q1085
(c(Q34442)|c(Q83620),P609,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q1781
relation P609
type Q34442
type Q83620
[ANSWERS]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P609 resource:Q1781 . { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?t rdf:type ?m } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?l WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?l } }
Utrecht Biddinghuizen Hradec Králové Turku City of London Marquette Almere Kampen Glasgow Bodegraven Oceanside New Buffalo Haarlem Sioux Falls Santee Groningen Holyport Flandreau Hemel Hempstead Casa Grande Milford Newark Sulphur Carlin Maasdijk Zwolle Nieuw-Vennep Venlo Edinburgh Olomouc Coronado Tilburg Carlisle Amersfoort Shanghai Dover Lewes Chester Sofia Oklahoma City Papendrecht Tripp IJsselmuiden Negaunee Grand Rapids Rehoboth Beach Streefkerk Beijing Wilmington Eindhoven Dover Dordrecht Holtville Doncaster Tulsa Den Hoorn, South Holland Detroit Blijham Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Arnhem Amsterdam Farmington Hills Hook of Holland Mitchell Rotterdam Bellingwolde Lansing Troisvierges Schoondijke Wells Breda Emmeloord Henderson El Cajon Harrington San Antonio Caldwell Aachen Wassenaar Prague
Prague Shanghai Beijing
action greater
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Budapest
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:terminus_location resource:Budapest . { VALUES ( ?m ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?t rdf:type ?m } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?l WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?l } }
[]