Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Oct 23, 2024
2 parents 3056858 + 55e5960 commit 3aa4935
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 47 deletions.
84 changes: 43 additions & 41 deletions demos/demo-SpOTy/config.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,15 @@ this:Iso639_3 a sh:NodeShape;
sh:order "90"^^xsd:integer;
volipi:iconName "fa-duotone fa-language" .

this:Longitude a sh:NodeShape;
rdfs:label "Longitude"@en, "Longitude"@fr;
this:Latitude a sh:NodeShape;
rdfs:label "Latitude"@en, "Latitude"@fr;
sh:nodeKind sh:Literal;
sh:order "94"^^xsd:integer;
sh:order "95"^^xsd:integer;
volipi:iconName "fa-solid fa-globe-stand" .

this:Latitude a sh:NodeShape;
rdfs:label "Latitude"@en, "Latitude"@fr;
this:Longitude a sh:NodeShape;
rdfs:label "Longitude"@en, "Longitude"@fr;
sh:nodeKind sh:Literal;
sh:order "95"^^xsd:integer;
volipi:iconName "fa-solid fa-globe-stand" .

Expand Down Expand Up @@ -209,26 +210,26 @@ this:Sentence_lastToken sh:path spoty:lastToken;
sh:node this:Token;
sh:deactivated "true"^^xsd:boolean .

this:Sentence_sentenceToken sh:path _:88dc89dcb85c491a887221b62c44ac411708;
this:Sentence_sentenceToken sh:path _:88dc89dcb85c491a887221b62c44ac411784;
sh:name "has"@en, "a pour"@fr;
sh:nodeKind sh:IRI;
sh:node this:Token;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411708 rdf:first spoty:firstToken;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411709 .
_:88dc89dcb85c491a887221b62c44ac411784 rdf:first spoty:firstToken;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411785 .

_:88dc89dcb85c491a887221b62c44ac411709 rdf:first _:88dc89dcb85c491a887221b62c44ac411710;
_:88dc89dcb85c491a887221b62c44ac411785 rdf:first _:88dc89dcb85c491a887221b62c44ac411786;
rdf:rest rdf:nil .

_:88dc89dcb85c491a887221b62c44ac411710 sh:zeroOrMorePath spoty:nextToken .
_:88dc89dcb85c491a887221b62c44ac411786 sh:zeroOrMorePath spoty:nextToken .

this:Sentence_language sh:path spoty:language;
sh:name "in"@en, "en"@fr;
sh:nodeKind sh:IRI;
sh:node this:Language;
dash:searchWidget core:AutocompleteProperty;
dash:searchWidget core:ListProperty;
datasources:datasource this:search_language;
core:enableOptional "true"^^xsd:boolean .

Expand Down Expand Up @@ -276,23 +277,23 @@ this:Token_lastToken sh:path spoty:lastToken;
sh:nodeKind sh:IRI;
sh:deactivated "true"^^xsd:boolean .

this:Token_tokenSentence sh:path _:88dc89dcb85c491a887221b62c44ac411711;
this:Token_tokenSentence sh:path _:88dc89dcb85c491a887221b62c44ac411787;
sh:name "in"@en, "dans"@fr;
sh:nodeKind sh:IRI;
sh:node this:Sentence;
dash:searchWidget core:ListProperty .

_:88dc89dcb85c491a887221b62c44ac411711 rdf:first _:88dc89dcb85c491a887221b62c44ac411712;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411714 .
_:88dc89dcb85c491a887221b62c44ac411787 rdf:first _:88dc89dcb85c491a887221b62c44ac411788;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411790 .

_:88dc89dcb85c491a887221b62c44ac411712 sh:inversePath _:88dc89dcb85c491a887221b62c44ac411713 .
_:88dc89dcb85c491a887221b62c44ac411788 sh:inversePath _:88dc89dcb85c491a887221b62c44ac411789 .

_:88dc89dcb85c491a887221b62c44ac411713 sh:zeroOrMorePath spoty:nextToken .
_:88dc89dcb85c491a887221b62c44ac411789 sh:zeroOrMorePath spoty:nextToken .

_:88dc89dcb85c491a887221b62c44ac411714 rdf:first _:88dc89dcb85c491a887221b62c44ac411715;
_:88dc89dcb85c491a887221b62c44ac411790 rdf:first _:88dc89dcb85c491a887221b62c44ac411791;
rdf:rest rdf:nil .

_:88dc89dcb85c491a887221b62c44ac411715 sh:inversePath spoty:firstToken .
_:88dc89dcb85c491a887221b62c44ac411791 sh:inversePath spoty:firstToken .

this:Token_ttranscription sh:path spoty:ttranscription;
sh:name "has"@en, "a pour"@fr;
Expand All @@ -311,37 +312,37 @@ this:Token_nextToken sh:path spoty:nextToken;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

this:Token_previousToken sh:path _:88dc89dcb85c491a887221b62c44ac411716;
this:Token_previousToken sh:path _:88dc89dcb85c491a887221b62c44ac411792;
sh:order "4";
sh:name "just after"@en, "juste après"@fr;
sh:nodeKind sh:IRI;
sh:node this:Token;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411716 sh:inversePath spoty:nextToken .
_:88dc89dcb85c491a887221b62c44ac411792 sh:inversePath spoty:nextToken .

this:Token_laterToken sh:path _:88dc89dcb85c491a887221b62c44ac411717;
this:Token_laterToken sh:path _:88dc89dcb85c491a887221b62c44ac411793;
sh:order "1";
sh:name "before"@en, "avant"@fr;
sh:nodeKind sh:IRI;
sh:node this:Token;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411717 sh:oneOrMorePath spoty:nextToken .
_:88dc89dcb85c491a887221b62c44ac411793 sh:oneOrMorePath spoty:nextToken .

this:Token_formerToken sh:path _:88dc89dcb85c491a887221b62c44ac411718;
this:Token_formerToken sh:path _:88dc89dcb85c491a887221b62c44ac411794;
sh:order "6";
sh:name "after"@en, "après"@fr;
sh:nodeKind sh:IRI;
sh:node this:Token;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411718 sh:inversePath _:88dc89dcb85c491a887221b62c44ac411719 .
_:88dc89dcb85c491a887221b62c44ac411794 sh:inversePath _:88dc89dcb85c491a887221b62c44ac411795 .

_:88dc89dcb85c491a887221b62c44ac411719 sh:oneOrMorePath spoty:nextToken .
_:88dc89dcb85c491a887221b62c44ac411795 sh:oneOrMorePath spoty:nextToken .

this:Token_nextAnnotatedToken sh:path spoty:nextAnnotatedToken;
sh:order "2";
Expand All @@ -352,15 +353,15 @@ this:Token_nextAnnotatedToken sh:path spoty:nextAnnotatedToken;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

this:Token_previousAnnotatedToken sh:path _:88dc89dcb85c491a887221b62c44ac411720;
this:Token_previousAnnotatedToken sh:path _:88dc89dcb85c491a887221b62c44ac411796;
sh:order "5";
sh:name "just after (annotated)"@en, "juste après (annotated)"@fr;
sh:nodeKind sh:IRI;
sh:node this:Token;
dash:searchWidget core:NonSelectableProperty;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411720 sh:inversePath spoty:nextAnnotatedToken .
_:88dc89dcb85c491a887221b62c44ac411796 sh:inversePath spoty:nextAnnotatedToken .

this:Token_semantics sh:path spoty:semantics;
sh:name "has (direct)"@en, "a pour (direct)"@fr;
Expand All @@ -371,7 +372,7 @@ this:Token_semantics sh:path spoty:semantics;
datasources:treeRootsDatasource this:taxo_semantics_root;
datasources:treeChildrenDatasource this:taxo_children .

this:Token_tokenSemantics sh:path _:88dc89dcb85c491a887221b62c44ac411721;
this:Token_tokenSemantics sh:path _:88dc89dcb85c491a887221b62c44ac411797;
sh:name "has"@en, "a pour"@fr;
sh:nodeKind sh:IRI;
sh:node this:Semantics;
Expand All @@ -380,13 +381,13 @@ this:Token_tokenSemantics sh:path _:88dc89dcb85c491a887221b62c44ac411721;
datasources:treeRootsDatasource this:taxo_semantics_root;
datasources:treeChildrenDatasource this:taxo_children .

_:88dc89dcb85c491a887221b62c44ac411721 rdf:first spoty:semantics;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411722 .
_:88dc89dcb85c491a887221b62c44ac411797 rdf:first spoty:semantics;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411798 .

_:88dc89dcb85c491a887221b62c44ac411722 rdf:first _:88dc89dcb85c491a887221b62c44ac411723;
_:88dc89dcb85c491a887221b62c44ac411798 rdf:first _:88dc89dcb85c491a887221b62c44ac411799;
rdf:rest rdf:nil .

_:88dc89dcb85c491a887221b62c44ac411723 sh:zeroOrMorePath skos:broader .
_:88dc89dcb85c491a887221b62c44ac411799 sh:zeroOrMorePath skos:broader .

this:Token_morphoSyntax sh:path spoty:morphoSyntax;
sh:name "has (direct)"@en, "a pour (direct)"@fr;
Expand All @@ -395,21 +396,21 @@ this:Token_morphoSyntax sh:path spoty:morphoSyntax;
dash:searchWidget core:ListProperty;
core:enableOptional "true"^^xsd:boolean .

this:Token_tokenMorphosynytax sh:path _:88dc89dcb85c491a887221b62c44ac411724;
this:Token_tokenMorphosynytax sh:path _:88dc89dcb85c491a887221b62c44ac411800;
sh:name "has"@en, "a pour"@fr;
sh:nodeKind sh:IRI;
sh:node this:MorphoSyntax;
dash:searchWidget core:ListProperty;
datasources:datasource this:list_morphosyntax;
core:enableOptional "true"^^xsd:boolean .

_:88dc89dcb85c491a887221b62c44ac411724 rdf:first spoty:morphoSyntax;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411725 .
_:88dc89dcb85c491a887221b62c44ac411800 rdf:first spoty:morphoSyntax;
rdf:rest _:88dc89dcb85c491a887221b62c44ac411801 .

_:88dc89dcb85c491a887221b62c44ac411725 rdf:first _:88dc89dcb85c491a887221b62c44ac411726;
_:88dc89dcb85c491a887221b62c44ac411801 rdf:first _:88dc89dcb85c491a887221b62c44ac411802;
rdf:rest rdf:nil .

_:88dc89dcb85c491a887221b62c44ac411726 sh:zeroOrMorePath skos:broader .
_:88dc89dcb85c491a887221b62c44ac411802 sh:zeroOrMorePath skos:broader .

this:Token_gloss sh:path spoty:gloss;
sh:name "has"@en, "a pour"@fr;
Expand Down Expand Up @@ -524,8 +525,7 @@ this:Language_rdfslabel sh:path rdfs:label;
this:Language_center sh:path spoty:center;
sh:name "has center"@en, "a pour centre"@fr;
sh:nodeKind sh:IRI;
sh:node this:Center;
sh:deactivated "true"^^xsd:boolean .
sh:node this:Center .

this:Language_order_svo sh:path spoty:order_svo;
sh:name "has order svo"@en, "a pour ordre svo"@fr;
Expand Down Expand Up @@ -586,12 +586,14 @@ this:Language_wdtP220 sh:path wdt:P220;
this:Center_longitude sh:path schema:longitude;
sh:name "has longitude"@en, "a pour longitude"@fr;
sh:nodeKind sh:Literal;
sh:datatype xsd:decimal .
sh:datatype xsd:decimal;
sh:node this:Longitude .

this:Center_latitude sh:path schema:latitude;
sh:name "has latitude"@en, "a pour latitude"@fr;
sh:nodeKind sh:Literal;
sh:datatype xsd:decimal .
sh:datatype xsd:decimal;
sh:node this:Latitude .

this:taxo_semantics_root a "config-datasources:SparqlDatasource";
datasources:queryString """PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
Expand Down
12 changes: 6 additions & 6 deletions demos/demo-SpOTy/sampleQueries.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ var sampleQueries = {
},
{
"termType": "Variable",
"value": "Z_Text_4"
"value": "Center_4"
},
{
"termType": "Variable",
"value": "Z_Text_6"
"value": "Center_6"
}
],
"order": null,
Expand All @@ -343,9 +343,9 @@ var sampleQueries = {
"line": {
"s": "Center_2",
"p": "https://w3id.org/SpOTy/shapes-ldo/Center_latitude",
"o": "Z_Text_4",
"o": "Center_4",
"sType": "https://w3id.org/SpOTy/shapes-ldo/Center",
"oType": "http://special/Z_Text",
"oType": "https://w3id.org/SpOTy/shapes-ldo/Center",
"values": []
},
"children": []
Expand All @@ -354,9 +354,9 @@ var sampleQueries = {
"line": {
"s": "Center_2",
"p": "https://w3id.org/SpOTy/shapes-ldo/Center_longitude",
"o": "Z_Text_6",
"o": "Center_6",
"sType": "https://w3id.org/SpOTy/shapes-ldo/Center",
"oType": "http://special/Z_Text",
"oType": "https://w3id.org/SpOTy/shapes-ldo/Center",
"values": []
},
"children": []
Expand Down
Binary file modified demos/demo-SpOTy/sparnatural-config.xlsx
Binary file not shown.

0 comments on commit 3aa4935

Please sign in to comment.