Skip to content

Commit

Permalink
[Fix] Ensure activitystreams ontology uses consistently the "as" prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ledsoft committed Jan 6, 2025
1 parent b2dbc7c commit 526e0d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ontology/termit-glosář.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
@prefix termit-pojem: <http://onto.fel.cvut.cz/ontologies/application/termit/pojem/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://www.w3.org/ns/activitystreams#>
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"as" .

termit-pojem:cíl-definičního-výskytu
a <http://www.w3.org/2004/02/skos/core#Concept> ;
<http://www.w3.org/2004/02/skos/core#broader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class AggregatedChangeInfo implements HasTypes, Comparable<AggregatedChan
/**
* Number of distinct changed assets
*/
@OWLDataProperty(iri = Vocabulary.s_p_totalItems)
@OWLDataProperty(iri = Vocabulary.s_p_as_totalItems)
private Integer count;

@Types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
public class CommentReaction extends AbstractEntity implements HasTypes {

@ParticipationConstraints(nonEmpty = true)
@OWLObjectProperty(iri = Vocabulary.s_p_actor)
@OWLObjectProperty(iri = Vocabulary.s_p_as_actor)
private URI actor;

@ParticipationConstraints(nonEmpty = true)
@OWLObjectProperty(iri = Vocabulary.s_p_object)
@OWLObjectProperty(iri = Vocabulary.s_p_as_object)
private URI object;

@ParticipationConstraints(nonEmpty = true)
Expand Down

0 comments on commit 526e0d5

Please sign in to comment.