Last active
August 29, 2015 14:27
-
-
Save arademaker/a5f7262f0652e3eacb35 to your computer and use it in GitHub Desktop.
playing with stardog and wordnet
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
stardog-admin server start | |
stardog-admin db drop wn | |
stardog-admin db create -n wn wn30.ttl | |
stardog data add wn test.ttl | |
stardog-admin icv add -v wn wn30.ttl | |
stardog icv validate -v -r wn ; the r option is necessary |
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
Data is NOT valid. | |
The following constraints were violated: | |
AxiomConstraint{wn30:WordSense rdfs:subClassOf (wn30:word exactly 1 wn30:Word)} | |
AxiomConstraint{wn30:Word rdfs:subClassOf (wn30:sense some wn30:WordSense)} | |
AxiomConstraint{wn30:lexicalForm rdfs:subPropertyOf rdfs:label} | |
AxiomConstraint{wn30:sense owl:inverseOf wn30:word} | |
AxiomConstraint{wn30:Word rdfs:subClassOf (wn30:lexicalForm exactly 1 rdfs:Literal)} | |
AxiomConstraint{wn30:word owl:inverseOf wn30:sense} |
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
Data is NOT valid. | |
The following constraints were violated: | |
AxiomConstraint{wn30:Word rdfs:subClassOf (wn30:sense some wn30:WordSense)} | |
AxiomConstraint{wn30:WordSense rdfs:subClassOf (wn30:inSynset exactly 1 wn30:Synset)} | |
AxiomConstraint{wn30:Word rdfs:subClassOf (wn30:lexicalForm exactly 1 rdfs:Literal)} |
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
Data is valid. |
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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix wn30: <https://w3id.org/own-pt/wn30/schema/> . | |
@prefix nomlex: <https://w3id.org/own-pt/nomlex/schema/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix : <http://w3id.org/own-pt/example/> . | |
:ws a wn30:WordSense ; | |
wn30:word :w1 ; | |
wn30:word :w2 . | |
:w1 a wn30:Word . | |
:w2 a wn30:Word . | |
:w1 wn30:lexicalForm "w1 form" ; | |
wn30:lexicalForm "w2 form" . |
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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix wn30: <https://w3id.org/own-pt/wn30/schema/> . | |
@prefix nomlex: <https://w3id.org/own-pt/nomlex/schema/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix : <http://w3id.org/own-pt/example/> . | |
:ws a wn30:WordSense ; | |
wn30:word :w1 . | |
:w1 a wn30:Word . | |
:w2 a wn30:Word . | |
:w1 wn30:lexicalForm "w1 form" . | |
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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix wn30: <https://w3id.org/own-pt/wn30/schema/> . | |
@prefix nomlex: <https://w3id.org/own-pt/nomlex/schema/> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix : <http://w3id.org/own-pt/example/> . | |
:ss a wn30:Synset ; | |
wn30:containsWordSense :ws1, :ws2 . | |
:ws1 a wn30:WordSense ; | |
wn30:word :w1 . | |
:w1 a wn30:Word . | |
:w2 a wn30:Word . | |
:ws2 a wn30:WordSense ; | |
wn30:word :w2 . | |
:w1 wn30:lexicalForm "w1 form" . | |
:w2 wn30:lexicalForm "w1 form" . | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment