Revision: 328
http://dl-learner.svn.sourceforge.net/dl-learner/?rev=328&view=rev
Author: kurzum
Date: 2007-12-05 05:09:58 -0800 (Wed, 05 Dec 2007)
Log Message:
-----------
cleaned up and added some more examples
Added Paths:
-----------
trunk/examples/sparql/simpleSKOS_angela_vs_gerhard.conf
trunk/examples/sparql/simpleSKOS_angela_vs_hillary.conf
trunk/examples/sparql/simpleSKOS_gerhard_vs_angela.conf
trunk/examples/sparql/simpleSKOS_kohl_vs_angela.conf
Removed Paths:
-------------
trunk/examples/sparql/simpleSKOS_angela.conf
trunk/examples/sparql/simpleSKOS_gerhard.conf
Deleted: trunk/examples/sparql/simpleSKOS_angela.conf
===================================================================
--- trunk/examples/sparql/simpleSKOS_angela.conf 2007-12-05 12:50:59 UTC (rev 327)
+++ trunk/examples/sparql/simpleSKOS_angela.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -1,133 +0,0 @@
-/**
- * Simple example for using a SPARQL Endpoint as background
- * knowledge.
- * Solutions:
- with 500 classes
- http://dbpedia.org/resource/Category:Business (length 1, depth 1)
- http://dbpedia.org/resource/Category:Business_executives (length 1, depth 1)
- http://dbpedia.org/resource/Category:Businesspeople (length 1, depth 1)
- http://dbpedia.org/resource/Category:Categories (length 1, depth 1)
- http://dbpedia.org/resource/Category:Christians_by_occupation%7CPoliticans (length 1, depth 1)
- http://dbpedia.org/resource/Category:Cities (length 1, depth 1)
- http://dbpedia.org/resource/Category:Cities_by_country%7CGermany (length 1, depth 1)
- http://dbpedia.org/resource/Category:Cities_in_Germany%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:Determinants_of_health (length 1, depth 1)
- http://dbpedia.org/resource/Category:Employment (length 1, depth 1)
- http://dbpedia.org/resource/Category:Former_countries_by_continent%7CEurope%2C_Former_countries_in (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_occupation%7CScientists (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_state%7CHamburg (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_politicians_by_party%7CChristian_Democrat (length 1, depth 1)
- http://dbpedia.org/resource/Category:Guilds (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_Europe%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:Human_resource_management (length 1, depth 1)
- http://dbpedia.org/resource/Category:Humans (length 1, depth 1)
- http://dbpedia.org/resource/Category:International_trade_organizations (length 1, depth 1)
- http://dbpedia.org/resource/Category:Late_Middle_Ages (length 1, depth 1)
- http://dbpedia.org/resource/Category:Lutherans_by_profession%7CPoliticians (length 1, depth 1)
- http://dbpedia.org/resource/Category:Monopolies (length 1, depth 1)
- http://dbpedia.org/resource/Category:Municipalities_of_Germany (length 1, depth 1)
- http://dbpedia.org/resource/Category:Occupations%7C_People_by_occupation (length 1, depth 1)
- http://dbpedia.org/resource/Category:Organizations (length 1, depth 1)
- http://dbpedia.org/resource/Category:People%7COccupations (length 1, depth 1)
- http://dbpedia.org/resource/Category:People_by_city_in_Germany%7CHamburg (length 1, depth 1)
- http://dbpedia.org/resource/Category:Political_movements%7CParties (length 1, depth 1)
- http://dbpedia.org/resource/Category:Political_office-holders%7C%2ARole (length 1, depth 1)
- http://dbpedia.org/resource/Category:Political_organizations%7CParties (length 1, depth 1)
- http://dbpedia.org/resource/Category:Politicians_by_religion (length 1, depth 1)
- http://dbpedia.org/resource/Category:Politics%7CParties (length 1, depth 1)
- http://dbpedia.org/resource/Category:Positions_of_authority (length 1, depth 1)
- http://dbpedia.org/resource/Category:Protestants_by_occupation%7CPoliticians (length 1, depth 1)
- http://dbpedia.org/resource/Category:Science_and_technology_in_Germany%7CScientists (length 1, depth 1)
- http://dbpedia.org/resource/Category:Settlements_in_Germany (length 1, depth 1)
- http://dbpedia.org/resource/Category:Social_groups (length 1, depth 1)
- http://dbpedia.org/resource/Category:Social_institutions (length 1, depth 1)
- http://dbpedia.org/resource/Category:States_of_Germany%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:Titles%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:Women_by_occupation%7CPolitics (length 1, depth 1)
- http://dbpedia.org/resource/Category:Women_rulers%7CHeads_of_government%2C_female (length 1, depth 1)
-
-with 200 classes
-http://dbpedia.org/resource/Category:Cities_in_Germany (length 1, depth 1)
- http://dbpedia.org/resource/Category:City_states (length 1, depth 1)
- http://dbpedia.org/resource/Category:Former_countries_in_Europe (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_occupation%7CScientists (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_state%7CHamburg (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_politicians_by_party%7CChristian_Democrat (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_state_capitals (length 1, depth 1)
- http://dbpedia.org/resource/Category:Hanseatic_League (length 1, depth 1)
- http://dbpedia.org/resource/Category:Heads_of_government (length 1, depth 1)
- http://dbpedia.org/resource/Category:Heads_of_state (length 1, depth 1)
- http://dbpedia.org/resource/Category:Lutherans_by_profession%7CPoliticians (length 1, depth 1)
- http://dbpedia.org/resource/Category:People_by_city_in_Germany%7CHamburg (length 1, depth 1)
- http://dbpedia.org/resource/Category:Political_parties (length 1, depth 1)
- http://dbpedia.org/resource/Category:Politicians (length 1, depth 1)
- http://dbpedia.org/resource/Category:Protestant_politicians (length 1, depth 1)
- http://dbpedia.org/resource/Category:Science_and_technology_in_Germany%7CScientists (length 1, depth 1)
- http://dbpedia.org/resource/Category:Scientists_by_nationality (length 1, depth 1)
- http://dbpedia.org/resource/Category:Women_by_occupation%7CPolitics (length 1, depth 1)
- http://dbpedia.org/resource/Category:Women_rulers%7CHeads_of_government%2C_female (length 1, depth 1)
-
-
-These are the original direct results from dbpedia:
-skos:subject [http] :Category:1954_births [http] -
-skos:subject [http] :Category:Chancellors_of_Germany [http] -
-skos:subject [http] :Category:Current_female_heads_of_government [http] -
-skos:subject [http] :Category:Current_national_leaders [http] -
-skos:subject [http] :Category:Female_heads_of_government [http] -
-skos:subject [http] :Category:German_Christian_Democrat_politicians [http] -
-skos:subject [http] :Category:German_Lutherans [http] -
-skos:subject [http] :Category:German_scientists [http] -
-skos:subject [http] :Category:Leaders_of_political_parties [http] -
-skos:subject [http] :Category:Living_people [http] -
-skos:subject [http] :Category:Lutheran_politicians [http] -
-skos:subject [http] :Category:People_from_Hamburg [http] -
-skos:subject [http] :Category:Women_in_politics [http]
-
- */
-
-// recursion depth of extraction algorithm
-sparql2.recursionDepth = 2;
-
-// list of ignored roles
-sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
- "http://www.w3.org/2002/07/owl#sameAs",
- "http://xmlns.com/foaf/0.1/",
- "http://dbpedia.org/property/reference",
- "http://dbpedia.org/property/website",
- "http://dbpedia.org/property/wikipage",
- "http://dbpedia.org/property/wikiPageUsesTemplate"};
-
-// list of ignored objects
-sparql2.objList = { "http://xmlns.com/foaf/0.1/",
- "http://upload.wikimedia.org/wikipedia/commons",
- "http://upload.wikimedia.org/wikipedia",
- "http://www.geonames.org",
- "http://www.w3.org/2006/03/wn/wn20/instances/synset",
- "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
- "http://dbpedia.org/class/yago",
- "http://dbpedia.org/resource/Template"};
-
-// replace skos with owl properties
-sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
-
-// because skos is cyclic this stops it
-// manually after retrieving the specified amount of classes
-// greatly influences the amount of answers retrieved
-sparql2.breakSuperClassRetrievalAfter=200;
-
-
-// use DBpedia endpoint
-import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
-
-// the set of objects as starting point for fragment selection
-// (should be identical to the set of examples)
-sparql2.instances = {
- "http://dbpedia.org/resource/Angela_Merkel",
- "http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
-};
-
-sparql2.example = [(a,b),(c,d)];
-
-/** examples **/
-+"http://dbpedia.org/resource/Angela_Merkel"
--"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
Copied: trunk/examples/sparql/simpleSKOS_angela_vs_gerhard.conf (from rev 327, trunk/examples/sparql/simpleSKOS_angela.conf)
===================================================================
--- trunk/examples/sparql/simpleSKOS_angela_vs_gerhard.conf (rev 0)
+++ trunk/examples/sparql/simpleSKOS_angela_vs_gerhard.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -0,0 +1,133 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+ with 500 classes
+ http://dbpedia.org/resource/Category:Business (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Business_executives (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Businesspeople (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Categories (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Christians_by_occupation%7CPoliticans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cities (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cities_by_country%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cities_in_Germany%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Determinants_of_health (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Employment (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Former_countries_by_continent%7CEurope%2C_Former_countries_in (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_occupation%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_state%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians_by_party%7CChristian_Democrat (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Guilds (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_Europe%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Human_resource_management (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Humans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:International_trade_organizations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Late_Middle_Ages (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Lutherans_by_profession%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Monopolies (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Municipalities_of_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Occupations%7C_People_by_occupation (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Organizations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People%7COccupations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_by_city_in_Germany%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_movements%7CParties (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_office-holders%7C%2ARole (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_organizations%7CParties (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Politicians_by_religion (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Politics%7CParties (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Positions_of_authority (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Protestants_by_occupation%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Science_and_technology_in_Germany%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Settlements_in_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Social_groups (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Social_institutions (length 1, depth 1)
+ http://dbpedia.org/resource/Category:States_of_Germany%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Titles%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Women_by_occupation%7CPolitics (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Women_rulers%7CHeads_of_government%2C_female (length 1, depth 1)
+
+with 200 classes
+http://dbpedia.org/resource/Category:Cities_in_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:City_states (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Former_countries_in_Europe (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_occupation%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_state%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians_by_party%7CChristian_Democrat (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_state_capitals (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Hanseatic_League (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Heads_of_government (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Heads_of_state (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Lutherans_by_profession%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_by_city_in_Germany%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_parties (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Politicians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Protestant_politicians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Science_and_technology_in_Germany%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Scientists_by_nationality (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Women_by_occupation%7CPolitics (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Women_rulers%7CHeads_of_government%2C_female (length 1, depth 1)
+
+
+These are the original direct results from dbpedia:
+skos:subject [http] :Category:1954_births [http] -
+skos:subject [http] :Category:Chancellors_of_Germany [http] -
+skos:subject [http] :Category:Current_female_heads_of_government [http] -
+skos:subject [http] :Category:Current_national_leaders [http] -
+skos:subject [http] :Category:Female_heads_of_government [http] -
+skos:subject [http] :Category:German_Christian_Democrat_politicians [http] -
+skos:subject [http] :Category:German_Lutherans [http] -
+skos:subject [http] :Category:German_scientists [http] -
+skos:subject [http] :Category:Leaders_of_political_parties [http] -
+skos:subject [http] :Category:Living_people [http] -
+skos:subject [http] :Category:Lutheran_politicians [http] -
+skos:subject [http] :Category:People_from_Hamburg [http] -
+skos:subject [http] :Category:Women_in_politics [http]
+
+ */
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+// list of ignored roles
+sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
+ "http://www.w3.org/2002/07/owl#sameAs",
+ "http://xmlns.com/foaf/0.1/",
+ "http://dbpedia.org/property/reference",
+ "http://dbpedia.org/property/website",
+ "http://dbpedia.org/property/wikipage",
+ "http://dbpedia.org/property/wikiPageUsesTemplate"};
+
+// list of ignored objects
+sparql2.objList = { "http://xmlns.com/foaf/0.1/",
+ "http://upload.wikimedia.org/wikipedia/commons",
+ "http://upload.wikimedia.org/wikipedia",
+ "http://www.geonames.org",
+ "http://www.w3.org/2006/03/wn/wn20/instances/synset",
+ "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
+ "http://dbpedia.org/class/yago",
+ "http://dbpedia.org/resource/Template"};
+
+// replace skos with owl properties
+sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
+
+// because skos is cyclic this stops it
+// manually after retrieving the specified amount of classes
+// greatly influences the amount of answers retrieved
+sparql2.breakSuperClassRetrievalAfter=200;
+
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+// the set of objects as starting point for fragment selection
+// (should be identical to the set of examples)
+sparql2.instances = {
+ "http://dbpedia.org/resource/Angela_Merkel",
+ "http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
+};
+
+sparql2.example = [(a,b),(c,d)];
+
+/** examples **/
++"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
Added: trunk/examples/sparql/simpleSKOS_angela_vs_hillary.conf
===================================================================
--- trunk/examples/sparql/simpleSKOS_angela_vs_hillary.conf (rev 0)
+++ trunk/examples/sparql/simpleSKOS_angela_vs_hillary.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -0,0 +1,135 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+
+
+with 300 classes if you put Angela first
+http://dbpedia.org/resource/Category:Chancellors_by_nation%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Chief_executives (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cities_in_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cities_in_Germany%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:City_states (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Former_countries_in_Europe (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Geography_of_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_Protestants%7CLutherans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_occupation%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_state%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians%7C2 (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians_by_party%7CChristian_Democrat (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Government_institutions (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Government_occupations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Hanseatic_League (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Heads_of_government_by_country%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Heads_of_state (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Lutherans_by_nationality (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Lutherans_by_profession%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:NUTS_1_statistical_regions_of_the_European_Union%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_by_city_in_Germany%7CHamburg (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_office-holders_by_role (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Political_parties (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Prime_ministers%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Science_and_technology_in_Germany%7CScientists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Scientists_by_nationality (length 1, depth 1)
+ http://dbpedia.org/resource/Category:States%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:States_of_Germany%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Subdivisions_of_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Women_rulers%7CHeads_of_government%2C_female (length 1, depth 1)
+
+with 300 classes if you put Hillary first
+ http://dbpedia.org/resource/Category:Alumnae_of_women%27s_universities_and_colleges (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Alumni_by_university_or_college_in_the_United_States (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_Protestants%7CMethodists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_academics%7CLaw (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_jurists%7CProfessors (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_lawyers_by_state (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_non-fiction_writers%7C_Memoir (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_people (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_people_by_ethnic_or_national_origin (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_politicians_by_party%7CDemocratic_Party (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_politicians_by_state (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_women (length 1, depth 1)
+ http://dbpedia.org/resource/Category:American_writers_by_genre%7CMemoir (length 1, depth 1)
+ http://dbpedia.org/resource/Category:British_Americans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Categories_for_speedy_renaming%7C%7B%7BPAGENAME%7D%7D (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Categories_named_after_American_politicians%7CClinton%2C_Bill (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Categories_named_after_American_politicians%7CClinton%2C_Hillary (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Censorship (length 1, depth 1)
+ http://dbpedia.org/resource/Category:CfD_2007-07 (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Clinton_family (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Democrats_%28United_States%29 (length 1, depth 1)
+ http://dbpedia.org/resource/Category:European_Americans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Grammy_Awards (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_the_United_States_%281988%E2%80%93present%29 (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Memoirists (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Methodists_by_nationality (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Methodists_by_occupation%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Music_award_winners (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Park_Ridge%2C_Illinois (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_by_city_in_the_United_States%7CPark_Ridge%2C_Illinois%2C_People_from (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_Arkansas_by_occupation%7CLawyers (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_Cook_County%2C_Illinois%7CPark_Ridge (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_New_York_by_occupation%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_of_English_descent%7CAmerican (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_of_Welsh_descent%7CAmericans (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Politics_of_New_York%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Presidency_of_the_United_States%7CFirst_Ladies (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Presidents_of_the_United_States%7CClinton%2C_Bill (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Spouses_of_national_leaders%7CUnited_States (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Spouses_of_politicians%7CU.S._State_Governors (length 1, depth 1)
+ http://dbpedia.org/resource/Category:United_States_Senators%7CNew_York (length 1, depth 1)
+ http://dbpedia.org/resource/Category:United_States_presidential_candidates (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Video_games%7CCensorship_and_Ratings (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Welsh_people (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Yale_Law_School%7CGraduates (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Yale_University_alumni%7C_L (length 1, depth 1)
+
+ */
+
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+// list of ignored roles
+sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
+ "http://www.w3.org/2002/07/owl#sameAs",
+ "http://xmlns.com/foaf/0.1/",
+ "http://dbpedia.org/property/reference",
+ "http://dbpedia.org/property/website",
+ "http://dbpedia.org/property/wikipage",
+ "http://dbpedia.org/property/wikiPageUsesTemplate"};
+
+// list of ignored objects
+sparql2.objList = { "http://xmlns.com/foaf/0.1/",
+ "http://upload.wikimedia.org/wikipedia/commons",
+ "http://upload.wikimedia.org/wikipedia",
+ "http://www.geonames.org",
+ "http://www.w3.org/2006/03/wn/wn20/instances/synset",
+ "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
+ "http://dbpedia.org/class/yago",
+ "http://dbpedia.org/resource/Template"};
+
+// replace skos with owl properties
+sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
+
+// because skos is cyclic this stops it
+//manually after retrieving the specified amount of classes
+sparql2.breakSuperClassRetrievalAfter=300;
+
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+// the set of objects as starting point for fragment selection
+// (should be identical to the set of examples)
+sparql2.instances = {
+ "http://dbpedia.org/resource/Angela_Merkel",
+ "http://dbpedia.org/resource/Hillary_Rodham_Clinton"
+};
+
+sparql2.example = [(a,b),(c,d)];
+
+/** examples **/
++"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
Deleted: trunk/examples/sparql/simpleSKOS_gerhard.conf
===================================================================
--- trunk/examples/sparql/simpleSKOS_gerhard.conf 2007-12-05 12:50:59 UTC (rev 327)
+++ trunk/examples/sparql/simpleSKOS_gerhard.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -1,110 +0,0 @@
-/**
- * Simple example for using a SPARQL Endpoint as background
- * knowledge.
- * Solutions:
- with 500 classes
- http://dbpedia.org/resource/Category:Ancient_Roman_allies%7CGermanic (length 1, depth 1)
- http://dbpedia.org/resource/Category:Ancient_Roman_enemies%7CGermanic (length 1, depth 1)
- http://dbpedia.org/resource/Category:Ancient_Roman_enemies_and_allies%7C_Allies (length 1, depth 1)
- http://dbpedia.org/resource/Category:Ancient_Roman_enemies_and_allies%7C_Enemies (length 1, depth 1)
- http://dbpedia.org/resource/Category:Ancient_history%7CGermanic_peoples (length 1, depth 1)
- http://dbpedia.org/resource/Category:Ancient_peoples%7CGermanic (length 1, depth 1)
- http://dbpedia.org/resource/Category:Award_winners%7CStar_of_Romania (length 1, depth 1)
- http://dbpedia.org/resource/Category:Awards_and_decorations_of_Romania%7CMilitary_decorations (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people%7CAdoptive_parents (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_state%7CNorth_Rhine-Westphalia (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_politicians_by_party%7CSocial_Democratic_Party (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_socialists%7CSocial_Democrat (length 1, depth 1)
- http://dbpedia.org/resource/Category:Germanic_peoples (length 1, depth 1)
- http://dbpedia.org/resource/Category:Germany%7CHistory (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_by_country%7CGermany (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_by_country%7CUnited_Kingdom (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_by_ethnic_group (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_Europe%7CGermanic (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_Europe%7CGermany (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_Europe%7CUnited_Kingdom (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_German_states%7CLower_Saxony (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_the_Germanic_peoples%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_the_Netherlands (length 1, depth 1)
- http://dbpedia.org/resource/Category:Iron_Age_Europe%7CGermanic_peoples (length 1, depth 1)
- http://dbpedia.org/resource/Category:Migration_Period%7CGermanic (length 1, depth 1)
- http://dbpedia.org/resource/Category:People_from_Lower_Saxony%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:People_from_Saxony%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:People_from_Saxony-Anhalt%7C (length 1, depth 1)
- http://dbpedia.org/resource/Category:Romanian_society%7CDecorations (length 1, depth 1)
- http://dbpedia.org/resource/Category:Social_democrats%7CPoliticians_of_the_Social_Democratic_Party_of_Germany (length 1, depth 1)
- http://dbpedia.org/resource/Category:United_Kingdom (length 1, depth 1)pth 1)
-
-with 200 classes
-http://dbpedia.org/resource/Category:Award_winners%7CStar_of_Romania (length 1, depth 1)
- http://dbpedia.org/resource/Category:Awards_and_decorations_of_Romania%7CMilitary_decorations (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people%7CAdoptive_parents (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_people_by_state%7CNorth_Rhine-Westphalia (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_politicians_by_party%7CSocial_Democratic_Party (length 1, depth 1)
- http://dbpedia.org/resource/Category:German_socialists%7CSocial_Democrat (length 1, depth 1)
- http://dbpedia.org/resource/Category:History_of_German_states%7CLower_Saxony (length 1, depth 1)
- http://dbpedia.org/resource/Category:Romanian_society%7CDecorations (length 1, depth 1)
- http://dbpedia.org/resource/Category:Saxons (length 1, depth 1)
- http://dbpedia.org/resource/Category:Social_democrats%7CPoliticians_of_the_Social_Democratic_Party_of_Germany (length 1, depth 1)
-
-
- These are the original direct results from dbpedia:
- skos:subject [http] :Category:1944_births [http] -
- skos:subject [http] :Category:Chancellors_of_Germany [http] -
- skos:subject [http] :Category:German_Lutherans [http] -
- skos:subject [http] :Category:German_adoptive_parents [http] -
- skos:subject [http] :Category:History_of_Lower_Saxony [http] -
- skos:subject [http] :Category:Living_people [http] -
- skos:subject [http] :Category:People_from_North_Rhine-Westphalia [http] -
- skos:subject [http] :Category:Politicians_of_the_Social_Democratic_Party_of_Germany [http] -
-skos:subject [http] :Category:Recipients_of_the_Star_of_Romania_Order [http]
-
- */
-
-
-
-// recursion depth of extraction algorithm
-sparql2.recursionDepth = 2;
-
-// list of ignored roles
-sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
- "http://www.w3.org/2002/07/owl#sameAs",
- "http://xmlns.com/foaf/0.1/",
- "http://dbpedia.org/property/reference",
- "http://dbpedia.org/property/website",
- "http://dbpedia.org/property/wikipage",
- "http://dbpedia.org/property/wikiPageUsesTemplate"};
-
-// list of ignored objects
-sparql2.objList = { "http://xmlns.com/foaf/0.1/",
- "http://upload.wikimedia.org/wikipedia/commons",
- "http://upload.wikimedia.org/wikipedia",
- "http://www.geonames.org",
- "http://www.w3.org/2006/03/wn/wn20/instances/synset",
- "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
- "http://dbpedia.org/class/yago",
- "http://dbpedia.org/resource/Template"};
-
-// replace skos with owl properties
-sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
-
-// because skos is cyclic this stops it
-//manually after retrieving the specified amount of classes
-sparql2.breakSuperClassRetrievalAfter=200;
-
-
-// use DBpedia endpoint
-import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
-
-// the set of objects as starting point for fragment selection
-// (should be identical to the set of examples)
-sparql2.instances = {
- "http://dbpedia.org/resource/Angela_Merkel",
- "http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
-};
-
-sparql2.example = [(a,b),(c,d)];
-
-/** examples **/
--"http://dbpedia.org/resource/Angela_Merkel"
-+"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
Added: trunk/examples/sparql/simpleSKOS_gerhard_vs_angela.conf
===================================================================
--- trunk/examples/sparql/simpleSKOS_gerhard_vs_angela.conf (rev 0)
+++ trunk/examples/sparql/simpleSKOS_gerhard_vs_angela.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -0,0 +1,111 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+ with 500 classes
+ http://dbpedia.org/resource/Category:Ancient_Roman_allies%7CGermanic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Ancient_Roman_enemies%7CGermanic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Ancient_Roman_enemies_and_allies%7C_Allies (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Ancient_Roman_enemies_and_allies%7C_Enemies (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Ancient_history%7CGermanic_peoples (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Ancient_peoples%7CGermanic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Award_winners%7CStar_of_Romania (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Awards_and_decorations_of_Romania%7CMilitary_decorations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people%7CAdoptive_parents (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_state%7CNorth_Rhine-Westphalia (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians_by_party%7CSocial_Democratic_Party (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_socialists%7CSocial_Democrat (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Germanic_peoples (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Germany%7CHistory (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_by_country%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_by_country%7CUnited_Kingdom (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_by_ethnic_group (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_Europe%7CGermanic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_Europe%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_Europe%7CUnited_Kingdom (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_German_states%7CLower_Saxony (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_the_Germanic_peoples%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_the_Netherlands (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Iron_Age_Europe%7CGermanic_peoples (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Migration_Period%7CGermanic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_Lower_Saxony%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_Saxony%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_from_Saxony-Anhalt%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Romanian_society%7CDecorations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Social_democrats%7CPoliticians_of_the_Social_Democratic_Party_of_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:United_Kingdom (length 1, depth 1)pth 1)
+
+with 200 classes
+http://dbpedia.org/resource/Category:Award_winners%7CStar_of_Romania (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Awards_and_decorations_of_Romania%7CMilitary_decorations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people%7CAdoptive_parents (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_people_by_state%7CNorth_Rhine-Westphalia (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_politicians_by_party%7CSocial_Democratic_Party (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_socialists%7CSocial_Democrat (length 1, depth 1)
+ http://dbpedia.org/resource/Category:History_of_German_states%7CLower_Saxony (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Romanian_society%7CDecorations (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Saxons (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Social_democrats%7CPoliticians_of_the_Social_Democratic_Party_of_Germany (length 1, depth 1)
+
+
+ These are the original direct results from dbpedia:
+ skos:subject [http] :Category:1944_births [http] -
+ skos:subject [http] :Category:Chancellors_of_Germany [http] -
+ skos:subject [http] :Category:German_Lutherans [http] -
+ skos:subject [http] :Category:German_adoptive_parents [http] -
+ skos:subject [http] :Category:History_of_Lower_Saxony [http] -
+ skos:subject [http] :Category:Living_people [http] -
+ skos:subject [http] :Category:People_from_North_Rhine-Westphalia [http] -
+ skos:subject [http] :Category:Politicians_of_the_Social_Democratic_Party_of_Germany [http] -
+skos:subject [http] :Category:Recipients_of_the_Star_of_Romania_Order [http]
+
+ */
+
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+// list of ignored roles
+sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
+ "http://www.w3.org/2002/07/owl#sameAs",
+ "http://xmlns.com/foaf/0.1/",
+ "http://dbpedia.org/property/reference",
+ "http://dbpedia.org/property/website",
+ "http://dbpedia.org/property/wikipage",
+ "http://dbpedia.org/property/wikiPageUsesTemplate"};
+
+// list of ignored objects
+sparql2.objList = { "http://xmlns.com/foaf/0.1/",
+ "http://upload.wikimedia.org/wikipedia/commons",
+ "http://upload.wikimedia.org/wikipedia",
+ "http://www.geonames.org",
+ "http://www.w3.org/2006/03/wn/wn20/instances/synset",
+ "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
+ "http://dbpedia.org/class/yago",
+ "http://dbpedia.org/resource/Template"};
+
+// replace skos with owl properties
+sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
+
+// because skos is cyclic this stops it
+//manually after retrieving the specified amount of classes
+sparql2.breakSuperClassRetrievalAfter=200;
+
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+// the set of objects as starting point for fragment selection
+// (should be identical to the set of examples)
+sparql2.instances = {
+ "http://dbpedia.org/resource/Angela_Merkel",
+ "http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
+};
+
+sparql2.example = [(a,b),(c,d)];
+
+/** examples **/
++"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
+-"http://dbpedia.org/resource/Angela_Merkel"
+
Added: trunk/examples/sparql/simpleSKOS_kohl_vs_angela.conf
===================================================================
--- trunk/examples/sparql/simpleSKOS_kohl_vs_angela.conf (rev 0)
+++ trunk/examples/sparql/simpleSKOS_kohl_vs_angela.conf 2007-12-05 13:09:58 UTC (rev 328)
@@ -0,0 +1,85 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+
+
+with 200 classes
+http://dbpedia.org/resource/Category:Awards (length 1, depth 1)
+ http://dbpedia.org/resource/Category:British_knights%7CGrand_Cross_of_the_Order_of_St_Michael_and_St_George%2C_Knights (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Categories_named_after_politicians%7C_Cold_War_leaders (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Christian_politicians%7CRoman_Catholic (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Christianity_in_Germany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Christians_by_nationality%7C_Roman_Catholics (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Cold_War%7CLeaders (length 1, depth 1)
+ http://dbpedia.org/resource/Category:German_Christians%7CRoman_Catholics (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Order_of_St_Michael_and_St_George (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People (length 1, depth 1)
+ http://dbpedia.org/resource/Category:People_associated_with_war%7C (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Roman_Catholic_Church_by_country%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Roman_Catholic_Church_in_Europe%7CGermany (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Roman_Catholics%7C_Nationality (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Roman_Catholics_by_occupation%7CPoliticians (length 1, depth 1)
+ http://dbpedia.org/resource/Category:Wars%7C_People (length 1, depth 1)
+
+ These are the original direct results from dbpedia:
+skos:subject [http] :Category:1930_births [http] -
+skos:subject [http] :Category:Chancellors_of_Germany [http] -
+skos:subject [http] :Category:Cold_War_leaders [http] -
+skos:subject [http] :Category:German_Christian_Democrat_politicians [http] -
+skos:subject [http] :Category:German_Roman_Catholics [http] -
+skos:subject [http] :Category:Knights_Grand_Cross_of_the_Order_of_St_Michael_and_St_George [http] -
+skos:subject [http] :Category:Living_people [http] -
+skos:subject [http] :Category:Presidential_Medal_of_Freedom_recipients [http] -
+skos:subject [http] :Category:Roman_Catholic_politicians [http]
+
+ */
+
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+// list of ignored roles
+sparql2.predList = { "http://www.w3.org/2004/02/skos/core#narrower",
+ "http://www.w3.org/2002/07/owl#sameAs",
+ "http://xmlns.com/foaf/0.1/",
+ "http://dbpedia.org/property/reference",
+ "http://dbpedia.org/property/website",
+ "http://dbpedia.org/property/wikipage",
+ "http://dbpedia.org/property/wikiPageUsesTemplate"};
+
+// list of ignored objects
+sparql2.objList = { "http://xmlns.com/foaf/0.1/",
+ "http://upload.wikimedia.org/wikipedia/commons",
+ "http://upload.wikimedia.org/wikipedia",
+ "http://www.geonames.org",
+ "http://www.w3.org/2006/03/wn/wn20/instances/synset",
+ "http://www4.wiwiss.fu-berlin.de/flickrwrappr",
+ "http://dbpedia.org/class/yago",
+ "http://dbpedia.org/resource/Template"};
+
+// replace skos with owl properties
+sparql2.replacePredicate = [("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")];
+
+// because skos is cyclic this stops it
+//manually after retrieving the specified amount of classes
+sparql2.breakSuperClassRetrievalAfter=200;
+
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+// the set of objects as starting point for fragment selection
+// (should be identical to the set of examples)
+sparql2.instances = {
+ "http://dbpedia.org/resource/Angela_Merkel",
+ "http://dbpedia.org/resource/Helmut_Kohl"
+};
+
+sparql2.example = [(a,b),(c,d)];
+
+/** examples **/
++"http://dbpedia.org/resource/Helmut_Kohl"
+-"http://dbpedia.org/resource/Angela_Merkel"
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|