-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mohamed Gad-Elrab
committed
May 7, 2019
1 parent
f87499e
commit c2288d2
Showing
193 changed files
with
17,045 additions
and
99 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package web.data; | ||
|
||
public class TextualSource { | ||
|
||
String sourceName; | ||
Double weight; | ||
|
||
public TextualSource(String sourceName, Double weight) { | ||
this.sourceName = sourceName; | ||
this.weight = weight; | ||
} | ||
} |
Empty file.
Empty file modified
0
Client/src/main/java/client/explain/ExplanationExtractorClient.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified
0
Extras/src/main/java/de/mpii/exfakt/dictionary/builder/ExtractorCLI.java
100644 → 100755
Empty file.
Empty file modified
0
Extras/src/main/java/de/mpii/exfakt/dictionary/builder/extractors/LabelsExtractor.java
100644 → 100755
Empty file.
Empty file modified
0
...s/src/main/java/de/mpii/exfakt/dictionary/builder/extractors/LabelsExtractorWikidata.java
100644 → 100755
Empty file.
Empty file modified
0
Extras/src/main/java/de/mpii/exfakt/dictionary/builder/extractors/LabelsExtractorYago.java
100644 → 100755
Empty file.
Empty file modified
0
Extras/src/main/java/de/mpii/exfakt/dictionary/builder/extractors/wikidata/Helper.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/checker/ExplanationsExtractor.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/datastructure/CorrectnessInfo.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/experiments/DatalogProgramExecuter.java
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/experiments/TruthAssessmentNadpaDataset.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/CostAccumulator.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/EvaluatorFactory.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/ExtendedSLDNFEvaluationStrategy.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/ExtendedSLDNFEvaluationStrategyFactory.java
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/IExplanationGenerator.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/ItrSLDEvaluator.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/OptimizedLiteralSelector.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/RecSLDEvaluator.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/AbstractQueriesPool.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/DFSQueriesPool.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/EvidenceNode.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/Explanation.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/ExtQuerySubs.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/ExtendedFacts.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/HeuristicBasedQueriesPool.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/IExtendedFacts.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/IQueriesPool.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/IQueryExplanations.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/InputQuery.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/QueriesPoolFactory.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/datastructure/QueryExplanations.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/facts/FactsLoaderFactory.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/facts/IFactsLoader.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/facts/IRISFactsLoader.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/facts/RDFFactsLoader.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/rules/IRulesSelector.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/rules/SimpleRuleSelector.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/viewing/ExecutionNode.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/extendedsldnf/viewing/ExecutionTree.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/RelativeRulesCollector.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/eval/QueryExplanationsStats.java
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/ILiteralAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/IQueryAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/IRuleAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/ITermJsonAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/IVariableJsonAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/SpottedEvidenceJsonAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/java/utils/json/adapters/TActionTypeIntHashMapAdapter.java
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/resources/fact_checking_rewriting.properties
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/resources/fact_checking_rewriting.properties.bac_may
100644 → 100755
Empty file.
Empty file modified
0
QueryRewriting/src/main/resources/fact_checking_rewriting.properties.backup
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,84 @@ | ||
@if "%DEBUG%" == "" @echo off | ||
@rem ########################################################################## | ||
@rem | ||
@rem Gradle startup script for Windows | ||
@rem | ||
@rem ########################################################################## | ||
|
||
@rem Set local scope for the variables with windows NT shell | ||
if "%OS%"=="Windows_NT" setlocal | ||
|
||
set DIRNAME=%~dp0 | ||
if "%DIRNAME%" == "" set DIRNAME=. | ||
set APP_BASE_NAME=%~n0 | ||
set APP_HOME=%DIRNAME% | ||
|
||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
set DEFAULT_JVM_OPTS= | ||
|
||
@rem Find java.exe | ||
if defined JAVA_HOME goto findJavaFromJavaHome | ||
|
||
set JAVA_EXE=java.exe | ||
%JAVA_EXE% -version >NUL 2>&1 | ||
if "%ERRORLEVEL%" == "0" goto init | ||
|
||
echo. | ||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
echo. | ||
echo Please set the JAVA_HOME variable in your environment to match the | ||
echo location of your Java installation. | ||
|
||
goto fail | ||
|
||
:findJavaFromJavaHome | ||
set JAVA_HOME=%JAVA_HOME:"=% | ||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
|
||
if exist "%JAVA_EXE%" goto init | ||
|
||
echo. | ||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
echo. | ||
echo Please set the JAVA_HOME variable in your environment to match the | ||
echo location of your Java installation. | ||
|
||
goto fail | ||
|
||
:init | ||
@rem Get command-line arguments, handling Windows variants | ||
|
||
if not "%OS%" == "Windows_NT" goto win9xME_args | ||
|
||
:win9xME_args | ||
@rem Slurp the command line arguments. | ||
set CMD_LINE_ARGS= | ||
set _SKIP=2 | ||
|
||
:win9xME_args_slurp | ||
if "x%~1" == "x" goto execute | ||
|
||
set CMD_LINE_ARGS=%* | ||
|
||
:execute | ||
@rem Setup the command line | ||
|
||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
|
||
@rem Execute Gradle | ||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
|
||
:end | ||
@rem End local scope for the variables with windows NT shell | ||
if "%ERRORLEVEL%"=="0" goto mainEnd | ||
|
||
:fail | ||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
rem the _cmd.exe /c_ return code! | ||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
exit /b 1 | ||
|
||
:mainEnd | ||
if "%OS%"=="Windows_NT" endlocal | ||
|
||
:omega | ||
@if "%DEBUG%" == "" @echo off | ||
@rem ########################################################################## | ||
@rem | ||
@rem Gradle startup script for Windows | ||
@rem | ||
@rem ########################################################################## | ||
|
||
@rem Set local scope for the variables with windows NT shell | ||
if "%OS%"=="Windows_NT" setlocal | ||
|
||
set DIRNAME=%~dp0 | ||
if "%DIRNAME%" == "" set DIRNAME=. | ||
set APP_BASE_NAME=%~n0 | ||
set APP_HOME=%DIRNAME% | ||
|
||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
set DEFAULT_JVM_OPTS= | ||
|
||
@rem Find java.exe | ||
if defined JAVA_HOME goto findJavaFromJavaHome | ||
|
||
set JAVA_EXE=java.exe | ||
%JAVA_EXE% -version >NUL 2>&1 | ||
if "%ERRORLEVEL%" == "0" goto init | ||
|
||
echo. | ||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
echo. | ||
echo Please set the JAVA_HOME variable in your environment to match the | ||
echo location of your Java installation. | ||
|
||
goto fail | ||
|
||
:findJavaFromJavaHome | ||
set JAVA_HOME=%JAVA_HOME:"=% | ||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
|
||
if exist "%JAVA_EXE%" goto init | ||
|
||
echo. | ||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
echo. | ||
echo Please set the JAVA_HOME variable in your environment to match the | ||
echo location of your Java installation. | ||
|
||
goto fail | ||
|
||
:init | ||
@rem Get command-line arguments, handling Windows variants | ||
|
||
if not "%OS%" == "Windows_NT" goto win9xME_args | ||
|
||
:win9xME_args | ||
@rem Slurp the command line arguments. | ||
set CMD_LINE_ARGS= | ||
set _SKIP=2 | ||
|
||
:win9xME_args_slurp | ||
if "x%~1" == "x" goto execute | ||
|
||
set CMD_LINE_ARGS=%* | ||
|
||
:execute | ||
@rem Setup the command line | ||
|
||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
|
||
@rem Execute Gradle | ||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
|
||
:end | ||
@rem End local scope for the variables with windows NT shell | ||
if "%ERRORLEVEL%"=="0" goto mainEnd | ||
|
||
:fail | ||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
rem the _cmd.exe /c_ return code! | ||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
exit /b 1 | ||
|
||
:mainEnd | ||
if "%OS%"=="Windows_NT" endlocal | ||
|
||
:omega |
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@REM SBT launcher script | ||
|
||
.\sbt-dist\bin\sbt.bat %* | ||
@REM SBT launcher script | ||
|
||
.\sbt-dist\bin\sbt.bat %* |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
query,result_size,documents | ||
Albert Einstein was born in Ulm,5,"<div> | ||
<p> | ||
<b><a href=\""www.einstein-website.de/z_biography/ulm-e.html\"">Albert Einstein in Ulm</a></b> | ||
<br/> | ||
ALBERT EINSTEIN IN ULM, 1879 - 1880. Hermann Einstein (1847-1902), born in Buchau on the Federsee and merchant in Ulm, married 18 year-old Pauline Koch (1858-1920) from Cannstatt, the daughter of a purveyor to the royal household and corn-merchant in Stuttgart, on August 8, 1876. | ||
<br/> | ||
<b><a href=\""www.einstein-website.de/z_biography/ulm-e.html\"">www.einstein-website.de/z_biography/ulm-e.html</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Albert_Einstein\"">Albert Einstein - Wikipedia</a></b> | ||
<br/> | ||
Albert Einstein was born in Ulm, in the Kingdom of Württemberg in the German Empire, on 14 March 1879. His parents were Hermann Einstein, a salesman and engineer, and Pauline Koch. | ||
<br/> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Albert_Einstein\"">https://en.wikipedia.org/wiki/Albert_Einstein</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://www.biography.com/people/albert-einstein-9285408\"">Albert Einstein Biography - Biography</a></b> | ||
<br/> | ||
Biography.com offers a glimpse into the life of Albert Einstein, the most influential physicist of the 20th century who developed the theory of relativity. | ||
<br/> | ||
<b><a href=\""https://www.biography.com/people/albert-einstein-9285408\"">https://www.biography.com/people/albert-einstein-9285408</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://www.history.com/this-day-in-history/albert-einstein-born\"">Albert Einstein born - Mar 14, 1879 - HISTORY.com</a></b> | ||
<br/> | ||
On this day in History, Albert Einstein born on Mar 14, 1879. Learn more about what happened today on History. | ||
<br/> | ||
<b><a href=\""https://www.history.com/this-day-in-history/albert-einstein-born\"">https://www.history.com/this-day-in-history/albert-einstein-born</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""www.imdb.com/name/nm0251868/bio\"">Albert Einstein - Biography - IMDb</a></b> | ||
<br/> | ||
Albert Einstein was born in Ulm, Kingdom of Württemberg, to a German Jewish family. He was the son of Pauline (Koch) and Hermann Einstein, a ... | ||
<br/> | ||
<b><a href=\""www.imdb.com/name/nm0251868/bio\"">www.imdb.com/name/nm0251868/bio</a></b> | ||
</p> | ||
</div> | ||
" | ||
Barak Obama was born in U S A,5,"<div> | ||
<p> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Barack_Obama\"">Barack Obama - Wikipedia</a></b> | ||
<br/> | ||
The Obama Presidential Center is the planned presidential library of Barack Obama. The center will be hosted by the University of Chicago, ... | ||
<br/> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Barack_Obama\"">https://en.wikipedia.org/wiki/Barack_Obama</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Barack_Obama_citizenship_conspiracy...\"">Barack Obama citizenship conspiracy theories - Wikipedia</a></b> | ||
<br/> | ||
During Barack Obama's campaign for president in 2008, throughout his presidency, and afterwards, a number of conspiracy theories falsely asserted Obama was ineligible to be President of the United States because he was not a natural-born citizen of the United States as required by Article Two of the U.S. Constitution. | ||
<br/> | ||
<b><a href=\""https://en.wikipedia.org/wiki/Barack_Obama_citizenship_conspiracy...\"">https://en.wikipedia.org/wiki/Barack_Obama_citizenship_conspiracy...</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://www.newsmax.com/FastFeatures/Barack-Obama-Citizenship...\"">Citizenship Scandal: 7 Facts About Barack Obama's Birth ...</a></b> | ||
<br/> | ||
PLEASE NOTE: All information presented on Newsmax.com is for informational purposes only. It is not specific medical advice for any individual. | ||
<br/> | ||
<b><a href=\""https://www.newsmax.com/FastFeatures/Barack-Obama-Citizenship...\"">https://www.newsmax.com/FastFeatures/Barack-Obama-Citizenship...</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://www.youtube.com/watch?v=cQcd41RO25k\"">Barack Obama Admits he was born in Kenya Speech - YouTube</a></b> | ||
<br/> | ||
Want music and videos with zero ads? Get YouTube Red. Working... Not now Try it free. Find out why Close. Barack Obama Admits he was born in Kenya Speech | ||
<br/> | ||
<b><a href=\""https://www.youtube.com/watch?v=cQcd41RO25k\"">https://www.youtube.com/watch?v=cQcd41RO25k</a></b> | ||
</p> | ||
</div> | ||
<div> | ||
<p> | ||
<b><a href=\""https://www.history.com/topics/us-presidents/barack-obama\"">Barack Obama - U.S. Presidents - HISTORY.com</a></b> | ||
<br/> | ||
Find out more about the history of Barack Obama, including videos, interesting articles, pictures, historical features and more. Get all the facts on HISTORY.com | ||
<br/> | ||
<b><a href=\""https://www.history.com/topics/us-presidents/barack-obama\"">https://www.history.com/topics/us-presidents/barack-obama</a></b> | ||
</p> | ||
</div> | ||
" |
Empty file.
Oops, something went wrong.