@prefix : <#> .
@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix math: <http://www.w3.org/2000/10/swap/math#> .

this log:forAll :nuksr , :nuks , :sr , :name , :company , :year . 

{ 	:company <http://xmlns.com/foaf/corp#nuks> :nuks;
	<http://xmlns.com/foaf/corp#source> :name;
	<http://xmlns.com/foaf/corp#year> :year;
	<http://xmlns.com/foaf/corp#sr> :sr . 
	:nuks log:notEqualTo "" . 
	:nuks log:notEqualTo "0" . 
	:sr log:notEqualTo "" . 
	:sr log:notEqualTo "0" . 
        ([is math:quotient of (:nuks :sr)] "100") math:product :nuksr

} 
	log:implies 
{ 

 	:company <http://xmlns.com/foaf/corp#nuksr> :nuksr;
	<http://xmlns.com/foaf/corp#source> :name ;
	<http://xmlns.com/foaf/corp#year> :year  .
} .

