com.hp.hpl.jena.rdf.model.Model.createLiteralStatement()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(107)

本文整理了Java中com.hp.hpl.jena.rdf.model.Model.createLiteralStatement()方法的一些代码示例,展示了Model.createLiteralStatement()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.createLiteralStatement()方法的具体详情如下:
包路径:com.hp.hpl.jena.rdf.model.Model
类名称:Model
方法名:createLiteralStatement

Model.createLiteralStatement介绍

暂无

代码示例

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, int o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, double o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, long o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, Object o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, boolean o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, float o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: fr.inria.eventcloud/eventcloud-api

/**
 * {@inheritDoc}
 */
@Override
public Statement createLiteralStatement(Resource s, Property p, char o) {
  return super.object.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, char o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, Object o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, boolean o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, float o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, double o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, int o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: bio2rdf/bio2rdf-scripts

public Statement createLiteralStatement(Resource s, Property p, long o) {
  return model.createLiteralStatement(s, p, o);
}

代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core

@Override
public Seq set(int index, Object o)  {
  checkIndex(index);
  Statement s = getRequiredProperty(RDF.li(index)) ;
  Model m = s.getModel() ;
  Statement s2 = m.createLiteralStatement(s.getSubject(), s.getPredicate(), o) ; 
  s.getModel().remove(s) ;
  s.getModel().add(s2) ;
  //getRequiredProperty(RDF.li(index)).changeObject(o);
  return this;
}

相关文章

Model类方法