Project

General

Profile

« Previous | Next » 

Revision 57224

SPARQL template names are found with simple type name

View differences:

modules/dnet-parthenos-publisher/trunk/src/main/java/eu/dnetlib/parthenos/jrr/JRRPublisherHelper.java
38 38
			//get the RDF
39 39
			for(String subject : subjects) {
40 40
				try {
41
					String fullTypeName = typeNamespace + typeName;
42
					String record = virtuosoReadAPI.getRDF(subject, fullTypeName, apiId, ANY_TIME_QUERY_MS);
41
					String record = virtuosoReadAPI.getRDF(subject, typeName, apiId, ANY_TIME_QUERY_MS);
43 42
					//request publishing on JRR (need to have the OAI header with the proper subject as objIdentifier
44 43
					jrrPublisher.register(record, subject, datasourceName);
45 44
					countSuccess++;

Also available in: Unified diff