Created
February 27, 2015 21:10
-
-
Save koo5/3c34781d5a5d4c4c271c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cwm ~/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp | |
# using base file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
# Notation3 generation by | |
# notation3.py,v 1.200 2007/12/11 21:18:08 syosi Exp | |
# Base was: file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
@prefix : <#> . | |
@prefix Dat: <http://protege.org/ontologies/DateTimeExample.owl#> . | |
@prefix string: <http://www.w3.org/2000/10/swap/string#> . | |
@forAll :B, | |
:P . | |
Dat:y a Dat:Person; | |
Dat:hasBirthday "1960-12-31T23:59:59" . | |
{ | |
"1946-01-01T00:00:00" string:notGreaterThan :B . | |
:B string:notGreaterThan "1964-12-31T23:59:59" . | |
:P a Dat:Person; | |
Dat:hasBirthday :B . | |
} <http://www.w3.org/2000/10/swap/log#implies> {:P a Dat:BabyBoomer . | |
} . | |
#ENDS | |
cwm ~/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 --pipe | |
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp | |
# using base file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
# Notation3 generation by | |
# notation3.py,v 1.200 2007/12/11 21:18:08 syosi Exp | |
# Base was: file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
@prefix string: <http://www.w3.org/2000/10/swap/string#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix : <http://protege.org/ontologies/DateTimeExample.owl#> . | |
@forAll <#_g2> . | |
<#_g2> a :Person . | |
@forAll <#_g4> . | |
<#_g2> :hasBirthday <#_g4> . | |
<#_g4> string:notGreaterThan "1964-12-31T23:59:59" . | |
Failed to parse file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
file:///home/kook/Downloads/sw/eulergui-code/eulergui/examples/DateTime-rules.n3 | |
"1946-01-01T00:00:00" string:notGreaterThan <#_g4>Traceback (most recent call last): | |
File "/usr/bin/cwm", line 750, in <module> | |
doCommand() | |
File "/usr/bin/cwm", line 455, in doCommand | |
why=myReason) | |
File "/usr/lib/python2.7/dist-packages/swap/webAccess.py", line 224, in load | |
p.feed(buffer) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 213, in feed | |
i = self.directiveOrStatement(str,j) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 227, in directiveOrStatement | |
j = self.statement(str, i) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 373, in statement | |
i = self.object(str, i, r) # Allow literal for subject - extends RDF | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 951, in object | |
j = self.subject(str, i, res) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 383, in subject | |
return self.item(str, i, res) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 462, in item | |
return self.path(str, i, res) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 474, in path | |
j = self.nodeOrLiteral(str, i, res) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 973, in nodeOrLiteral | |
j = self.node(str, i, res) | |
File "/usr/lib/python2.7/dist-packages/swap/notation3.py", line 619, in node | |
res.append(subj.close()) # No use until closed | |
AttributeError: 'tuple' object has no attribute 'close' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment