EBernhardson added a comment. |
It's possible to hack something together by using pattern capture filter to either capture the letter P, or capture the full line if the P-id is one we accept. Then add a stop words filter to strip out the P tokens. TBH that's pretty messy though: P5976
Provided the relationships ["P31:Q54321", "P1:Q1234", "P31:Q7654", "P42:Q4444"] and a keep for P31 and P42 this returns:
{ "relationships.properties": [ "P31", "P42" ], "relationships": [ "P31:Q54321", "P31:Q7654", "P42:Q4444" ] }
TASK DETAIL
EMAIL PREFERENCES
To: Smalyshev, EBernhardson
Cc: gerritbot, debt, EBernhardson, dcausse, daniel, Aklapper, Smalyshev, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, Mbch331
Cc: gerritbot, debt, EBernhardson, dcausse, daniel, Aklapper, Smalyshev, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs