sparql - Manipulate Date/Time in RDF4J for Debugging -


i'm using rdf4j 2.2.1 on windows 10 professional 64-bit. have spin constructor rules sensitive date/time. example, may want compare triple containing xsd:datetime datatype property output of sparql's built-in now() function. debug functionality, convenient manipulate rdf4j's perception of date/time somehow rather manipulating system clock. i'm aware there general commercial software (e.g. solution soft's "time machine") can manipulate perception of time windows process. however, software appears far expensive our little proof-of-concept project.

what i'd able do:

  • set rdf4j's date/time arbitrary date/time value.
  • have rdf4j's date/time proceed @ real time speed or @ programmable faster speed during debugging.

does have suggestions how manipulate in manner date/time rdf4j? make debugging of time-sensitive spin rules more efficient. i'd prefer not fight pc's system clock since many other things depend on it. suppose running entire virtual pc , debugging on virtual pc option, seems there should simpler way.

thanks.

you accomplish implementing custom sparql function , using instead of actual now() function. call mock_now() example. since implement it, have full control on behavior.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -