diff --git a/qanary_pipeline-template/src/main/java/eu/wdaqua/qanary/web/QanaryPipelineConfigurationController.java b/qanary_pipeline-template/src/main/java/eu/wdaqua/qanary/web/QanaryPipelineConfigurationController.java index 8ca1e1a4..081d3be0 100644 --- a/qanary_pipeline-template/src/main/java/eu/wdaqua/qanary/web/QanaryPipelineConfigurationController.java +++ b/qanary_pipeline-template/src/main/java/eu/wdaqua/qanary/web/QanaryPipelineConfigurationController.java @@ -59,7 +59,6 @@ private Map excludeProperties(String[] excludedProperties, Map componentList() { /** * expose the model with the Qanary triplestore endpoint - * - * @throws URISyntaxException + * * @throws TripleStoreNotProvided */ @ModelAttribute("triplestoreEndpointOfCurrentQanaryPipeline") @@ -219,7 +218,7 @@ public ResponseEntity startquestionansweringwithtextquestion( /** * start question answering process with textual question - * + * *
 		curl --location --request POST 'http://localhost:8080/startquestionansweringwithtextquestion' \
 		--header 'Content-Type: application/json' \
@@ -230,11 +229,11 @@ public ResponseEntity startquestionansweringwithtextquestion(
 		        "BirthDataQueryBuilderWikidata",
 		        "SparqlExecuter"
 		    ],
-		    "additionalTriples": "   .    ."
+		    "additionalTriples": <urn:s1> <urn:p1> <urn:o1> . <urn:s2> <urn:p2> <urn:o2> ."
 		}'
-	 * 
- * - * + + * + * * @param myRequestQuestionAnsweringProcess * @return * @throws Exception @@ -266,7 +265,7 @@ public ResponseEntity startquestionansweringwithtext "BirthDataQueryBuilderWikidata", "SparqlExecuter" ], - "additionalTriples": "PREFIX oa: oa:hasTarget ." + "additionalTriples": "PREFIX oa: <http://www.w3.org/ns/openannotation/core/> <urn:s> oa:hasTarget <urn:o> ." }' * * @@ -417,11 +416,9 @@ public ResponseEntity> getLastQanaryQue /** * returns information about the run identified by the provided runId - * - * @param runId + * * @return - * @throws URISyntaxException - * @throws Exception + * @throws URISyntaxException */ @RequestMapping(value = QUESTIONANSWERING + "/{graph}", method = RequestMethod.GET, produces = "application/json") @ResponseBody