?interval t:intervalContainsTime ?time 

Match ?interval and ?datetime such that ?datetime occurs during ?interval.

The interval can be defined using either start and end times or start and end points.

I.e., Either ?datetime is between the start and end times of ?interval or ?datetime occurs between the start and end points of the interval.


The following namespace abbreviations are used:

The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.