Difference between revisions of "Main Page"

From ODP Wiki
Jump to: navigation, search
Recent Contributors
Highest Contributors
Line 8: Line 8:
  
 
''Get a List of Questions and their Answers (limited to 5)''
 
''Get a List of Questions and their Answers (limited to 5)''
<code>
+
<pre>
 
{{ #ask: [[Category:Question]]
 
{{ #ask: [[Category:Question]]
 
  | ?Answer=Answers
 
  | ?Answer=Answers
Line 14: Line 14:
 
  | limit=5
 
  | limit=5
 
}}
 
}}
</code>
+
</pre>
 
{{ #ask: [[Category:Question]]
 
{{ #ask: [[Category:Question]]
 
  | ?Answer=Answers
 
  | ?Answer=Answers
Line 23: Line 23:
  
 
''Get a particular Question's SubQuestions, and answers to their SubQuestions''
 
''Get a particular Question's SubQuestions, and answers to their SubQuestions''
 +
<pre>
 +
{{ #ask: [[Global_distribution_of_carbon_in_lakes_and_how_they_process_carbon]]
 +
| ?SubQuestion=Sub Questions
 +
}}
 +
</pre>
 
{{ #ask: [[Global_distribution_of_carbon_in_lakes_and_how_they_process_carbon]]
 
{{ #ask: [[Global_distribution_of_carbon_in_lakes_and_how_they_process_carbon]]
 
  | ?SubQuestion=Sub Questions
 
  | ?SubQuestion=Sub Questions
Line 29: Line 34:
  
 
''Get Questions whose answers have some property set''
 
''Get Questions whose answers have some property set''
 +
<pre>
 +
{{ #ask: [[Category:Question]] [[Answer.Has Dataset::2012-Dataset]]
 +
| ?Answer
 +
}}
 +
</pre>
 
{{ #ask: [[Category:Question]] [[Answer.Has Dataset::2012-Dataset]]
 
{{ #ask: [[Category:Question]] [[Answer.Has Dataset::2012-Dataset]]
 
  | ?Answer
 
  | ?Answer

Revision as of 10:20, 9 February 2012

Description

.. Some Description Here..

Status

Example Queries

Get a List of Questions and their Answers (limited to 5)

{{ #ask: [[Category:Question]]
 | ?Answer=Answers
 | default=No Questions in Knowledge Base
 | limit=5
}}

No Questions in Knowledge Base


Get a particular Question's SubQuestions, and answers to their SubQuestions

{{ #ask: [[Global_distribution_of_carbon_in_lakes_and_how_they_process_carbon]]
 | ?SubQuestion=Sub Questions
}}
 Sub Questions
Global distribution of carbon in lakes and how they process carbon


Get Questions whose answers have some property set

{{ #ask: [[Category:Question]] [[Answer.Has Dataset::2012-Dataset]]
 | ?Answer
}}


Build your own apps with the content of this wiki ! You can find extensive documentation about its API here.