neumarcx commented on issue #3988: URL: https://github.com/apache/jena/issues/3988#issuecomment-4691658526
Hi Peter, I had another look at your example again and it is actually exhibiting the correct behaviour because the boundary of a Point is indeed an empty set. Therefore, the expected behavior is to produce "false". The sfEquals function uses the DE-9IM intersection matrix, which compares the Interior, Boundary, and Exterior of two geometries. Try the same query with a POLYGON (which has non-empty boundaries) and it should work with the simple feature evaluation. But I acknowledge that the Jena assembler configuration and library setup might not be as obvious as one might like. Marco On Thu, Jun 11, 2026 at 4:12 PM pwin ***@***.***> wrote: > *pwin* created an issue (apache/jena#3988) > <https://github.com/apache/jena/issues/3988> > Version > > 6.1 > Question > > related to an earlier question, I have a simple installation of Fuseki 6.1 > and there is an assembler that sets up the spatial index. > > The following GeoSPARQL query returns 'false', and I don't know why. Help > appreciated. > > PREFIX geo: <http://www.opengis.net/ont/geosparql#> > PREFIX geof: <http://www.opengis.net/def/function/geosparql/> > > SELECT ?same > WHERE { > BIND(geof:sfEquals( > "POINT(-0.1278 51.5074)"^^geo:wktLiteral, > "POINT(-0.1278 51.5074)"^^geo:wktLiteral > ) AS ?same) > } > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/jena/issues/3988?email_source=notifications&email_token=ACPL5GWVXL64UA6YA7L265L47LD6NA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NBWGQYTOOJZGEYDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACPL5GSCBLM2NFVGBFIUFTL47LD6NAVCNFSNUABDKJSXA33TNF2G64TZHM3TIMZXGA3TGO2JONZXKZJ3GQ3DIMJXHE4TCMBQUF3AE> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/ACPL5GSYTUGLNDD5FGSK4R347LD6NA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NBWGQYTOOJZGEYDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/ACPL5GVBMHBCCCPE6VS5WID47LD6NA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NBWGQYTOOJZGEYDBJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> > -- --- Marco Neumann -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
