SPARQL Endpoint


This SPARQL endpoint enables users to query this Ontology knowledge base via the SPARQL language as shown in the box below.

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 }
  • bible ontology and dbpedia
        PREFIX bibleontology: <http://bibleontology.com/resource/>
        PREFIX dbo: <http://dbpedia.org/ontology/>
        PREFIX owl: <http://www.w3.org/2002/07/owl#>
        SELECT ?art ?abstract WHERE {
             SERVICE <http://bibleontology.com/sparql/> {
                 bibleontology:Ezra owl:sameAs ?art .
             }
             SERVICE <http://dbpedia.org/sparql> {
                 ?art dbo:abstract ?abstract .
             }
        }

    2. Sample(JAVA) for Mashup

    String query = "select ?p ?o where {bibleontology:Dan ?p ?o }";
    query = URLEncoder.encode(query,"UTF-8");
    String urlString = "http://bibleontology.com/sparql/index.jsp?query="+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)