Revision: 1817
Author: ross.gardler
Date: Sat Jan  9 04:43:11 2010
Log: Some notes on using DBPedia.org as a data source
http://code.google.com/p/simal/source/detail?r=1817

Added:
 /wiki/WorkingWithDBPedia.wiki

=======================================
--- /dev/null
+++ /wiki/WorkingWithDBPedia.wiki       Sat Jan  9 04:43:11 2010
@@ -0,0 +1,62 @@
+#summary Some notes on getting useful info out of DBPedia
+#labels Phase-Implementation
+
+= Introduction =
+
+[https:://www.dbpedia.org DBPedia] is a great resource for data. This page contains some notes about how to get info out that could well be useful for us.
+
+The queries on this page are not intended to be exhaustive, just examples of what is available and potentially useful to us.
+
+== Useful Links ==
+
+ * [http://dbpedia.org/sparql SPARQL Explorer]
+ * [http://querybuilder.dbpedia.org/ SPARQL query builder].
+ * [http://wiki.dbpedia.org/Ontology DBPedia ontology]
+
+= Licences =
+
+== Get Free Software Licences ==
+
+{{{
+SELECT DISTINCT ?licenceName WHERE {
+  ?license rdf:type <http://dbpedia.org/class/yago/FreeSoftwareLicenses>.
+  ?license rdfs:label ?licenceName .
+  FILTER (lang(?licenceName) = "en")
+}
+}}}
+
+= Projects =
+
+== Get Project Using a Free Software Licence ==
+
+{{{
+SELECT ?projectName, ?Project, ?licenceName, ?Licence WHERE {
+  ?Project a <http://dbpedia.org/ontology/Software> .
+  ?Project dbpedia2:license ?Licence .
+  ?Licence rdf:type <http://dbpedia.org/class/yago/FreeSoftwareLicenses> .
+  ?Licence rdfs:label ?licenceName .
+  ?Project dbpedia2:name ?projectName .
+  FILTER (lang(?projectName) = "en" && lang(?licenceName) = "en")
+} LIMIT 100
+}}}
+
+= Universities =
+
+== Get Location of Universities in the UK ==
+
+{{{
+PREFIX dbo: <http://dbpedia.org/ontology/>
+PREFIX georss: <http://www.georss.org/georss/>
+
+SELECT DISTINCT ?place ?university WHERE {
+     ?university rdf:type dbo:University.
+     ?university dbo:country :United_Kingdom.
+     ?university georss:point ?place.
+}
+ORDER BY ?university
+}}}
+
+= Other Ideas =
+
+* Standards (e.g. http://dbpedia.org/page/HTML) - see ISSUE 25
+* Software categories
-- 
You received this message because you are subscribed to the Google Groups 
"Simal Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simal-commits?hl=en.


Reply via email to