From: James HK <jam...@gm...> - 2019-04-28 15:45:36
|
Hi, > Why those subobjects are created? Is there a way to prevent them to be > created or to "clean" them? Because `AmareloMandante` [0] is a record type and records are stored as subobject (given that is n-ary field) as seen here [1]. The query condition of yours `[[TitularMandante::Mauro Joel Carli]]` will fetch those records as native subobject representation because it contains the `TitularMandante` property as part of the record field definition. [0] https://brasileiropedia.com/Property:AmareloMandante [1] https://brasileiropedia.com/Especial:Navegar?title=Especial%3ANavegar&article=Botafogo_3x1_Vasco_-_21%2F06%2F2017%23_60e4733e46ad76a1b8641fdaf854a0d0 Cheers On 4/28/19, Eduardo Elias Camponez <cam...@ed...> wrote: > On 4/28/19 2:09 PM, James HK wrote: >> Hi, >> >>> [1] >>> https://brasileiropedia.com/index.php?title=Especial:Consultar&q=%5B%5BTitularMandante%3A%3AMauro+Joel+Carli%5D%5D&p=format%3Dbroadtable%2Flink%3Dall%2Fheaders%3Dshow%2Fsearchlabel%3D%E2%80%A6-20mais-20resultados%2Fclass%3Dsortable-20wikitable-20smwtable&po=%3FTitularMandante%0A&sort=&order=asc&eq=no&offset=0&limit=500 >> >>> I have a problem with weird "duplicated" articles appearing [1] twice >>> and >>> then messing with the count numbers. >> >>> As you can see article "Botafogo 3x1 Vasco - 21/06/2017", for example, >>> is >>> appearing twice with different numeber of properties. >> >> There are no duplicate entities of the name "Botafogo 3x1 Vasco - >> 21/06/2017", you have an entity called "Botafogo 3x1 Vasco - >> 21/06/2017" and the other one is a subobject >> "Botafogo_3x1_Vasco_-_21/06/2017#_60e4733e46ad76a1b8641fdaf854a0d0" >> which appears as "Botafogo 3x1 Vasco - 21/06/2017" in MediaWiki >> without the `_#...` fragment but both are different representations >> (see the "real" link and different formatting of the link). > > Thanks for the explanation. > > Why those subobjects are created? Is there a way to prevent them to be > created or to "clean" them? > >> >> You can add `[[Modification date::+]]` as in `[[TitularMandante::Mauro >> Joel Carli]][[Modification date::+]]` to the condition which filters >> subobjects from the result set as those will not carry any page >> related annotations. > > > That should work. > > Regards, > > Eduardo > |