2

I have the need to pass very long strings (such as full wikipedia pages) in SPARQL syntax, and thus was wondering if there is any theoretical and/or practical limits to how long strings can be handled in SPARQL?

Samuel Lampa
  • 4,336
  • 5
  • 42
  • 63

1 Answers1

1

The only practical limit I'm aware of is that (historically) some web servers have had issues with long GET requests (that is, long URLs). For that reason you can typically POST queries to the endpoint (despite the lack of side effects).

Other than that resources are, of course, finite and systems will have theoretical limits (e.g How many characters can a Java String have?). Some systems will have performance issues with large literals, much like the database issue with varchars versus clobs.

Community
  • 1
  • 1
user205512
  • 8,798
  • 29
  • 28