Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Zeev Pekar <z.pekar@gm...>  20100126 14:03:27

Hi, is it possible to define properties by functions rather than constants? for example in article about triangle property "Square" would be described by s=0.5*h*l, where h is Height, l is Length with certain range: h:[1..3] step  1, l:[1..5] step  1, Square would be described by triples (0.5,1,1) (1,1,2) etc. and then if one searches for geometrical shapes with "Square = 0.5" or "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = 1", he would get, among others, article about triangle... 1) is such functionality already implemented? 2) is it planned to be implemented in future? 3) is there an extension that does it? 4) is it hard to implement such thing alone? which existing extension should I use in order to implement this feature? thank you in advance, Zeev 
From: Zeev Pekar <z.pekar@gm...>  20100126 14:03:27

Hi, is it possible to define properties by functions rather than constants? for example in article about triangle property "Square" would be described by s=0.5*h*l, where h is Height, l is Length with certain range: h:[1..3] step  1, l:[1..5] step  1, Square would be described by triples (0.5,1,1) (1,1,2) etc. and then if one searches for geometrical shapes with "Square = 0.5" or "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = 1", he would get, among others, article about triangle... 1) is such functionality already implemented? 2) is it planned to be implemented in future? 3) is there an extension that does it? 4) is it hard to implement such thing alone? which existing extension should I use in order to implement this feature? thank you in advance, Zeev 
From: Philipp Zaltenbach <zaltenbach@on...>  20100126 16:03:26

Hi, calculation of property values is for instance possible with our Semantic Rules extension, which we released recently [1]. With this you can e.g. express "s" as inferred property and let the value get computed when someone has stated values for the properties "h" and "l". The type of rule you need here are so called "calculation rules" which allow you to define a formula for computing (i.e. inferring) the value of another property. Regards, Philipp [1] http://smwforum.ontoprise.com/smwforum/index.php/Features/SMW%2B_release_1.4.6 Zeev Pekar schrieb: > Hi, > > is it possible to define properties by functions rather than constants? > for example in article about triangle property "Square" would be > described by s=0.5*h*l, where h is Height, l is Length with certain > range: h:[1..3] step  1, l:[1..5] step  1, Square would be described > by triples (0.5,1,1) (1,1,2) etc. > and then if one searches for geometrical shapes with "Square = 0.5" or > "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = > 1", he would get, among others, article about triangle... > > 1) is such functionality already implemented? > 2) is it planned to be implemented in future? > 3) is there an extension that does it? > 4) is it hard to implement such thing alone? which existing extension > should I use in order to implement this feature? > > thank you in advance, > Zeev > > >  > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without longterm contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanetcom > _______________________________________________ > Semediawikiuser mailing list > Semediawikiuser@... > https://lists.sourceforge.net/lists/listinfo/semediawikiuser >  Philipp Zaltenbach Professional Services ontoprise GmbH  know how to use Knowhow    ontoprise has become a Microsoft Certified Partner: http://www.ontoprise.de/en/home/news/newsen/microsoftcertifiedpartner/    An der RaumFabrik 29; 76227 Karlsruhe; Germany Tel.: +49 721 509809 0; Fax: +49 721 509809 11 eMail: zaltenbach@...; www: http://www.ontoprise.de Sitz der Gesellschaft: Amtsgericht Mannheim, HRB 109540 Geschäftsführer: Prof. Dr. Jürgen Angele, Dipl.Wi.Ing. HansPeter Schnurr 
From: Zeev Pekar <z.pekar@gm...>  20100126 16:21:34

great! thank you for the tip. 1) can the values for the h and l be provided in form of ranges with certain step? like h  [1..5], step 0.5? 2) since you write "for instance possible"  are there other ways to get it working? 3) is it possible to have alternative definitions for properties like number for property "population" for certain city according to different sources? 4) is there a handy way to provide sources for different alternative values for the same property? thank you very much! Zeev On Tue, 20100126 at 17:05 +0100, Philipp Zaltenbach wrote: > Hi, > > calculation of property values is for instance possible with our > Semantic Rules extension, which we released recently [1]. > With this you can e.g. express "s" as inferred property and let the > value get computed when someone has stated values for the properties "h" > and "l". > > The type of rule you need here are so called "calculation rules" which > allow you to define a formula for computing (i.e. inferring) the value > of another property. > > Regards, > Philipp > > [1] > http://smwforum.ontoprise.com/smwforum/index.php/Features/SMW%2B_release_1.4.6 > > Zeev Pekar schrieb: > > Hi, > > > > is it possible to define properties by functions rather than constants? > > for example in article about triangle property "Square" would be > > described by s=0.5*h*l, where h is Height, l is Length with certain > > range: h:[1..3] step  1, l:[1..5] step  1, Square would be described > > by triples (0.5,1,1) (1,1,2) etc. > > and then if one searches for geometrical shapes with "Square = 0.5" or > > "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = > > 1", he would get, among others, article about triangle... > > > > 1) is such functionality already implemented? > > 2) is it planned to be implemented in future? > > 3) is there an extension that does it? > > 4) is it hard to implement such thing alone? which existing extension > > should I use in order to implement this feature? > > > > thank you in advance, > > Zeev > > > > > >  > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the business > > Choose flexible plans and management services without longterm contracts > > Personal 24x7 support from experience hosting pros just a phone call away. > > http://p.sf.net/sfu/theplanetcom > > _______________________________________________ > > Semediawikiuser mailing list > > Semediawikiuser@... > > https://lists.sourceforge.net/lists/listinfo/semediawikiuser > > > 
From: Philipp Zaltenbach <zaltenbach@on...>  20100127 10:10:43

Hi, 1) Ranges can only be defined on schema level. For instance you could define that "h" in general shall take in only the values [1..5]. This can be done by making "allows value" statements (see http://semanticmediawiki.org/wiki/Property:Allows_value). 2) I am not aware of other alternatives at the moment. 3) Could you give a concrete example on how that would look like? 4) I can imagine that this could be achieved via manyvalued properties or Yaron's SIO extension. See http://semanticmediawiki.org/wiki/Help:Manyvalued_properties and http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects Regards, Philipp Zeev Pekar schrieb: > great! thank you for the tip. > > 1) can the values for the h and l be provided in form of ranges with > certain step? like h  [1..5], step 0.5? > 2) since you write "for instance possible"  are there other ways to get > it working? > 3) is it possible to have alternative definitions for properties like > number for property "population" for certain city according to different > sources? > 4) is there a handy way to provide sources for different alternative > values for the same property? > > thank you very much! > Zeev > > On Tue, 20100126 at 17:05 +0100, Philipp Zaltenbach wrote: > >> Hi, >> >> calculation of property values is for instance possible with our >> Semantic Rules extension, which we released recently [1]. >> With this you can e.g. express "s" as inferred property and let the >> value get computed when someone has stated values for the properties "h" >> and "l". >> >> The type of rule you need here are so called "calculation rules" which >> allow you to define a formula for computing (i.e. inferring) the value >> of another property. >> >> Regards, >> Philipp >> >> [1] >> http://smwforum.ontoprise.com/smwforum/index.php/Features/SMW%2B_release_1.4.6 >> >> Zeev Pekar schrieb: >> >>> Hi, >>> >>> is it possible to define properties by functions rather than constants? >>> for example in article about triangle property "Square" would be >>> described by s=0.5*h*l, where h is Height, l is Length with certain >>> range: h:[1..3] step  1, l:[1..5] step  1, Square would be described >>> by triples (0.5,1,1) (1,1,2) etc. >>> and then if one searches for geometrical shapes with "Square = 0.5" or >>> "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = >>> 1", he would get, among others, article about triangle... >>> >>> 1) is such functionality already implemented? >>> 2) is it planned to be implemented in future? >>> 3) is there an extension that does it? >>> 4) is it hard to implement such thing alone? which existing extension >>> should I use in order to implement this feature? >>> >>> thank you in advance, >>> Zeev >>> >>> >>>  >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in the business >>> Choose flexible plans and management services without longterm contracts >>> Personal 24x7 support from experience hosting pros just a phone call away. >>> http://p.sf.net/sfu/theplanetcom >>> _______________________________________________ >>> Semediawikiuser mailing list >>> Semediawikiuser@... >>> https://lists.sourceforge.net/lists/listinfo/semediawikiuser >>> >>> > > >  Philipp Zaltenbach Professional Services ontoprise GmbH  know how to use Knowhow    ontoprise has become a Microsoft Certified Partner: http://www.ontoprise.de/en/home/news/newsen/microsoftcertifiedpartner/    An der RaumFabrik 29; 76227 Karlsruhe; Germany Tel.: +49 721 509809 0; Fax: +49 721 509809 11 eMail: zaltenbach@...; www: http://www.ontoprise.de Sitz der Gesellschaft: Amtsgericht Mannheim, HRB 109540 Geschäftsführer: Prof. Dr. Jürgen Angele, Dipl.Wi.Ing. HansPeter Schnurr 
From: Zeev Pekar <z.pekar@gm...>  20100127 13:21:36

thank you again, very useful information... > 1) Ranges can only be defined on schema level. For instance you could > define that "h" in general shall take in only the values > [1..5]. This can be done by making "allows value" statements (see > http://semanticmediawiki.org/wiki/Property:Allows_value). 1) if I have 100 or 1000 elements, it is not practical to declare them one by one... Is it difficult to implement this new type of property (Range, given as interval and amount of elements, like (range[1..7];4) would be the same as (1, 3, 5, 7)? Is there some "feature request" page and what are the chances(/time) that it would be implemented? 2) can I do the following using Semantic Rules extension? define: [[height:1;2;3]] define: [[length:4;5;6]] then using the syntax of "Semantic Rules extension" (which I'm not yet aware of) say that: [[square:0.5*height*length]] and it would be equal to: [[square:2;5;9]] ? 3) assuming that it works like described in 2)  would I be able to find the article using following queries: [[square:2]]  [[square:5]] [[height:2]]  [[square:9]] [[height:3]] [[length:6]] while following queries should not show the article: [[square:17]]  [[square:5]] [[height:3]]  [[square:9]] [[height:3]] [[length:5]] Zeev > 2) I am not aware of other alternatives at the moment. > > 3) Could you give a concrete example on how that would look like? > > 4) I can imagine that this could be achieved via manyvalued properties > or Yaron's SIO extension. > See http://semanticmediawiki.org/wiki/Help:Manyvalued_properties and > http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects > > Regards, > Philipp > > Zeev Pekar schrieb: > > great! thank you for the tip. > > > > 1) can the values for the h and l be provided in form of ranges with > > certain step? like h  [1..5], step 0.5? > > 2) since you write "for instance possible"  are there other ways to get > > it working? > > 3) is it possible to have alternative definitions for properties like > > number for property "population" for certain city according to different > > sources? > > 4) is there a handy way to provide sources for different alternative > > values for the same property? > > > > thank you very much! > > Zeev > > > > On Tue, 20100126 at 17:05 +0100, Philipp Zaltenbach wrote: > > > >> Hi, > >> > >> calculation of property values is for instance possible with our > >> Semantic Rules extension, which we released recently [1]. > >> With this you can e.g. express "s" as inferred property and let the > >> value get computed when someone has stated values for the properties "h" > >> and "l". > >> > >> The type of rule you need here are so called "calculation rules" which > >> allow you to define a formula for computing (i.e. inferring) the value > >> of another property. > >> > >> Regards, > >> Philipp > >> > >> [1] > >> http://smwforum.ontoprise.com/smwforum/index.php/Features/SMW%2B_release_1.4.6 > >> > >> Zeev Pekar schrieb: > >> > >>> Hi, > >>> > >>> is it possible to define properties by functions rather than constants? > >>> for example in article about triangle property "Square" would be > >>> described by s=0.5*h*l, where h is Height, l is Length with certain > >>> range: h:[1..3] step  1, l:[1..5] step  1, Square would be described > >>> by triples (0.5,1,1) (1,1,2) etc. > >>> and then if one searches for geometrical shapes with "Square = 0.5" or > >>> "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = > >>> 1", he would get, among others, article about triangle... > >>> > >>> 1) is such functionality already implemented? > >>> 2) is it planned to be implemented in future? > >>> 3) is there an extension that does it? > >>> 4) is it hard to implement such thing alone? which existing extension > >>> should I use in order to implement this feature? > >>> > >>> thank you in advance, > >>> Zeev > >>> > >>> > >>>  > >>> The Planet: dedicated and managed hosting, cloud storage, colocation > >>> Stay online with enterprise data centers and the best network in the business > >>> Choose flexible plans and management services without longterm contracts > >>> Personal 24x7 support from experience hosting pros just a phone call away. > >>> http://p.sf.net/sfu/theplanetcom > >>> _______________________________________________ > >>> Semediawikiuser mailing list > >>> Semediawikiuser@... > >>> https://lists.sourceforge.net/lists/listinfo/semediawikiuser > >>> > >>> > > > > > > > 
From: Philipp Zaltenbach <zaltenbach@on...>  20100128 09:28:12

Hi, information about how to submit a feature request is available at: http://semanticmediawiki.org/wiki/Reporting_bugs Regarding your second question: Currently you would need to create three pages which annotate exactly one value. Page A: [[height::1]] [[length:4]] Page B: [[height::2]] [[length:5]] Page C: [[height::3]] [[length:6]] If you have defined your formula as calculation rule you would then obtain a derived square value for each page. Regards, Philipp Zeev Pekar schrieb: > thank you again, very useful information... > > >> 1) Ranges can only be defined on schema level. For instance you could >> define that "h" in general shall take in only the values >> [1..5]. This can be done by making "allows value" statements (see >> http://semanticmediawiki.org/wiki/Property:Allows_value). >> > > 1) if I have 100 or 1000 elements, it is not practical to declare them > one by one... Is it difficult to implement this new type of property > (Range, given as interval and amount of elements, like (range[1..7];4) > would be the same as (1, 3, 5, 7)? Is there some "feature request" page > and what are the chances(/time) that it would be implemented? > > > 2) can I do the following using Semantic Rules extension? > > define: > [[height:1;2;3]] > > define: > [[length:4;5;6]] > > then using the syntax of "Semantic Rules extension" (which I'm not yet > aware of) say that: > [[square:0.5*height*length]] > > and it would be equal to: > [[square:2;5;9]] ? > > > 3) assuming that it works like described in 2)  would I be able to find > the article using following queries: > > [[square:2]] >  > [[square:5]] > [[height:2]] >  > [[square:9]] > [[height:3]] > [[length:6]] > > while following queries should not show the article: > > [[square:17]] >  > [[square:5]] > [[height:3]] >  > [[square:9]] > [[height:3]] > [[length:5]] > > > Zeev > > >> 2) I am not aware of other alternatives at the moment. >> >> 3) Could you give a concrete example on how that would look like? >> >> 4) I can imagine that this could be achieved via manyvalued properties >> or Yaron's SIO extension. >> See http://semanticmediawiki.org/wiki/Help:Manyvalued_properties and >> http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects >> >> Regards, >> Philipp >> >> Zeev Pekar schrieb: >> >>> great! thank you for the tip. >>> >>> 1) can the values for the h and l be provided in form of ranges with >>> certain step? like h  [1..5], step 0.5? >>> 2) since you write "for instance possible"  are there other ways to get >>> it working? >>> 3) is it possible to have alternative definitions for properties like >>> number for property "population" for certain city according to different >>> sources? >>> 4) is there a handy way to provide sources for different alternative >>> values for the same property? >>> >>> thank you very much! >>> Zeev >>> >>> On Tue, 20100126 at 17:05 +0100, Philipp Zaltenbach wrote: >>> >>> >>>> Hi, >>>> >>>> calculation of property values is for instance possible with our >>>> Semantic Rules extension, which we released recently [1]. >>>> With this you can e.g. express "s" as inferred property and let the >>>> value get computed when someone has stated values for the properties "h" >>>> and "l". >>>> >>>> The type of rule you need here are so called "calculation rules" which >>>> allow you to define a formula for computing (i.e. inferring) the value >>>> of another property. >>>> >>>> Regards, >>>> Philipp >>>> >>>> [1] >>>> http://smwforum.ontoprise.com/smwforum/index.php/Features/SMW%2B_release_1.4.6 >>>> >>>> Zeev Pekar schrieb: >>>> >>>> >>>>> Hi, >>>>> >>>>> is it possible to define properties by functions rather than constants? >>>>> for example in article about triangle property "Square" would be >>>>> described by s=0.5*h*l, where h is Height, l is Length with certain >>>>> range: h:[1..3] step  1, l:[1..5] step  1, Square would be described >>>>> by triples (0.5,1,1) (1,1,2) etc. >>>>> and then if one searches for geometrical shapes with "Square = 0.5" or >>>>> "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = >>>>> 1", he would get, among others, article about triangle... >>>>> >>>>> 1) is such functionality already implemented? >>>>> 2) is it planned to be implemented in future? >>>>> 3) is there an extension that does it? >>>>> 4) is it hard to implement such thing alone? which existing extension >>>>> should I use in order to implement this feature? >>>>> >>>>> thank you in advance, >>>>> Zeev >>>>> >>>>> >>>>>  >>>>> The Planet: dedicated and managed hosting, cloud storage, colocation >>>>> Stay online with enterprise data centers and the best network in the business >>>>> Choose flexible plans and management services without longterm contracts >>>>> Personal 24x7 support from experience hosting pros just a phone call away. >>>>> http://p.sf.net/sfu/theplanetcom >>>>> _______________________________________________ >>>>> Semediawikiuser mailing list >>>>> Semediawikiuser@... >>>>> https://lists.sourceforge.net/lists/listinfo/semediawikiuser >>>>> >>>>> >>>>> >>> >>> > > >  Philipp Zaltenbach Professional Services ontoprise GmbH  know how to use Knowhow    ontoprise has become a Microsoft Certified Partner: http://www.ontoprise.de/en/home/news/newsen/microsoftcertifiedpartner/    An der RaumFabrik 29; 76227 Karlsruhe; Germany Tel.: +49 721 509809 0; Fax: +49 721 509809 11 eMail: zaltenbach@...; www: http://www.ontoprise.de Sitz der Gesellschaft: Amtsgericht Mannheim, HRB 109540 Geschäftsführer: Prof. Dr. Jürgen Angele, Dipl.Wi.Ing. HansPeter Schnurr 
From: msevero <miks@sh...>  20100127 19:48:12

hello, I dont know if this would help you? I have A. (a property) define by B. (child property define a function). While (B.) is being define by another property, which is property (C. define by a function too). While each can be queried individually, While another property (D.) defines all BY A FUNCTION., which can be queried by asking the property (A),(B),(C) or point to its respecting page. While each example: [[GST::{{{GST{{#expr:({{{LT{{#expr:{{{LAMN1{{#expr:{{{LH1{{#ifexpr: yes0}}}}} * {{{LRATE1{{#ifexpr: yes0}}}}}}}}}} + {{{LAMN2{{#expr:{{{LH2{{#ifexpr: yes0}}}}} * {{{LRATE2{{#ifexpr: yes0}}}}}}}}}} + {{{LAMN3{{#expr:{{{LH3{{#ifexpr: yes0}}}}} * {{{LRATE3{{#ifexpr: yes0}}}}}}}}}} + {{{LAMN4{{#expr:{{{LH4{{#ifexpr: yes0}}}}} * {{{LRATE4{{#ifexpr: yes0}}}}}}}}}} + {{{LAMN5{{#expr:{{{LH5{{#ifexpr: yes0}}}}} * {{{LRATE5{{#ifexpr: yes0}}}}}}}}}}}}}}})* 0.05 +({{{ET{{#expr:{{{EAMN1{{#expr:{{{EH1{{#ifexpr: yes0}}}}} * {{{ERATE1{{#ifexpr: yes0}}}}}}}}}} + {{{EAMN2{{#expr:{{{EH2{{#ifexpr: yes0}}}}} * {{{ERATE2{{#ifexpr: yes0}}}}}}}}}} + {{{EAMN3{{#expr:{{{EH3{{#ifexpr: yes0}}}}} * {{{ERATE3{{#ifexpr: yes0}}}}}}}}}} + {{{EAMN4{{#expr:{{{EH4{{#ifexpr: yes0}}}}} * {{{ERATE4{{#ifexpr: yes0}}}}}}}}}} + {{{EAMN5{{#expr:{{{EH5{{#ifexpr: yes0}}}}} * {{{ERATE5{{#ifexpr: yes0}}}}}}}}}}}}}}} *0.05) + ({{{SMT{{#expr:{{{SMAMN1{{#expr:{{{QNTY1{{#ifexpr: yes0}}}}} * {{{SMPRC1{{#ifexpr: yes0}}}}}}}}}} + {{{SMAMN2{{#expr:{{{QNTY2{{#ifexpr: yes0}}}}} * {{{SMPRC2{{#ifexpr: yes0}}}}}}}}}} + {{{SMAMN3{{#expr:{{{QNTY3{{#ifexpr: yes0}}}}} * {{{SMPRC3{{#ifexpr: yes0}}}}}}}}}} + {{{SMAMN4{{#expr:{{{QNTY4{{#ifexpr: yes0}}}}} * {{{SMPRC4{{#ifexpr: yes0}}}}}}}}}} + {{{SMAMN5{{#expr:{{{QNTY5{{#ifexpr: yes0}}}}} * {{{SMPRC5{{#ifexpr: yes0}}}}}}}}}}}}}}} *0.05) + ({{{OET{{#expr:{{{QEAMN1{{#expr:{{{OEP1{{#ifexpr: yes0}}}}} * {{{OEQNTY1{{#ifexpr: yes0}}}}}}}}}} + {{{QEAMN2{{#expr:{{{OEP2{{#ifexpr: yes0}}}}} * {{{OEQNTY2{{#ifexpr: yes0}}}}}}}}}} + {{{QEAMN3{{#expr:{{{OEP3{{#ifexpr: yes0}}}}} * {{{OEQNTY3{{#ifexpr: yes0}}}}}}}}}}}}}}}* 0.05)}}}}}]] Zeev Pekar wrote: > > Hi, > > is it possible to define properties by functions rather than constants? > for example in article about triangle property "Square" would be > described by s=0.5*h*l, where h is Height, l is Length with certain > range: h:[1..3] step  1, l:[1..5] step  1, Square would be described > by triples (0.5,1,1) (1,1,2) etc. > and then if one searches for geometrical shapes with "Square = 0.5" or > "Square = 1 AND Height= 1" or "Square = 0.5 AND Height =1 AND Length = > 1", he would get, among others, article about triangle... > > 1) is such functionality already implemented? > 2) is it planned to be implemented in future? > 3) is there an extension that does it? > 4) is it hard to implement such thing alone? which existing extension > should I use in order to implement this feature? > > thank you in advance, > Zeev > > >  > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without longterm contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanetcom > _______________________________________________ > Semediawikiuser mailing list > Semediawikiuser@... > https://lists.sourceforge.net/lists/listinfo/semediawikiuser > >  View this message in context: http://old.nabble.com/propertiesdefinedbyfunctionstp27324089p27345758.html Sent from the Semantic Mediawiki  User mailing list archive at Nabble.com. 