PoweRGen
PoweRGen
Download PoweRGen (v0.2)
Installation
Instructions
User Guide
User Guides
After installation, you will be ready to use PoweRGen.
First you should set the parameters.
It is not required to set all the parameters.
The most significant are the number of schemas and the number of properties (if 'taxonomy' is switched OFF).
The rest parameters can then be computed as a function of those two by considering
average values that hold for real RDFS schemas of the same number of classes and properties.
Generator Parameters
- Schema generation:
- numOfSchemas: The number of schemas you want to produce
under the same set of parameter values
- numOfClasses: The number of schema classes (at minimum 100)
- numOfProps: The number of schema properties (at minimum 100)
- format: The output format of the generated schema (default: XML)
- taxonomy: True to generate a taxonomy (i.e. a schema comprising only classes and subsumption relationships among them), false to generate schemas that additionally contain properties (default: false).
- Property graph generation:
- totalDegreePMFExp / totalDegreeVRExp: The PL exponent of
the total-degree
PMF / VR function of the property graph (ranging between in [1.6, 3.0]/
[0.8, 2.2])
- p0: Percentage of classes with total-degree=0 (default: 50%, i.e. 0.5)
- selfLoops: Percentage of recursive properties
(default: 12.6%, i.e. 0.126)
- multipleArcs: Percentage of multiple arcs (default: 17.7%, i.e. 0.177)
- attributes:
- Subsumption graph generation:
- descendantsPMFExp / descendantsVRExp: The PL exponent of
the out-degree PMF of the subsumption graph (ranging between in [1.5,
2.5] / [1.0, 2.5])
- precentageOfZeros: The percentages of classes that are leaves (default: 75%, i.e. 0.75)
- depth: The depth of the subsumption graph (usually ranging between 3-10)
- integralityThreshold: This parameter is used to manage the non-integer solution variables (default 0.6)
- depthPercentage: The most populated level of the subsumption graph is 0.75*depth
- tree: Select whether the generated subsumption graph should be a tree or not (default: false)
- ACCThreshold: Sets the threshold over which the noise of the sampling method is acceptable wrt the approximation to a PL. E.g. if we set ACCThreshold = 0.9, we guarantee that the sampled bags of values will follow a PL with confidence (ACC value) >= 0.9
- CRE: Sets the threshold over which the noise of the sampling method is acceptable w.r.t. the characteristic PL exponent. E.g. if we set CRE = 0.9, we guarantee that the sampled bag will follow a PL with exponent a s.t. 1-|a-b|/b >= 0.9, where b is the exponent given as input.
There are two possible ways to set the parameters.
- Set the parameters:
- Programmatically:
- Writing their values on the Java class "gr.forth.ics.RDFGenerator.schema.Parameters" as default attribute values.
- Calling the appropriate set methods of "gr.forth.ics.RDFGenerator.schema.Parameters" Java class.
- Dynamically:
- Writing their values on the paramaters text file "src/parameters.conf"
- If the config file exists, then the parameters will be read from there. Elsewise, the parameters
will be read from the Java class "gr.forth.ics.RDFGenerator.schema.Parameters".
- Then, run the class "Main".
Bug Report
- In case you find a bug, please send the stacktrace, as well
as the Parameters file, to theohari@ics.forth.gr
Credits
The author of the software is Yannis Theoharis (ICS-FORTH - Greece).
Copyright
Copyright ICS-FORTH (Institute of
Computer Science - Foundation of Research Technology Hellas - Greece)
Contact
For feedback and questions please contact:
Yannis Theoharis
theohari@ics.forth.gr
or
Vassilis Christophides
christop@ics.forth.gr
Last modified: April 24, 2009