From: <ku...@us...> - 2007-12-03 16:53:10
|
Revision: 315 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=315&view=rev Author: kurzum Date: 2007-12-03 08:53:05 -0800 (Mon, 03 Dec 2007) Log Message: ----------- some more examples all in folder examples/sparql now Added Paths: ----------- trunk/examples/sparql/Aristotle.conf trunk/examples/sparql/WomanInPoliticsFirstTry.conf trunk/examples/sparql/newworking.conf trunk/examples/sparql/newworkingManually.conf Removed Paths: ------------- trunk/examples/dbpedia/newworking.conf trunk/examples/dbpedia/newworkingManually.conf Deleted: trunk/examples/dbpedia/newworking.conf =================================================================== --- trunk/examples/dbpedia/newworking.conf 2007-12-03 16:52:30 UTC (rev 314) +++ trunk/examples/dbpedia/newworking.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -1,51 +0,0 @@ -/** - * Father Example - * - * possible solution: - * male AND EXISTS hasChild.TOP - * - * Copyright (C) 2007, Jens Lehmann - */ - -/** settings **/ -// reasoner settings -reasoner = dig; -//digReasonerURL = "http://localhost:8081"; -//useRetrievalForClassification = true; -//refinement.useDIGMultiInstanceChecks = twoChecks; - -// algorithm settings -algorithm = refinement; -//refinement.horizontalExpansionFactor = 0.5; -//refinement.quiet = false; - -// search tree protocol -// refinement.writeSearchTree = false; -// refinement.searchTreeFile = "log/searchTree.txt"; - -// control output -cli.checkSatisfiability = true; -cli.showIndividuals = false; -cli.showConcepts = false; -cli.showRoles = true; -cli.showSubsumptionHierarchy = false; - -// SPARQL options -sparql2.numberOfRecursions = 2; -sparql2.host = "dbpedia.openlinksw.com"; -sparql2.getAllBackground=true; -sparql2.instances = {"http://dbpedia.org/resource/Angela_Merkel"}; -sparql2.filterMode = 1; -//filtermode 1 and above uses a predefined setting -//0 means manual -sparql2.predList = {}; -sparql2.objList = {}; -sparql2.classList = {}; -sparql2.format = "N-TRIPLES"; -sparql2.dumpToFile = true; - -import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); - -/** examples **/ -+"http://dbpedia.org/resource/Angela_Merkel" --"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" \ No newline at end of file Deleted: trunk/examples/dbpedia/newworkingManually.conf =================================================================== --- trunk/examples/dbpedia/newworkingManually.conf 2007-12-03 16:52:30 UTC (rev 314) +++ trunk/examples/dbpedia/newworkingManually.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -1,64 +0,0 @@ -/** - * Father Example - * - * possible solution: - * male AND EXISTS hasChild.TOP - * - * Copyright (C) 2007, Jens Lehmann - */ - -/** settings **/ -// reasoner settings -reasoner = dig; -//digReasonerURL = "http://localhost:8081"; -//useRetrievalForClassification = true; -//refinement.useDIGMultiInstanceChecks = twoChecks; - -// algorithm settings -algorithm = refinement; -//refinement.horizontalExpansionFactor = 0.5; -//refinement.quiet = false; - -// search tree protocol -// refinement.writeSearchTree = false; -// refinement.searchTreeFile = "log/searchTree.txt"; - -// control output -cli.checkSatisfiability = true; -cli.showIndividuals = false; -cli.showConcepts = false; -cli.showRoles = true; -cli.showSubsumptionHierarchy = false; - -// SPARQL options -sparql2.numberOfRecursions = 2; -sparql2.host = "dbpedia.openlinksw.com"; -sparql2.getAllBackground=true; -sparql2.instances = {"http://dbpedia.org/resource/Angela_Merkel"}; -sparql2.filterMode = 0; -//filtermode 1 and above uses a predefined setting -//0 means manual -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"}; -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"}; -sparql2.classList = {}; -sparql2.format = "N-TRIPLES"; -sparql2.dumpToFile = true; - -import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); - -/** examples **/ -+"http://dbpedia.org/resource/Angela_Merkel" --"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" \ No newline at end of file Added: trunk/examples/sparql/Aristotle.conf =================================================================== --- trunk/examples/sparql/Aristotle.conf (rev 0) +++ trunk/examples/sparql/Aristotle.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -0,0 +1,62 @@ +// reasoner settings +reasoner = dig; +//digReasonerURL = "http://localhost:8081"; +//useRetrievalForClassification = false; +//refinement.useDIGMultiInstanceChecks = twoChecks; + +// algorithm settings +algorithm = refinement; +//refinement.horizontalExpansionFactor = 0.6; +//refinement.quiet = false; +//refinement.useTooWeakList = true; + +// search tree protocol +//refinement.writeSearchTree = false; +//refinement.searchTreeFile = "Aristotle_searchTree.txt"; + +// control output +cli.checkSatisfiability = true; +cli.showIndividuals = false; +cli.showConcepts = false; +cli.showRoles = true; +cli.showSubsumptionHierarchy = false; + + + +// SPARQL options +sparql2.numberOfRecursions = 2; +sparql2.getAllBackground=true; +sparql2.format = "N-TRIPLES"; +sparql2.dumpToFile = true; +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"}; + +//predefined Endpoint overrides host and it doesn't matter what the string in import below looks like +// 0 means nothing +// 1 means dbpedia +// 2 means localhost:2020 default joseki +sparql2.predefinedEndpoint=1; + + +//predefined filter overrides predList and ObjList +sparql2.predefinedFilter = 1; +//filtermode 1 and above uses a predefined setting +// 0 means nothing (manual configuration) +// 1 means only yago classes + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +/** examples **/ ++"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" \ No newline at end of file Added: trunk/examples/sparql/WomanInPoliticsFirstTry.conf =================================================================== --- trunk/examples/sparql/WomanInPoliticsFirstTry.conf (rev 0) +++ trunk/examples/sparql/WomanInPoliticsFirstTry.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -0,0 +1,93 @@ + + +/** settings **/ +// reasoner settings +reasoner = dig; +//digReasonerURL = "http://localhost:8081"; +//useRetrievalForClassification = true; +//refinement.useDIGMultiInstanceChecks = twoChecks; + +// algorithm settings +algorithm = refinement; +//refinement.horizontalExpansionFactor = 0.5; +//refinement.quiet = false; + +// search tree protocol +// refinement.writeSearchTree = false; +// refinement.searchTreeFile = "log/searchTree.txt"; + +// control output +cli.checkSatisfiability = true; +cli.showIndividuals = false; +cli.showConcepts = false; +cli.showRoles = true; +cli.showSubsumptionHierarchy = false; + +// SPARQL options +//necessary: +sparql2.numberOfRecursions = 2; +sparql2.getAllBackground=true; +sparql2.format = "N-TRIPLES"; +sparql2.dumpToFile = true; +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"}; + +//doesn't work yet, blank nodes are not in returned XML. +sparql2.blankNodeIdentifier="bnode"; + +//for Role learning: +//sparql2.role = "http://semanticbible.org/ns/2006/NTNames#religiousBelief"; +//sparql2.learnDomain=true; + + + +//predefined Endpoint overrides host and it doesn't matter what the string in import below looks like +// 0 means nothing +// 1 means dbpedia +// 2 means localhost:2020 default joseki +sparql2.predefinedEndpoint=1; +//sparql2.host = "dbpedia.openlinksw.com"; + + + +//predefined filter overrides predList and ObjList +sparql2.predefinedFilter = 1; +//filtermode 1 and above uses a predefined setting +// 0 means nothing (manual configuration) +// 1 means only yago classes + +/* +This is left here. It is the yago predefined Filter +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"}; +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"}; +*/ + + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +/** 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 Copied: trunk/examples/sparql/newworking.conf (from rev 313, trunk/examples/dbpedia/newworking.conf) =================================================================== --- trunk/examples/sparql/newworking.conf (rev 0) +++ trunk/examples/sparql/newworking.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -0,0 +1,61 @@ +/** + * Father Example + * + * possible solution: + * male AND EXISTS hasChild.TOP + * + * Copyright (C) 2007, Jens Lehmann + */ + +/** settings **/ +// reasoner settings +reasoner = dig; +//digReasonerURL = "http://localhost:8081"; +//useRetrievalForClassification = true; +//refinement.useDIGMultiInstanceChecks = twoChecks; + +// algorithm settings +algorithm = refinement; +//refinement.horizontalExpansionFactor = 0.5; +//refinement.quiet = false; + +// search tree protocol +// refinement.writeSearchTree = false; +// refinement.searchTreeFile = "log/searchTree.txt"; + +// control output +cli.checkSatisfiability = true; +cli.showIndividuals = false; +cli.showConcepts = false; +cli.showRoles = true; +cli.showSubsumptionHierarchy = false; + +// SPARQL options + + + +sparql2.numberOfRecursions = 2; +sparql2.getAllBackground=true; +sparql2.instances = {"http://dbpedia.org/resource/Angela_Merkel","http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"}; +sparql2.format = "N-TRIPLES"; +sparql2.dumpToFile = true; + + +sparql2.predefinedEndpoint=1; +//sparql2.host = "dbpedia.openlinksw.com"; + + +sparql2.predefinedFilter = 1; +//filtermode 1 and above uses a predefined setting +//0 means manual +//sparql2.predList = {}; +//sparql2.objList = {}; +//sparql2.classList = {}; + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +/** examples **/ ++"http://dbpedia.org/resource/Angela_Merkel" +-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" \ No newline at end of file Copied: trunk/examples/sparql/newworkingManually.conf (from rev 313, trunk/examples/dbpedia/newworkingManually.conf) =================================================================== --- trunk/examples/sparql/newworkingManually.conf (rev 0) +++ trunk/examples/sparql/newworkingManually.conf 2007-12-03 16:53:05 UTC (rev 315) @@ -0,0 +1,75 @@ +/** + * Father Example + * + * possible solution: + * male AND EXISTS hasChild.TOP + * + * Copyright (C) 2007, Jens Lehmann + */ + +/** settings **/ +// reasoner settings +reasoner = dig; +//digReasonerURL = "http://localhost:8081"; +//useRetrievalForClassification = true; +//refinement.useDIGMultiInstanceChecks = twoChecks; + +// algorithm settings +algorithm = refinement; +//refinement.horizontalExpansionFactor = 0.5; +//refinement.quiet = false; + +// search tree protocol +// refinement.writeSearchTree = false; +// refinement.searchTreeFile = "log/searchTree.txt"; + +// control output +cli.checkSatisfiability = true; +cli.showIndividuals = false; +cli.showConcepts = false; +cli.showRoles = true; +cli.showSubsumptionHierarchy = false; + +// SPARQL options +sparql2.numberOfRecursions = 2; +sparql2.getAllBackground=true; +sparql2.format = "N-TRIPLES"; +sparql2.dumpToFile = true; + + +//sparql2.predefinedEndpoint=0; +sparql2.host = "dbpedia.openlinksw.com"; +sparql2.instances = {"http://dbpedia.org/resource/Angela_Merkel","http://dbpedia.org/resource/Gerhard_Schr%C3%B6der"}; + + + +// +//sparql2.predefinedFilter = 1; +//filtermode 1 and above uses a predefined setting +//0 means manual + + +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"}; +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"}; +//sparql2.classList = {}; + + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +/** examples **/ ++"http://dbpedia.org/resource/Angela_Merkel" +-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |