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

Public Member Functions

 __construct (DIProperty $property, Description $description)
 
 setHierarchyDepth ( $hierarchyDepth)
 
 getHierarchyDepth ()
 
 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)
 
 __toString ()
 

Protected Attributes

 $description
 
 $property
 
 $hierarchyDepth
 
- Protected Attributes inherited from SMW\Query\Language\Description
 $m_printreqs = []
 
 $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

◆ __construct()

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

Member Function Documentation

◆ getDepth()

SMW\Query\Language\SomeProperty::getDepth ( )
Since
1.6
Returns
integer

◆ getDescription()

SMW\Query\Language\SomeProperty::getDescription ( )
Since
1.6
Returns
Description

◆ getFingerprint()

SMW\Query\Language\SomeProperty::getFingerprint ( )
See also
Description::getFingerprint
Since
2.5
Returns
string

◆ getHierarchyDepth()

SMW\Query\Language\SomeProperty::getHierarchyDepth ( )
Since
3.0
Returns
integer|null

◆ getProperty()

SMW\Query\Language\SomeProperty::getProperty ( )
Returns
DIProperty

◆ getQueryFeatures()

SMW\Query\Language\SomeProperty::getQueryFeatures ( )
Since
1.6
Returns
integer

◆ getQueryString()

SMW\Query\Language\SomeProperty::getQueryString (   $asValue = false)
Since
1.6
Returns
string

◆ getSize()

SMW\Query\Language\SomeProperty::getSize ( )
Since
1.6
Returns
integer

◆ isSingleton()

SMW\Query\Language\SomeProperty::isSingleton ( )
Since
1.6
Returns
boolean

◆ prune()

SMW\Query\Language\SomeProperty::prune ( $maxsize,
$maxdepth,
$log 
)
Since
1.6
Returns
SomeProperty

◆ setHierarchyDepth()

SMW\Query\Language\SomeProperty::setHierarchyDepth (   $hierarchyDepth)
Since
3.0
Parameters
integer$hierarchyDepth

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

About | General disclaimer | Privacy policy