summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php
blob: 68c87df22bce38f725ef1e4639189a6ea2c5c547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

namespace SMW\SPARQLStore\QueryEngine;

use SMW\Query\Language\Description;

/**
 * @license GNU GPL v2+
 * @since 2.2
 *
 * @author mwjames
 */
interface DescriptionInterpreter {

	/**
	 * @since 2.2
	 *
	 * @param Description $description
	 *
	 * @return boolean
	 */
	public function canInterpretDescription( Description $description );

	/**
	 * @since 2.2
	 *
	 * @param Description $description
	 *
	 * @return Condition
	 */
	public function interpretDescription( Description $description );

}