What is the recommended way to add people with SPARQL UPDATE?

I know that to add an individual (an instance of a class) to 3D storage, the following insert statement is available:

PREFIX indv:<http://someexample.com/blah>
PREFIX ont:<http://someotherexample.com/blah/ontology#>
INSERT DATA
{
indv:individual_name rdf:type ont:SomeClassName.
}

My question is: is this enough?

I ask about this because I added some people to the owl file with a protege, and I saw that another triple file was added to the file:

indv:individual_name rdf:type owl:NamedIndividual.

Do I need to insert this triple into a triple store? What are the advantages to inserting this triple or are there any disadvantages?

+4
source share
1 answer

My question is: is this enough?

To simply add an instance of a class, this is enough in RDF. In RDF, resources can be members of classes and are represented by a triple with the rdf: type property .

, , , , :

indv:individual_name rdf:type owl:NamedIndividual.

? - ?

OWL , RDF. OWL , . - IRI , OWL RDF. , OWL RDF. , OWL 2 - RDF, .

, Protege, OWL. OWL - , . , ( , ):

(NamedIndividual (*: a))

RDF :

T (*: a) rdf: owl: NamedIndividual.

T (*: a) , , *: a , . , "x rdf: type owl: NamedIndividual" - , , "x . , , - , :

INSERT DATA { indv:individual_name rdf:type owl:NamedIndivual }

( SPARQL)? OWL , "a" , "CE", :

ClassAssertion (CE a)

RDF

T (a) rdf: T (CE).

T (a) T (CE) , "a" "CE" RDF , IRI node . , unionOf intersectionOf .. , , SPARQL, :

INSERT DATA {
  indv:individual_name rdf:type ont:SomeClassName.
}

, , ( , ). , , , , :

INSERT DATA {
  indv:individual_name rdf:type ont:SomeClassName, owl:NamedIndividual
}

(i) (ii) , .

+2

All Articles