SPARQL Endpoint


This SPARQL endpoint enables users to query this Bible Ontology knowledge base via the SPARQL language as shown in the box below. The information in that box is requesting every related information on "Dan". You are "selecting" some information "where" some conditions are met. This is rather similar to the SQL in the databases.

As you see, results are typically returned in one or more machine-processable formats. Therefore, this SPARQL endpoint is mostly conceived as a machine-friendly interface towards this knowledge base. Both the formulation of the queries and the human-readable presentation of the results should typically be implemented by the calling software, and not be done manually by human users.



output :

1. SPARQL Example :

  • SELECT ?o where {bibleontology:Jacob bop:relatedPeople ?o}
  • SELECT ?Biblical_Events WHERE { bibleontology:Moses bop:isRelatedInEvent ?Biblical_Events }
  • SELECT ?Siblings WHERE { bibleontology:Moses bop:hasSiblings ?Siblings }

    2. Sample(JAVA) for Mashup

    String query = "select ?p ?o where {bibleontology:Dan ?p ?o }";
    query = URLEncoder.encode(query,"UTF-8");
    String urlString = "http://sparql.bibleontology.com/sparql.jsp?sparql="+query+"&type1=xml";
    String result;
    URL url;
    BufferedReader br = null;
    try {
       url = new URL(urlString);
       URLConnection conn = url.openConnection ();
       br = new BufferedReader(new InputStreamReader(conn.getInputStream()));
       StringBuffer sb = new StringBuffer();
       String line;
       while ((line = br.readLine()) != null)
       sb.append(line);
       result = sb.toString();
       System.out.println("result : \n" + result);
    } catch (MalformedURLException e) {
       e.printStackTrace();
    } catch (IOException e) {
       e.printStackTrace();
    } finally{
       br.close();
    }

  • Powered by TopQuadrant Korea using OntoBase2.0 (Triple Store)
  • Ontology Modeled & maintained by Dr. Myungdae Cho and his daughter, Mira Cho
  • Contact to Oh, Won Seok (capsuleboy@topquadrant.co.kr) at TopQuadrant Korea or Dr. Myungdae Cho (myungdae.cho@gmail.com)