
org.aksw.simba.lsq.spinx.model.TpInBgp Maven / Gradle / Ivy
package org.aksw.simba.lsq.spinx.model;
import java.util.Set;
import org.aksw.jenax.annotation.reprogen.HashId;
import org.aksw.jenax.annotation.reprogen.Iri;
import org.aksw.jenax.annotation.reprogen.ResourceView;
import org.aksw.simba.lsq.vocab.LSQ;
import org.apache.jena.rdf.model.Resource;
/**
* A mention of a triple pattern in a bgp
*
*
* @author raven
*
*/
@ResourceView
public interface TpInBgp
extends Resource
{
@HashId
@Iri(LSQ.Terms.hasBgp)
Bgp getBgp();
TpInBgp setBgp(Resource bgp);
@HashId
@Iri(LSQ.Terms.hasTp)
LsqTriplePattern getTriplePattern();
TpInBgp setTriplePattern(Resource tp);
@Iri(LSQ.Terms.hasTpExec)
Set getExecs();
// default Map indexExecs() {
// Set res = getExecs();
// Map result = res.stream()
// .collect(Collectors.toMap(r -> r.getBenchmarkRun(), r -> r));
// return result;
// }
// @SortedBy(TIME.atTime)
//Map getExecutions();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy