RDF::Trine::Pattern(3pm) User Contributed Perl Documentation RDF::Trine::Pattern(3pm)NAME
RDF::Trine::Pattern - Class for basic graph patterns
VERSION
This document describes RDF::Trine::Pattern version 1.000
METHODS
"new ( @triples )"
Returns a new BasicGraphPattern structure.
"construct_args"
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
"triples"
Returns a list of triples belonging to this BGP.
"type"
"sse"
Returns the SSE string for this algebra expression.
"referenced_variables"
Returns a list of the variable names used in this algebra expression.
"definite_variables"
Returns a list of the variable names that will be bound after evaluating this algebra expression.
"clone"
"bind_variables ( \%bound )"
Returns a new pattern with variables named in %bound replaced by their corresponding bound values.
"subsumes ( $statement )"
Returns true if the pattern will subsume the $statement when matched against a triple store.
"sort_for_join_variables"
Returns a new pattern object with the subpatterns of the referrant sorted so that they may be joined in order while avoiding cartesian
products (if possible).
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::Pattern(3pm)
Check Out this Related Man Page
RDF::Query::Algebra::TimeGraph(3pm) User Contributed Perl Documentation RDF::Query::Algebra::TimeGraph(3pm)NAME
RDF::Query::Algebra::TimeGraph - Algebra class for temporal patterns
VERSION
This document describes RDF::Query::Algebra::TimeGraph version 2.908.
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.
"new ( $interval, $pattern, $time_triples )"
Returns a new TimeGraph structure.
"construct_args"
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
"interval"
Returns the time interval node of the temporal graph expression.
"pattern"
Returns the graph pattern of the temporal graph expression.
"time_triples"
Returns the triples describing the time interval of the temporal graph.
"sse"
Returns the SSE string for this algebra expression.
"as_sparql"
Returns the SPARQL string for this algebra expression.
"type"
Returns the type of this algebra expression.
"referenced_variables"
Returns a list of the variable names used in this algebra expression.
"potentially_bound"
Returns a list of the variable names used in this algebra expression that will bind values during execution.
"definite_variables"
Returns a list of the variable names that will be bound after evaluating this algebra expression.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Algebra::TimeGraph(3pm)
can someone help me with this..
cant for the life of me figure it out..
=~ m!^(/.*)/bin/xx!
specific query > What does m!^ do
> What does the ! at the end do.. (3 Replies)
Dear Collegues
I have to extract Some pattern from raw text file using perl
The input will be raw text.
Pattern to get - Sequence of Capital Letter Words ( e.g. he is working in Center for Perl Studies. He will come tomorrow...) from thos I have to extract sequences like "Center for Perl... (5 Replies)
Use and complete the template provided. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data: How do you locate all nonblank lines that don't begin with #, /*, or //
2. Relevant commands, code, scripts, algorithms:
grep and regular... (3 Replies)
Hi,
I have read similar questions and I was not able to get a solution, so please help :)
I have two files:
1-Pattern file contains list of patterns
pattern1
pattern2
pattern3
pattern4
....
pattern#
2-input file in the format
>hdhfshsdfjhpattern1xmbxmbxnmv... (4 Replies)
Hi,
I am new to scripting.
please help me in validating the user entered time Pattern
Here is the program
#!/bin/bash
validateTimeFormat()
{
checkTime=$1
timePattern="::"
if ]
then
echo "Valid time pattern"
return 1
else
echo "InValid time pattern"
return -1
fi
}
echo "Please... (2 Replies)
Can someone tell me what is going with this expression :%s/<C-V><C-M>/.
Is there a way to get a more useful message if the carriage return has been deleted?
http://objectmix.com/editors/149245-fixing-dos-line-endings-within-vim.html#post516826
Why does this expression work for... (1 Reply)
Hi All ,
I am newbie to linux shell scripting , below are the contents of my log file ,
i want the lines between a begin pattern and a end pattern
for an instance , my begin Pattern is "Transaction Begins for Usr"
and end pattern is "Transaction Ends for Usr" into another file
Sample file... (1 Reply)
Hi All,
I am writing the following Perl Scrip and need your help in Pattern matching :
I have the following Shell Script that would read line by line from the file (file_svn) and would inturn calls the Perl Script:
#!/bin/bash
perl_path="/home/dev/filter"... (2 Replies)
HI Folks,
I'm looking for a solution for this issue.
I want to find the Pattern 0/ and replace it with /. I'm just removing the leading zero. I can find the Pattern but it always puts literal value as a replacement.
What am I missing??
sed -e s/0\//\//g File1 > File2
edit by... (3 Replies)
Hi all,
I am trying to use an if statement to see whether a variable falls under any of the 5 patterns:
if ]
then
echo "something"
else
echo "Please enter a correct division"
fi
The problem is despite having the variable DIV as "ter", "bom", "hre", "nte", or "mol" it will... (6 Replies)
I am using Perl version 5.8.4 and trying to understand the use of regular expression. Following is my code and output.
$string = "Perl is a\nScripting language";
($start) = ($string =~ /\A(.*?) /);
@lines = ($string =~ /^(.*?) /gm);
print "First Word (using \\A): $start\n","Line... (4 Replies)
I have one file and the file may contain 500 to 15,000 records. I need to search pattern ^F509= and then increment the corresponding value by one and print the entire line.
Please note that Its not a fixed length file. Can anyone please help?
ex: ^F509=204656
^F509=204656
... (6 Replies)
Hi all,
I have been searching all over Google but I am unable to find a solution for a particular result that I am trying to achieve.
Consider the following input:
1
2
3
4
5
B4Srt1--Variable-0000
B4Srt2--Variable-1111
Srt
6
7
8
9
10
End (3 Replies)