Uses of Interface
org.aksw.qa.commons.datastructure.IQuestion
Packages that use IQuestion
Package
Description
-
Uses of IQuestion in org.aksw.qa.commons.datastructure
Classes in org.aksw.qa.commons.datastructure that implement IQuestion -
Uses of IQuestion in org.aksw.qa.commons.load
Methods in org.aksw.qa.commons.load that return types with arguments of type IQuestionModifier and TypeMethodDescriptionDeprecated.LoaderController.loadEventQA(InputStream in)LoaderController.loadNLQ(InputStream file)LoaderController.loadNLQ(InputStream file, String deriveUri)LoaderController.loadTSV(InputStream queries, String name)Use this to load tsv filesLoaderController.loadXML(InputStream file, String questionLang)This methods loads QALD XML files (used in QALD 1 to QALD 5)LoaderController.loadXML(InputStream file, String deriveUri, String questionLang)Deprecated.LoaderController.qald3TestEsdbpediaLoader(String deriveUri, String questionLang)Deprecated. -
Uses of IQuestion in org.aksw.qa.commons.load.json
Methods in org.aksw.qa.commons.load.json that return types with arguments of type IQuestionModifier and TypeMethodDescriptionEJQuestionFactory.getQuestionsFromExtendedJson(ExtendedJson json)EJQuestionFactory.getQuestionsFromExtendedJson(ExtendedJson json, String deriveUri)Deprecated.EJQuestionFactory.getQuestionsFromJson(Object json)EJQuestionFactory.getQuestionsFromJson(Object json, String deriveUri)Deprecated.EJQuestionFactory.getQuestionsFromQaldJson(QaldJson json)EJQuestionFactory.getQuestionsFromQaldJson(QaldJson json, String deriveUri)Deprecated.Methods in org.aksw.qa.commons.load.json with parameters of type IQuestionModifier and TypeMethodDescriptionprivate static voidEJQuestionFactory.getAnswersFromAnswerObject(EJAnswers answerObject, IQuestion question)private static voidEJQuestionFactory.setAnswersInJson(EJAnswers answers, IQuestion question)Method parameters in org.aksw.qa.commons.load.json with type arguments of type IQuestionModifier and TypeMethodDescriptionstatic ExtendedJsonEJQuestionFactory.getExtendedJson(List<IQuestion> questions)static QaldJsonEJQuestionFactory.getQaldJson(List<IQuestion> questions) -
Uses of IQuestion in org.aksw.qa.commons.load.stanford
Methods in org.aksw.qa.commons.load.stanford that return types with arguments of type IQuestion -
Uses of IQuestion in org.aksw.qa.commons.load.tsv
Methods in org.aksw.qa.commons.load.tsv that return types with arguments of type IQuestionModifier and TypeMethodDescriptionLoadTsv.readSimpleQuestionsTsv(InputStream in)LoadTsv.readTSV(InputStream queriesStream, InputStream qrels, String data) -
Uses of IQuestion in org.aksw.qa.commons.measure
Methods in org.aksw.qa.commons.measure with parameters of type IQuestionModifier and TypeMethodDescriptionstatic doublestatic doublestatic double -
Uses of IQuestion in org.aksw.qa.commons.qald
Classes in org.aksw.qa.commons.qald that implement IQuestionMethods in org.aksw.qa.commons.qald that return IQuestionModifier and TypeMethodDescriptionprivate static IQuestionIQuestionCsvParser.csvRowToQuestion(String[] csvRow, IQuestionCsvParser.Column... columns)Works as described inIQuestionCsvParser.csvToQuestionList(CSVReader, Column...)Methods in org.aksw.qa.commons.qald that return types with arguments of type IQuestionModifier and TypeMethodDescriptionIQuestionCsvParser.csvToQuestionList(au.com.bytecode.opencsv.CSVReader reader, IQuestionCsvParser.Column... columns)Reads a CSV which source is defined by givenCSVReader, which also defines the separation and quotation chars.Methods in org.aksw.qa.commons.qald with parameters of type IQuestionModifier and TypeMethodDescriptionprivate booleanQald7CreationTool.checkAnswertypeSet(IQuestion q)private booleanQald7CreationTool.checkAtleastSixLanguages(IQuestion q)private booleanQald7CreationTool.checkKeywordsPresent(IQuestion q)private booleanQald7CreationTool.checkSparqlPresent(IQuestion q)static Qald7QuestionQald7QuestionFactory.createInstance(IQuestion q)static doubleQALD4_EvaluationUtils.fMeasure(Set<org.apache.jena.rdf.model.RDFNode> systemAnswers, IQuestion question)Qald7CreationTool.getAnswersFromServer(IQuestion q)Returns answers from official dbpedia endpoint to the stored sparql inIQuestionstatic doubleQALD4_EvaluationUtils.precision(Set<org.apache.jena.rdf.model.RDFNode> systemAnswer, IQuestion question)static doubleQALD4_EvaluationUtils.recall(Set<org.apache.jena.rdf.model.RDFNode> systemAnswer, IQuestion question)Method parameters in org.aksw.qa.commons.qald with type arguments of type IQuestionModifier and TypeMethodDescriptionstatic List<Qald7Question>Qald7QuestionFactory.createInstances(Collection<IQuestion> questions)static voidIQuestionCsvParser.questionListToCsv(au.com.bytecode.opencsv.CSVWriter writer, boolean columnDescriptorgRow, List<IQuestion> questions, IQuestionCsvParser.Column... columns)Writes all data specified by the columns from all given IQuestions to the csvwriter.voidQALDWriter.writeQALDJsonFile(List<IQuestion> questions, String fileName)Can be used to write QALD JSON files like https://github.com/ag-sc/QALD/blob/master/9/data/qald-9-train-multilingual.json. -
Uses of IQuestion in org.aksw.qa.commons.sparql
Methods in org.aksw.qa.commons.sparql with parameters of type IQuestionModifier and TypeMethodDescriptionprivate static voidAnswerSyncer.answer(ThreadedSPARQL sp, IQuestion q)static voidAnswerSyncer.syncAnswers(IQuestion q, String endpoint)Retrieves answers for the sparql in this IQuestion from given endpoint, and sets it as goldenAnswers.static voidAnswerSyncer.syncAnswers(IQuestion q, String endpoint, int queryTimeoutInSecs)Retrieves answers for the sparql in this IQuestion from given endpoint, and sets it as goldenAnswers.Method parameters in org.aksw.qa.commons.sparql with type arguments of type IQuestionModifier and TypeMethodDescriptionstatic voidAnswerSyncer.syncAnswers(List<IQuestion> questions, String endpoint)Retrieves answers for the sparql in all IQuestions from given endpoint, and sets it as goldenAnswers.static voidAnswerSyncer.syncAnswers(List<IQuestion> questions, String endpoint, int queryTimeoutInSecs)Retrieves answers for the sparql in all IQuestions from given endpoint, and sets it as goldenAnswers. -
Uses of IQuestion in org.aksw.qa.commons.store
Methods in org.aksw.qa.commons.store with parameters of type IQuestion