O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

쉽게 이해하는 LOD

LOD의 개념 및 소개에 대해 초보자가 쉽게 이해할 수 있도록 작성된 슬라이드로써 LODAC(Linked Open Data Annual Conference) 2016의 발표자료 입니다.

  • Entre para ver os comentários

쉽게 이해하는 LOD

  1. 1. SELECT * WHERE { ?food rdf:type schema:FoodEstablishment . ?food rdfs:label ?name . FILTER regex(str(?name), " ") } LIMIT 50
  2. 2. URL url = new URL("http://lod.fms.or.kr/resource/AR1978-0000009"); URLConnection con = url.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader(con.getInputStream()));
  3. 3. String endPoint = "http://lod.seoul.go.kr/sparql"; String queryString = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> " + "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>" + "PREFIX schema: <http://schema.org/> " + "SELECT * " + "WHERE { " + "?food rdf:type schema:FoodEstablishment ." + "?food rdfs:label ?name . " + "FILTER regex(str(?name), "Bar") " + "} LIMIT 50"; Query query = QueryFactory.create(queryString); QueryEngineHTTP httpQuery = new QueryEngineHTTP(endPoint, query); ResultSet results = httpQuery.execSelect();
  4. 4. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX no: <http://lod.nature.go.kr/ontology/> PREFIX ni: <http://lod.nature.go.kr/resource/> SELECT ?plant ?name ?desc WHERE { ?plant no:kingdom ni:Plantae . ?plant rdfs:label ?name . ?plant no:generalDescription ?desc . } LIMIT 50
  5. 5. http://lod.nature.go.kr/resource/Juglans_mandshurica_MAX.
  6. 6. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX no: <http://lod.nature.go.kr/ontology/> PREFIX ni: <http://lod.nature.go.kr/resource/> SELECT ?plant ?name WHERE { ?plant no:hasGrowingBehavior ni:DeciduousBroadleafArbor . ?plant rdfs:label ?name . } LIMIT 50
  7. 7. Dr. Myungjin Lee e-Mail : mjlee@li-st.com Facebook : http://www.facebook.com/mjinlee SlideShare : http://www.slideshare.net/onlyjiny/ Linkedin : http://linkedin.com/pub/myungjin-lee

×