Revision: 332
http://dl-learner.svn.sourceforge.net/dl-learner/?rev=332&view=rev
Author: kurzum
Date: 2007-12-08 10:49:11 -0800 (Sat, 08 Dec 2007)
Log Message:
-----------
examples for the new code
Added Paths:
-----------
trunk/examples/sparql/difference/
trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_gerhard.conf
trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_hillary.conf
trunk/examples/sparql/difference/DBPediaSKOS_gerhard_vs_angela.conf
trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf
trunk/examples/sparql/difference/DBPediaYAGO_angela_vs_hillary.conf
trunk/examples/sparql/difference/DBPediaYAGO_hillary_vs_angela.conf
trunk/examples/sparql/evaluation/
trunk/examples/sparql/hierarchy/
trunk/examples/sparql/hierarchy/DBPediaYAGOWomanInPolitics.conf
trunk/examples/sparql/navigation/
trunk/examples/sparql/navigation/DBPediaYAGOAristotle.conf
trunk/examples/sparql/navigation/DBPediaYAGOWomanInPolitics.conf
trunk/examples/sparql/roles/
trunk/examples/sparql/roles/DBPedia_domain_role_placeOfBirth_yago.conf
trunk/examples/sparql/roles/DBPedia_range_role_placeOfBirth_yago.conf
Added: trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_gerhard.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_gerhard.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_gerhard.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,139 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+
+ http://dbpedia.org/resource/Angela_Merkel
+ 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"};
+
+
+//*********SKOS specific
+// 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"
+};
+
+
+
+/** examples **/
++"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
Added: trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_hillary.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_hillary.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaSKOS_angela_vs_hillary.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,137 @@
+/**
+ * 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"};
+
+//*********SKOS specific
+// 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"
+};
+
+
+/** examples **/
++"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
Added: trunk/examples/sparql/difference/DBPediaSKOS_gerhard_vs_angela.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaSKOS_gerhard_vs_angela.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaSKOS_gerhard_vs_angela.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,114 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+ http://dbpedia.org/resource/Gerhard_Schr%C3%B6der
+ 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"};
+
+//*********SKOS specific
+// 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"
+};
+
+
+/** examples **/
++"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"
+-"http://dbpedia.org/resource/Angela_Merkel"
+
Added: trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,87 @@
+/**
+ * Simple example for using a SPARQL Endpoint as background
+ * knowledge.
+ * Solutions:
+
+http://dbpedia.org/resource/Helmut_Kohl
+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"};
+
+//*********SKOS specific
+// 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"
+};
+
+
+/** examples **/
++"http://dbpedia.org/resource/Helmut_Kohl"
+-"http://dbpedia.org/resource/Angela_Merkel"
+
Added: trunk/examples/sparql/difference/DBPediaYAGO_angela_vs_hillary.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaYAGO_angela_vs_hillary.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaYAGO_angela_vs_hillary.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,32 @@
+/**
+
+ * Solutions:
+http://dbpedia.org/class/yago/Communicator109610660 (length 1, depth 1)
+ http://dbpedia.org/class/yago/Scientist110560637 (length 1, depth 1)
+
+*/
+
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+
+//predefined filter (1 = YAGO based learning)
+// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter
+sparql2.predefinedFilter = 1;
+
+// 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"
+};
+
+
+/** examples **/
++"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
Added: trunk/examples/sparql/difference/DBPediaYAGO_hillary_vs_angela.conf
===================================================================
--- trunk/examples/sparql/difference/DBPediaYAGO_hillary_vs_angela.conf (rev 0)
+++ trunk/examples/sparql/difference/DBPediaYAGO_hillary_vs_angela.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,31 @@
+/**
+
+ * Solutions:
+http://dbpedia.org/class/yago/Achiever109762821 (length 1, depth 1)
+ http://dbpedia.org/class/yago/Intellectual109621545 (length 1, depth 1)
+ */
+
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 2;
+
+//predefined filter (1 = YAGO based learning)
+// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter
+sparql2.predefinedFilter = 1;
+
+
+// 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"
+};
+
+
+/** examples **/
++"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
+-"http://dbpedia.org/resource/Angela_Merkel"
Added: trunk/examples/sparql/hierarchy/DBPediaYAGOWomanInPolitics.conf
===================================================================
--- trunk/examples/sparql/hierarchy/DBPediaYAGOWomanInPolitics.conf (rev 0)
+++ trunk/examples/sparql/hierarchy/DBPediaYAGOWomanInPolitics.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,44 @@
+ /*
+ * Some woman, that are Politicians
+ Solution
+ http://dbpedia.org/class/yago/Executive110069645 (length 1, depth 1)
+ http://dbpedia.org/class/yago/CorporateExecutive109966255 (length 1, depth 1)
+ http://dbpedia.org/class/yago/President110468559 (length 1, depth 1)
+ */
+
+// SPARQL options
+sparql2.recursionDepth = 2;
+
+
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+
+// SPARQL options
+//necessary:
+sparql2.recursionDepth = 2;
+
+
+//predefined filter (1 = YAGO based learning)
+// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter
+sparql2.predefinedFilter = 1;
+
+
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+sparql2.instances = {
+"http://dbpedia.org/resource/Indira_Gandhi",
+"http://dbpedia.org/resource/Sonia_Gandhi",
+"http://dbpedia.org/resource/Hillary_Rodham_Clinton",
+"http://dbpedia.org/resource/Princess_Leia_Organa",
+"http://dbpedia.org/resource/Angela_Merkel",
+"http://dbpedia.org/resource/Christine_Todd_Whitman"};
+
+
+
+/** examples **/
++"http://dbpedia.org/resource/Indira_Gandhi"
++"http://dbpedia.org/resource/Sonia_Gandhi"
+-"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
+-"http://dbpedia.org/resource/Princess_Leia_Organa"
+-"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Christine_Todd_Whitman"
\ No newline at end of file
Added: trunk/examples/sparql/navigation/DBPediaYAGOAristotle.conf
===================================================================
--- trunk/examples/sparql/navigation/DBPediaYAGOAristotle.conf (rev 0)
+++ trunk/examples/sparql/navigation/DBPediaYAGOAristotle.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,37 @@
+/**
+ * Some people from Greece.
+ *
+ * Possible Solution:
+ * (http://dbpedia.org/class/yago/Theorist110706812 OR (http://dbpedia.org/class/yago/Mathematician110301261 AND http://dbpedia.org/class/yago/Physicist110428004))
+ *
+ */
+
+// SPARQL options
+sparql2.recursionDepth = 2;
+
+//predefined filter (1 = YAGO based learning)
+// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter
+sparql2.predefinedFilter = 1;
+
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+
+
+
+sparql2.instances = {
+ "http://dbpedia.org/resource/Democritus",
+ "http://dbpedia.org/resource/Zeno_of_Elea",
+ "http://dbpedia.org/resource/Plato",
+ "http://dbpedia.org/resource/Socrates",
+ "http://dbpedia.org/resource/Archytas",
+ "http://dbpedia.org/resource/Pythagoras",
+ "http://dbpedia.org/resource/Philolaus"
+};
+
++"http://dbpedia.org/resource/Pythagoras"
++"http://dbpedia.org/resource/Philolaus"
++"http://dbpedia.org/resource/Archytas"
+-"http://dbpedia.org/resource/Socrates"
+-"http://dbpedia.org/resource/Plato"
+-"http://dbpedia.org/resource/Zeno_of_Elea"
+-"http://dbpedia.org/resource/Democritus"
Added: trunk/examples/sparql/navigation/DBPediaYAGOWomanInPolitics.conf
===================================================================
--- trunk/examples/sparql/navigation/DBPediaYAGOWomanInPolitics.conf (rev 0)
+++ trunk/examples/sparql/navigation/DBPediaYAGOWomanInPolitics.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,44 @@
+ /*
+ * Some woman, that are Politicians
+ Solution
+ http://dbpedia.org/class/yago/Executive110069645 (length 1, depth 1)
+ http://dbpedia.org/class/yago/CorporateExecutive109966255 (length 1, depth 1)
+ http://dbpedia.org/class/yago/President110468559 (length 1, depth 1)
+ */
+
+// SPARQL options
+sparql2.recursionDepth = 2;
+
+
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+
+// SPARQL options
+//necessary:
+sparql2.recursionDepth = 2;
+
+
+//predefined filter (1 = YAGO based learning)
+// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter
+sparql2.predefinedFilter = 1;
+
+
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+sparql2.instances = {
+"http://dbpedia.org/resource/Indira_Gandhi",
+"http://dbpedia.org/resource/Sonia_Gandhi",
+"http://dbpedia.org/resource/Hillary_Rodham_Clinton",
+"http://dbpedia.org/resource/Princess_Leia_Organa",
+"http://dbpedia.org/resource/Angela_Merkel",
+"http://dbpedia.org/resource/Christine_Todd_Whitman"};
+
+
+
+/** examples **/
++"http://dbpedia.org/resource/Indira_Gandhi"
++"http://dbpedia.org/resource/Sonia_Gandhi"
+-"http://dbpedia.org/resource/Hillary_Rodham_Clinton"
+-"http://dbpedia.org/resource/Princess_Leia_Organa"
+-"http://dbpedia.org/resource/Angela_Merkel"
+-"http://dbpedia.org/resource/Christine_Todd_Whitman"
\ No newline at end of file
Added: trunk/examples/sparql/roles/DBPedia_domain_role_placeOfBirth_yago.conf
===================================================================
--- trunk/examples/sparql/roles/DBPedia_domain_role_placeOfBirth_yago.conf (rev 0)
+++ trunk/examples/sparql/roles/DBPedia_domain_role_placeOfBirth_yago.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,97 @@
+/**
+ *
+ * solutions:
+ *
+ */
+
+sparql2.recursionDepth = 1;
+
+// list of ignored roles
+sparql2.predList = {
+ "http://www.w3.org/2004/02/skos/core",
+ "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://dbpedia.org/resource/Category:Wikipedia_",
+ "http://dbpedia.org/resource/Category:Articles_",
+ "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://www.w3.org/2004/02/skos/core"
+};
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+
+//***********ROLE SPECIFIC
+problem=posOnlyDefinition;
+/*refinement.ignoredConcepts = {
+"http://dbpedia.org/class/yago/Entity100001740",
+"http://dbpedia.org/class/yago/PhysicalEntity100001930",
+"http://dbpedia.org/class/yago/Object100002684",
+"http://dbpedia.org/class/yago/CausalAgent100007347",
+"http://dbpedia.org/class/yago/Whole100003553",
+"http://dbpedia.org/class/yago/LivingThing100004258",
+"http://dbpedia.org/class/yago/Organism100004475"
+};*/
+sparql2.numberOfInstancesUsedForRoleLearning=40;
+//not needed for roles
+sparql2.instances = {""};
+
+sparql2.role = "http://dbpedia.org/property/placeOfBirth";
+sparql2.learnDomain=true;
+sparql2.learnRange=false;
+
+
+/** examples */
++"http://dbpedia.org/resource/Albert%2C_Prince_Consort"
++"http://dbpedia.org/resource/Al_Pacino"
++"http://dbpedia.org/resource/Wayne_Allard"
++"http://dbpedia.org/resource/Grand_Duchess_Anastasia_Nikolaevna_of_Russia"
++"http://dbpedia.org/resource/Aurelian"
++"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders"
++"http://dbpedia.org/resource/Walter_Adams_%28economist%29"
++"http://dbpedia.org/resource/Alexander_Kara%C4%91or%C4%91evi%C4%87%2C_Prince_of_Serbia"
++"http://dbpedia.org/resource/Alexander_the_Great"
++"http://dbpedia.org/resource/Al_Capone"
++"http://dbpedia.org/resource/Hank_Azaria"
++"http://dbpedia.org/resource/Alexis_I_of_Russia"
++"http://dbpedia.org/resource/Anne_of_Great_Britain"
++"http://dbpedia.org/resource/Ry%C5%ABnosuke_Akutagawa"
++"http://dbpedia.org/resource/Isaac_Asimov"
++"http://dbpedia.org/resource/Anne_of_Denmark"
++"http://dbpedia.org/resource/Gunpei_Yokoi"
++"http://dbpedia.org/resource/Shinzo_Abe"
++"http://dbpedia.org/resource/Roald_Amundsen"
++"http://dbpedia.org/resource/Abdullah_of_Saudi_Arabia"
++"http://dbpedia.org/resource/An_Jung-geun"
++"http://dbpedia.org/resource/Lynn_Abbey"
++"http://dbpedia.org/resource/Namie_Amuro"
++"http://dbpedia.org/resource/Pakhomiy_Andreyushkin"
++"http://dbpedia.org/resource/Johnny_Isakson"
++"http://dbpedia.org/resource/Ivo_Andri%C4%87"
++"http://dbpedia.org/resource/Massimo_Taparelli%2C_marquis_d%27Azeglio"
++"http://dbpedia.org/resource/Alcibiades"
++"http://dbpedia.org/resource/Lera_Auerbach"
++"http://dbpedia.org/resource/Paul_W._S._Anderson"
++"http://dbpedia.org/resource/Douglas_Adams"
++"http://dbpedia.org/resource/Alfred_the_Great"
++"http://dbpedia.org/resource/Tsarevich_Alexei_Nikolaevich_of_Russia"
++"http://dbpedia.org/resource/Xabi_Alonso"
++"http://dbpedia.org/resource/Grand_Duchess_Anastasia_Mikhailovna_of_Russia"
++"http://dbpedia.org/resource/Alexander_Severus"
++"http://dbpedia.org/resource/Jessica_Alba"
++"http://dbpedia.org/resource/Devon_Aoki"
++"http://dbpedia.org/resource/Ion_Antonescu"
++"http://dbpedia.org/resource/Alexander_I_of_Yugoslavia"
\ No newline at end of file
Added: trunk/examples/sparql/roles/DBPedia_range_role_placeOfBirth_yago.conf
===================================================================
--- trunk/examples/sparql/roles/DBPedia_range_role_placeOfBirth_yago.conf (rev 0)
+++ trunk/examples/sparql/roles/DBPedia_range_role_placeOfBirth_yago.conf 2007-12-08 18:49:11 UTC (rev 332)
@@ -0,0 +1,98 @@
+/**
+ *
+ * solutions:
+ *
+ */
+
+
+// recursion depth of extraction algorithm
+sparql2.recursionDepth = 1;
+
+
+// list of ignored roles
+sparql2.predList = {
+ "http://www.w3.org/2004/02/skos/core",
+ "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://dbpedia.org/resource/Category:Wikipedia_",
+ "http://dbpedia.org/resource/Category:Articles_",
+ "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://www.w3.org/2004/02/skos/core"
+};
+
+// use DBpedia endpoint
+import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2");
+
+//***********ROLE SPECIFIC
+problem=posOnlyDefinition;
+refinement.ignoredConcepts = {
+"http://dbpedia.org/class/yago/Entity100001740",
+"http://dbpedia.org/class/yago/Abstraction100002137",
+"http://dbpedia.org/class/yago/PhysicalEntity100001930",
+"http://dbpedia.org/class/yago/Object100002684",
+"http://dbpedia.org/class/yago/Group100031264"
+};
+
+sparql2.numberOfInstancesUsedForRoleLearning=10;
+//not needed for roles
+sparql2.instances = {""};
+
+sparql2.role = "http://dbpedia.org/property/placeOfBirth";
+sparql2.learnDomain=false;
+sparql2.learnRange=true;
+
+
+/** examples **/
++"http://dbpedia.org/resource/Kiev"
++"http://dbpedia.org/resource/Helensburgh"
++"http://dbpedia.org/resource/Oldenburg"
++"http://dbpedia.org/resource/Jordan"
++"http://dbpedia.org/resource/Roman_Dacia"
++"http://dbpedia.org/resource/Eisenach"
++"http://dbpedia.org/resource/Turkmenistan"
++"http://dbpedia.org/resource/Lanuvium"
++"http://dbpedia.org/resource/Scotland"
+/*+"http://dbpedia.org/resource/Riga"
++"http://dbpedia.org/resource/Michoac%C3%A1n"
++"http://dbpedia.org/resource/Brixton"
++"http://dbpedia.org/resource/Chittenango%2C_New_York"
++"http://dbpedia.org/resource/Nizhny_Novgorod"
++"http://dbpedia.org/resource/D%C3%BCsseldorf"
+/*+"http://dbpedia.org/resource/Warsaw"
++"http://dbpedia.org/resource/New_York"
++"http://dbpedia.org/resource/Australia"
++"http://dbpedia.org/resource/Ube%2C_Yamaguchi"
++"http://dbpedia.org/resource/Netherlands"
++"http://dbpedia.org/resource/Riyadh"
++"http://dbpedia.org/resource/Copenhagen"
++"http://dbpedia.org/resource/McAlester%2C_Oklahoma"
++"http://dbpedia.org/resource/United_Kingdom"
++"http://dbpedia.org/resource/Tours"
++"http://dbpedia.org/resource/Castle"
++"http://dbpedia.org/resource/Marktbreit"
++"http://dbpedia.org/resource/Tuscany"
++"http://dbpedia.org/resource/Palestine"
++"http://dbpedia.org/resource/Leytonstone"
++"http://dbpedia.org/resource/Piqua%2C_Kansas"
++"http://dbpedia.org/resource/Dayton%2C_Ohio"
++"http://dbpedia.org/resource/Sindh"
++"http://dbpedia.org/resource/Topola"
++"http://dbpedia.org/resource/Bavaria"
++"http://dbpedia.org/resource/Brussels"
++"http://dbpedia.org/resource/Austria-Hungary"
++"http://dbpedia.org/resource/Taiwan"
++"http://dbpedia.org/resource/Odense"
++"http://dbpedia.org/resource/Portsmouth"*/
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|