Skip to content

Commit

Permalink
refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Aug 27, 2024
1 parent 9340be3 commit 7de65ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
3 changes: 3 additions & 0 deletions cases/age.trig
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ _:bng_3 lingua:answer _:bng_3.
GRAPH _:bng_3 {
var:S :ageAbove "P80Y"^^xsd:duration.
}

# assuming lingua explanations
[] lingua:explanation [].
21 changes: 0 additions & 21 deletions cases/output/age.trig
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
PREFIX : <https://eyereasoner.github.io/lingua/cases/age.trig#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX lingua: <http://www.w3.org/2000/10/swap/lingua#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX time: <http://www.w3.org/2000/10/swap/time#>
PREFIX math: <http://www.w3.org/2000/10/swap/math#>

:patH :ageAbove "P80Y"^^xsd:duration.

#
# lingua explanation
#

_:bng_1 lingua:explanation _:bng_2.

GRAPH _:bng_1 {
:patH :birthDay "1944-08-21"^^xsd:date.
[] rdf:value ""; time:localTime "2024-08-27T14:37:39.458Z"^^xsd:dateTime.
("2024-08-27T14:37:39.458Z"^^xsd:dateTime "1944-08-21"^^xsd:date) math:difference 2525179059.458 .
[] rdf:value 2525179059.458; math:greaterThan "P80Y"^^xsd:duration.
}

GRAPH _:bng_2 {
:patH :ageAbove "P80Y"^^xsd:duration.
}

0 comments on commit 7de65ea

Please sign in to comment.