package org.petapico.npop.topic;

import org.nanopub.Nanopub;

public class DisgenetTopics extends DefaultTopics {

	public DisgenetTopics() {
		super(null);
	}

	@Override
	public String getTopic(Nanopub np) {
		String t = super.getTopic(np);
		t = t.replaceFirst("^http://rdf.disgenet.org/gene-disease-association.ttl#", "http://rdf.disgenet.org/resource/gda/");
		return t;
	}

}

@@ -148,12 +148,57 @@
 per(
-null
+%22http://www.w3.org/1999/02/22-rdf-syntax-ns#type%22
 );%0A%09

Improve DisGeNET topic detection