RDF::Trine::Node::Variable(3pm) User Contributed Perl Documentation RDF::Trine::Node::Variable(3pm)NAME
RDF::Trine::Node::Variable - RDF Node class for variables
VERSION
This document describes RDF::Trine::Node::Variable version 1.000
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.
"new ( $name )"
Returns a new Variable structure.
"name"
Returns the name of the variable.
"sse"
Returns the SSE string for this variable.
"as_string"
Returns a string representation of the node.
"value"
Returns the variable name.
"as_ntriples"
Returns the node in a string form suitable for NTriples serialization.
"type"
Returns the type string of this node.
"equal ( $node )"
Returns true if the two nodes are equal, false otherwise.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>"
COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms
as Perl itself.
perl v5.14.2 2012-06-29 RDF::Trine::Node::Variable(3pm)
Check Out this Related Man Page
RDF::Trine::Parser::NTriples(3pm) User Contributed Perl Documentation RDF::Trine::Parser::NTriples(3pm)NAME
RDF::Trine::Parser::NTriples - N-Triples Parser
VERSION
This document describes RDF::Trine::Parser::NTriples version 1.000
SYNOPSIS
use RDF::Trine::Parser;
my $parser = RDF::Trine::Parser->new( 'ntriples' );
$parser->parse_into_model( $base_uri, $data, $model );
DESCRIPTION
...
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Parser class.
"new"
"parse_into_model ( $base_uri, $data, $model [, context => $context] )"
Parses the $data. For each RDF statement parsed, will call "$model->add_statement( $statement )".
"parse_file_into_model ( $base_uri, $fh, $model [, context => $context] )"
Parses all data read from the filehandle $fh. For each RDF statement parsed, will call "$model->add_statement( $statement )".
"parse ( $base_uri, $rdf, &handler )"
"parse_node ( $string, $base )"
Returns the RDF::Trine::Node object corresponding to the node whose N-Triples serialization is found at the beginning of $string.
"parse_file ( $base, $fh, &handler )"
BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>"
COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms
as Perl itself.
perl v5.14.2 2012-06-29 RDF::Trine::Parser::NTriples(3pm)
hi,
i want to increment a Variable but it doesnt work.
here my codé
COUNT=1
COUNT= 'expr $COUNT + 1'
i've tried it in the prompt but it print me:
expr: syntaxerror
What does I make wrong? (4 Replies)
Hi,
Could anyone help me in understanding what I am missing..
I have a text file with the following info.
INFILE=>
#Name Variable=<value>
#---------------------------------
name1 inargs="-a Filename1.$VAR.csv -f Filename2.$VAR.csv -c File.c"
name1 ... (4 Replies)
Hello all,
How can i access the value of variable within a variable?
Please go through the following code:
count=0
newstr=aaaa${count}
echo "enter value : "
read $newstr <---- Suppose the value entered by the user is "home"
echo $newstr <---- This will print "aaaa0"... (4 Replies)
Ok, pretty hard to explain but I'll do my best.
Let's say MYVAR content is /home/me then
MYVAR=/home/me
I want to cd to that dir using the MYVAR variable.
Can't do cd $MYVAR even if I echo MYVAR and gives me /home/me.
MYVAR=/home/me
echo $MYVAR
cd $MYVAR
Does not change dir... (7 Replies)
Dear All,
I want to print a file.
First I tried with this
sed '2q;d' filename
it worked. But when i put following it is not working
x=2;
sed '$xq;d' filename
Would any one suggest how to pass the variable? (7 Replies)
1. The problem statement, all variables and given/known data:
Variable is resetting to 0 after incrementing in while loop
My bit of scripting displays the current users logged in the machine.
Then it reads in a specific username and displays the processes for that user.
The portion that I... (3 Replies)
Hi,
I've got a small problem.
If varible A stores "B" and Variable B stores C,
How to get the value of variable B by using only Variable A..?
I tried the following but didnt work pease help..
$ var1=vikram
$ echo $var1
vikram
$ vikram=sampath
$ echo $vikram
sampath
$ echo... (6 Replies)
i was wondering is there anyway to take the output of a command and put it into a variable??
what i need to to is only take a certain part of the output that lies between <"data needed ">
---------- Post updated at 09:39 PM ---------- Previous update was at 09:38 PM ----------
and place... (6 Replies)
Hi All,
OS HPUX 11.11
I am using following script to take controlfile backup. I have used SID variable to hold "ffin1" value, which I again subsitute in "'/db/ffin1/home/oraffin1/$SID_$wdate.ctl'" command. Well, after running this, SID variable does not subsittue it's value, while wdate... (6 Replies)
Hello,
First post for Newbie as I am stumped. I need to get certain elements for a specific PID from the ps command. I am attempting to pass the value for the PID I want to retrieve the information for as a variable. When the following is run without using a variable, setting a specific PID,... (3 Replies)
I want to match exact string stored in Variable INO and print next two lines. I have written below code which partially matches:
awk '/\'$VAR'/{getline; getline; print}'
Will be thankful , if somebody can help in to resolve this problem.
Please view this code tag video for how to use... (9 Replies)
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
Hi,
I have Suse Linux Enterprise Server 10 installed on two node ocfs2 cluster my server. Node-1 is ptdmod01 and Node-2 is ptdmod02. It is having 218 ocfs file system, which are shared among both servers. Since this is ocfs2, each disk from EMC Storage is mounted individually on file-system as... (4 Replies)
Hello All,
I was wondering how I can assign a here document facility to a variable. I have tried the following:
menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)
...but when I echo the $menu variable, the multiline list comes out in a single line such as:
Option1 Option2 Option3... (14 Replies)