Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRI for STIX vocabulary values? #61

Open
peternowee opened this issue Feb 22, 2024 · 0 comments
Open

IRI for STIX vocabulary values? #61

peternowee opened this issue Feb 22, 2024 · 0 comments

Comments

@peternowee
Copy link

Hi,

More a support question, but perhaps a feature request:

I am looking for an IRI to use instead of a string when referring to STIX vocabulary values.

For example, if I want to refer to the value organizational-gain from the Attack Motivation Vocabulary attack-motivation-ov as defined in stix/vocabularies/vocabularies.owl:

<owl:NamedIndividual rdf:about="&stix;_Organizational-gain-amov">
    <rdf:type rdf:resource="&stix;AttackMotivationOv"/>
</owl:NamedIndividual>

Now if I have this example triple...

@prefix example: <http://example/ns/> .
@prefix stix: <http://docs.oasis-open.org/cti/ns/stix#> .
example:intrusion-set--9e759eb6-d189-11ee-bcf6-4761ad7c56c4 a stix:StixObject ;
    stix:primary_motivation "organizational-gain" .

Can I replace that last line with the following?

    stix:primary_motivation stix:_Organizational-gain-amov .

The underscore at the start (_Organizational-gain-amov) gives the impression that it is for internal use only. I know it is used "internally" in the SWRL rules in threat-actor.owl and intrusion-set.owl, but can I refer to that IRI directly "externally" as well?

If not, is some other IRI for vocabulary values foreseen, or am I completely misunderstanding? Hope to hear your thoughts. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant