Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\Query\Language\SomeProperty Class Reference
Collaboration diagram for SMW\Query\Language\SomeProperty:
Collaboration graph
[legend]

Public Member Functions

 __construct (DIProperty $property, Description $description)
 
 getFingerprint ()
 
 getProperty ()
 
 getDescription ()
 
 getQueryString ($asValue=false)
 
 isSingleton ()
 
 getSize ()
 
 getDepth ()
 
 getQueryFeatures ()
 
 prune (&$maxsize, &$maxdepth, &$log)
 
- Public Member Functions inherited from SMW\Query\Language\Description
 getPrintRequests ()
 
 setPrintRequests (array $printRequests)
 
 addPrintRequest (PrintRequest $printRequest)
 
 prependPrintRequest (PrintRequest $printRequest)
 
 getFingerprint ()
 
 getMembership ()
 
 setMembership ($membership)
 
 getQueryString ($asValue=false)
 
 isSingleton ()
 
 getSize ()
 
 getDepth ()
 
 getQueryFeatures ()
 
 prune (&$maxsize, &$maxDepth, &$log)
 

Protected Attributes

 $description
 
 $property
 
- Protected Attributes inherited from SMW\Query\Language\Description
 $m_printreqs = array()
 
 $fingerprint = null
 

Detailed Description

Description of a set of instances that have an attribute with some value that fits another (sub)description.

Corresponds to existential quantification ("SomeValuesFrom" restriction) on properties in OWL. In conjunctive queries (OWL) and SPARQL (RDF), it is represented by using variables in the object part of such properties.

GNU GPL v2+

Since
1.6
Author
Markus Krötzsch

Constructor & Destructor Documentation

SMW\Query\Language\SomeProperty::__construct ( DIProperty  $property,
Description  $description 
)
Since
1.6
Parameters
DIProperty$property
Description$description

Member Function Documentation

SMW\Query\Language\SomeProperty::getDepth ( )
Since
1.6
Returns
integer
SMW\Query\Language\SomeProperty::getDescription ( )
Since
1.6
Returns
Description
SMW\Query\Language\SomeProperty::getFingerprint ( )
See also
Description::getFingerprint
Since
2.5
Returns
string
SMW\Query\Language\SomeProperty::getProperty ( )
Returns
DIProperty
SMW\Query\Language\SomeProperty::getQueryFeatures ( )
Since
1.6
Returns
integer
SMW\Query\Language\SomeProperty::getQueryString (   $asValue = false)
Since
1.6
Returns
string
SMW\Query\Language\SomeProperty::getSize ( )
Since
1.6
Returns
integer
SMW\Query\Language\SomeProperty::isSingleton ( )
Since
1.6
Returns
boolean
SMW\Query\Language\SomeProperty::prune ( $maxsize,
$maxdepth,
$log 
)
Since
1.6
Returns
SomeProperty

Member Data Documentation

SMW\Query\Language\SomeProperty::$description
protected
SMW\Query\Language\SomeProperty::$property
protected

The documentation for this class was generated from the following file: