Open JervenBolleman opened 2 months ago
SELECT DISTINCT ?person ?personLabel ?dob ?occupation ?occupationLabel ?image with {
SELECT DISTINCT ?person
WHERE
{
?person wdt:P569 ?dob .
FILTER (?dob = \"1999-05-19\"^^xsd:dateTime)
} } as %i
where
{
include %i
?person wdt:P31 wd:Q5 .
?person wdt:P106 ?occupation .
?person wdt:P18 ?image . # Query reaches timeout, thought if I add OPTIONAL it works even s,o that this way it has to show more results. How is this possible, and how to make it work without OPTIONAL?
SERVICE wikibase:label { bd:serviceParam wikibase:language \"[AUTO_LANGUAGE],en\". }
}
Does not match the replacement regex and is therefore not fixed. At the time of making this issue 737 with/include queries are not yet auto fixed.
mvn package;
java -jar target/sparql-examples-utils-2.0.1-uber.jar test -i /home/jbollema/git/wikibase-sparql-examples/examples/ -p wikidata > test.log;
sed '/testAllWithBigD/q' test.log | grep '✘' |grep with |wc -l
is the hacky code to quickly see the failing cases.
We remove some but not all. Code depends on a REGEX but we should instead count opening and closing brackets.