Search in sources :

Example 11 with RdfProperty

use of nl.knaw.huygens.timbuctoo.core.dto.rdf.RdfProperty in project timbuctoo by HuygensING.

the class PropertyTripleProcessor method processRetraction.

@Override
protected void processRetraction(String vreName, String subject, String predicate, String lexicalValue, String typeUri) {
    RdfProperty property = new RdfProperty(predicate, lexicalValue, typeUri);
    rdfImportSession.retractProperty(subject, property);
}
Also used : RdfProperty(nl.knaw.huygens.timbuctoo.core.dto.rdf.RdfProperty)

Aggregations

RdfProperty (nl.knaw.huygens.timbuctoo.core.dto.rdf.RdfProperty)11 Vre (nl.knaw.huygens.timbuctoo.model.vre.Vre)9 VreStubs.minimalCorrectVre (nl.knaw.huygens.timbuctoo.model.vre.VreStubs.minimalCorrectVre)9 Test (org.junit.Test)9 TinkerPopGraphManager (nl.knaw.huygens.timbuctoo.server.TinkerPopGraphManager)8 CreateCollection (nl.knaw.huygens.timbuctoo.core.dto.CreateCollection)3 Collection (nl.knaw.huygens.timbuctoo.core.dto.dataset.Collection)3 PredicateInUse (nl.knaw.huygens.timbuctoo.core.dto.rdf.PredicateInUse)3 Matchers.containsString (org.hamcrest.Matchers.containsString)3 Matchers.anyString (org.mockito.Matchers.anyString)3 RdfReadProperty (nl.knaw.huygens.timbuctoo.core.dto.rdf.RdfReadProperty)1 ValueTypeInUse (nl.knaw.huygens.timbuctoo.core.dto.rdf.ValueTypeInUse)1