query-2d61648e674d7ea01b3487b558470c83

rq turtle/ttl

If i want to receive the 280 articles where ?teilvon is not equal with ?teilvonFollow i change the filter operator as follows: FILTER(?teilvon != ?teilvonFollows) but then i receive no results:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?Die_Gartenlaube ?Die_GartenlaubeLabel ?follows ?followsLabel ?teilvon ?teilvonFollows  WHERE { 
  ?Die_Gartenlaube wdt:P1433 wd:Q655617;
    wdt:P155 ?follows.
  OPTIONAL { ?Die_Gartenlaube wdt:P179 ?teilvon. }
  OPTIONAL { ?follows wdt:P179 ?teilvonFollows. }
  FILTER(?teilvon != ?teilvonFollows)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?Die_Gartenlaube"):::projected v4("?follows"):::projected v1("?teilvon"):::projected v2("?teilvonFollows"):::projected c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q655617"]):::iri f0[["?teilvon != ?teilvonFollows"]] f0 --> v1 f0 --> v2 v3 --"wdt:P1433"--> c2 v3 --"wdt:P155"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P179".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P179".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end