diff options
Diffstat (limited to 'bin/rdf2hours')
-rwxr-xr-x | bin/rdf2hours | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rdf2hours b/bin/rdf2hours index 9a22aed..0d28d79 100755 --- a/bin/rdf2hours +++ b/bin/rdf2hours @@ -76,13 +76,14 @@ while (my $data = shift @ARGV) { # compose query for hourspec data at least partly within a "window" of time # (yes, comparing global dates against opposite spec dates is deliberate) +# TODO: support transit:Schedule (as alternative to gr:hasOpeningHourSpecification) my $w3c = DateTime::Format::W3CDTF->new; my $query = qurie( sprintf(<<'SPARQL', $w3c->format_datetime($globalthrough), $w3c->format_datetime($globalfrom) )); SELECT * WHERE { { ?location - a schema:Place ; +# a schema:Place ; gr:category ?category ; gr:name ?name ; gr:hasOpeningHourSpecification ?spec . |