Skip to content

Commit

Permalink
Additional test for original sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Cox committed Nov 6, 2019
1 parent 1c75b48 commit 9b30852
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions proposals/ssn-extensions/index.html
Expand Up @@ -754,6 +754,7 @@ <h4 id="os-sampling-chain-rule">Finding the original Sample from a sampling chai
?this (sosa:isSampleOf)+ ?f .
NOT EXISTS { ?f sosa:isSampleOf ?y . } .
?os sosa:isSampleOf ?f .
?this (sosa:isSampleOf)+ ?os .
}
</pre>
</td>
Expand Down
6 changes: 5 additions & 1 deletion proposals/ssn-extensions/rdf/tests/ssn-ext-test3-target.ttl
Expand Up @@ -19,7 +19,6 @@ test:Sample_1
.
test:Sample_2
a sosa:Sample ;
sosa:hasOriginalSample test:Sample_2 ;
sosa:isSampleOf test:foia ;
sosa:isUltimateSampleOf test:foia ;
.
Expand All @@ -29,6 +28,11 @@ test:Sample_3
sosa:isSampleOf test:Sample_1 ;
sosa:isUltimateSampleOf test:foia ;
.
test:Sample_4
a sosa:Sample ;
sosa:isSampleOf test:foia ;
sosa:isUltimateSampleOf test:foia ;
.
test:foia
a sosa:FeatureOfInterest ;
.
Expand Down
4 changes: 4 additions & 0 deletions proposals/ssn-extensions/rdf/tests/ssn-ext-test3.ttl
Expand Up @@ -23,6 +23,10 @@ test:Sample_3
a sosa:Sample ;
sosa:isSampleOf test:Sample_1 ;
.
test:Sample_4
a sosa:Sample ;
sosa:isSampleOf test:foia ;
.
test:foia
a sosa:FeatureOfInterest ;
.
Expand Down

0 comments on commit 9b30852

Please sign in to comment.